一键导入
gsd-code-review
Review source files changed during a phase for bugs, security issues, and code quality problems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review source files changed during a phase for bugs, security issues, and code quality problems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Engineering workflow router — picks direct / GSD-lite / full GSD based on RISK, not file count. AUTO-INVOKED for tasks touching 3+ files or creating new functionality, but defaults to LIGHT process unless the work has real architectural risk (concurrency, atomicity, protocol, schema). Hides /gsd-* internals behind one entry point. Skip for bug fixes, typos, single-function changes, and questions. RUNS AUTONOMOUSLY by default — only pauses on Critical Decision Triggers (see Phase -1).
Fetch a pre-made DESIGN.md from the awesome-design-md collection (66 brands). Drop a known brand's design system into your project. Triggers: design-md, get design md, use vercel design, brand design system.
Lock file edits to a specific directory. Prevents accidental edits outside the designated scope. Use during focused refactoring, debugging, or when working on a specific module. Triggers: freeze, lock scope, restrict edits, scope lock.
Generate AI design contract (AI-SPEC.md) for phases that involve building AI systems — framework selection, implementation guidance from official docs, and evaluation strategy
Run all remaining phases autonomously — discuss→plan→execute per phase
Auto-fix issues found by code review in REVIEW.md. Spawns fixer agent, commits each fix atomically, produces REVIEW-FIX.md summary.
| name | gsd-code-review |
| description | Review source files changed during a phase for bugs, security issues, and code quality problems |
| argument-hint | <phase-number> [--depth=quick|standard|deep] [--files file1,file2,...] |
| allowed-tools | ["Read","Bash","Glob","Grep","Write","Task"] |
Spawns the gsd-code-reviewer agent to analyze code at the specified depth level. Produces REVIEW.md artifact in the phase directory with severity-classified findings.
Arguments:
--depth=quick|standard|deep (optional) — review depth level, overrides workflow.code_review_depth config
--files file1,file2,... (optional) — explicit comma-separated file list, skips SUMMARY/git scoping (highest precedence for scoping)Output: {padded_phase}-REVIEW.md in phase directory + inline summary of findings
<execution_context> @$HOME/.claude/get-shit-done/workflows/code-review.md </execution_context>
Phase: $ARGUMENTS (first positional argument is phase number)Optional flags parsed from $ARGUMENTS:
--depth=VALUE — Depth override (quick|standard|deep). If provided, overrides workflow.code_review_depth config.--files=file1,file2,... — Explicit file list override. Has highest precedence for file scoping per D-08. When provided, workflow skips SUMMARY.md extraction and git diff fallback entirely.Context files (CLAUDE.md, SUMMARY.md, phase state) are resolved inside the workflow via gsd-sdk query init.phase-op and delegated to agent via <files_to_read> blocks.
Execute the code-review workflow from @$HOME/.claude/get-shit-done/workflows/code-review.md end-to-end.
The workflow (not this command) enforces these gates: