# Repository Briefing: zhu1090093659/spec_driven_develop
> Source: https://repoforai.com/repo/zhu1090093659/spec_driven_develop (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/zhu1090093659/spec_driven_develop
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Shell
- **License**: MIT
- **Engineering Health**: B (62/100 · Maintenance 12/35 · Adoption 16/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v1.15.0 (2026-07-26) — https://github.com/zhu1090093659/spec_driven_develop/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI
- **Momentum**: 992 ★ total (+1 24h / +3 7d) · 100 forks
- **Topics**: `ai-agent`, `ai-assisted-development`, `ai-coding-assistant`, `claude-code`, `codex`, `cursor`, `dev-workflow`, `developer-tools`, `engineering-cybernetics`, `github-issues`, `llm`, `markdown`
- **When to Use**: Best for: Teams using coding agents for multi-phase migrations, rewrites, or cross-module refactors that need explicit acceptance checks and a traceable GitHub or local record. Skip if: You mainly make small patches, need an MCP endpoint, or expect workflow instructions to replace enforceable CI and repository controls.

## Overview
```text
### Architecture & Core Mechanics
Spec-Driven Develop is a host-executed workflow, not a standalone service or an MCP transport. It bundles three Markdown skills: Spec-Driven Develop for planned implementation, Deep Discuss for technical decisions, and review-spd for findings-first diff review. Canonical references hold shared rules and templates; the coding agent supplies model inference, workspace access, command execution, and any native sub-agents. The seven-phase development loop captures intent, inspects architecture, refines scope, decomposes work, records progress in MASTER.md, confirms and executes the plan, then archives it. Project rules can persist in AGENTS.md and CLAUDE.md, with durable memory kept on the host’s native surface when available.

In v1.15 the main agent owns progress, integration, and quality. Tier 0 is direct execution; Tier 1 delegates a large or context-heavy batch to one task-executor; Tier 2 is limited to four lanes with disjoint file sets, at least L-sized effort per lane, and independent validation. Machine checks and orchestrator diff review are the defaults. Tier 2 lanes and high-risk changes warrant independent review; a lane reviewer can commit fixes to the lane branch, and only APPROVED or FIXED lanes integrate.

### Key Capabilities & Differentiators
The workflow separates planning granularity from merge granularity. Each task can become a GitHub Issue with acceptance criteria and telemetry; milestones organize phases, and labels capture priority, size, and lane. The default is one coherent batch PR per phase, not one PR per Issue. The batch owns the integration branch and aggregate checks, collects lane commits from worktrees, and uses a Closes #N line for each completed Issue. Feature and behavior work is planned with tests by default; a task that cannot add automated tests must explain why and name the closest validation command.

The feedback loop uses actual versus estimated effort, changes in architectural compliance, and unplanned dependencies to update a cumulative drift score. Thresholds scaled to 20%, 40%, and 60% of the phase task count trigger a warning, re-decomposition of remaining work, or a return to scope refinement. Deep Discuss pauses when information is insufficient and requires an explicit go-ahead before execution. review-spd covers staged and unstaged changes, commit date ranges, and branch or PR diffs; its Python helper gathers Git context as Markdown. These skills target host capabilities, not particular model families or inference backends.

### Trade-offs & Limitations
Compared with an agent’s built-in planning mode, this workflow creates a more durable handoff: a specification, acceptance criteria, an index of progress, and a PR aligned to a unit of delivery. That overhead can pay off on multi-phase migrations and refactors, but is hard to justify for a small patch. Batching reduces PR fragmentation and keeps dependent cross-file changes together, but an oversized batch is harder to review or roll back. Dependencies, ownership, validation boundaries, and rollback scope are reasons to split a batch rather than follow the phase default mechanically.

Markdown keeps installation portable but does not enforce its own rules. Checkpoints, drift estimates, and reviewer independence depend on the host and agent following the workflow; mandatory merge gates still belong in CI or repository policy. Sequential fallback preserves the workflow without native sub-agents, but cannot provide the same independent review or concurrency. Where GitHub tooling is enabled, scope permissions carefully: the workflow can create tracking records, open PRs, and have reviewers commit fixes to lane branches.

### Hardware & Deployment Guide
Install it in the coding agent rather than provisioning a server. Claude Code and OpenCode have plugin paths; Codex supports a plugin marketplace and direct skill installation; Cursor supports project-level or global skills. For Codex, the concrete CLI entry point is `codex plugin marketplace add zhu1090093659/spec_driven_develop --ref main`. For another compatible host, copy `SKILL.md` and `references/` to its instruction directory; `scripts/install-agents.sh` syncs the bundled skills to `~/.agents/skills`. The optional `scripts/review-context.py` wrapper needs Python and Git and accepts `--since`, `--until`, `--branch`, and `--base`.

GitHub tracking needs a GitHub repository, `gh`, and permissions for the resources used; full mode includes a Projects board and standard mode omits it. Without `gh` or a GitHub repository, the workflow falls back to local Markdown tracking. Local tracking removes the GitHub dependency, not the host’s possible network requirement for inference. Release v1.13.1 renamed the review skill to `review-spd` to avoid naming collisions; v1.14 introduced delivery batches; v1.15 removed the redundant command surface and made direct orchestrator execution the default.
```

## Key Capabilities
```text
- Workflow: Seven phases move from intent capture and architecture analysis to confirmed execution and archival, with MASTER.md indexing progress.
- Delivery: Issues carry task-level acceptance criteria and telemetry; delivery batches own integration, aggregate validation, and pull requests.
- Dispatch: v1.15 defaults to direct execution; parallel work is capped at four independently verifiable lanes with disjoint file sets and at least L-sized effort per lane.
- Review gates: Machine checks and orchestrator diff review are standard; independent review covers parallel lanes and high-risk changes, and only APPROVED or FIXED lanes integrate.
- Drift control: Thresholds of 20%, 40%, and 60% of phase tasks trigger a warning, re-planning of remaining work, or a return to scope refinement.
- Diff review: review-spd handles staged and unstaged changes, date-range commits, and branch or PR diffs using Git context packaged as Markdown.
```

## Quick Start / Clone
```bash
# Download the SKILL.md
curl -sL https://raw.githubusercontent.com/zhu1090093659/spec_driven_develop/main/plugins/spec-driven-develop/skills/spec-driven-develop/SKILL.md -o SKILL.md
```
