规范驱动开发规划助手

SKILL开发

原名 spec-skill

开发 未标注权限 许可证不明确
安装这个技能

面向 AI 编程助手的规范驱动开发系统,通过规划、执行、验证等命令把项目拆成结构化步骤,缓解长上下文下的质量下滑。

一句话选型结论

按资料字段整理

规范驱动开发规划助手是开发类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类开发 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_dca6a55a/spec-skill
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_dca6a55a仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量22.9 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

0 项能力
上游给出的能力概览与适用场景
规划项目开发步骤拆分任务并执行验证开发与调试

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写代码与改 bug

按需求补代码、定位并修掉报错。

读仓库与生成改动

让模型读懂项目结构,再给出可落地的改动。

跑测试与排查故障

按现象排查问题,补测试用例并复跑。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在开发场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
规范驱动开发规划助手当前 未标注权限 未标注 未标注 未标注 有
技能审查员 浏览器控制 ClawHub 市场 877.9 万 OpenClaw 有
Vercel React 最佳实践 浏览器控制 GitHub 仓库 849.1 万 Codex、Claude、Cursor 有
GitHub 代码协作 联网访问 ClawHub 市场 763.3 万 OpenClaw 有
网页设计指南 联网访问 GitHub 仓库 668.6 万 Codex、Claude、Cursor 有
本体论 只读 ClawHub 市场 663.7 万 OpenClaw 有

SKILL.md 全文

22.9 KB
模型实际读到的说明书原文,来自技能仓库

Specification Driven Development

Overview

Spec-driven-dev is a structured development system that transforms vague ideas into executable plans through systematic questioning, research, planning, and verification. Inspired by get-shit-done (GSD), it provides templates and workflows for managing software projects from conception to completion.

CRITICAL RULE: You must STOP and WAIT for user confirmation at specific checkpoints. Do not rush from planning to execution in a single turn.

Commands

All commands are invoked as /spec-<name> (e.g., /spec-new, /spec-plan 1). Commands automatically load the relevant workflow docs.

Core Workflow Commands

Command Alias What it does
/spec-new /new-project Full initialization: questions → requirements → roadmap. Creates .planning/ structure
/spec-plan <N> /plan, /plan-phase Research + create executable PLAN.md for phase N
/spec-execute <N> /execute, /execute-phase Execute all plans for phase N in parallel waves
/spec-verify <N> /verify, /verify-work Verify phase N completion: must_haves check, UAT, gap analysis
/spec-transition /transition Complete current phase, update context, prepare next phase
/spec-next /next Auto-detect current state and run the next logical step

Utility Commands

Command What it does
/spec-health [--repair] Validate .planning/ directory integrity. --repair auto-fixes missing files
/spec-help Show all commands and usage guide
/spec-quick <task> Execute ad-hoc task with atomic commits, skip full planning
/spec-map-codebase [area] Analyze existing codebase for brownfield projects
/spec-config Show or update .planning/config.json settings

Extended Workflow Commands

Command What it does
/spec-discuss <N> Gather phase context through adaptive questioning before planning
/spec-phase CRUD for phases — add, insert (decimal), remove, or edit phases
/spec-spike <topic> Time-boxed experiential exploration of an idea or technology
/spec-debug Scientific-method debugging with persistent state across sessions
/spec-code-review Review code for bugs, security issues, and quality problems
/spec-ship Create PR with auto-generated body and prepare for merge
/spec-undo Safe git revert with dependency checking (--last, --phase, --plan)

Command Workflow Mapping

