bigpowers / rules
Cursor rule252 starsChanged 3 months agoMITView on GitHub
Streamlined fast-path for trivial data-only fixes — no TDD, no branching ceremony. Collapses 6 skills into 2 for changes that are purely data with no logic risk. Aborts with fallback to investigate-bug if guardrails trigger.
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 1,533 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 repository165 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- website/CLAUDE.mdCLAUDE.md
- .cursor/rules/align-grid.mdcCursor rule
- .cursor/rules/assess-impact.mdcCursor rule
- .cursor/rules/audit-code.mdcCursor rule
- .cursor/rules/audit-plan.mdcCursor rule
- .cursor/rules/build-epic.mdcCursor rule
- .cursor/rules/change-request.mdcCursor rule
- .cursor/rules/commit-message.mdcCursor rule
- .cursor/rules/compose-workflow.mdcCursor rule
- .cursor/rules/context7-mcp.mdcCursor rule
- .cursor/rules/craft-skill.mdcCursor rule
- .cursor/rules/deepen-architecture.mdcCursor rule
- .cursor/rules/define-language.mdcCursor rule
- .cursor/rules/define-success.mdcCursor rule
- .cursor/rules/delegate-task.mdcCursor rule
- .cursor/rules/deploy.mdcCursor rule
- .cursor/rules/design-interface.mdcCursor rule
- .cursor/rules/develop-tdd.mdcCursor rule
- .cursor/rules/diagnose-root.mdcCursor rule
- .cursor/rules/diagnose-stall.mdcCursor rule
- .cursor/rules/dispatch-agents.mdcCursor rule
- .cursor/rules/edit-document.mdcCursor rule
- .cursor/rules/elaborate-spec.mdcCursor rule
- .cursor/rules/enforce-first.mdcCursor rule
- .cursor/rules/evolve-skill.mdcCursor rule
- .cursor/rules/execute-plan.mdcCursor rule
- .cursor/rules/extract-design.mdcCursor rule
- .cursor/rules/find-way.mdcCursor rule
- .cursor/rules/fix-bug.mdcCursor rule
- .cursor/rules/gate-trace.mdcCursor rule
- .cursor/rules/generate-allure-report.mdcCursor rule
- .cursor/rules/grill-me.mdcCursor rule
- .cursor/rules/grill-with-docs.mdcCursor rule
- .cursor/rules/guard-git.mdcCursor rule
- .cursor/rules/harden-vps.mdcCursor rule
- .cursor/rules/hook-commits.mdcCursor rule
- .cursor/rules/inspect-quality.mdcCursor rule
- .cursor/rules/investigate-bug.mdcCursor rule
- .cursor/rules/kickoff-branch.mdcCursor rule
- .cursor/rules/maintain-wiki.mdcCursor rule
- .cursor/rules/map-codebase.mdcCursor rule
- .cursor/rules/migrate-spec.mdcCursor rule
- .cursor/rules/model-domain.mdcCursor rule
- .cursor/rules/orchestrate-project.mdcCursor rule
- .cursor/rules/organize-workspace.mdcCursor rule
- .cursor/rules/plan-refactor.mdcCursor rule
- .cursor/rules/plan-release.mdcCursor rule
- .cursor/rules/plan-tests.mdcCursor rule
- .cursor/rules/plan-work.mdcCursor rule
- .cursor/rules/publish-package.mdcCursor rule
- .cursor/rules/release-branch.mdcCursor rule
- .cursor/rules/request-review.mdcCursor rule
- .cursor/rules/research-first.mdcCursor rule
- .cursor/rules/reset-baseline.mdcCursor rule
- .cursor/rules/respond-review.mdcCursor rule
- .cursor/rules/run-benchmark.mdcCursor rule
- .cursor/rules/run-evals.mdcCursor rule
- The first 60 shown.
The file
We split this quick-fix.mdc into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When a bug fix is purely data — an add-missing-key, a typo correction, a config value update — the standard 6-skill chain (investigate-bug …
- Distinctive: line 20
Before invoking quick-fix, evaluate every item in this checklist:
- Very specific: line 32
If ANY guardrail triggers, abort immediately and suggest investigate-bug instead:
- Distinctive: line 46
Only 2 skills needed for eligible fixes:
- Very specific: line 68
Run the entry criteria checklist above.
- Distinctive: line 76
Run the single-assertion verify command.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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: "Streamlined fast-path for trivial data-only fixes — no TDD, no branching ceremony. Collapses 6 skills into 2 for changes that are purely data with no logic risk. Aborts with fallback to investigate-bug if guardrails trigger." alwaysApply: false --- # Quick Fix > **HARD GATE** — ALL entry criteria must pass before invoking quick-fix. If any guardrail triggers during execution, abort immediately and fall back to `investigate-bug`. Do NOT use quick-fix for logic changes, multi-file edits, or diffs > 5 lines. Fast-track for trivial data-only fixes that do not require the full bug-fix chain. When a bug fix is purely data — an add-missing-key, a typo correction, a config value update — the standard 6-skill chain (investigate-bug → diagnose-root → develop-tdd → kickoff-branch → verify-work → release-branch) is wasteful overhead. Quick-fix collapses it to 2 skills: **quick-fix** then **release-branch**. ## Discovered gate failures (e51s04) A **Preflight**, **golden suite**, or **baseline red** failure discovered during unrelated work is valid quick-fix entry when the root cause is a data-only gap (missing key, typo, stale config) — **no user-reported bug required**. If guardrails abort (logic change, >1 file, >5 lines), fall back to `fix-bug` instead of narrating and continuing. ## Entry Criteria (ALL must be true) Before invoking quick-fix, evaluate every item in this checklist: 1. **Purely data change** — adding a missing key, fixing a typo, updating a config value, correcting a constant 2. **No logic change** — no function signature, condition, loop, or control flow is modified 3. **No refactor risk** — the change does not reorganize or rename existing structures 4. **No API surface change** — no exported symbol, interface, or contract changes 5. **Verifiable with a single assertion** — one test, one curl, one grep can prove it works 6. **Affects ≤ 1 file** 7. **Affects ≤ 5 lines changed** ## Guardrails (HARD ABORT — all must pass) If ANY guardrail triggers, **abort immediately** and suggest `investigate-bug` instead: | Guardrail | Check | |-----------|-------| | **>1 file** | The fix touches more than one file | | **>5 lines** | The diff exceeds 5 lines | | **Logic change** | Any function signature, condition, or loop is modified | | **Complex verify** | The verify command is more than one pipeline | | **Test breakage** | Running `npm test` or equivalent breaks any existing test | > **Fallback:** If any guardrail triggers, tell the user: *"This fix exceeds quick-fix guardrails. Use `investigate-bug` for the full TDD bug-fix chain instead."* ## Fast-Path Workflow Only 2 skills needed for eligible fixes: ``` quick-fix → apply change, run one-line verify, commit with fix: release-branch → merge and ship (existing skill) ``` **Skipped skills (with justification):** | Skipped skill | Why skipped | |---------------|-------------| | `investigate-bug` | Root cause is obvious (data gap, not logic error) | | `diagnose-root` | No isolation needed — the data point is the root cause | | `develop-tdd` | No logic to test — single assertion proves correctness | | `kickoff-branch` | Change is so small it does not warrant a separate worktree | > Justification is included in the `fix:` commit body so the audit trail is preserved. ## Process ### 1. Evaluate entry criteria Run the entry criteria checklist above. If any criterion fails → abort, suggest `investigate-bug`. ### 2. Apply the fix Make the data change — add the missing key, fix the typo, update the value. Keep it to ≤5 lines in 1 file. ### 3. Verify Run the single-assertion verify command. Example: ```bash grep -q "Bosnia" src/flags.js && echo "FIX VERIFIED" || echo "FIX FAILED" ``` ### 4. Commit ```bash git add <file> git commit -m "fix(<scope>): <description>" git commit --amend -m "fix(<scope>): <description> Skipped skills (justified for data-only change): - investigate-bug: root cause is a data gap, not a logic error - diagnose-root: the missing data point is the root cause - develop-tdd: single assertion proves correctness - kickoff-branch: change is too small for a separate worktree" ``` ### 5. Release Invoke `release-branch` to merge and ship. ## Example ### Bosnia flag missing from FLAGS dictionary ```gherkin Given a bug where FLAGS dictionary is missing entry "Bosnia" And no logic depends on the missing entry (purely a data gap) When the agent invokes quick-fix Then the missing entry is added to the dictionary And a one-line verify confirms the key exists: grep -q "Bosnia" src/flags.js And a fix: commit is created with the skipped-skills rationale in the body And the change is ready for release-branch ```
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

