godmode:code-review
Skill1 starsChanged 56 days agoMITView on GitHub
Structured code review before merge. Use when implementation is complete and you need a systematic quality pass — correctness, safety, architecture, tests, and style.
In this repository78 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-ledger-applySkill
- godmode:crs-ledger-diffSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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 14
Before creating a PR or merging a branch
- Distinctive: line 15
After a feature is implemented and tests pass
- Distinctive: line 16
When asked to "review", "audit", or "check" code
- Distinctive: line 30
Apply all severity levels in one pass: Do not commit after fixing only blocking issues and leave suggestions for a follow-up — that creates …
- Distinctive: line 73
Read the diff or specified files completely before commenting
- Very specific: line 92
Use godmode:verification-before-completion before claiming done
- Distinctive: line 98
When a reviewer (sentinel, clippy, obfsck) flags test data, string literals, or fixture content:
- Very specific: line 101
Add a per-site #[allow(...)] or allowlist entry immediately
- Distinctive: line 102
Do not change test content to work around the flag
- Distinctive: line 103
Document why the allowlist entry was added
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
Code Review
When to Use
- Before creating a PR or merging a branch
- After a feature is implemented and tests pass
- When asked to "review", "audit", or "check" code
Severity Levels
(canonical source:
nu skills/_lib/review-rules.nu severity-table)
| Level | Action |
| Blocking | Must fix before merge |
| Suggestion | Should fix; explain if skipping |
| Nitpick | Optional; fix in one pass |
(
review-rules.nu one-pass-rule)
Apply all severity levels in one pass. Do not commit after fixing only blocking issues and leave suggestions for a follow-up — that creates noisy fix histories.
Review Checklist
Correctness
- Logic matches the stated requirement
- Edge cases handled: empty input, null/None, zero, overflow
- Error paths return meaningful errors, not panics
- No silent data loss (truncation, lossy casts)
Safety & Security
- No SQL/command injection via string interpolation
- Secrets not logged or serialised
- File paths validated before use
- No
unsafewithout justification
Architecture
- Change is in the right layer (not mixing I/O into pure logic)
- No new circular dependencies
- Public API surface is intentional — not accidental leakage
- Hexagonal boundary respected: ports define contracts, adapters implement them
Tests
- Every new public function has at least one test
- Happy path covered
- At least one error/edge case covered
- Tests use real code (mocks only where unavoidable)
- No test-only methods on production types
Style
- Names are clear and consistent with surrounding code
- No dead code, unused imports, commented-out blocks
- Doc comments on public items where non-obvious
- Line width ≤ 100 columns
Process
- Read the diff or specified files completely before commenting
- Group findings by severity
- Report as structured list:
## Code Review — <file or feature>
### Blocking
- [file:line] <issue> — <why it matters>
### Suggestions
- [file:line] <issue> — <recommendation>
### Nitpicks
- [file:line] <issue>- Fix all issues in one pass before marking done
- Re-run
taskit check lintandtaskit test runafter fixes - Use
godmode:verification-before-completionbefore claiming done
False Positives
(
review-rules.nu false-positive-protocol)
When a reviewer (sentinel, clippy, obfsck) flags test data, string literals, or fixture content:
- Add a per-site
#[allow(...)]or allowlist entry immediately - Do not change test content to work around the flag
- Document why the allowlist entry was added
Additional Resources
references/review-checklist.md— full checklist with severity guidehelpers/review-report-template.md— structured report template to fill in
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.

