code-review
Skill27 starsChanged 9 months agoMITView on GitHub
Use after completing implementation steps and before merging — reviews against plan and HOTL contracts.
188 other projects use a version of this.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing and 10 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.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 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 repository19 other files it gives its agents.
- brainstormingSkill
- dispatch-agentsSkill
- document-reviewSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- governed-executionSkill
- loop-executionSkill
- pr-reviewingSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- resumingSkill
- setup-projectSkill
- skill-authoringSkill
- subagent-executionSkill
- systematic-debuggingSkill
- tddSkill
- using-hotlSkill
- verification-before-completionSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 19 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
19
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
If one canonical match: use it
- Distinctive: line 33
If multiple canonical matches: prefer the most recently modified canonical workflow, unless the user named one
- Very specific: line 34
If no canonical matches: glob for legacy hotl-workflow-*.md in project root
- Distinctive: line 35
If one legacy match: use it
- Distinctive: line 36
If multiple legacy matches: prefer the most recently modified legacy workflow, unless the user named one
- Distinctive: line 37
If no matches: proceed without workflow context
- Distinctive: line 59
Run inline review in the current session using the same output contract.
- Very specific: line 66
If the user asks to fix the findings ("fix them", "address these", "implement the fixes"): then invoke receiving-code-review
- Very specific: line 90
When the platform emits platform-native annotations for localized findings (e.g., ::code-comment in Codex, inline GitHub review comments), …
- Distinctive: line 94
When subagents are not available, run the review inline using the same output contract.
- Distinctive: line 99
All steps in the workflow file completed
- Distinctive: line 101
No unplanned scope added (YAGNI)
- Distinctive: line 103
When no workflow: state "Plan alignment: skipped (no workflow provided)"
- Distinctive: line 107
No code duplication introduced (DRY)
- Distinctive: line 113
Check for injection, auth gaps, race conditions, secret leakage, unsafe patterns.
- Distinctive: line 114
If the checklist file is not available, continue with best-effort review.
- Distinctive: line 118
Check for N+1 queries, unbounded memory, off-by-one, null handling, swallowed exceptions.
- Distinctive: line 128
No sensitive data (secrets, PII) in code, logs, or comments
- Distinctive: line 133
Every finding must include:
- Distinctive: line 145
BLOCK: Must fix before merge (failing tests, security issues, missing gates on high-risk steps)
- Distinctive: line 146
WARN: Should fix soon (code quality, missing docs for public APIs)
- Distinctive: line 147
NOTE: Consider in future (style, minor improvements)
“Common” is measured: kept by at least 6 in 10 of the 174 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
HOTL Code Review
User-facing entry point for getting a code review. Dispatches the full code-reviewer agent by default; falls back to inline review when subagents aren't available.
Process
1. Gather Context
Resolve base branch (fallback ladder — use the first that succeeds):
- PR base branch:
gh pr view --json baseRefName - Repo default branch:
git symbolic-ref refs/remotes/origin/HEAD mainmaster
Resolve review scope:
- Feature branch: committed branch diff against base (
base...HEAD), plus staged and unstaged local changes when present - On base branch with staged changes: staged diff
- On base branch with unstaged changes: working tree diff
- On clean base branch:
HEAD~1..HEAD - Ambiguous (detached HEAD, no commits beyond base, no local changes): ask the user
Detect workflow file:
- First, glob for canonical workflows in
docs/plans/*-workflow.md - If one canonical match: use it
- If multiple canonical matches: prefer the most recently modified canonical workflow, unless the user named one
- If no canonical matches: glob for legacy
hotl-workflow-*.mdin project root - If one legacy match: use it
- If multiple legacy matches: prefer the most recently modified legacy workflow, unless the user named one
- If no matches: proceed without workflow context
Extract contracts from workflow frontmatter if available (intent, constraints, success_criteria, risk_level).
Gather verification evidence:
- Primary (deterministic):
.hotl/state/*.jsonand.hotl/reports/*.md— most recent artifacts if present - Best-effort: recent test/lint output if discoverable; if unavailable, report "not available"
2. Dispatch Review
If subagents are available (Claude Code, Codex):
Dispatch the code-reviewer role as a subagent via the Agent tool. Use the structured dispatch template from requesting-code-review:
- Review type:
direct - Git range: resolved scope from step 1
- Workflow and contracts: if available
- Verification evidence: if available
If subagents are not available (Cline, weaker runtimes):
Run inline review in the current session using the same output contract. See "Inline Fallback" below.
3. Return Findings
- Present the review output (findings + verdict) to the user
- Do NOT automatically invoke
receiving-code-review - Do NOT automatically implement fixes
- If the user asks to fix the findings ("fix them", "address these", "implement the fixes"): then invoke
receiving-code-review
Verdict Model
Direct reviews use the final-review verdict model:
- READY — safe to merge
- READY WITH WARNINGS — safe to merge but warnings should be addressed soon
- NOT READY — blocking issues must be resolved before merge
Review Lifecycle
code-review = user-facing entry point for getting a review
requesting-code-review = internal executor/orchestration entry point
receiving-code-review = follow-up handler for acting on findingsOutput Contract
Both dispatched and inline reviews must conform to docs/contracts/code-review-output.md. Every review must contain these 6 sections in order: Scope (with verification evidence), Reviewed Dimensions, Findings, What Was Not Covered, Residual Risks, Verdict.
Platform-Native Annotation Dedup
When the platform emits platform-native annotations for localized findings (e.g., ::code-comment in Codex, inline GitHub review comments), do not restate those findings verbatim in the Findings section. Instead, use the grouped one-liner format defined in the output contract.
Inline Fallback
When subagents are not available, run the review inline using the same output contract. The inline review must produce identical 6-section structure — not a weaker format.
Dimensions
Plan alignment (when workflow provided):
- All steps in the workflow file completed
- success_criteria from frontmatter met
- No unplanned scope added (YAGNI)
When no workflow: state "Plan alignment: skipped (no workflow provided)"
Code quality and design:
- Tests exist and pass for all new behavior
- No code duplication introduced (DRY)
- Error handling at system boundaries only
- Reference
docs/checklists/architecture-and-design.mdfor SOLID and architecture smell heuristics. If the checklist file is not available, continue with best-effort review.
Security and reliability:
- Reference
docs/checklists/security-and-reliability.mdfor expanded security heuristics. - Check for injection, auth gaps, race conditions, secret leakage, unsafe patterns.
- If the checklist file is not available, continue with best-effort review.
Performance and boundary conditions:
- Reference
docs/checklists/performance-and-boundary-conditions.mdfor performance and boundary condition heuristics. - Check for N+1 queries, unbounded memory, off-by-one, null handling, swallowed exceptions.
- If the checklist file is not available, continue with best-effort review.
Removal and simplification:
- Reference
docs/checklists/removal-and-simplification.mdfor dead code and simplification heuristics. - Flag unused exports, dead branches, feature-flagged-off code. Classify as safe-delete-now or defer-with-plan.
- If the checklist file is not available, continue with best-effort review.
HOTL governance:
- risk_level: high steps had human gate approval
- No sensitive data (secrets, PII) in code, logs, or comments
- Security-sensitive paths (auth, encryption) have human review documented
Findings Format
Every finding must include:
- [SEVERITY]: file/path:line — description
Why: [why this matters]
Fix: [expected remediation direction]For localized issues: file:line is required. For scope-level findings: provide the narrowest evidence available.
Severity Levels
- BLOCK: Must fix before merge (failing tests, security issues, missing gates on high-risk steps)
- WARN: Should fix soon (code quality, missing docs for public APIs)
- NOTE: Consider in future (style, minor improvements)
BLOCK issues must be resolved before claiming done.
Clean Review
Per the output contract, when a dimension has no findings it must still state what was checked, what was not covered, and residual risks. Additionally, the review must always include sections 4 (What Was Not Covered) and 5 (Residual Risks) even when no individual dimension has findings.
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.

