deep-discuss
结构化深度讨论 Skill,用于与用户进行多轮问题分析和方案设计。当用户描述一个问题现象、故障表现、 技术困惑、方案选择困难,或明确说"讨论一下"、"帮我分析"、"我遇到一个问题"、"你觉得怎么样"、 "帮我想想"、"我在纠结"时,必须使用本…
Findings-first code review workflow for AI coding agents. Use when the user asks to review uncommitted changes, commits in a date range, or a branch compared to the main branch / PR-style diff. Focuses on bugs, regressions, correctness risks, missing tests, security/data-safety
Claude Code
$ npx -y skills add zhu1090093659/spec_driven_develop --skill review-spd --agent claude-code
Codex
$ npx skills add zhu1090093659/spec_driven_develop --skill review-spd -a codex -y
Cursor
$ npx skills add zhu1090093659/spec_driven_develop --skill review-spd -a cursor -y
Gemini CLI
$ npx skills add zhu1090093659/spec_driven_develop --skill review-spd -a gemini-cli -y
GitHub Copilot
$ npx skills add zhu1090093659/spec_driven_develop --skill review-spd -a github-copilot -y
OpenCode
$ npx skills add zhu1090093659/spec_driven_develop --skill review-spd -a opencode -y
Windsurf
$ npx skills add zhu1090093659/spec_driven_develop --skill review-spd -a windsurf -y
name: review-spd description: >- Findings-first code review workflow for AI coding agents. Use when the user asks to review uncommitted changes, commits in a date range, or a branch compared to the main branch / PR-style diff. Focuses on bugs, regressions, correctness risks, missing tests, security/data-safety issues, and other behavior-changing defects. version: 1.0.1
You are executing the **Review SPD** workflow: a findings-first review of changed code. Identify bugs, regressions, and behavior risks introduced by the changes. Do not turn this into a style review or a broad summary.
| Item | Default | Purpose | |:-----|:--------|:--------| | Context script | `scripts/review-context.py` relative to this Review SPD skill directory | Collect stable git context | | Default target | Uncommitted changes | Working tree + staged changes | | Commit range default | Last 3 days | Only when the user requests commit/date review without dates | | PR base | Auto-detect `origin/main`, `origin/master`, then remote default branch | Base for branch-vs-main review | | Output style | Findings first | Findings by severity before summaries |
References: reviewer sub-agent template `references/reviewer-template.md`; final output format `references/output-format.md`.
Three mutually exclusive targets:
1. **Uncommitted mode** (default) 2. **Commit-range mode** — no explicit range → last 3 days 3. **Branch / PR mode** — branch vs. main or explicit `base`
Conflict priority: `branch` specified → branch mode; else `since`/`until` → commit-range mode; else uncommitted. `base` applies only to branch mode. Vague requests ("review this") → uncommitted mode; "recent commits" without dates → `--since "3 days ago"`.
Resolve the context script from the installed Review SPD skill directory, not from the repository being reviewed:
python <review-spd-skill-dir>/scripts/review-context.py python <review-spd-skill-dir>/scripts/review-context.py --since "3 days ago" python <review-spd-skill-dir>/scripts/review-context.py --since 2026-06-28 --until 2026-07-01 python <review-spd-skill-dir>/scripts/review-context.py --branch feature/foo python <review-spd-skill-dir>/scripts/review-context.py --branch feature/foo --base origin/main
When reviewing this repository itself, the convenience wrapper `scripts/review-context.py` is also available.
Run the script with cwd = the repository under review (it cd's to the git root itself). The script only collects git context; it does not judge correctness. From its output identify: review mode and base/head, commit list (if any), changed files and diff stats, added/deleted/renamed files, and the unified diff hunks needing semantic review.
If the script reports no changes, stop and say there is nothing to review. Do not invent findings.
Classify review size:
Prioritize behavior code, public contracts, data handling, error paths, configuration, persistence, tests. Deprioritize docs, formatting-only changes, generated files, lockfile churn unless they affect runtime behavior.
If the platform supports sub-agents, spawn focused reviewers using `references/reviewer-template.md`; otherwise perform the same focused reviews sequentially yourself. Coverage must not shrink without sub-agents.
Reviewer focuses:
Each reviewer returns only evidence-backed candidate findings for its own focus.
Merge reviewer outputs into one findings list:
Severity guide:
Use `references/output-format.md`. Findings are the primary focus: present them first, keep summaries brief, never bury a bug below a summary. No findings → explicitly state `No findings` and include residual risks or testing gaps.
An architecture-first workflow plugin for AI coding agents. Pure Markdown. Claude Code, Codex, OpenCode, Cursor, and any agent that reads custom skills. Spec-Driven Develop is an open-source, platform-agnostic workflow for AI coding agents.
结构化深度讨论 Skill,用于与用户进行多轮问题分析和方案设计。当用户描述一个问题现象、故障表现、 技术困惑、方案选择困难,或明确说"讨论一下"、"帮我分析"、"我遇到一个问题"、"你觉得怎么样"、 "帮我想想"、"我在纠结"时,必须使用本…
Automates pre-development workflow for large-scale complex tasks. Use when the user mentions "rewrite", "migrate", "overhaul",…
Executes the tasks defined in the specified track's plan. Use this to start or continue working on a feature, bug fix, or chore.
Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch…