requesting-code-review
Skill18 starsChanged 7 months agoMITView on GitHub
Use when you need an independent code review before commit, merge, or task handoff, including Chinese requests such as “帮我 review”“合并前审一下”“看看这次改动有没有问题”. Do not use for from-scratch implementation work with no reviewable diff yet, or when the user only wants a code explanation instead of a risk-focused review.
155 other projects use a version of this.
Adopted by
Most recently taken up by
- NousResearch/hermes-agenttheir own version, first seen Nov 13, 2026
- rakaarwaky/agents-arwakytheir own version, first seen Oct 6, 2026
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- lsy041015/orchestratheir own version, first seen Oct 2, 2026
Used with
Projects with it also use diagnosing-superpowers, touchdesigner-mcp and 8 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.
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 6 projects that use this
kevinnftSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 7 projects that use this
aivrarSkillsdlc-review
Review Kanban handoffs and route verified outcomes.
Also in 5 projects that use this
braxtonROSE4Skillsongwriting-and-ai-music
Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.
Also in 11 projects that use this
braxtonROSE4Skillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 7 projects that use this
john-data-chenSkillteams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
Also in 8 projects that use this
- +3 more from braxtonROSE4
Other versions155 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 155
- obra/superpowers★ 314ksame name
- NousResearch/hermes-agent★ 267ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- coco-research/coco★ 437same name
- Ibrahim-3d/orchestrator-supaconductor★ 380same name
- theexperiencecompany/gaia★ 306same name
- aivrar/portable-hermes-agent★ 232same name
- graniet/kheish★ 221same name
145 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 repository37 other files it gives its agents.
- a11y-debuggingSkill
- agent-blueprint-architectSkill
- brainstormingSkill
- chart-visualizationSkill
- chinese-copywritingSkill
- chinese-git-workflowSkill
- chrome-devtoolsSkill
- creating-trae-rulesSkill
- debug-optimize-lcpSkill
- discovering-subagent-capabilitiesSkill
- dispatching-parallel-agentsSkill
- everything-searchSkill
- executing-plansSkill
- find-docsSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- gh-cliSkill
- git-commitSkill
- image-manipulation-python-magickSkill
- memory-kernelSkill
- memory-leak-debuggingSkill
- mineru-to-mdSkill
- model-config-lookupSkill
- receiving-code-reviewSkill
- self-improvementSkill
- skill-creatorSkill
- skill-language-policySkill
- skill-stability-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- troubleshootingSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- visual-brainstormingSkill
- workflow-runnerSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 146 edited versions we read keep these.
12
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 16
After completing a major feature.
- Distinctive: line 17
After fixing a complex bug.
- Distinctive: line 18
Before merging or committing.
- Distinctive: line 19
After a subagent or batch task finishes, when you want an independent gate check.
- Very specific: line 59
If origin/$DEFAULT_BRANCH does not exist, fall back to the last stable baseline or the commit from the previous task.
- Distinctive: line 63
If using a subagent, provide the full context, not just "please review".
- Distinctive: line 88
When providing feedback to a Chinese-speaking user, adopt a constructive, polite, and inquiry-based tone:
- Distinctive: line 89
Use suggestions instead of commands (e.g., "建议考虑用 X,因为 Y" instead of "你必须改成 X").
- Distinctive: line 90
Use questions instead of negations when unsure of intent (e.g., "这里用 sync 是出于什么考虑?" instead of "不应该用 sync").
- Distinctive: line 92
Always classify findings by severity:
- Distinctive: line 98
If the review judgment is wrong: Provide evidence to refute it.
- Very specific: line 102
Prefer using independent review capabilities available in the current environment.
- Distinctive: line 103
If no suitable review subagent is available, perform a self-review in the current session using the same standards, maintaining a …
- Distinctive: line 104
Use PowerShell-compatible commands when getting git information on a Windows host.
- Very specific: line 121
If no issues found, explicitly route to verification-before-completion before proceeding to commit.
“Common” is measured: kept by at least 6 in 10 of the 146 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
Requesting Code Review
Overview
Request an independent code review for the current changes before continuing development, committing, or merging.
Core Principle: The earlier the review, the cheaper the fix.
Use This Skill
- After completing a major feature.
- After fixing a complex bug.
- Before merging or committing.
- After a subagent or batch task finishes, when you want an independent gate check.
- The user explicitly asks for a review, code review, or to check the changes.
Do Not Use
- The current task is a from-scratch implementation with no reviewable diff yet.
- The user is asking how to handle received feedback; use
receiving-code-reviewinstead. - The user only wants to understand the code, not review its quality and risks.
- The change is extremely small and involves no behavioral changes; a simple self-check is enough.
Execution Protocol
1. Determine Review Scope
Provide a clear scope for the changes rather than a vague "please take a look".
Common scopes:
- Changes after a single task completes.
- The diff of a feature branch relative to the base branch.
- The most recent commit.
- A few specific key files.
2. Gather Review Context
Prepare at least the following information:
- What was changed.
- Why it was changed.
- The corresponding requirement, plan, or bug.
- The git scope to review.
- Which validations have already been run.
PowerShell example:
# Detect default branch dynamically instead of hardcoding origin/main
$DEFAULT_BRANCH = git remote show origin | Select-String "HEAD branch" | ForEach-Object { $_ -replace '.*HEAD branch: ', '' }
if (-not $DEFAULT_BRANCH) { $DEFAULT_BRANCH = "main" }
$BASE_SHA = git merge-base HEAD "origin/$DEFAULT_BRANCH"
$HEAD_SHA = git rev-parse HEAD
git diff --stat $BASE_SHA..$HEAD_SHAIf origin/$DEFAULT_BRANCH does not exist, fall back to the last stable baseline or the commit from the previous task.
3. Initiate Independent Review
If using a subagent, provide the full context, not just "please review".
First, use discovering-subagent-capabilities to discover available subagents at runtime. Match the subagent whose description best fits code review. The subagent name is dynamic — do not assume a fixed value.
The Task call should follow this pattern:
Task(
description="审查<模块名>",
query="<完整审查指令>",
subagent_type="<discovered dynamically>",
response_language="zh-CN"
)The subagent is stateless and returns exactly once — the query must contain everything needed.
The prompt should include:
- Implementation summary.
- Requirement or plan source.
BASE_SHA/HEAD_SHA.- Risk areas or specific aspects to focus on.
- Template:
requesting-code-review/code-reviewer.md.
Review Standards
When providing feedback to a Chinese-speaking user, adopt a constructive, polite, and inquiry-based tone:
- Use suggestions instead of commands (e.g., "建议考虑用 X,因为 Y" instead of "你必须改成 X").
- Use questions instead of negations when unsure of intent (e.g., "这里用 sync 是出于什么考虑?" instead of "不应该用 sync").
Always classify findings by severity:
[必须修复](Critical): Security vulnerabilities, data loss risks, logical errors. Fix first, then continue.[建议修改](Important): Performance issues, maintainability, missing validation. Usually should be fixed before continuing.[仅供参考](Minor): Naming improvements, style suggestions, alternative approaches. Record and fix when convenient.[问题](Question): Unclear intent, need clarification from the author.- If the review judgment is wrong: Provide evidence to refute it; do not argue emotionally.
Trae / Windows Conventions
- Prefer using independent review capabilities available in the current environment; in this environment, use
discovering-subagent-capabilitiesfirst to find the review-capable subagent, then dispatch withTask. - If no suitable review subagent is available, perform a self-review in the current session using the same standards, maintaining a "findings-first" report structure.
- Use PowerShell-compatible commands when getting git information on a Windows host.
- Once review conclusions are ready, hand off to
receiving-code-reviewif fixes need to be applied based on the feedback.
Failure Handling
- No git baseline: Switch to file-level review and explicitly state the scope limits.
- No independent subagent: Self-review in the current session, but keep the findings-first output.
- Review scope too large: Break it into multiple independent scopes to avoid reviewing too much at once.
- Unclear conclusions: Return to
receiving-code-reviewto clarify before implementing.
Output Contract
The final output must include:
- The scope that was reviewed.
- The context provided to the reviewer.
- The review findings categorized by severity.
- Recommended next steps (e.g., fix critical issues, proceed to commit).
- If no issues found, explicitly route to
verification-before-completionbefore proceeding to commit.
Integration
verification-before-completion: Upstream — review starts after verification evidence is collected.receiving-code-review: Downstream — how to validate, clarify, and apply feedback after receiving it.verification-before-completion: Downstream — final validation after review feedback is fixed.code-reviewer.md: The independent review prompt template.
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.

