freshcrate
Home > Frameworks > spec_driven_develop

spec_driven_develop

Spec-Driven Develop is a platform-agnostic AI agent skill that automates the pre-development workflow for large-scale complex tasks. It is not a framework, not a runtime, not a package manager β€” it is

Description

Spec-Driven Develop is a platform-agnostic AI agent skill that automates the pre-development workflow for large-scale complex tasks. It is not a framework, not a runtime, not a package manager β€” it is a single SKILL.md file that teaches any AI coding agent a structured methodology.

README

English | δΈ­ζ–‡

GitHub starsForksLicense: MIT Platform

Table of Contents

Spec-Driven Develop

A structured methodology for AI coding agents. Pure Markdown. Any platform. Architecture-first.

Spec-Driven Develop is a platform-agnostic AI agent skill that automates the full pre-development pipeline for large-scale complex tasks. It gives any coding agent a complete methodology β€” from deep project analysis to phased task decomposition, document-driven progress tracking, and task-specific sub-SKILL generation β€” all before a single line of implementation code is written.

No SDK. No runtime. No dependencies. Just Markdown files that any AI coding agent can read and execute.

What It Does

When you tell your agent something like "rewrite this project in Rust" or "migrate to a microservice architecture", Spec-Driven Develop kicks in with a 7-phase preparation pipeline:

Phase 0  Quick Intent Capture      Capture high-level direction (1-2 sentences)
    |
Phase 1  Deep Analysis             Analyze architecture, inventory modules,
    |                              assess risks β€” with S.U.P.E.R health evaluation
    |
Phase 2  Intent Refinement         Ask targeted questions grounded in analysis,
    |                              confirm scope, priorities, and constraints
    |
Phase 3  Task Decomposition        Break work into phases, tasks, parallel lanes β€”
    |                              each task annotated with S.U.P.E.R design drivers
    |
Phase 4  Progress Tracking         Generate MASTER.md + per-phase detail files
    |                              for cross-conversation continuity
    |
Phase 5  Sub-SKILL Generation      Create a project-level SKILL with inlined
    |                              S.U.P.E.R principles and code review checklist
    |
Phase 6  Handoff                   Present all artifacts, confirm readiness
    |
   ...  Development Phases         Iterative implementation with progress tracking
    |
Phase 7  Archive                   Preserve all artifacts for traceability

A master progress file (docs/progress/MASTER.md) serves as the agent's memory anchor across conversations. No matter how many sessions a task spans, the agent always knows where things stand.

S.U.P.E.R β€” The Architectural Backbone

S.U.P.E.R is not a footnote β€” it is the design philosophy that drives every phase of the workflow and every line of code the agent produces.

Write code like building with LEGO β€” each brick has a single job, a standard interface, a clear direction, runs anywhere, and can be swapped at will.

Principle Meaning How It's Enforced
Single Purpose One module, one job Analysis phase rates each module's single-responsibility compliance. Tasks that span multiple concerns get decomposed further.
Unidirectional Flow Data flows one way Architecture health check flags circular dependencies. Dependencies must point inward β€” outer layers depend on inner, never the reverse.
Ports over Implementation Contracts before code Module inventory evaluates whether I/O is schema-defined. Task breakdown requires interface contracts before implementation tasks.
Environment-Agnostic Runs anywhere Risk assessment catches hardcoded config and platform-specific assumptions. Config must come from environment variables or config files.
Replaceable Parts Swap without ripple Each module is rated by replacement cost. If swapping a component causes cascading changes, the architecture is broken.

Where S.U.P.E.R Shows Up

S.U.P.E.R isn't just a reference document the agent might read β€” it's woven into the workflow at every level:

  • Phase 1 β€” Analysis: Every module gets a per-principle compliance score (S🟒 U🟑 PπŸ”΄ E🟒 R🟑). The risk assessment includes a S.U.P.E.R Architecture Health Summary with violation hotspots.

  • Phase 2 β€” Intent Refinement: Analysis findings are presented to the user so they can make informed decisions about scope and S.U.P.E.R priorities before task decomposition begins.

  • Phase 3 β€” Planning: Each task is annotated with its S.U.P.E.R design drivers (which principles matter most for that task). Early phases prioritize fixing violation hotspots before building new features.

  • Phase 5 β€” Sub-SKILL: The full S.U.P.E.R principles are inlined verbatim into the generated sub-SKILL (not just referenced), along with a mandatory 10-point code review checklist that the agent must pass after every task:

    Check Principle
    Every new module/file has exactly one responsibility S
    No function does more than one conceptual thing S
    Data flows input β†’ processing β†’ output, no reverse deps U
    No circular imports introduced U
    Cross-module interfaces are schema-defined P
    Module I/O is serializable P
    No hardcoded paths, URLs, keys, or config values E
    All new dependencies explicitly declared E
    New modules can be replaced without changes to others R
    All tests pass after the change β€”

    All pass = proceed. 1-2 fail = fix before marking complete. 3+ fail = stop and refactor.

Why Not Superpowers / oh-my-claude / ...?

The Claude Code ecosystem has full-blown frameworks with dozens of agents and opinionated workflows. They're powerful β€” but they're also heavy, and they lock you into a single platform.

Spec-Driven Develop Superpowers oh-my-claudecode
What it is Methodology system (Markdown files) Full skills framework + methodology Multi-agent orchestration system
Core footprint 1 SKILL + 5 templates + 3 reference docs Plugin with multiple skills, agents, hooks Plugin with 32+ specialized agents
Dependencies None β€” pure Markdown Requires Claude Code plugin system Requires Claude Code plugin system
Architecture philosophy S.U.P.E.R (enforced in every phase) Enforced TDD (RED-GREEN-REFACTOR) Team-based multi-agent delegation
Cross-platform Any agent that reads Markdown Claude Code (primary) Claude Code only
Code quality enforcement S.U.P.E.R code review checklist per task TDD cycle enforcement Agent-specific quality checks
Philosophy Architecture-first, document-driven Complete development methodology Parallel multi-agent orchestration

Spec-Driven Develop sits in the middle ground: more structured than a single prompt file, but still zero-dependency and platform-agnostic. It doesn't wrap your agent in a framework β€” it gives the agent a methodology through plain Markdown. You keep full control.

This makes it especially suited for:

  • Teams that already have their own workflow and need structured planning for big tasks
  • Multi-platform users who work across Claude Code, Cursor, Codex, and others
  • Architecture-conscious developers who want S.U.P.E.R principles enforced from day one, not bolted on later

Platform Compatibility

The SKILL prompt is written in a generic, platform-neutral way. It gracefully degrades on platforms without certain capabilities β€” for example, if sub-agents aren't available, it falls back to sequential execution automatically.

Tested platforms with install scripts:

  • Claude Code β€” installed as a plugin (with enhanced agent/command support)
  • Codex (OpenAI) β€” installed as a skill
  • Cursor β€” installed as a global or project-level skill

Any other agent β€” copy SKILL.md (plus the references/ directory if you want full template and protocol support) to wherever your agent reads instructions. The files have no external dependencies and no platform-specific logic. Works with Windsurf, Cline, Aider, Continue, Roo Code, Augment, or any other coding agent that reads Markdown-based skills or system prompts.

Installation

Claude Code

/plugin marketplace add zhu1090093659/spec_driven_develop
/plugin install spec-driven-develop@spec-driven-develop

After installation, run /reload-plugins to activate.

Codex CLI

Use the built-in skill installer (inside a Codex session):

$skill-installer install https://github.com/zhu1090093659/spec_driven_develop/tree/main/plugins/spec-driven-develop/skills/spec-driven-develop

Or install via shell:

bash <(curl -sL https://raw.githubusercontent.com/zhu1090093659/spec_driven_develop/main/scripts/install-codex.sh)

Cursor

bash <(curl -sL https://raw.githubusercontent.com/zhu1090093659/spec_driven_develop/main/scripts/install-cursor.sh)

Or clone the repo and run locally:

git clone https://github.com/zhu1090093659/spec_driven_develop.git
bash spec_driven_develop/scripts/install-cursor.sh

Other Agents (Generic)

For any other coding agent, grab the SKILL file and place it where your agent reads instructions:

# 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

Where to place it depends on your agent:

Agent Location
Windsurf .windsurf/skills/ or project rules
Cline .cline/skills/ or custom instructions
Aider Reference via .aider.conf.yml or paste into chat
Continue .continue/ config or system prompt
Others Wherever your agent reads custom instructions or system prompts

If your agent doesn't have a formal "skills" directory, you can paste the content of SKILL.md into its system prompt or custom instructions field β€” the effect is the same.

Usage

Automatic Trigger

Simply describe your large-scale task to the agent. The skill triggers on keywords like:

  • English: "rewrite", "migrate", "overhaul", "refactor entire project", "transform", "rebuild in [language]"
  • Chinese: "ζ”Ήι€ ", "重写", "迁移", "ι‡ζž„", "倧规樑"

Manual Trigger (Claude Code)

/spec-dev rewrite this Python project in Rust

Cross-Conversation Continuity

When working on a long-running task across multiple conversations, the agent reads docs/progress/MASTER.md at the start of each new session to restore context and continue from where it left off.

Native Task Tracking

When the agent starts a work session, it automatically loads the current phase's pending tasks into the platform's native task tracking tool (e.g. TodoWrite in Claude Code). You get real-time visual progress in your IDE sidebar β€” no need to open Markdown files manually. MASTER.md remains the persistent source of truth across conversations; the native tool provides in-session visibility.

Progress Export

An optional script exports your progress data to structured JSON, making it easy to import into external project management tools (Linear, Jira, Notion, etc.):

python scripts/export-progress.py docs/progress/

Archive

When all tasks are marked complete, the agent archives all workflow artifacts (analysis, plan, progress, sub-SKILL) into docs/archives/<project-name>/ and updates an index at docs/archives/README.md. Nothing is deleted β€” everything is preserved for traceability.

Project Structure

spec_driven_develop/
β”œβ”€β”€ plugins/spec-driven-develop/              # Self-contained Claude Code plugin
β”‚   β”œβ”€β”€ skills/spec-driven-develop/
β”‚   β”‚   β”œβ”€β”€ SKILL.md                          # Core workflow β€” works on ANY platform
β”‚   β”‚   └── references/
β”‚   β”‚       β”œβ”€β”€ super-philosophy.md           # S.U.P.E.R architecture principles
β”‚   β”‚       β”œβ”€β”€ parallel-protocol.md          # Parallel execution protocol
β”‚   β”‚       β”œβ”€β”€ behavioral-rules.md           # Non-negotiable workflow rules
β”‚   β”‚       └── templates/                    # Document templates (one per concern)
β”‚   β”‚           β”œβ”€β”€ analysis.md               # Phase 1: with S.U.P.E.R health assessment
β”‚   β”‚           β”œβ”€β”€ plan.md                   # Phase 3: with S.U.P.E.R design constraints
β”‚   β”‚           β”œβ”€β”€ progress.md               # Phase 4: cross-conversation tracking
β”‚   β”‚           β”œβ”€β”€ archive.md                # Phase 7: artifact preservation
β”‚   β”‚           └── sub-skill.md              # Phase 5: with inlined S.U.P.E.R + checklist
β”‚   β”œβ”€β”€ agents/                               # Claude Code sub-agents (optional)
β”‚   β”‚   β”œβ”€β”€ project-analyzer.md
β”‚   β”‚   β”œβ”€β”€ task-architect.md
β”‚   β”‚   └── task-executor.md
β”‚   └── commands/spec-dev.md                  # /spec-dev slash command (Claude Code)
β”œβ”€β”€ scripts/                                  # Installation & utility scripts
β”‚   β”œβ”€β”€ install-cursor.sh
β”‚   β”œβ”€β”€ install-codex.sh
β”‚   β”œβ”€β”€ install-all.sh
β”‚   └── export-progress.py                    # Export progress to JSON
└── LICENSE

The essential files for cross-platform use are SKILL.md and the references/ directory. Everything else β€” agents, commands, plugin manifests β€” is platform-specific enhancement for Claude Code.

Star History

Star History

Friendly Links

License

MIT

Release History

VersionChangesUrgencyDate
main@2026-04-15Latest activity on main branchHigh4/15/2026
0.0.0No release found β€” using repo HEADHigh4/10/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

ralph-claude-codeNo descriptionmain@2026-04-21
don-cheli-sddDon Cheli β€” SDD Framework. The most comprehensive Specification-Driven Development framework for AI agents. 88+ commands, 51 skills, 15 reasoning models. TDD mandatory, OWASP audit, Autonomous Mode, Cv1.32.0
anty-frameworkAI Workforce plugin for Claude Code β€” proactive sales & marketing strategy for startup founders. 24 domain knowledge skills, 10 commands, 4 AI agents. Integrates 15+ strategic frameworks.v0.1.0
claude-forgeSupercharge Claude Code with 11 AI agents, 36 commands & 15 skills β€” the claude-code plugin framework inspired by oh-my-zsh. 6-layer security hooks included. 5-min install.v1.0.0
Context-EngineeringπŸš€ A framework for Context Engineering using Google Gemini. Move beyond simple prompting and learn to systematically provide context to your AI coding assistant for more reliable, consistent, and comp0.0.0