Cursor rule
.cursor/rules/inspect-quality.mdcInteractive 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".
Cursor rules
Quality
58/100
Scores the file, not the repository.Length
651 words
11 headings · 1 code blocksRepository
119
— · pushed 1 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Inspect Quality7> **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.8910Run 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.1112## For each issue the user raises1314### 1. Listen and lightly clarify1516Let the user describe the problem in their own words. Ask **at most 2–3 short clarifying questions** focused on:1718- What they expected vs what actually happened19- Steps to reproduce (if not obvious)20- Whether it's consistent or intermittent2122Do NOT over-interview. If the description is clear enough to log, move on.2324### 2. Explore the codebase in the background2526Kick off an Agent (subagent_type=Explore) to understand the relevant area. The goal is NOT to find a fix — it's to:2728- Learn the domain language used in that area (check `specs/UBIQUITOUS_LANGUAGE_LATEST.md` if present)29- Understand what the feature is supposed to do30- Identify the user-facing behavior boundary3132### 3. Assess scope: single issue or breakdown?3334Break down when:3536- The fix spans multiple independent areas37- There are clearly separable concerns that could be worked on in parallel38- The user describes something with multiple distinct failure modes3940Keep as a single issue when:4142- It's one behavior that's wrong in one place43- The symptoms are all caused by the same root behavior4445### 4. Log to specs/bugs/registry.yaml4647Append the issue to `specs/bugs/registry.yaml`. Create the `specs/bugs/` directory if it doesn't exist.4849#### registry.yaml format5051The file maintains a Markdown table with the following columns (derived from structured audit practice):5253| Field | Description |54|-------|-------------|55| `bug_id` | `BUG-YYYY-MM-DDTHHMMSS` |56| `date` | `YYYY-MM-DD` |57| `severity` | `critical` / `high` / `medium` / `low` |58| `priority` | `p0` / `p1` / `p2` / `p3` |59| `scope` | kebab-case area (e.g. `auth`, `checkout`) |60| `what_happened` | actual behavior (user-facing terms) |61| `what_expected` | expected behavior |62| `steps_to_reproduce` | numbered steps |63| `root_cause` | one-line hypothesis |64| `files_changed` | filled in after fix |65| `approach` | filled in after fix |66| `risk_level` | `low` / `medium` / `high` |67| `new_tests` | count (filled in after fix) |68| `type_check` | `pass` / `fail` (filled in after fix) |69| `lint` | `pass` / `fail` (filled in after fix) |70| `commit_type` | `fix` / `fix!` / `feat` (filled in after fix) |71| `release_type` | `patch` / `minor` / `major` (filled in after fix) |72| `commit_message` | Conventional Commits message (filled in after fix) |73| `follow_ups` | semicolon-separated follow-up items |74| `file` | path to detailed `specs/bugs/BUG-*.md` (filled in by investigate-bug) |75| `status` | `open` / `in-progress` / `fixed` / `wont-fix` |7677When a bug is fixed (via `validate-fix`), update the relevant row with the resolution fields.7879#### Issue body (for context below the table)8081For each bug, also append a detail section:8283```markdown84### BUG-YYYY-MM-DDTHHMMSS: [short title]8586**What happened:** [actual behavior, plain language]87**What I expected:** [expected behavior]88**Steps to reproduce:**891. [Step 1]902. [Step 2]9192**Additional context:** [domain-language observations, no file paths]93```9495#### Rules for all entries9697- **bug_id** uses full timestamp: `BUG-YYYY-MM-DDTHHMMSS` — matches the individual bug file name in `specs/bugs/`98- **No file paths or line numbers** — these go stale99- **Use the project's domain language** (check `specs/UBIQUITOUS_LANGUAGE_LATEST.md` if it exists)100- **Describe behaviors, not code** — "the sync service fails to apply the patch" not "applyPatch() throws"101- **Reproduction steps are mandatory** — if you can't determine them, ask the user102103### 5. Continue the session104105After logging, ask: "Next issue, or are we done?" Keep going until the user says done. Each issue is independent — don't batch them.106
Also in danielvm-git/bigpowers
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| danielvm-git/bigpowers.cursor/rules/align-grid.mdc · 119 | Cursor rules | lint-formatdo-notagent-behaviour | 65/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/assess-impact.mdc · 119 | Cursor rules | testtesting-strategydeployment | 66/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/audit-code.mdc · 119 | Cursor rules | setuptestlint-formatstyle+4 | 66/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/audit-plan.mdc · 119 | Cursor rules | buildteststylegit | 74/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/build-epic.mdc · 119 | Cursor rules | buildgit | 58/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/change-request.mdc · 119 | Cursor rules | no sections | 48/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/commit-message.mdc · 119 | Cursor rules | lint-formatstyletypesgit+3 | 82/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/compose-workflow.mdc · 119 | Cursor rules | styledo-notagent-behaviour | 65/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/context7-mcp.mdc · 119 | Cursor rules | style | 54/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/deepen-architecture.mdc · 119 | Cursor rules | testtesting-strategydo-not | 57/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/define-language.mdc · 119 | Cursor rules | lint-formatdo-not | 65/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/delegate-task.mdc · 119 | Cursor rules | git | 62/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/deploy.mdc · 119 | Cursor rules | setupbuildtestdeployment | 77/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/develop-tdd.mdc · 119 | Cursor rules | teststylearchtesting-strategy+5 | 85/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/diagnose-root.mdc · 119 | Cursor rules | no sections | 39/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/dispatch-agents.mdc · 119 | Cursor rules | git | 54/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/edit-document.mdc · 119 | Cursor rules | no sections | 39/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/elaborate-spec.mdc · 119 | Cursor rules | test | 58/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/enforce-first.mdc · 119 | Cursor rules | no sections | 50/100 | 3 days ago | |
| danielvm-git/bigpowers.cursor/rules/evolve-skill.mdc · 119 | Cursor rules | no sections | 50/100 | 3 days ago |
Diff against .cursor/rules/align-grid.mdc Diff against .cursor/rules/assess-impact.mdc Diff against .cursor/rules/audit-code.mdc Diff against .cursor/rules/audit-plan.mdc Diff against .cursor/rules/build-epic.mdc Diff against .cursor/rules/change-request.mdc Diff against .cursor/rules/commit-message.mdc Diff against .cursor/rules/compose-workflow.mdc Diff against .cursor/rules/context7-mcp.mdc Diff against .cursor/rules/deepen-architecture.mdc Diff against .cursor/rules/define-language.mdc Diff against .cursor/rules/delegate-task.mdc Diff against .cursor/rules/deploy.mdc Diff against .cursor/rules/develop-tdd.mdc Diff against .cursor/rules/diagnose-root.mdc Diff against .cursor/rules/dispatch-agents.mdc Diff against .cursor/rules/edit-document.mdc Diff against .cursor/rules/elaborate-spec.mdc Diff against .cursor/rules/enforce-first.mdc Diff against .cursor/rules/evolve-skill.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
