bigpowers / rules
Cursor rule252 starsChanged 3 months agoMITView on GitHub
Interactive QA session where user reports bugs or issues conversationally, and the agent logs them to specs/bugs/registry.yaml with a structured audit schema. Explores the codebase in the background for context and domain language. Use when user wants to report bugs, do QA, or mentions \"QA session\".
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/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/quick-fix.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 inspect-quality.mdc into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Very specific: line 10
Run an interactive QA session.
- Distinctive: line 22
Do NOT over-interview. If the description is clear enough to log, move on.
- Distinctive: line 40
Keep as a single issue when:
- Very specific: line 77
When a bug is fixed (via validate-fix), update the relevant row with the resolution fields.
- Distinctive: line 105
After logging, ask: "Next issue, or are we done?" Keep going until the user says done.
≈ “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: "Interactive QA session where user reports bugs or issues conversationally, and the agent logs them to specs/bugs/registry.yaml with a structured audit schema. Explores the codebase in the background for context and domain language. Use when user wants to report bugs, do QA, or mentions \"QA session\"." alwaysApply: false --- # Inspect Quality > **HARD GATE** — **HARD GATE** — Quality metrics (coverage, lint, cyclomatic complexity, security scans) must be monitored. If a metric degrades, surface it as a blocker. Do NOT accept regressions. Run an interactive QA session. The user describes problems they're encountering. You clarify, explore the codebase for context, and log each issue to `specs/bugs/registry.yaml` with a structured, durable format. ## For each issue the user raises ### 1. Listen and lightly clarify Let the user describe the problem in their own words. Ask **at most 2–3 short clarifying questions** focused on: - What they expected vs what actually happened - Steps to reproduce (if not obvious) - Whether it's consistent or intermittent Do NOT over-interview. If the description is clear enough to log, move on. ### 2. Explore the codebase in the background Kick off an Agent (subagent_type=Explore) to understand the relevant area. The goal is NOT to find a fix — it's to: - Learn the domain language used in that area (check `specs/UBIQUITOUS_LANGUAGE_LATEST.md` if present) - Understand what the feature is supposed to do - Identify the user-facing behavior boundary ### 3. Assess scope: single issue or breakdown? Break down when: - The fix spans multiple independent areas - There are clearly separable concerns that could be worked on in parallel - The user describes something with multiple distinct failure modes Keep as a single issue when: - It's one behavior that's wrong in one place - The symptoms are all caused by the same root behavior ### 4. Log to specs/bugs/registry.yaml Append the issue to `specs/bugs/registry.yaml`. Create the `specs/bugs/` directory if it doesn't exist. #### registry.yaml format The file maintains a Markdown table with the following columns (derived from structured audit practice): | Field | Description | |-------|-------------| | `bug_id` | `BUG-YYYY-MM-DDTHHMMSS` | | `date` | `YYYY-MM-DD` | | `severity` | `critical` / `high` / `medium` / `low` | | `priority` | `p0` / `p1` / `p2` / `p3` | | `scope` | kebab-case area (e.g. `auth`, `checkout`) | | `what_happened` | actual behavior (user-facing terms) | | `what_expected` | expected behavior | | `steps_to_reproduce` | numbered steps | | `root_cause` | one-line hypothesis | | `files_changed` | filled in after fix | | `approach` | filled in after fix | | `risk_level` | `low` / `medium` / `high` | | `new_tests` | count (filled in after fix) | | `type_check` | `pass` / `fail` (filled in after fix) | | `lint` | `pass` / `fail` (filled in after fix) | | `commit_type` | `fix` / `fix!` / `feat` (filled in after fix) | | `release_type` | `patch` / `minor` / `major` (filled in after fix) | | `commit_message` | Conventional Commits message (filled in after fix) | | `follow_ups` | semicolon-separated follow-up items | | `file` | path to detailed `specs/bugs/BUG-*.md` (filled in by investigate-bug) | | `status` | `open` / `in-progress` / `fixed` / `wont-fix` | When a bug is fixed (via `validate-fix`), update the relevant row with the resolution fields. #### Issue body (for context below the table) For each bug, also append a detail section: ```markdown ### BUG-YYYY-MM-DDTHHMMSS: [short title] **What happened:** [actual behavior, plain language] **What I expected:** [expected behavior] **Steps to reproduce:** 1. [Step 1] 2. [Step 2] **Additional context:** [domain-language observations, no file paths] ``` #### Rules for all entries - **bug_id** uses full timestamp: `BUG-YYYY-MM-DDTHHMMSS` — matches the individual bug file name in `specs/bugs/` - **No file paths or line numbers** — these go stale - **Use the project's domain language** (check `specs/UBIQUITOUS_LANGUAGE_LATEST.md` if it exists) - **Describe behaviors, not code** — "the sync service fails to apply the patch" not "applyPatch() throws" - **Reproduction steps are mandatory** — if you can't determine them, ask the user ### 5. Continue the session After logging, ask: "Next issue, or are we done?" Keep going until the user says done. Each issue is independent — don't batch them.
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.

