Skip to content
Back to skills

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
developmentgo

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add AsiaOstrich/universal-dev-standards --skill requirement-assistant --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Requirement Assistant?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Requirement Assistant
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asiaostrich-requirement-assistant-2aefac6e/badge)](https://www.skillsdirectory.com/skills/asiaostrich-requirement-assistant-2aefac6e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md2.6 KB
  • guide.md5.1 KB
  • requirement-checklist.md6.7 KB
  • requirement-writing.md7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.