Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计提醒

spec-driven-planning规范驱动的规划

Agent Skill

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

总安装

808

周安装

33

GitHub Stars

2

下载量

261
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/xbklairith/kisune --skill spec-driven-planning

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装 spec-driven-planning 技能。
  • 当前无额外说明,需参考原始 SKILL.md 获取完整功能细节。

SKILL.md

Spec-Driven Planning Skill

Purpose

Guide feature planning through three structured phases: Feature Creation → Requirements (EARS) → Technical Design. This systematic approach ensures clear requirements and thoughtful design before implementation begins.

Activation Triggers

Activate this skill when:

  • User says "create a new feature"
  • User mentions "requirements", "specifications", or "specs"
  • User uses /dev-workflow:spec command with planning options
  • User asks to plan or design a feature
  • User says "I need to build [feature]"
  • User mentions "architecture" or "technical design"

Three-Phase Planning Workflow

Phase 1: Feature Creation

Goal: Establish feature structure and placeholder files

Process:

  1. Parse feature name from user input
  2. Check existing features using Bash tool: ls docx/features/
  3. Determine next number (NN) for feature directory
  4. Create directory using Bash tool: mkdir -p docx/features/[NN-feature-name]
  5. Copy templates from plugin to feature directory:

- Use Read tool: dev-workflow/templates/requirements.md - Use Write tool: docx/features/[NN-feature-name]/requirements.md (replace [Feature Name] with actual name) - Use Read tool: dev-workflow/templates/design.md - Use Write tool: docx/features/[NN-feature-name]/design.md (replace [Feature Name] with actual name) - Use Read tool: dev-workflow/templates/tasks.md - Use Write tool: docx/features/[NN-feature-name]/tasks.md (replace [Feature Name] with actual name)

Output:

Created feature: docx/features/[NN-feature-name]/
- requirements.md (from template)
- design.md (from template)
- tasks.md (from template)

Next step: Define requirements using EARS format

User Confirmation:

"Feature structure created. Ready to define requirements?"

Phase 2: Requirements Definition (EARS Format)

Goal: Capture clear, testable requirements using EARS methodology

Brainstorming Integration (Optional):

  • If user has rough idea but unclear requirements, use Skill tool to invoke: dev-workflow:brainstorming
  • Helps clarify what to build vs. what's out of scope
  • Explores different feature scopes through collaborative questioning
  • Determines must-haves vs. nice-to-haves

How to activate:

Use Skill tool: Skill(skill: "dev-workflow:brainstorming")

EARS Format Explained:

EARS (Easy Approach to Requirements Syntax) provides five templates for unambiguous requirements:

  1. Ubiquitous Requirements - Always true

- Template: "The system SHALL [requirement]" - Example: "The system SHALL validate all user inputs before processing"

  1. Event-Driven Requirements - Triggered by events

- Template: "WHEN [trigger] THEN the system SHALL [response]" - Example: "WHEN user clicks submit THEN the system SHALL validate form data"

  1. State-Driven Requirements - Active during specific states

- Template: "WHILE [state] the system SHALL [requirement]" - Example: "WHILE processing payment the system SHALL display loading indicator"

  1. Conditional Requirements - Based on conditions

- Template: "IF [condition] THEN the system SHALL [requirement]" - Example: "IF user role is admin THEN the system SHALL show management panel"

  1. Optional Requirements - Feature toggles

- Template: "WHERE [feature included] the system SHALL [requirement]" - Example: "WHERE premium subscription is active the system SHALL enable advanced analytics"

Research Protocol (Before Eliciting Requirements):

Before diving into requirement questions, gather context through research:

  1. Prior Art Research

- Use WebSearch to find similar features/products - Query: "[feature type] best practices 2025" - Query: "[feature type] common requirements"

  1. Technical Documentation

- Use WebFetch on relevant technical docs, APIs, or standards - Fetch competitor/similar product documentation

  1. API Research (if applicable)

- Use Bash with curl to explore API endpoints - Fetch API documentation and schemas

  1. Document Findings

- Summarize key insights in requirements.md under "## Research Summary" - Note patterns, anti-patterns, and industry standards discovered

🗣 Say: "Let me research similar implementations before we define requirements."

Systematic Questioning Approach:

Ask the user these questions to elicit requirements:

  1. Core Functionality

- "What is the primary purpose of this feature?" - "What problem does it solve?"

  1. Event-Driven Requirements

- "What user actions trigger this feature?" - "What system events are involved?"

  1. State-Driven Requirements

- "Are there different states or modes?" - "What should happen during each state?"

  1. Conditional Requirements

- "Are there different behaviors for different users/roles?" - "What conditions affect functionality?"

  1. Performance Requirements

- "Are there response time requirements?" - "What's the expected load/scale?"

  1. Security Requirements

- "What data needs protection?" - "Who should have access?"

  1. Error Handling

- "What can go wrong?" - "How should errors be handled?"

  1. Edge Cases

- "What are the boundary conditions?" - "What happens at extremes?"

Best Practices:

  • Use "SHALL" for mandatory requirements
  • Be specific and measurable (avoid "quickly", use "within 2 seconds")
  • One requirement per statement
  • Avoid ambiguous terms ("appropriate", "reasonable", "user-friendly")
  • Use active voice

Requirement IDs & Traceability:

  • Assign unique IDs to every requirement using a consistent prefix (e.g., REQ-001).
  • Keep numbering sequential across all requirement types (functional + non-functional).
  • Record the IDs directly in each requirement line so later tasks can reference them.
  • Add a short traceability note indicating how tasks/design will map back to these IDs.