Command Loads Workflow Produces
/spec-new workflows/health.md (init check) PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md, config.json
/spec-plan <N> references/questioning.md NN-CONTEXT.md, NN-RESEARCH.md, NN-MM-PLAN.md
/spec-execute <N> workflows/execute-plan.md Code changes, atomic commits, NN-MM-SUMMARY.md
/spec-verify <N> workflows/verify-work.md NN-VERIFICATION.md, NN-UAT.md, fix plans if needed
/spec-transition workflows/transition.md Updated PROJECT.md, ROADMAP.md, STATE.md
/spec-health workflows/health.md Health report, auto-repairs if --repair
/spec-quick (inline lightweight) Quick plan + summary in .planning/quick/
/spec-map-codebase templates/codebase/*.md .planning/codebase/*.md analysis documents

Quick Usage Examples

/spec-new                          # Start fresh project
/spec-plan 1                       # Plan phase 1
/spec-execute 1                    # Execute phase 1
/spec-verify 1                     # Verify phase 1
/spec-transition                   # Move to phase 2
/spec-health --repair              # Fix missing planning files
/spec-quick "Add dark mode toggle" # Ad-hoc task
/spec-map-codebase api             # Analyze API layer

Configuration

Project settings are stored in .planning/config.json. Key settings:

Setting Options Default Purpose
mode interactive, yolo interactive Confirm vs auto-approve at each step
granularity coarse, standard, fine standard Phase granularity (3-5 / 5-8 / 8-12 phases)
workflow.discuss_mode discuss, assumptions discuss Interview vs codebase-first discovery
workflow.research boolean true Research domain before planning
parallelization.enabled boolean true Run independent plans simultaneously

See templates/config.json for the full schema with all workflow toggles, gates, safety settings, and parallelization controls.

New Configuration Keys (GSD v1.50.0)

Setting Options Default Purpose
context_window number 200000 Context window size for budget-aware read depth
workflow.tdd_mode boolean false Enforce RED/GREEN/REFACTOR TDD discipline
workflow.human_verify_mode end-of-phase, mid-flight end-of-phase Batch verification at phase end vs per-task
features.thinking_partner boolean false Enable tradeoff analysis during discussions

Gates

Spec-driven development uses four formal gate types for validation. See references/gates.md for the full taxonomy.

Gate When Behavior
Pre-flight Before operations Blocks entry if preconditions unmet
Revision After quality output Loops back to producer if insufficient (bounded by iteration cap)
Escalation Unresolvable issues Surfaces to developer with options for decision
Abort Dangerous continuation Stops immediately, preserves state, reports reason

Context Management

Context budget awareness is critical for large projects. See references/context-budget.md for detailed rules.

  • Read depth scales with context window — at < 500k tokens, read only frontmatter; at >= 500k, full body OK
  • Monitor degradation tiers — PEAK (0-30%), GOOD (30-50%), DEGRADING (50-70%), POOR (70%+)
  • Phase transitions reset context — only STATE.md and new PLAN.md carry forward
  • Use .continue-here.md for mid-phase pauses instead of reloading all documents

Core Workflow

1. Project Initialization

Start by creating the foundational project context:

# Create project planning structure
mkdir -p .planning/phases

Key documents created:
- .planning/PROJECT.md - Project vision and context
- .planning/REQUIREMENTS.md - Scoped feature requirements
- .planning/ROADMAP.md - Phase decomposition
- .planning/STATE.md - Project memory and decisions
- .planning/config.json - Workflow preferences

2. Requirements Discussion (Interactive - BLOCKING)

Goal: Fully understand the user's intent before generating any files. You MUST engage in a dialogue.

Resources:
- Refer to references/questioning.md for questioning strategies and mental models.

Actions:
1. Start Open: Ask "Tell me about what you want to build."
2. Loop (Ask -> Wait -> Ask):
- Ask clarifying questions about features, constraints, and tech stack.
- WAIT for the user's answer.
- Challenge vagueness and clarify boundaries based on the answer.
- REPEAT until you have a clear mental model.
3. Summarize: Present a summary of requirements and scope.
4. STOP: Ask "Do we have enough details to proceed to planning? Or should we discuss more?"
5. WAIT: Do not generate any Roadmap or Plan files until the user explicitly says "Proceed to Plan".

3. Roadmap Planning

Only proceed here after user confirmation.
Decompose the confirmed requirements into a phased roadmap:

Phase structure:
- Integer phases (1, 2, 3): Planned milestone work
- Decimal phases (2.1, 2.2): Urgent insertions
- Dependency tracking: Clear phase dependencies
- Success criteria: Observable behaviors for verification

4. Per-Phase Analysis & Discussion (BLOCKING)

Before planning every phase, re-analyze context and run a focused discussion loop.

Resources:
- Refer to references/questioning.md for phase-level clarification patterns.

Actions:
1. Analyze Phase Context: Review .planning/PROJECT.md, .planning/ROADMAP.md, .planning/STATE.md, and dependency phases.
2. Loop (Ask -> Wait -> Ask):
- Ask phase-specific clarifying questions about scope, constraints, interfaces, and acceptance criteria.
- WAIT for the user's answer.
- Refine unclear assumptions and identify missing decisions.
- REPEAT until phase boundaries are unambiguous.
3. Summarize: Present phase scope, risks, decisions, and success criteria.
4. STOP: Ask "Do we have enough details for this phase plan?"
5. WAIT: Do not create/update this phase's PLAN.md until the user explicitly says "Proceed to Phase Plan".

5. Phase Planning & Review (BLOCKING)

Create the detailed execution plan for the current phase, but do not execute yet. This step repeats for each phase.

Resources:
- Refer to references/verification-patterns.md to define goal-backward verification criteria.

Actions:
1. Create/Update .planning/phases/XX-phase/XX-PLAN.md.
2. Define Verification (must_haves): In the YAML frontmatter, define must_haves (truths, artifacts, key_links) based on the phase goal.
3. Plan Tasks: Break down implementation steps to satisfy verification criteria. Use &lt;read_first&gt; tags in tasks to define files that must be read before execution, and &lt;acceptance_criteria&gt; for grep-verifiable conditions.
4. Review: Check plan against the "Plan Verification Checklist".
5. STOP: Present the full plan content to the user.
6. ASK: "Here is the detailed plan. Does this look correct? Shall I proceed with execution?"
7. WAIT: Do not write any code until the user explicitly says "Yes" or "Proceed".

6. Phase Execution

Only proceed here after user confirmation of the PLAN.
Execute the approved plan step-by-step.

Resources:
- Refer to workflows/execute-plan.md for the complete execution workflow including pre-execution checks, task execution order, verification rules, atomic commit strategy, and error recovery.
- Refer to templates/continue-here.md for session handoff when pausing mid-execution.

Plan components:
- Tasks: Specific, actionable implementation steps with concrete values
- Dependencies: Plan-to-plan dependency graphs managed via wave groups
- Waves: Parallel execution groups — independent plans run together
- Verification: Executing the defined verification and acceptance criteria
- Checkpoints: User interaction points (decisions, visual verification)
- user_setup: External service configuration the user must complete

7. Verification & Summary

Ensure quality and document outcomes:

Resources:
- Refer to workflows/verify-work.md for the complete verification workflow: automated checks, must-haves verification, UAT generation, and gap handling.
- Refer to workflows/transition.md for phase completion and transition to the next phase.
- Refer to workflows/health.md for planning directory integrity checks and auto-repair.
- Refer to references/verification-patterns.md for verification types and workflows.
- Refer to templates/verification-report.md for the verification report template.
- Refer to templates/UAT.md for user acceptance testing documentation.

Verification types:
- Automated: Tests, linting, build checks
- Manual: User verification of UI/UX via checkpoint tasks
- Must-Haves: Goal-backward verification (truths, artifacts, key_links)
- Integration: System integration testing
- Documentation: Update project context

After verification, refer to workflows/transition.md for the phase completion checklist and preparation for the next phase.

Templates & Patterns

All templates are in the templates/ directory. See templates/README.md for the canonical artifact registry — the authoritative index of all .planning/ artifacts.

Core Planning Templates

  • templates/PROJECT.md — Project vision, requirements, constraints, key decisions
  • templates/ROADMAP.md — Phase decomposition with success criteria and progress tracking
  • templates/STATE.md — Cross-session memory: position, decisions, blockers, performance
  • templates/REQUIREMENTS.md — Scoped functional requirements with traceability
  • templates/config.json — Workflow configuration (gates, parallelization, quality settings)

Phase Execution Templates

  • templates/PLAN.md — Executable phase plan with XML task structure, must_haves, user_setup
  • templates/SUMMARY.md — Post-execution summary with frontmatter for context assembly
  • templates/discovery.md — Phase discussion decisions and context capture (includes research protocol)
  • templates/VALIDATION.md — Validation architecture with GWT scenarios + Nyquist sampling
  • templates/UAT.md — User acceptance testing results with diagnosis lifecycle
  • templates/verification-report.md — Post-execution verification with anti-patterns and wiring checks
  • templates/continue-here.md — Session handoff with YAML frontmatter for machine-readability

Extended Templates

  • templates/AI-SPEC.md — AI integration specification with evaluation strategy
  • templates/SECURITY.md — Security threat model for production phases
  • templates/UI-SPEC.md — UI design contract for frontend phases
  • templates/milestone.md — Milestone log template
  • templates/research.md — Deep technical research output
  • templates/context.md — Scoped phase discussion context
  • templates/discussion-log.md — Phase discussion log
  • templates/retrospective.md — Phase retrospective for learning capture
  • templates/DEBUG.md — Debug session log
  • templates/user-setup.md — External service manual setup steps

Brownfield Analysis Templates

  • templates/codebase/structure.md — Directory organization and key modules
  • templates/codebase/architecture.md — Design patterns and component relationships
  • templates/codebase/stack.md — Technology stack with versions
  • templates/codebase/conventions.md — Coding conventions and patterns
  • templates/codebase/integrations.md — External services and dependencies
  • templates/codebase/testing.md — Testing approach and coverage
  • templates/codebase/concerns.md — Known issues and technical debt

Workflow Documentation

  • workflows/execute-plan.md — Step-by-step plan execution with verification and error recovery
  • workflows/verify-work.md — Phase completion verification including must_haves checking
  • workflows/transition.md — Phase completion, context updates, and next phase preparation
  • workflows/health.md — Planning directory integrity validation and auto-repair

Project Template (PROJECT.md)

See templates/PROJECT.md for the full template with guidelines, evolution rules, and brownfield support.

Phase Plan Template (PLAN.md)

See templates/PLAN.md for the full template with frontmatter fields, XML task structure, must_haves verification, user_setup for external services, TDD plans, and parallel execution patterns.

Roadmap Template (ROADMAP.md)

See templates/ROADMAP.md for the full template with phase numbering, decimal insertions, milestone grouping, and progress tracking.

Implementation Examples

Example 1: New Web Application

User: &quot;I want to build a todo app with user authentication&quot;

Workflow:
1. Initialize project: Create PROJECT.md with core value &quot;Simple, reliable todo management&quot;
2. Requirements Discussion: Clarify &quot;user authentication&quot; (Email/Password? OAuth? JWT?)
3. Roadmap: Phase 1 (Auth), Phase 2 (Todo CRUD), Phase 3 (Advanced features)
4. Per-Phase Discussion (Phase 1): Reconfirm auth boundaries and constraints
5. Plan Review (Phase 1): Present Phase 1 plan for user approval
6. Execution (Phase 1): Implement auth with verification tests
7. Repeat steps 4-6 for each subsequent phase

Example 2: API Service

User: &quot;Build a REST API for inventory management&quot;

Workflow:
1. Initialize: PROJECT.md with value &quot;Reliable inventory tracking API&quot;
2. Requirements Discussion: Define API surface, database choice, and auth strategy
3. Roadmap: Phase 1 (Basic CRUD), Phase 2 (Search), Phase 3 (Auth), Phase 4 (Reporting)
4. Per-Phase Discussion (Phase 1): Confirm endpoint scope and data model details
5. Plan Review (Phase 1): Confirm endpoints and data models
6. Execution (Phase 1): Implement endpoints with tests
7. Repeat steps 4-6 for each subsequent phase

Best Practices

1. Context Management

  • Discuss before planning: Ensure alignment on requirements via workflows/transition.md and templates/discovery.md
  • Confirm before executing: User must approve the plan
  • Keep STATE.md updated with all key decisions
  • Use SUMMARY.md for each completed plan with full frontmatter for automatic context assembly
  • Reference dependencies explicitly in phase plans via depends_on and wave fields
  • Maintain clean separation between planning and execution
  • Session continuity: Use templates/continue-here.md when pausing mid-work

2. Verification Strategy

  • Goal-backward verification: Define must_haves (truths, artifacts, key_links) in the plan frontmatter before implementation. See templates/PLAN.md for the full structure.
  • Task-level verification: Define grep-verifiable acceptance_criteria for each &lt;task&gt;
  • Automated checks: Tests, linting, type checking — see workflows/verify-work.md
  • User verification: Checkpoints for UI/UX validation via checkpoint:human-verify tasks
  • Integration testing: End-to-end workflow validation
  • Verification reporting: Use templates/verification-report.md to document results

3. Phase Design

  • Small, focused phases: 2-3 plans per phase (~50% context max per plan)
  • Clear dependencies: Explicit phase-to-phase and plan-to-plan dependencies via wave groups
  • Measurable outcomes: Each phase delivers testable functionality with success criteria
  • Progressive disclosure: Build complexity gradually
  • Parallel execution: Independent plans run in same wave — see templates/PLAN.md for parallel patterns
  • External services: Declare in user_setup frontmatter — AI can't create API keys or configure dashboards

Resources

This skill includes resource directories for commands, templates, references, and scripts:

commands/

Slash command definitions that trigger specific workflows. Each command file describes the workflow, inputs, outputs, and rules for that operation.

Commands in this skill:
- commands/spec/new.md — /spec-new: Initialize a new project
- commands/spec/plan.md — /spec-plan &lt;N&gt;: Plan a phase
- commands/spec/execute.md — /spec-execute &lt;N&gt;: Execute a phase
- commands/spec/verify.md — /spec-verify &lt;N&gt;: Verify phase completion
- commands/spec/transition.md — /spec-transition: Complete and prepare next phase
- commands/spec/next.md — /spec-next: Auto-detect next step
- commands/spec/help.md — /spec-help: Show command reference
- commands/spec/quick.md — /spec-quick: Execute ad-hoc task
- commands/spec/health.md — /spec-health [--repair]: Check directory integrity
- commands/spec/map-codebase.md — /spec-map-codebase: Analyze existing codebase
- commands/spec/config.md — /spec-config: Manage configuration

workflows/

Executable code (Python/Bash/etc.) that can be run directly to perform specific operations.

Scripts in this skill:
- scripts/init_project.py - Initialize a spec-driven project structure from templates.
- Usage: python scripts/init_project.py &lt;project_name&gt;
- Run when: Starting a new project or reinitializing missing planning scaffolding.
- scripts/validate_project.py - Validate required planning files, directory structure, and phase artifacts.
- Usage: python scripts/validate_project.py [project_path]
- Run when: Before phase execution, after major planning updates, and before handoff.
- scripts/package_skill.py - Package this skill into a distributable zip with manifest metadata.
- Usage: python scripts/package_skill.py [skill_path]
- Run when: Releasing or sharing the skill.

Appropriate for: Python scripts, shell scripts, or any executable code that performs automation, data processing, or specific operations.

Note: Scripts may be executed without loading into context, but can still be read for patching or environment adjustments.

workflows/

Step-by-step workflow documentation for each phase of the spec-driven process. Load these into context when executing specific workflows.

Workflows in this skill:
- workflows/execute-plan.md — Task execution, atomic commits, verification, error recovery
- workflows/verify-work.md — Must-haves verification, UAT, gap handling
- workflows/transition.md — Phase completion, context updates, next phase preparation
- workflows/health.md — Directory integrity validation and auto-repair

scripts/

Executable code (Python/Bash/etc.) that can be run directly to perform specific operations.

Scripts in this skill:
- scripts/init_project.py - Initialize a spec-driven project structure from templates
- scripts/validate_project.py - Validate required planning files, directory structure, and phase artifacts
- scripts/package_skill.py - Package this skill into a distributable zip with manifest metadata

Appropriate for: Python scripts, shell scripts, or any executable code that performs automation, data processing, or specific operations.

references/

Documentation and reference material intended to be loaded into context to inform Claude's process and thinking.

Examples from other skills:
- Product management: communication.md, context_building.md - detailed workflow guides
- BigQuery: API reference documentation and query examples
- Finance: Schema documentation, company policies

Appropriate for: In-depth documentation, API references, database schemas, comprehensive guides, or any detailed information that Claude should reference while working.

assets/

Files not intended to be loaded into context, but rather used within the output Claude produces.

Examples from other skills:
- Brand styling: PowerPoint template files (.pptx), logo files
- Frontend builder: HTML/React boilerplate project directories
- Typography: Font files (.ttf, .woff2)

Appropriate for: Templates, boilerplate code, document templates, images, icons, fonts, or any files meant to be copied or used in the final output.


Any unneeded directories can be deleted. Not every skill requires all three types of resources.

常见问题

5 问
答案由本站依据条目字段整理
规范驱动开发规划助手怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_dca6a55a/spec-skill。安装方式为未标注。装完刷新技能列表或重开客户端。

规范驱动开发规划助手支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

规范驱动开发规划助手权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

规范驱动开发规划助手收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

规范驱动开发规划助手用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。