spec-driven-development by jasonkneen/kiro
npx skills add https://github.com/jasonkneen/kiro --skill spec-driven-development一种系统化的软件功能开发方法,通过结构化规划确保质量、可维护性和成功交付。
理想场景:
不太适用:
目的: 将模糊的功能想法转化为清晰、可测试的需求
流程:
EARS 格式模式:
WHEN [事件] THEN [系统] SHALL [响应]
IF [前提条件] THEN [系统] SHALL [响应]
WHEN [事件] AND [条件] THEN [系统] SHALL [响应]
示例:
**用户故事:** 作为一名新用户,我希望创建账户,以便访问个性化功能。
**验收标准:**
1. WHEN 用户提供有效的邮箱和密码 THEN 系统 SHALL 创建新账户
2. WHEN 用户提供已存在的邮箱 THEN 系统 SHALL 显示“邮箱已注册”错误
3. WHEN 用户提供少于 8 个字符的密码 THEN 系统 SHALL 显示“密码过短”错误
4. WHEN 账户创建成功 THEN 系统 SHALL 发送确认邮件
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
目的: 创建全面的技术实施计划
流程:
设计文档结构:
## 概述
[方法的高级摘要]
## 架构
[系统组件及其关系]
## 组件与接口
[详细的组件描述]
## 数据模型
[数据结构和验证规则]
## 错误处理
[错误场景和响应策略]
## 测试策略
[不同层次的测试方法]
决策文档:
### 决策:[标题]
**背景:**[需要决策的情况]
**考虑的选项:**
1. [选项 1] - 优点:[好处] / 缺点:[弊端]
2. [选项 2] - 优点:[好处] / 缺点:[弊端]
**决定:**[选择的选项]
**理由:**[为何选择此项]
目的: 将设计分解为可操作、顺序化的实施步骤
流程:
任务结构:
- [ ] 1. [史诗/主要组件]
- [ ] 1.1 [具体的实施任务]
- [实施细节]
- [要创建的文件/组件]
- _需求:[需求引用]_
任务排序策略:
对于 Claude Code / AI 助手:
启动规范的示例提示:
我正在处理 [项目背景]。我们需要添加 [功能描述]。
背景:
- 技术:[技术栈]
- 用户:[目标受众]
- 约束:[关键限制]
请帮助我使用 EARS 格式制定需求,从用户故事和验收标准开始。
完成规范后:
每周安装量
191
仓库
GitHub 星标数
591
首次出现
2026 年 1 月 22 日
安全审计
安装于
codex177
opencode177
gemini-cli176
cursor164
github-copilot163
kimi-cli143
A comprehensive methodology for systematic software feature development that ensures quality, maintainability, and successful delivery through structured planning.
Ideal scenarios:
Less suitable:
Purpose: Transform vague feature ideas into clear, testable requirements
Process:
EARS Format Patterns:
WHEN [event] THEN [system] SHALL [response]
IF [precondition] THEN [system] SHALL [response]
WHEN [event] AND [condition] THEN [system] SHALL [response]
Example:
**User Story:** As a new user, I want to create an account, so that I can access personalized features.
**Acceptance Criteria:**
1. WHEN user provides valid email and password THEN system SHALL create new account
2. WHEN user provides existing email THEN system SHALL display "email already registered" error
3. WHEN user provides password shorter than 8 characters THEN system SHALL display "password too short" error
4. WHEN account creation succeeds THEN system SHALL send confirmation email
Purpose: Create a comprehensive technical plan for implementation
Process:
Design Document Structure:
## Overview
[High-level summary of approach]
## Architecture
[System components and their relationships]
## Components and Interfaces
[Detailed component descriptions]
## Data Models
[Data structures and validation rules]
## Error Handling
[Error scenarios and response strategies]
## Testing Strategy
[Testing approach for different layers]
Decision Documentation:
### Decision: [Title]
**Context:** [Situation requiring decision]
**Options Considered:**
1. [Option 1] - Pros: [benefits] / Cons: [drawbacks]
2. [Option 2] - Pros: [benefits] / Cons: [drawbacks]
**Decision:** [Chosen option]
**Rationale:** [Why this was selected]
Purpose: Break design into actionable, sequential implementation steps
Process:
Task Structure:
- [ ] 1. [Epic/Major Component]
- [ ] 1.1 [Specific implementation task]
- [Implementation details]
- [Files/components to create]
- _Requirements: [Requirement references]_
Task Sequencing Strategies:
For Claude Code / AI Assistants:
Example prompt for starting a spec:
I'm working on [project context]. We need to add [feature description].
Context:
- Technology: [stack]
- Users: [target audience]
- Constraints: [key limitations]
Please help me develop requirements using the EARS format, starting with user stories and acceptance criteria.
After completing a spec:
Weekly Installs
191
Repository
GitHub Stars
591
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex177
opencode177
gemini-cli176
cursor164
github-copilot163
kimi-cli143
任务估算指南:敏捷开发故事点、计划扑克、T恤尺码法详解
10,500 周安装