Token导航 LogoToken导航

Agent Skill · 研究检索

spec-driven-development(规范驱动开发)

spec-driven-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

spec-driven-development 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 52,870。

总安装 544周安装 22GitHub Stars 1下载 171核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:spec-driven-development(规范驱动开发)
来源仓库:https://github.com/tadejpolajnar/spec-driven-development
仓库路径:skills/spec-driven-development
安装命令:
npx skills add https://github.com/tadejpolajnar/spec-driven-development --skill spec-driven-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tadejpolajnar/spec-driven-development --skill spec-driven-development

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

spec-driven-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于基于规范驱动开发流程的关键词或任务场景信息提取。通过 npx skills add 命令从指定 GitHub 仓库安装并使用。

建议确认权限范围和维护状态,避免触发联网或文件读写操作。可结合原始 README 进一步核验具体功能和调用方式。

来源仓库内路径:skills/spec-driven-development

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/tadejpolajnar/spec-driven-development --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

spec-driven-development 怎么安装?

在终端执行 npx skills add https://github.com/tadejpolajnar/spec-driven-development --skill spec-drive…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

spec-driven-development 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

spec-driven-development 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

spec-driven-development 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

spec-driven-development 用的人多吗?

公开数据是累计安装 544 次,近一周安装 22 次,下载 171 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

spec-driven-development 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
spec-driven-development

规范驱动开发 · 本页

5441需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Spec-Driven Development

Overview

Think First, Prompt Second. Enforces a structured 5-phase cycle that prevents vibe coding: Analyze -> Plan -> Ask -> Execute -> Review. Every implementation starts from a spec, respects existing codebase patterns, and delivers small, reviewable, committed phases.

When to Use

  • Feature implementation from a spec or requirements doc
  • Multi-phase work spanning multiple files or architectural layers
  • Any task where "just start coding" leads to drift, over-scoping, or pattern violations

Do NOT use for: single-line fixes, typos, config changes, pure research, or tasks with very specific line-level instructions. If the user asks a direct question or gives a specific fix, respond directly — don't invoke this workflow.

Required Input

You need a spec — not loose tickets or vague descriptions. Minimum viable spec:

  • What to build (feature description, acceptance criteria)
  • Why it matters (context, user value)
  • Constraints (tech stack, patterns to follow, performance requirements)

If the user provides a loose request, ask them to clarify into a spec before proceeding.

The 5-Phase Workflow

digraph sdd {
  rankdir=TB;
  node [shape=box];

  Analyze [label="1. Analyze"];
  Plan [label="2. Plan"];
  Ask [label="3. Ask"];
  Execute [label="4. Execute"];
  Review [label="5. Review"];
  Stop [label="STOP\nwait for approval" shape=doublecircle];
  Commit [label="Commit phase" shape=diamond];
  MorePhases [label="More phases?" shape=diamond];
  NeedsReanalysis [label="Scope changed?" shape=diamond];
  NeedsReplan [label="Plan still valid?" shape=diamond];

  Analyze -> Plan;
  Plan -> Stop;
  Stop -> Ask [label="approved"];
  Ask -> NeedsReanalysis;
  NeedsReanalysis -> Analyze [label="yes — new requirements"];
  NeedsReanalysis -> Execute [label="no"];
  Execute -> Commit;
  Commit -> Review;
  Review -> NeedsReplan;
  NeedsReplan -> Plan [label="no — replan remaining"];
  NeedsReplan -> MorePhases [label="yes"];
  MorePhases -> Execute [label="next phase"];
  MorePhases -> "Done" [label="all phases complete"];
}

Phase 1 — Analyze

Goal: Understand the spec AND the codebase before touching anything.

  1. Understand the spec — read it fully, restate in your own words, list acceptance criteria (explicit and implied), note gaps
  2. Analyze the codebase — map architecture, directory structure, key modules, conventions (naming, error handling, test patterns), tech stack
  3. Find similar implementations — search for existing code doing something similar. Note file paths + line numbers for anything to reuse or follow. Check if the feature partially exists already. This is critical — search before writing.
  4. Identify integration points — where does this connect to existing code? APIs, schemas, shared state, internal/external dependencies
  5. Assess risks — what could break? Performance, security, breaking changes, missing test coverage

Output — Analysis Summary:

### Spec Understanding
[Restated spec + acceptance criteria list]

### Codebase Findings
- Architecture: [overview]
- Conventions: [naming, patterns, structure]
- Tech stack: [frameworks, tools]

### Similar Implementations Found
- [file:line] — [what it does, relevance]

### Integration Points
- [module/file] — [how the feature connects]

### Risks & Concerns
- [risk] — [severity, mitigation]

### Open Questions
- [questions needing clarification]

Rules:

  • DO NOT write implementation code
  • DO NOT suggest solutions — that's for the planning phase
  • DO search thoroughly — find existing patterns before anything else
  • DO note file paths with line numbers

Phase 2 — Plan

Goal: Break work into small, ordered, committable phases.

  1. Define phases — each must change <200 lines, be independently committable (no broken state), build on previous phases, have a testable outcome. Order by dependency: foundational first, integration last.
  2. Detail each phase — scope (one sentence), files to modify/create (exact paths), patterns to follow (reference file:line from analysis), tests to write/update, pre-written commit message
  3. Identify dependencies — which phases block which? Any parallelizable?

