code-review
Skill313 starsChanged 26 days agoApache-2.0View on GitHub
Review a pull request or a proposed change to this repository. Use when asked to review a pull request, a diff, or a branch, and when a review finding needs evidence before it is reported.
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 184 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
When the artifact is missing, name the one that would settle the question and treat the question as open rather than deciding it.
- Distinctive: line 76
18 Commit conventions: Commit messages follow the conventions the repository documents, including the scope it requires and the markers it …
“Common” is measured: kept by at least 6 in 10 of the 184 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
This skill covers what to review and what counts as evidence and as a real problem. The standing instructions of the repository are background that always applies; do not repeat them here.
It does not prescribe how a review is presented: the structure, the wording and any severity labels of comments follow the conventions of the review system that runs the review.
Review flow
- Name the object and the intent. State what the change claims and what would make it wrong.
- Walk the catalog family by family, and one dimension at a time inside a family: a single read-through lets the most visible change absorb the attention and hides the rest.
- Cover the whole catalog for every pull request, whatever it changes: code, documentation, dependencies, build configuration, generated files, release metadata, or repository material. A dimension that does not apply is still accounted for, with the reason it does not apply; nothing is dropped silently.
- Check the evidence. Recompute what can be recomputed: counts, commands, exit codes, file lists, tree hashes.
- Name the gaps and the conflicts. Tradeoffs between families, and every question the reviewed material does not answer.
- State the conclusion, with the artifact behind each problem it raises and an action for each of them.
What settles a dimension
A dimension is settled by an artifact: command output, a file, a test, a hash, or a documented decision. A claim that cannot be checked against an artifact is not verified, and "looks fine" is not evidence.
When the artifact is missing, name the one that would settle the question and treat the question as open rather than deciding it.
Dimension catalog
Nine families, nineteen dimensions. Each dimension states a principle and the artifact that settles it; the concrete form of that artifact is whatever the repository under review documents.
A · Intent
- 1 Scope and intent. The change does only what it claims, and every file it touches belongs to that claim; unrelated reformatting, drive-by refactors, moved files and dependency churn are problems to raise.
B · Correctness
- 2 Behavioural correctness. The observable behaviour matches the modelled API and the reference implementation, including the alternative addressing forms a request may use; name the suite that covers the behaviour, and treat a behaviour change without one as a gap in the evidence.
- 3 Error paths and failure modes. Empty input, missing resources, zero-length payloads, concurrent writers, timeouts, half-closed connections, resets and streams that end early; a silent fallback is a real problem, because reporting success while nothing happened is the worst failure mode.
- 4 Wire format and specification compliance. Status codes, error codes, document shape, timestamp precision and date forms, framing and trailers, percent-encoding and query parsing follow the specification exactly; say which specification or RFC the behaviour is checked against.
C · Compatibility
- 5 Public interface and versioning. Public interfaces and feature combinations keep their promises, generated output is identical after a regeneration, and the compatibility check of the project runs when a published surface changes.
- 6 Toolchain and platform baseline. The toolchain baseline the project declares is respected, and the behaviour that differs per platform is stated for the platforms the project supports.
- 7 Dependency surface structure. The default dependency set is an invariant: a new optional dependency must not appear without its feature, and a development dependency must not pull runtime components into a default build. State a dependency invariant on two bases, the node count and the enabled feature set, because a change can leave the node count identical while the feature set shrinks. An unused direct dependency is a real problem, not a harmless leftover.
D · Security
- 8 Memory and cryptography, transport. Unsafe constructs are absent or justified, and transport security, certificate handling and signature verification use their primitives correctly.
- 9 Input handling and amplification. Work stays linear in the input with no amplification and no unbounded buffers, and untrusted input is validated before it is used.
- 10 Known vulnerabilities. The dependency set is checked for known advisories, and an accepted advisory is recorded with its rationale and its exposure.
E · Performance and resources
- 11 Runtime performance and measurement validity. Measurements use valid input and are reproducible, and the baseline they are compared against is stated; timings from malformed input are robustness data, not design evidence.
- 12 Memory streaming and build resources. Streaming stays bounded in memory with back pressure, and heavy builds respect the build resources of the environment.
F · Verifiability
- 13 Tests as evidence. The tests fail when the production change is reverted; a filtered suite is quantified as cases run of cases that exist; a check that accepts a good sample rejects a deliberately broken one.
- 14 Gates and reproducibility. A command and its exit code per claim; the aggregate gate runs after the last commit and leaves a clean tree, because formatting and generation rewrite files. Require the check-only variants the project automation runs, and remember that an all-features build is blind to the default configuration.
G · Documentation and usability
- 15 Documentation and usability. The documentation the project ships stays consistent with the change: names, flags, trust instructions, release order; documentation links follow the project style, examples run, and badges and version numbers match reality.
H · Maintainability and history
- 16 Maintainability and history. Each commit is self-consistent, with no later commit repairing an earlier one, and after a rewrite the tree is identical to the previous tip; generated and hand-written files stay separated, and naming and comments describe behaviour rather than the session that produced them. An unreferenced declaration or a piece of dead code is a real problem, not a harmless leftover.
I · Delivery and compliance
- 17 Public layer and disclosure. Repository content carries no material that only exists on the author machine: session or editor state paths, scratch and planning documents, local task identifiers, or notes that assume a private context; pull request bodies keep their required sections and their disclosure.
- 18 Commit conventions. Commit messages follow the conventions the repository documents, including the scope it requires and the markers it asks for on a breaking change.
- 19 Release and packaging. The packaging check accepts the manifest and its file list excludes local material; a component that gains a dependency is released after that dependency is available publicly, and versions and placeholders are consistent.
Calibration
Judge what the change touches and whether it is self-consistent, not how large it is: line counts, file counts and diff sizes are heuristics, and a size threshold is a preference rather than a defect.
A change in behaviour, in the evidence behind a claim, or in compatibility is a real problem to raise. Naming, wording and formatting are preferences, and a preference is never a reason to block a change. List the conflicts between dimensions and families explicitly, give every problem an action, and do not restate the diff.
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- mattpocock/skills★ 309ksame name
- TheAlgorithms/Python★ 226ksame name
- microsoft/vscode★ 194ksame name
- github/spec-kit★ 145ksame name
- ggml-org/llama.cpp★ 133ksame name
- shareAI-lab/learn-claude-code★ 80ksame name
- shareAI-lab/analysis_claude_code★ 78ksame name
- vectorize-io/hindsight★ 57ksame name
- dbeaver/dbeaver★ 52ksame name
- roboflow/supervision★ 51ksame name
184 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.
Used alongsideProjects with it also use add-new-model, azsdk-common-sdk-breaking-change 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.
PydanticSkilladd-new-model
Add support for a newly-released language or image generation model in pydantic-ai (e.g. openai:gpt-5.6, anthropic:claude-sonnet-5, openai:gpt-image-2). Use when a provider ships a new model id and you need to wire literals, profile flags, adapters, and tests to recognize it. Handles SDK-lag, gateway list conventions, capability probing, and direct image-model geometry.
Also in 9 projects that use this
Microsoft AzureSkillazsdk-common-sdk-breaking-change
Detect and mitigate SDK Breaking changes for an SDK package which is generated from TypeSpec. WHEN: "Detect SDK breaking changes for a service", "Detect SDK breaking changes for an SDK package", "Detect and mitigate SDK breaking changes for a service", "Detect and mitigate SDK breaking changes for an SDK package". INVOKES: skill: azsdk-common-generate-sdk-locally; MCP tools: azure-sdk-mcp:azsdk_customized_code_update, azure-sdk-mcp:azsdk_package_detect_breaking_change.
Also in 4 projects that use this
ww-w-aiSkillbkend-auth
bkend.ai authentication guide. Signup, login, JWT tokens, sessions, role-based access control, and password management with bkend.ai BaaS. Triggers: bkend auth, bkend login, bkend signup, JWT, session, RBAC, password, bkend 인증, 로그인, 회원가입, bkend認証, ログイン, 新規登録, bkend认证, 登录, 注册, autenticacion bkend, authentification bkend, bkend-Auth Do NOT use for: data operations (use $bkend-data), file storage (use $bkend-storage).
Also in 4 projects that use this
ww-w-aiSkillbkend-cookbook
bkend.ai cookbook with step-by-step tutorials and example projects. Build a todo app, blog, e-commerce store, and more with bkend.ai BaaS. Triggers: bkend cookbook, bkend tutorial, bkend example, todo app, blog app, bkend 쿡북, bkend 튜토리얼, 예제 프로젝트, bkendクックブック, チュートリアル, bkend教程, 示例项目, tutorial bkend, tutoriel bkend, bkend-Tutorial, ricettario Do NOT use for: initial setup (use $bkend-quickstart), specific features (use $bkend-data/auth/storage).
Also in 4 projects that use this
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 4 projects that use this
dzhngSkilldesign-with-images
Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.
Also in 4 projects that use this
- +5 more from ww-w-ai
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- code-coverageSkill
- codegenSkill
- fuzz-testingSkill
- gh-stackSkill
- mutation-testingSkill
- pull-requestSkill
- testingSkill
- verificationSkill
- watch-prSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