Output Format: Update docx/features/[NN-feature-name]/requirements.md with:

  • Overview section
  • Functional requirements (organized by EARS type)
  • Non-functional requirements (performance, security, usability)
  • Constraints
  • Acceptance criteria (checkboxes)
  • Out of scope items

User Confirmation:

"Requirements complete. Ready for design phase?"

Phase 3: Technical Design

Goal: Create comprehensive technical design with architectural decisions

Research Protocol (Before Design):

Before proposing architectural approaches, research solutions:

  1. Architecture Research

- Use WebSearch: "[technology] architecture patterns 2025" - Use WebSearch: "[problem domain] implementation approaches"

  1. Library/Framework Research

- Use WebFetch on documentation for potential libraries - Compare approaches used by similar projects

  1. API Research (if applicable)

- Use WebFetch on external API documentation - Use Bash with curl to test API endpoints - Understand integration requirements and constraints

  1. Document Findings

- Add "## Technical Research" section to design.md - Include links to sources and key insights

🗣 Say: "Let me research technical approaches before proposing architecture options."

Process:

  1. Brainstorming Integration How to activate: Use Skill tool: Skill(skill: "dev-workflow:brainstorming")

- Use Skill tool to invoke: dev-workflow:brainstorming for collaborative design exploration - Explore 2-3 different architectural approaches - Discuss trade-offs for each approach

UltraThink for Complex Designs: Before proposing technical approaches, activate deep thinking when:

  • Architecture involves multiple services or complex data flows
  • Trade-offs between approaches aren't obvious
  • Design impacts security, performance, or scalability
  • Requirements seem contradictory or incomplete
🗣 Say: "This design requires deep thinking. Let me ultrathink the architectural fundamentals before proposing approaches."

During UltraThink, question:

  • Are we solving the right problem?
  • What are we assuming that might be wrong?
  • What could break at scale?
  • What's the simplest architecture that works?
  • What are the hidden costs of each approach?
  • What would we do differently if starting from scratch?

After UltraThink: Present approaches with explicit reasoning about architectural trade-offs and scalability considerations.

  1. Approach Comparison Present options with trade-offs: Option A: [Approach Name] Option B: [Approach Name]

- Pros: [Advantages] - Cons: [Disadvantages] - Complexity: Low/Medium/High - Timeline: [Estimate] - Pros: [Advantages] - Cons: [Disadvantages] - Complexity: Low/Medium/High - Timeline: [Estimate]

  1. Recommendation

- State recommended approach - Provide clear reasoning - Explain why it best fits requirements

  1. Design Document Structure Create comprehensive design.md covering: Architecture Overview Component Structure Data Flow API Contracts Error Handling Security Considerations Performance Considerations Testing Strategy

- How feature fits into system - High-level component diagram (ASCII art) - List components with responsibilities - Define dependencies between components - Specify public interfaces - Step-by-step data movement - Diagram showing flow - Input/output schemas - Error responses - Example requests/responses - Error scenarios and handling strategy - Fallback behaviors - Authentication/authorization - Input validation - Data protection - Optimization strategies - Caching approach - Database indexing needs - Unit test areas - Integration test scenarios - E2E test workflows

Approval Gate:

"Design complete. Ready for task breakdown?"

Wait for explicit user approval before proceeding.


Next Steps

After design approval, use /dev-workflow:spec tasks or /dev-workflow:spec execute to activate the spec-driven-implementation skill, which will:

  • Break down your design into TDD tasks with Red-Green-Refactor cycles
  • Guide systematic execution with quality gates
  • Track progress with checkbox updates
  • Integrate with review and git-workflow skills

Examples

Example 1: Creating User Authentication Feature

User: "I need to add user authentication"

Assistant:

Activating spec-driven-planning skill for feature planning.

Let me create the feature structure:

Created feature: docx/features/01-user-authentication/
- requirements.md
- design.md
- tasks.md

Phase 1 Complete. Ready to define requirements?

User: "Yes"

Assistant:

Phase 2: Requirements Definition (EARS Format)

Let me ask some questions to capture clear requirements:

1. Core Functionality:
   - What authentication methods should be supported? (email/password, OAuth, etc.)
   - Should there be session management?

2. Events:
   - What happens when user tries to log in?
   - What happens when session expires?

[...continues with systematic questioning...]

Example 2: Resuming at Design Phase

User: "/dev-workflow:spec design"

Assistant:

Activating spec-driven-planning skill at Phase 3: Design

Found latest feature: docx/features/01-user-authentication/

Requirements already defined. Let me propose architectural approaches:

**Option A: JWT-Based Authentication**
Pros: Stateless, scalable, works across services
Cons: Token invalidation complexity, larger payload
Complexity: Medium

**Option B: Session-Based Authentication**
Pros: Simple invalidation, smaller cookies, familiar pattern
Cons: Requires session storage, scaling challenges
Complexity: Low

Recommendation: Option A (JWT-Based)
Reasoning: Better for microservices, future-proof, industry standard

Proceed with JWT-based design?

Notes

  • Always request explicit approval between phases
  • Use EARS format strictly for requirements
  • Focus on "what" and "how", not "doing"
  • Create clear, complete documentation before implementation
  • Explore multiple architectural options before recommending one
  • Wait for user approval before activating implementation skill

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.33%
按下载量换算79

OpenCode

21.72%
按下载量换算57

windsurf

16.48%
按下载量换算43

Antigravity

11.62%
按下载量换算30

Codex

8.47%
按下载量换算22

Gemini CLI

3.25%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills