bigpowers / rules
Cursor rule252 starsChanged 3 months agoMITView on GitHub
Dispatch a fresh reviewer agent with a clean context to critique the code after audit-code passes. The reviewer has no shared state with the coding agent and gives a genuine second opinion. Use after audit-code passes, before committing, or when user wants an independent code review.
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/quick-fix.mdcCursor rule
- .cursor/rules/release-branch.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 request-review.mdc into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- could be automatic: a setting could enforce it
- Very specific: line 16
Run
audit-codefirst: Don't waste reviewer attention on hygiene issues you could have caught yourself. - Distinctive: line 20
Use two independent reviewers (Reviewer A and Reviewer B) with no shared context between them or the coding agent.
- Very specific: line 33
AND-gate: If either reviewer has must-fix findings → FAIL round.
- Distinctive: line 34
If both pass (zero must-fix, score ≥ 94% each) → review complete.
- Distinctive: line 35
After 5 iterations without dual pass → stop.
- Distinctive: line 43
Write a self-contained brief for each reviewer.
- Distinctive: line 68
Use the Agent tool twice with completely fresh contexts.
- Distinctive: line 97
Read every finding from both reports before acting on any
≈ “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: "Dispatch a fresh reviewer agent with a clean context to critique the code after audit-code passes. The reviewer has no shared state with the coding agent and gives a genuine second opinion. Use after audit-code passes, before committing, or when user wants an independent code review." alwaysApply: false --- # story: e45s28 # Request Review Dispatch fresh reviewer agents with clean contexts. Reviewers have no shared state — they find what the coding agent missed. **Distinct from `audit-code`:** `audit-code` is self-review (internal). This skill dispatches external agents. **Solo developer note:** Reviewer agents replace the human reviewer. **Run `audit-code` first.** Don't waste reviewer attention on hygiene issues you could have caught yourself. ## Santa Method — Dual-Blind AND Gate (e45s07) Use **two independent reviewers** (Reviewer A and Reviewer B) with **no shared context** between them or the coding agent. | Parameter | Value | |-----------|-------| | Reviewers | 2 (mandatory) | | `MAX_REVIEW_ITERATIONS` | **5** (hard cap — e45s28; iteration 6 forbidden) | | Pass rule | **AND-gate** — both reviewers must pass independently | | Blindness | Neither reviewer sees the other's report until both complete | **Iteration loop (max `MAX_REVIEW_ITERATIONS`):** 1. Dispatch Reviewer A and Reviewer B in parallel with identical briefs but separate contexts. 2. Collect both reports. Each categorizes findings: must-fix / should-fix / consider. 3. **AND-gate:** If **either** reviewer has must-fix findings → FAIL round. Run `respond-review`, fix, re-dispatch both reviewers. 4. If both pass (zero must-fix, score ≥ 94% each) → review complete. 5. After **5** iterations without dual pass → **stop**; report "Review cap exhausted (5/5). Human decision required." Do not merge. > **HARD GATE** — Single-reviewer pass is insufficient. Partial agreement does not satisfy the AND-gate. ## Process ### 1. Prepare the review brief Write a self-contained brief for each reviewer. Include: - What was built (feature description, not implementation) - Which files changed (the diff context) - What `specs/` artifacts are relevant (active `epics/eNN-*.yaml`, `requirements/SCOPE_LATEST.yaml`, `bugs/BUG-*.md`) - What CONVENTIONS.md requires - What the verify command is - What you're most uncertain about (where you want fresh eyes) - **Security focus** — If the epic has a `specs/security/epics/<id>/THREAT_MODEL.md`, include the relevant vulnerability categories as reviewer focal points. Also include the false-positive exclusion rules so the reviewer avoids known-safe patterns. Tag the review as `security-sensitive: true` if THREAT_MODEL risk is HIGH+. ### 2. Fan-out parallel reviewers (e45s17) Beyond the mandatory dual-blind pair (e45s07), optionally dispatch **N dimension-specific subagents in one message** — one check per agent for broader coverage (OpenAI Codex `code-review-*` pattern): | Agent | Focus | |-------|-------| | R-correctness | Logic, edge cases, verify command result | | R-conventions | CONVENTIONS.md, test quality (F.I.R.S.T) | | R-security | Injection, auth, secrets (when `security-sensitive`) | | R-design | Simpler alternatives, API shape | Santa Method still applies: each agent is blind; AND-gate uses Reviewer A + B scores. Fan-out agents feed findings into `respond-review` but do not replace the dual-blind pair. ### 2b. Dispatch both reviewer agents (parallel) Use the Agent tool twice with completely fresh contexts. Each prompt must be self-contained — no references to "our conversation" or "what we discussed." ``` You are code reviewer [A|B]. Review the following code changes independently. Context: [feature description] CONVENTIONS.md rules: [paste relevant sections] Active epic shard: [paste or summarize from specs/epics/] Diff: [paste git diff or describe changed files] Verify command: [runnable command] Review for: 1. Correctness — does the code do what was intended? 2. CONVENTIONS.md compliance — are all rules followed? 3. Test quality — do tests verify behavior (not implementation)? 4. Design — are there simpler or more robust approaches? 5. Edge cases — what inputs or states could cause failures? 6. Security — any injection, auth, or data exposure risks? 7. Refactoring smells — explicitly name any detected Fowler smells: Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Message Chains, Middle Man For each finding, categorize as: must-fix / should-fix / consider. Run the verify command and report the result. ``` ### 3. Collect both reports When reviewers return: - Read every finding from **both** reports before acting on any - Note each verify command result - Compute quality score per reviewer: `100 × (total_items − must_fix − should_fix) / total_items` - **AND-gate check:** both scores ≥ 94% and zero must-fix from **both**? > **HARD GATE** — If either score < 94% or either has must-fix → FAIL round. Run `respond-review` first. The 94% threshold also applies to `npm run compliance` (scripts/audit-compliance.sh). ### 4. Hand off to respond-review Pass combined findings to `respond-review` to categorize and apply fixes. Increment iteration counter. Re-dispatch both reviewers until AND-gate passes or iteration 3 exhausted. Report to user: "Review round [N/3]. Reviewer A: [score], Reviewer B: [score]. AND-gate: [PASS|FAIL]." ## Verify → verify: `test -f scripts/lib/parallel-review-worktrees.sh && test -f skills/request-review/SKILL.md`
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.

