一键导入
review-code
Use when requesting or receiving code review, before merging or implementing suggestions, combined with GitNexus and AgentMemory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when requesting or receiving code review, before merging or implementing suggestions, combined with GitNexus and AgentMemory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation, combined with GitNexus and AgentMemory.
Trace call graphs, dependencies, and execution flow of target code using GitNexus.
Convert binary and formatted documents (PDF, DOCX, XLSX, PPTX, HTML, ZIP, etc.) to Markdown using MarkItDown and extract requirements.
Safe, structured refactoring of target code using GitNexus graph mapping, AgentMemory checks, and TDD workflows.
Run targeted unit/integration tests on changed components, run full regression suites, and log outcomes in memory.
Verify codebase modifications, execute test runners, detect file change scope using GitNexus, and persist session memory.
| name | review-code |
| description | Use when requesting or receiving code review, before merging or implementing suggestions, combined with GitNexus and AgentMemory. |
This skill automates and structures the code review process, divided into Requesting Code Review (dispatching reviewers) and Receiving Code Review (evaluating feedback factually and technically, avoiding performative agreement).
Dispatch a code reviewer subagent to catch issues before they compound. The reviewer gets precisely crafted context for evaluation — never your session's history. This keeps the reviewer focused on the work product, not your thought process.
main.BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
gitnexus to identify the modified files and check incoming/outgoing dependency blast radius.agentmemory for historical errors or design decisions recorded in this project.BASE_SHA) and ending (HEAD_SHA) commits.Code review requires technical evaluation and verification, not emotional performance.
Instead:
When feedback is correct, state the fix factually.
Push back when the suggestion:
To ensure robust and maintainable code, always follow these four core principles inspired by Andrej Karpathy:
Don't assume. Don't hide confusion. Surface tradeoffs.
Minimum code that solves the problem. Nothing speculative.
Touch only what you must. Clean up only your own mess.
Define success criteria. Loop until verified.