بنقرة واحدة
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 المهني
Create detailed phase plan (PLAN.md) with verification loop
File a phase artifact into MemPalace; mirror decision facts into its temporal KG
Cross-AI plan convergence - replan until review concerns are resolved.
Generate an AI-SPEC.md design contract for phases that involve building AI systems.
Start a new milestone cycle — update PROJECT.md and route to requirements
Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall
| 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,...] [--fix [--all] [--auto]] |
| allowed-tools | ["Read","Bash","Glob","Grep","Write","Agent"] |
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)--fix (optional) — after review completes (or if REVIEW.md already exists), auto-apply fixes found. Spawns gsd-code-fixer agent. Accepts sub-flags:
--all — include Info findings in fix scope (default: Critical + Warning only)--auto — enable fix + re-review iteration loop, capped at 3 iterationsOutput: {padded_phase}-REVIEW.md in phase directory + inline summary of findings
<execution_context> @~/.claude/gsd-core/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-tools query init.phase-op and delegated to agent via <files_to_read> blocks.
Execute end-to-end.
The workflow (not this command) enforces these gates: