code-reviewing
Skill1 starsChanged 4 days agoMITView on GitHub
Structured code reviews enforcing DRY, KISS, YAGNI, SRP, best practices, and project conventions.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- alexandru/skillstheir own version, first seen Nov 1, 2026
- pavel-molyanov/molyanov-ai-devtheir own version, first seen Oct 25, 2026
- AgentShekel/agentic-workflowtheir own version, first seen Oct 14, 2026
- RileyCornelius/Code-Skillstheir own version, first seen Oct 13, 2026
- stepanenkoviktor0110-boop/ai-dev-methodologytheir own version, first seen May 31, 2026
- aman-bhandari/claude-code-agent-skills-frameworktheir own version, first seen Apr 18, 2026
Used with
Projects with it also use code-writing, infrastructure-setup and 2 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.
stepanenkoviktor0110-boopSkillcode-writing
Universal quality coding process: plan, TDD, reviews. Use whenever code needs to be written — ad-hoc or as part of a task.
Also in 3 projects that use this
stepanenkoviktor0110-boopSkillinfrastructure-setup
Sets up dev infrastructure for new projects: framework init, folder structure, Docker, pre-commit hooks (gitleaks), testing infrastructure, .gitignore.
Also in 3 projects that use this
nilecuiSkilldocumentation-writing
Writing clear, discoverable software documentation following the Eight Rules and Diataxis framework. Use when creating README files, API docs, tutorials, how-to guides, or any project documentation. Automatically enforces docs/ location, linking requirements, and runnable examples.
Also in 3 projects that use this
- +1 more from stepanenkoviktor0110-boop
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- pavel-molyanov/molyanov-ai-dev★ 299same name
- alexandru/skills★ 51same name
- AgentShekel/agentic-workflow★ 4same name
- stepanenkoviktor0110-boop/ai-dev-methodology★ 2same name
- aman-bhandari/claude-code-agent-skills-framework★ 0same name
- RileyCornelius/Code-Skills★ 0same name
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 repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
10
Distinctive
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 15
When the review target is local work, start from git diff --stat for the working-tree changes.
- Very specific: line 20
Called from the pre-commit gate?: When verification-before-completion routes here before a commit, the review target is git diff --staged — …
- Distinctive: line 25
Before reviewing line-by-line, understand the big picture:
- Distinctive: line 27
What is this code supposed to do?: Read the PR description, linked issue, or ask the user.
- Distinctive: line 28
What changed?: If reviewing a diff, understand the scope of changes — run the full git diff (or git diff --staged) when the stat summary …
- Distinctive: line 30
What's the surrounding code like?: Read adjacent files for conventions and patterns.
- Distinctive: line 41
Look at the forest before the trees.
- Distinctive: line 45
Is the approach sound?: Before nitpicking syntax, is the overall strategy correct?
- Very specific: line 69
Any doc still describing the old shape?: If the diff renames, removes, or adds something a user types or configures — a flag, env var, …
- Distinctive: line 75
When the diff *is* documentation, review it against the code rather than for prose quality.
- Distinctive: line 111
After presenting findings, offer to help implement the suggested changes.
- Distinctive: line 135
Ask questions when uncertain: "Is this intentionally returning null here?" invites discussion
“Common” is measured: kept by at least 6 in 10 of the 6 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 Reviewing
Perform thorough, constructive code reviews that catch bugs, enforce principles, and improve code quality. Good reviews are specific, actionable, and educational — they explain why, not just what.
Review Process
Step 1: Understand the Context
When the review target is local work, start from git diff --stat for the
working-tree changes. If it's empty (a clean tree, not a git repo) or the review
targets something else, such as pasted code or a PR, proceed with the code as
provided.
Called from the pre-commit gate? When verification-before-completion routes
here before a commit, the review target is git diff --staged — the change about
to be published, not the whole branch. Scope to it, keep the pass proportionate to
what tripped the gate, and report findings in time to fix them before the commit.
Before reviewing line-by-line, understand the big picture:
- What is this code supposed to do? Read the PR description, linked issue, or ask the user.
- What changed? If reviewing a diff, understand the scope of changes — run the
full
git diff(orgit diff --staged) when the stat summary isn't enough. - What's the surrounding code like? Read adjacent files for conventions and patterns.
A review request often arrives with a symptom attached — "this endpoint is slow",
"memory climbs overnight". Review the code against what you can actually see and report
the defects you find, including the ones that plausibly explain the symptom. What you must
not do is assert that a defect you spotted is the cause: that claim needs measurement,
which is performance-optimization's work. Name the suspect, say it is unconfirmed, and
keep the review's findings standing on their own.
Step 2: First Pass — Structural Review
Look at the forest before the trees. Check:
- Does the change belong here? Is it in the right module/file?
- Is the scope right? Does it do one thing or is it mixing concerns?
- Is the approach sound? Before nitpicking syntax, is the overall strategy correct?
- Are there missing pieces? Tests? Documentation? Error handling? Migration?
Step outside the diff. The most common AI slop is invisible in a single hunk — it only shows up repo-wide. For any new helper, block, command, or exported symbol in the diff, run three greps before accepting it:
- A twin? Grep the repo for an existing function/block that already does this — AI
assistants generate a fourth copy instead of finding copies #1–3 (see
code-slop-cleanup's Reuse Before Write). - Any importer? A newly-
exported symbol with no consumer is dead surface (often exported just to silence the unused-symbol checker). - Any consumer? A new schema field, prop, or param that nothing reads or sets is speculative plumbing — the API looks finished but is wired to nothing.
- A comment in the wrong place? For any new comment block of four or more lines, ask what it explains. System-level rationale — why the component exists, what was rejected, how it relates to other services — belongs in an ADR or architecture doc with the comment reduced to a pointer; a local invariant the types can't express stays inline; a restatement of the code goes nowhere. The essay-in-a-header rots unread and is unfindable by anyone grepping the docs for it.
- A reference nobody can resolve?
Phase 2,CP1.3,T02,finding #17,checkpoint 3/5in comments, names, or strings — check whether a git-tracked document defines it (git ls-files '*.md' | xargs grep -l). Anchored, it's a real cross-reference. Unanchored, it names a conversation the reader wasn't in: the finding is "write the meaning instead of the label". - Any doc still describing the old shape? If the diff renames, removes, or adds
something a user types or configures — a flag, env var, endpoint, config key,
command, script, install step — grep the README and
docs/for it, old name included. Check tables, diagrams, and layout blocks first: prose gets reread when someone edits the feature, inventories don't.
When the diff is documentation, review it against the code rather than for prose quality. The failure mode is a confident sentence nobody verified — check each claim against the file it describes, and treat an unverifiable one as a finding.
Also check the unit being grown, not just the hunk: adding 15 lines to an already 800-line function or 200-line file is how god-functions form one reviewer-approved PR at a time. Judge the total size after the change, not the size of the diff.
Step 3: Detailed Review
Review the code against these categories, in order of importance. See references/review-checklist.md for the detailed checklist.
Severity levels for findings:
- 🔴 Blocker: Must fix before merge (bugs, security issues, data loss risks) — including a doc the diff makes wrong where the doc is an instruction someone follows: install steps, setup commands, the API contract, config keys. A stale instruction fails for the next person, silently, and is worse than no instruction. Secrets or real personal data in the diff are always blockers — they survive removal in git history, so flag them before the commit, not after.
- 🟡 Suggestion: Should fix, significantly improves quality (principle violations, missing tests, docs the diff leaves incomplete rather than wrong, misplaced comment essays, unanchored internal terminology)
- 🔵 Nit: Optional improvement (naming, style, minor simplification)
Step 4: Present Findings
Structure your review as:
- Summary (1-2 sentences: overall impression and most important finding)
- Blockers (if any — these must be addressed)
- Suggestions (improvements that meaningfully raise quality)
- Nits (optional, non-blocking)
- Positive notes (what's done well — this matters for morale and learning)
For each finding, provide:
- The specific location (file and line/function)
- What the issue is
- Why it matters (link to principle)
- A concrete suggestion for fixing it (show code when helpful)
Step 5: Offer to Help Fix
After presenting findings, offer to help implement the suggested changes. Don't just criticize — help improve.
Review Dimensions
These are the lenses through which code is examined:
Correctness: Does it work? Does it handle edge cases? Can it fail silently?
Design Principles: DRY, KISS, YAGNI, SRP, functional independence. See references/review-checklist.md.
Security: Input validation, auth checks, SQL injection, XSS, secrets in code.
Performance: Obvious N+1 queries, unnecessary allocations, missing indexes. Don't optimize prematurely, but flag clearly wasteful patterns.
Testability: Is the code testable? Are there tests? Do tests test behavior or implementation?
Readability: Can someone unfamiliar with this code understand it in one reading? Good naming, manageable function length, and comments that are both why, not what and in the right place — the why of a system belongs in an ADR the comment points at; the why of a line belongs on the line. Judge "unfamiliar" literally: a reader with the repo and nothing else, who was in none of the conversations that produced it.
Error Handling: Are errors caught, logged, and handled appropriately? Are error messages helpful? See references/error-handling.md for detailed patterns (null safety, exception context, caller-oriented exceptions).
Tone Guidelines
- Be specific: "This function does three things" beats "this could be cleaner"
- Be constructive: "Consider extracting X into its own function because..." beats "this is messy"
- Ask questions when uncertain: "Is this intentionally returning null here?" invites discussion
- Acknowledge good work: If something is well-written, say so
- Propose, don't command: "What do you think about..." respects the author's judgment
- Apply the Boy Scout Rule: note small cleanup opportunities near the changed code — a renamed variable, a dead import removed. These compound over time.
Cross-Skill References
performance-optimization— when a review turns up a suspected cause of a real latency or memory symptom, confirming it by measurementrefactoring— when the review surfaces code smells worth a structured cleanupcode-slop-cleanup— strip AI-slop patterns from the diff before (or instead of) debating them in reviewsecurity-audit— for a dedicated, deep security pass beyond the review checklistverification-before-completion— verify the change actually runs before approving, not from the diff alone; also the pre-commit gate that routes staged diffs herearchitecture-design— where a system-level rationale found in a comment belongs instead (an ADR)
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.

