code-review
Skill44 starsChanged 3 months agoApache-2.0View on GitHub
Multi-pass code review. Review changes locally, then run `codex exec --json` as an independent read-only reviewer and merge the findings. Use before merging or after significant refactoring.
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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- tui-smoke-test-with-tmuxSkill
- verifySkill
- code-reviewSkill
- tui-smoke-test-with-tmuxSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Follow the repository's AGENTS.md and focus on actionable defects:
- Distinctive: line 23
Do not report formatting already covered by rustfmt, speculative low-probability crashes without a credible trigger, or style preferences …
- Distinctive: line 28
Keep the actionable and automatic-fix set to P0 and P1 findings with a realistic trigger and material impact.
- Very specific: line 33
Run one direct, read-only codex exec --json review pass.
- Very specific: line 38
Create a run directory with mktemp -d outside the repository.
- Very specific: line 40
Use the Codex CLI's configured default model.
- Very specific: line 41
Default the external timeout to 30 minutes (1800 seconds), overridable through REVIEW_TIMEOUT_SECONDS.
- Distinctive: line 42
If the review times out, inspect partial artifacts, split the diff into smaller review units, and retry.
- Very specific: line 86
Read final.md first, then use events.jsonl and stderr.log for missing or partial context.
“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
Multi-Pass Code Review
1. Define the review range
Inspect git status, the relevant diff, and the surrounding implementation. Preserve unrelated working-tree changes. Review the code that actually runs; do not substitute an old PRD for the current behavior.
2. Perform the local review
Follow the repository's AGENTS.md and focus on actionable defects:
- business-logic and state-transition gaps;
- persistence, recovery, compatibility, and protocol-boundary problems;
- async blocking, cancellation, locking, process-lifecycle, and resource leaks;
- tool authorization, path handling, secrets, and network exposure;
- user-visible TUI errors, misleading status, and broken interaction flows;
- missing tests for realistic failure paths.
Do not report formatting already covered by rustfmt, speculative low-probability crashes without a credible trigger, or style preferences that do not affect correctness or maintainability.
Unless the user explicitly requests a broader review, use this default severity boundary:
- Ignore extreme edge cases and crashes, layout shifts, or state mismatches assessed as extremely unlikely. Do not inflate them into actionable findings.
- Keep the actionable and automatic-fix set to P0 and P1 findings with a realistic trigger and material impact.
- Prioritize real business-logic, security/data-integrity, and user-visible TUI defects. Do not automatically fix P2/P3 findings; mention a lower-severity item only when it materially affects a decision, and leave it deferred unless the user expands the scope.
3. Obtain an external Codex review
Run one direct, read-only codex exec --json review pass. The external prompt must forbid invoking this skill, running another codex process, calling delegation tools, or modifying files.
Requirements:
- Require
codexto be available onPATH; do not source a personal shell startup file. - Create a run directory with
mktemp -doutside the repository. - Save JSONL, stderr, and the final response so partial output survives interruption.
- Use the Codex CLI's configured default model. Only pass
-mwhenREVIEW_MODELis explicitly set by the caller. - Default the external timeout to 30 minutes (
1800seconds), overridable throughREVIEW_TIMEOUT_SECONDS. - If the review times out, inspect partial artifacts, split the diff into smaller review units, and retry. Do not declare the external pass complete without a usable result.
Example:
REVIEW_DIR="$(mktemp -d "${TMPDIR:-/tmp}/acn-code-review.XXXXXX")"
REPO_ROOT="$(git rev-parse --show-toplevel)"
REVIEW_TIMEOUT_SECONDS="${REVIEW_TIMEOUT_SECONDS:-1800}"
cat > "$REVIEW_DIR/prompt.txt" <<'PROMPT'
Review the current repository changes directly. Focus on realistic business-logic defects,
security boundaries, persistence and recovery, async/process lifecycle, user-visible TUI problems,
and missing high-value tests. By default, ignore extreme or extremely unlikely crashes, layout
shifts, and state mismatches. Keep actionable findings to realistically triggered P0/P1 defects;
do not recommend fixes for P2/P3 items unless the caller explicitly requests broader coverage.
Read AGENTS.md and the surrounding implementation. Do not invoke a code-review skill, run codex or
codex exec, use delegation tools, spawn subagents, or modify files. Return actionable findings with
severity and file/line references; say explicitly when there are no findings.
PROMPT
PROMPT_TEXT="$(cat "$REVIEW_DIR/prompt.txt")"
CODEX_ARGS=(exec --json)
if [[ -n "${REVIEW_MODEL:-}" ]]; then
CODEX_ARGS+=(-m "$REVIEW_MODEL")
fi
CODEX_ARGS+=(
-C "$REPO_ROOT"
--sandbox read-only
-o "$REVIEW_DIR/final.md"
"$PROMPT_TEXT"
)
if command -v gtimeout >/dev/null 2>&1; then
gtimeout "$REVIEW_TIMEOUT_SECONDS" codex "${CODEX_ARGS[@]}" \
>"$REVIEW_DIR/events.jsonl" 2>"$REVIEW_DIR/stderr.log"
elif command -v timeout >/dev/null 2>&1; then
timeout "$REVIEW_TIMEOUT_SECONDS" codex "${CODEX_ARGS[@]}" \
>"$REVIEW_DIR/events.jsonl" 2>"$REVIEW_DIR/stderr.log"
else
codex "${CODEX_ARGS[@]}" \
>"$REVIEW_DIR/events.jsonl" 2>"$REVIEW_DIR/stderr.log"
fiRead final.md first, then use events.jsonl and stderr.log for missing or partial context.
4. Merge and report
Deduplicate local and external findings. Lead with findings ordered by severity, identify their source as local, external, or both, and include precise file references and realistic trigger conditions. If there are no findings, state that explicitly and list any verification gaps.
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.

