code-review-and-quality
Skill3 starsChanged 11 days agoMITView on GitHub
Use when performing a code review — your own, another agent's, or a human's — or dispatching an independent reviewer at a merge boundary or before a major change lands. Covers scope (diff vs whole-system), five review axes, severity counts, the recomputable verdict. Not for received feedback (use receiving-code-review), blast-radius/rename graphs (use code-graph-review), or an adversarial audit of a finished-work claim (use fable-judge).
81 other projects use a version of this.
Adopted by
Most recently taken up by
- thistleknot/skillstheir own version, first seen Nov 8, 2026
- xuweizhengo/skills-hubtheir own version, first seen Nov 8, 2026
- ishandutta2007/Awesome-Agent-Skillstheir own version, first seen Nov 8, 2026
- enes-alatas/spooltheir own version, first seen Nov 8, 2026
- MMACABRE/SKILLStheir own version, first seen Nov 8, 2026
- gopalparashar421/agent-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use constraint-driven-development, code-simplification and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MrCipherSmithSkillconstraint-driven-development
Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.
Also in 15 projects that use this
HK-hubSkillcode-simplification
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
Also in 58 projects that use this
HK-hubSkilldeprecation-and-migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.
Also in 34 projects that use this
seikaikyoSkilldoubt-driven-development
對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。
Also in 37 projects that use this
seikaikyoSkillinterview-me
需求不明時的意圖萃取訪談:一次一題、每題附上自己的猜測、聽出「真正想要 vs 覺得應該要」,直到能預測使用者反應(約 95% 信心)才動工。適用:需求缺少對象 / 動機 / 成功標準 / 約束,或使用者點名「訪談我」「先確認一下」「我們確定嗎」。明確自足的指示、純資訊查詢、機械性操作不適用。
Also in 37 projects that use this
JetBrainsSkillmodern-web-guidance
Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns.
Also in 3 projects that use this
- +1 more from HK-hub
Other versions81 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 81
- addyosmani/agent-skills★ 114ksame name
- sanity-io/sanity★ 6.4ksame name
- ollaya-dev/ollaya★ 1.4ksame name
- SkafteNicki/dtu_mlops★ 806same name
- epam/ai-dial-chat★ 501same name
- shashankswe2020-ux/whoop-mcp★ 174same name
- muratgur/ordinus★ 111same name
- enes-alatas/spool★ 48same name
- vinvcn/addyosmani-agent-skills-zh★ 46same name
- jmxt3/gitscape.ai★ 33same name
71 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-simplicitySkill
- autonomous-workSkill
- brainstormingSkill
- code-graph-reviewSkill
- code-review-and-qualitySkill
- dashboard-designSkill
- design-systemSkill
- dev-wikiSkill
- dispatching-parallel-agentsSkill
- fable-judgeSkill
- fable-methodSkill
- git-workflow-and-versioningSkill
- money-path-safetySkill
- observability-and-instrumentationSkill
- ponytailSkill
- production-first-decisionsSkill
- receiving-code-reviewSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- skill-authoringSkill
- systematic-debuggingSkill
- testing-disciplineSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- web-researchSkill
- windows-encoding-fixesSkill
- writing-plansSkill
- architecture-simplicitySkill
- autonomous-workSkill
- brainstormingSkill
- code-graph-reviewSkill
- dashboard-designSkill
- design-systemSkill
- dev-wikiSkill
- dispatching-parallel-agentsSkill
- fable-judgeSkill
- fable-methodSkill
- git-workflow-and-versioningSkill
- money-path-safetySkill
- observability-and-instrumentationSkill
- ponytailSkill
- production-first-decisionsSkill
- receiving-code-reviewSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- skill-authoringSkill
- systematic-debuggingSkill
- testing-disciplineSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- web-researchSkill
- windows-encoding-fixesSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 74 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 74
Do the tests pass, and do they test the right thing?
- Distinctive: line 135
Follow the host's delegation rules and use its real reviewer name and capabilities.
- Very specific: line 163
Check every finding against the actual contract and source.
- Distinctive: line 169
Keep your execution tracking separate from reviewer-owned approval.
- Distinctive: line 176
After a refactor, check for orphaned code:
- Distinctive: line 178
Verify no remaining callers, including dynamic dispatch and public entry points.
- Distinctive: line 181
Ask before deleting unrelated user code.
- Distinctive: line 186
Before adding a dependency: does the existing stack already solve it (often it does), how large is it, is it maintained, does it have known …
“Common” is measured: kept by at least 6 in 10 of the 74 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Review and Quality
Review answers two questions: does this change meet its requirements, and does it leave the code healthier. Use the same axes whether you are reviewing someone else's work or arranging a review of your own.
Approval standard: approve when the change definitely improves overall code health, even if it isn't perfect. Don't block because it isn't how you would have written it.
Scope: diff-review vs whole-system audit
State the scope before reporting, because it decides what counts as a finding.
- Diff-review (default for a PR, branch or task gate): changed lines and their direct blast radius. Apply the exclusions below to unchanged code.
- Whole-system audit (security, architecture, repository audit): system-wide invariants across the codebase, not limited by the diff boundary.
What not to flag in diff-review
Noise buries real findings. In diff-review scope, don't report:
- Theoretical risks with no exploit path in this change's reality.
- Defense-in-depth when the primary control already suffices.
- Unrelated pre-existing issues. An unchanged caller does come into scope when this change makes it fail: the affected path, not line ownership, sets scope.
- "Consider library X" — a review is not the place to add dependencies.
Severity: three values
- critical — blocks merge: real bug, broken contract, fraud.
- warning — material finding that should be resolved; alone it doesn't block unless the accumulated quality threshold says so.
- suggestion — optional improvement; never blocks.
Report format: counts and a recomputable verdict
End every review with the counts and the verdict derived from them. The verdict
is arithmetic, not a mood; fable-judge carries the full adversarial semantics.
counts: critical: N | warning: N | suggestion: N
verdict: <VERIFIED | VERIFIED WITH CAVEATS | REFUTED>verdict_from_counts(0, 0) == "VERIFIED"
verdict_from_counts(0, 2) == "VERIFIED"
verdict_from_counts(0, 3) == "VERIFIED WITH CAVEATS"
verdict_from_counts(0, 0, unverified=1) == "VERIFIED WITH CAVEATS"
verdict_from_counts(1, 4) == "REFUTED"critical > 0 → REFUTED; else any unjudged material claim or warning > 2 →
VERIFIED WITH CAVEATS; else VERIFIED. A clean report with two warnings is an
approval. Name the requirements or paths you could not judge and why; an
unexamined path is not an approval.
The five axes
1. Correctness
- Does it match the spec or task requirements?
- Are edge cases handled (null, empty, boundary values)?
- Are error paths handled, not just the happy path?
- Do the tests pass, and do they test the right thing?
- For reachable inputs the spec doesn't mention, judge against the stated contract and reasonable consumer expectations: spec silence doesn't excuse a crash. That is not license for speculative features or unrelated hardening.
2. Readability and simplicity
- Are names descriptive and consistent with project conventions?
- Is the control flow straightforward?
- Could this be fewer lines? (1000 lines where 100 do the job is a failure)
- Are abstractions earning their complexity? (Don't generalize until the third use case.)
- Dead artifacts: no-op variables, compatibility shims,
// removedcomments.
3. Architecture
- Does it follow existing patterns, or introduce a new one? If new, is that justified?
- Are module boundaries clean, dependencies flowing in one direction?
- Is duplicated code that should be shared?
- Does this refactor reduce complexity or just relocate it?
4. Security
- Is input validated and sanitized?
- Are secrets kept out of code, logs and version control?
- Are authentication and authorization checked where needed?
- Are queries parameterized and outputs encoded for their sink?
5. Performance
- N+1 query patterns?
- Unbounded loops or unconstrained data fetching?
- Synchronous work that should be async?
- Missing pagination on list endpoints?
Change sizing (heuristics, not gates)
Rough review-cost signals for one logical change; overrides come from the repo, the reviewer's capacity and how coupled the parts are.
~100 lines changed → reviewable in one sitting
~300 lines changed → acceptable for a single logical change
~1000 lines changed → split before reviewReview process
- Understand the context — what is this change trying to accomplish?
- Read the tests first — they reveal intent and coverage.
- Walk the implementation through the five axes.
- Categorize each finding as critical / warning / suggestion.
- Verify the verification — what actually ran, on which state.
Requesting an independent review
Independent review is worth it when a merge or approval boundary requires signoff, when evidence has stalled, when a complex defect persists, or when the change has a consequential trust or compatibility boundary. For parallel work, review each contribution and the integrated behavior; one integrated review may cover coupled tasks, so don't require a fresh blocking review after every worker or microstep. For a small bounded change, proportionate inline review suffices unless the host, the user or the merge policy requires independent signoff.
Follow the host's delegation rules and use its real reviewer name and capabilities; a skill cannot create a missing reviewer, and requesting a review authorizes no commit, push or merge (OPS §1).
The brief. The reviewer needs the work product and its constraints, not the whole session transcript:
- Goal: requested behavior, acceptance criteria, explicit non-goals.
- Scope: diff-review or whole-system audit, changed files, coupled interfaces, relevant source context.
- Compared states: the real baseline and candidate. For uncommitted work hand over the working-tree diff or before/after snapshots; never invent SHAs or create commits to fill a template.
- Evidence: commands and observed results, checked state, reproduction steps, known gaps. A dry run is not a behavior result.
- Output: findings with severity, file/line, contract impact and supporting evidence, closing with the counts and verdict above.
In a diff-review, ask the reviewer to suppress hypothetical or unrelated findings; whole-system audits keep their broader invariant scope.
When no reviewer exists (no subagent, no second model, no human available): finish the reachable implementation and verification, do the axes pass yourself, and report that independent signoff was unavailable. Don't claim signoff you didn't get, and don't cross a boundary that requires it.
Acting on findings
- Check every finding against the actual contract and source; push back with
evidence when it is wrong (see
receiving-code-review). - Repair material in-scope defects and verify the repair. A suggestion doesn't become a blocker or a new requirement.
- Resolve outcome-changing ambiguity before dependent changes; continue with independent authorized fixes meanwhile.
- Keep your execution tracking separate from reviewer-owned approval. Reuse valid evidence, but re-check or re-review when a change invalidates it.
- Report remaining material gaps. Don't silently approve, fabricate a review, or tick the reviewer's checkboxes yourself.
Dead code hygiene
After a refactor, check for orphaned code:
- Verify no remaining callers, including dynamic dispatch and public entry points.
- In an authorized implementation task, remove what the task made obsolete.
- Ask before deleting unrelated user code; a review-only task reports findings without editing.
Dependency discipline
Before adding a dependency: does the existing stack already solve it (often it does), how large is it, is it maintained, does it have known vulnerabilities, what is its license? Prefer the standard library and existing utilities.
Source: obra/superpowers (MIT), absorbing the former
requesting-code-reviewskill. Adapted for coding-kit: host-aware review dispatch and coherent change boundaries.
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.