Keep the plan concise. One-line scope per phase. No prose.

Output — Implementation Plan:

### Overview
[1-2 sentence summary. Total phases: N]

### Phase 1: [Short Title]
- Scope: [one sentence]
- Files: modify [path], create [path]
- Pattern: [path:line] — [follow this for...]
- Tests: [what to test]
- Commit: `feat(scope): description (phase 1/N)`

### Phase 2: [Short Title]
...

### Dependencies
- Phase 2 depends on Phase 1
- Phases 3-4 can run in parallel

Rules:

  • DO NOT write implementation code — only describe what to do
  • DO reference existing patterns by file path + line
  • DO keep phases small — >200 lines means split
  • DO pre-write commit messages (subject line only)
  • Plan must cover the full spec — no acceptance criteria left unaddressed
  • If the analysis has open questions, flag them — don't plan around assumptions

STOP and wait for user approval before executing.


Phase 3 — Ask

No special process — this is a natural conversation pause.

Surface:

  • Spec ambiguities or contradictions
  • Architectural decisions with multiple valid approaches (present options)
  • Missing acceptance criteria
  • Edge cases the spec doesn't cover

Rule: Never assume. If uncertain, ask. If nothing is ambiguous, state "No open questions" and proceed.

Loop-back rule: If the user's answers reveal new requirements or significantly change scope, go back to Phase 1 — Analyze to re-assess the codebase with the new context. If answers only affect the plan (not the analysis), go back to Phase 2 — Plan to adjust.


Phase 4 — Execute

Goal: Implement one phase at a time, following existing patterns.

  1. Review the phase — re-read scope, files, pattern references. Check referenced pattern files before writing
  2. Implement — follow existing codebase patterns (naming, structure, error handling, style). Before writing new code, verify no existing utility already does it. Write only what the phase requires. Write tests as specified
  3. Self-check — does implementation match phase scope? Did I follow referenced patterns? Tests passing? Only planned files changed? Unintended side effects?
  4. Commit — subject-line only: feat(<scope>): <description> (phase N/M)

Rules:

  • ONE phase only — do not bleed into the next phase
  • Follow existing patterns — read referenced files first, match their style
  • Minimal changes — if it's not in the phase scope, don't touch it
  • No refactoring — unless the plan explicitly includes it
  • Search before writing — check if a utility/helper already exists
  • If you discover something outside phase scope, note it but don't do it — flag for a future phase

Phase 5 — Review

Goal: Verify the phase against spec acceptance criteria.

  1. Spec compliance — does this phase meet its acceptance criteria? Does implementation match spec intent, not just the letter?
  2. Code quality — bugs, edge cases (empty inputs, boundaries, error states), error handling, type safety, naming consistency
  3. Architecture — follows referenced patterns? No drift from plan? Code in right layer/module? Dependencies flowing correctly?
  4. Test coverage — tests cover new behavior? Edge cases tested? Tests follow existing patterns? Tests are meaningful?
  5. Scope — changes stayed within phase scope? Files match the plan? No bonus refactors?

Output — Phase Review:

### Status: PASS | ISSUES FOUND

### Spec Compliance
- [criterion]: PASS/FAIL — [details]

### Issues (if any)
1. [severity]: [description] — [file:line] — [fix]

### Scope: [OK | drift details]

### Recommendation: PROCEED | FIX [list]

Rules:

  • Be specific — cite file paths and line numbers
  • Prioritize — critical first, notes last
  • Don't nitpick style that matches codebase conventions
  • Review against the plan, not personal preference
  • Flag any scope creep as an issue
  • Critical issues must be fixed before proceeding

Loop-back rule: If review reveals architectural issues or plan assumptions that were wrong, go back to Phase 2 — Plan to re-plan the remaining phases. Don't force a broken plan — adjust it.

Multi-agent review (on request): If the user asks for thorough review, assess from three perspectives sequentially — architecture (patterns, separation of concerns, API design), code quality (bugs, edge cases, test coverage), and security (auth, input validation, injection, OWASP top 10). Synthesize into a single report.


Anti-Patterns This Skill Prevents

Anti-PatternPrevention
Vibe codingMandatory Analyze + Plan before any code
Over-scopingPhase boundaries enforce <200 lines, minimal changes
Pattern violationsAnalyzer searches for existing patterns first
Reinventing the wheelAnalyzer finds similar implementations to reuse
Big-bang commitsPhase-by-phase commits enforced
Spec driftReviewer checks against spec acceptance criteria
Assuming requirementsAsk phase surfaces ambiguities before coding

Red Flags — STOP and Recheck

  • Writing code before completing analysis
  • Skipping the plan approval step
  • Changing files not listed in the current phase
  • Committing more than one phase's work
  • Not searching for existing patterns before writing new code
  • Assuming what the user wants instead of asking

Failure Diagnostics

SymptomCauseFix
Doesn't match specRushed Phase 1Redo analysis, restate spec
Inconsistent patternsSkipped pattern searchRun analysis again
Too many files changedPhases too largeRe-split into smaller phases
User surprised by approachSkipped approvalAlways stop for plan review
Major issues in reviewPhase scope too largeSmaller phases

平台分布

Codex

35.46%
按下载量换算61

Claude

28.62%
按下载量换算49

Cursor

19.17%
按下载量换算33

Gemini CLI

9.27%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills