Back to skills
SKILL.md
Requirement Assistant
ASecurity[UDS] 撰写符合 INVEST 准则的用户故事与需求。 Use when: 把一个功能构想转成用户故事、定义可测试的验收条件、检视待办项目的质量。 Not for: 带有设计与差异操作的完整规格文档——请用 /sdd;判断这个构想本身对不对——请用 /brainstorm。 Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 用户故事, 验收条件, 待办梳理.
- 86 stars
- 0 votes
- 0 copies
- 8 views
- Added September 4, 2026
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add AsiaOstrich/universal-dev-standards --skill requirement-assistant --agent claude-codeAre you the author of Requirement Assistant?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/asiaostrich-requirement-assistant-2aefac6e)---
source: ../../../../skills/requirement-assistant/SKILL.md
source_version: 1.0.0
translation_version: 1.1.0
last_synced: 2026-10-11
source_hash: 8d19b66b3220
status: current
description: |
[UDS] 撰写符合 INVEST 准则的用户故事与需求。
Use when: 把一个功能构想转成用户故事、定义可测试的验收条件、检视待办项目的质量。
Not for: 带有设计与差异操作的完整规格文档——请用 /sdd;判断这个构想本身对不对——请用 /brainstorm。
Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 用户故事, 验收条件, 待办梳理.
---
# 需求助手
> **语言**: [English](../../../../skills/requirement-assistant/SKILL.md) | 简体中文
编写结构良好的用户故事和需求,遵循 INVEST 准则。
## 工作流程
1. **理解情境** - 收集功能信息
2. **识别利害关系人** - 谁从这个功能受益?
3. **编写用户故事** - 遵循标准格式
4. **定义验收条件** - 具体、可测试的条件
5. **以 INVEST 验证** - 检查质量准则
## 用户故事格式
```markdown
As a [role],
I want [feature],
So that [benefit].
### Acceptance Criteria
- [ ] Given [context], when [action], then [result]
- [ ] Given [context], when [action], then [result]
```
## INVEST 准则
| 准则 | 说明 |
|------|------|
| **I**ndependent | 可独立开发 |
| **N**egotiable | 可协商细节 |
| **V**aluable | 提供用户价值 |
| **E**stimable | 可估算工作量 |
| **S**mall | 适合单一迭代 |
| **T**estable | 有明确测试标准 |
## 质量检查清单
- [ ] 用户故事遵循「As a / I want / So that」格式
- [ ] 至少定义 2 个验收条件
- [ ] 满足全部 6 个 INVEST 准则
- [ ] 已考虑边界案例和错误情境
- [ ] 已记录范围外项目
## 使用方式
```
/requirement - 交互式需求向导
/requirement user login - 为功能编写需求
/requirement "users can export data" - 根据描述编写
```
## 下一步引导
`/requirement` 完成后,AI 助手应建议:
> **需求文档已完成。建议下一步:**
> - 执行 `/sdd` 建立规格文档 ⭐ **推荐**
> - 执行 `/atdd` 定义验收测试
> - 执行 `/brainstorm` 进一步探索需求空间
## 参考
- [需求完整性检查清单](./requirement-checklist.md) — 要在需求被接受之前检查它完不完整时读它。
- [需求撰写指南](./requirement-writing.md) — 要从零开始写一份需求时读它。
- 详细指南:[guide.md](./guide.md)
- 核心规范:[requirement-engineering.md](../../../../core/requirement-engineering.md)
## AI 代理行为
> 完整的 AI 行为定义请参阅对应的命令文档:[`/requirement`](../commands/requirement.md#ai-agent-behavior--ai-代理行为)
Files in this skill
- SKILL.md
- guide.md
- requirement-checklist.md
- requirement-writing.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.