OpenCRE / rules
Cursor rule199 starsChanged 5 months agoCC0-1.0View on GitHub
Two-phase planning for big changes; builder must not be sole judge
We split this multi-agent-workflow.mdc into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Ask minimum questions: goal, data sources, pattern to mirror, acceptance criteria, out of scope.
- Distinctive: line 27
Wait for explicit approval ("proceed", "approved", or confirmed edited plan).
- Very specific: line 28
No commits, push, or implementation code in Phase 1.
- Distinctive: line 36
Follow the approved plan; pause if material deviation is needed.
- Distinctive: line 51
Do not mark substantive work complete without independent review or documented reason to skip.
≈ “Common” is an estimate: at least 1 in 5 of the 6,350 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: Two-phase planning for big changes; builder must not be sole judge
alwaysApply: true
---
# Multi-Agent Workflow (Human Plan → Agent Execute)
For **big changes**, split work into two phases. Do not skip Phase 1.
## What counts as a big change
- New feature, new standard importer, or new user-facing capability
- Expected to touch **3+ files** or **>500 lines** of diff
- Refactor or migration with behavioral risk
- Touches critical paths (auth, secrets, production data, payments)
- Incomplete requirements or meaningful product/design choices
Small fixes: single-file bugfix, typo, test-only tweak, clear one-liner → `plan-first-workflow.mdc` only.
## Phase 1 — Human-led planning (no code)
**Stop before editing.**
1. Acknowledge this is a big change; planning comes first.
2. Ask minimum questions: goal, data sources, pattern to mirror, acceptance criteria, out of scope.
3. Draft a plan: steps, `@` file paths, similar code, test/validation plan, risks.
4. Wait for explicit approval ("proceed", "approved", or confirmed edited plan).
5. No commits, push, or implementation code in Phase 1. Read-only research is fine.
Tests and production code begin in Phase 2 after approval (see `tdd-workflow.mdc`).
## Phase 2 — Agent execution
After approval:
1. Execute per `autonomous-workflow.mdc`.
2. Follow the approved plan; pause if material deviation is needed.
3. Implement incrementally; verify as you go (`verifiable-goals.mdc`).
4. Hand off with checklist including test evidence.
## Builder ≠ Judge (required on substantive work)
| Role | Responsibility |
|------|----------------|
| **Builder** | Implements approved plan |
| **Judge** | Independent review — edge cases, security, test gaps |
Invoke judge via subagent, parallel agent, or fresh context:
- "Use a subagent to review this change for edge cases and security issues."
Do not mark substantive work complete without independent review or documented reason to skip.
**Re-review:** Required only when judge findings change behavior, tests, or security posture materially. Style-only nits fixed in-place do not require a second judge pass.
## Decision tree
```
User request received
│
├─ Missing goal / criteria / context / constraints?
│ └─ STOP → ask questions OR offer Requirements template (requirements-gate.mdc)
│
├─ Typo / rename / one-sentence fix?
│ └─ Implement → quality checks → show evidence
│
├─ Multi-file / new feature / refactor / critical path?
│ └─ Plan Mode → detailed plan → WAIT for approval → implement
│ → quality checks → subagent review → handoff with evidence
│
└─ Otherwise
└─ Brief plan → implement → quality checks → handoff with evidence
```
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 3,978 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/alembic-deploy-guardrail.mdcCursor rule
- .cursor/rules/autonomous-workflow.mdcCursor rule
- .cursor/rules/complete-ticket.mdcCursor rule
- .cursor/rules/context-management.mdcCursor rule
- .cursor/rules/never-assume.mdcCursor rule
- .cursor/rules/plan-first-workflow.mdcCursor rule
- .cursor/rules/production-db-ops-safety.mdcCursor rule
- .cursor/rules/requirements-gate.mdcCursor rule
- .cursor/rules/tdd-workflow.mdcCursor rule
- .cursor/rules/verifiable-goals.mdcCursor rule
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

