Skip to content
Skills Library
Management & product · Writing

requirement

/requirement

[UDS] Write user stories and requirements that satisfy the INVEST criteria. Use when: turning a feature idea into a user story, defining testable acceptance criteria, checking a backlog item for quality. Not for: full specification documents with design and delta operations — use /sdd; deciding whether the idea is right at all — use /brainstorm. Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 使用者故事, 驗收條件.

Licence
MIT
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

[UDS] Write user stories and requirements that satisfy the INVEST criteria. Use when: turning a feature idea into a user story, defining testable acceptance criteria, checking a backlog item for quality. Not for: full specification documents with design and delta operations — use /sdd; deciding whether the idea is right at all — use /brainstorm. Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 使用者故事, 驗收條件.

Arguments

/requirement [feature description | 功能描述]
Original author description

[UDS] Write user stories and requirements that satisfy the INVEST criteria. Use when: turning a feature idea into a user story, defining testable acceptance criteria, checking a backlog item for quality. Not for: full specification documents with design and delta operations — use /sdd; deciding whether the idea is right at all — use /brainstorm. Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 使用者故事, 驗收條件.

How it works

  1. Workflow | 工作流程
  2. User Story Format | 使用者故事格式
  3. INVEST Criteria | INVEST 準則
  4. Quality Checklist | 品質檢查清單
  5. Usage | 使用方式
  6. Next Steps Guidance | 下一步引導
  7. Reference | 參考
  8. AI Agent Behavior | AI 代理行為
Original SKILL.md headings · 78 lines, 397 words
SKILL.md preview
---
name: requirement
scope: universal
description: |
  [UDS] Write user stories and requirements that satisfy the INVEST criteria.
  Use when: turning a feature idea into a user story, defining testable acceptance criteria, checking a backlog item for quality.
  Not for: full specification documents with design and delta operations — use /sdd; deciding whether the idea is right at all — use /brainstorm.
  Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 使用者故事, 驗收條件.
allowed-tools: Read, Write, Grep
argument-hint: "[feature description | 功能描述]"
---

# Requirement Assistant | 需求助手

Write well-structured user stories and requirements following INVEST criteria.

撰寫結構良好的使用者故事和需求文件,遵循 INVEST 準則。

## Workflow | 工作流程

1. **Understand context** - Gather feature information | 蒐集功能資訊
2. **Identify stakeholders** - Who benefits from this feature? | 誰受益?
3. **Write user story** - Follow the standard format | 遵循標準格式
4. **Define acceptance criteria** - Specific, testable conditions | 定義可測試條件
5. **Validate with INVEST** - Check quality criteria | 用 INVEST 驗證品質

## User Story Format | 使用者故事格式

```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 Criteria | INVEST 準則

| Criterion | Description | 說明 |
|-----------|-------------|------|
| **I**ndependent | Can be developed separately | 可獨立開發 |
| **N**egotiable | Details can be discussed | 可協商細節 |
| **V**aluable | Delivers value to user | 提供使用者價值 |
| **E**stimable | Can estimate effort | 可估算工作量 |
| **S**mall | Fits in one sprint | 適合單一迭代 |
| **T**estable | Has clear test criteria | 有明確測試標準 |

## Quality Checklist | 品質檢查清單

- [ ] User story follows "As a / I want / So that" format
- [ ] At least 2 acceptance criteria defined
- [ ] All 6 INVEST criteria satisfied
- [ ] Edge cases and error scenarios considered
- [ ] Out of scope items documented

## Usage | 使用方式

```
/requirement                         - Interactive requirement wizard | 互動式需求精靈
/requirement user login              - Write requirement for feature | 為功能撰寫需求
/requirement "users can export data" - Based on description | 根據描述撰寫
```

## Next Steps Guidance | 下一步引導

After `/requirement` completes, the AI assistant should suggest:

> **需求文件已完成。建議下一步 / Requirement document complete. Suggested next steps:**
> - 執行 `/sdd` 建立規格文件 ⭐ **Recommended / 推薦** — Create a specification document
> - 執行 `/atdd` 定義驗收測試 — Define acceptance tests
> - 執行 `/brainstorm` 進一步探索需求空間 — Explore the requirement space further

## Reference | 參考

- [Requirement Completeness Checklist](./requirement-checklist.md) — Read it when checking a requirement is complete before it is accepted.
- [Requirement Writing Guide](./requirement-writing.md) — Read it when writing a requirement from scratch.
- Detailed guide: [guide.md](./guide.md)
- Core standard: [requirement-engineering.md](../../core/requirement-engineering.md)


## AI Agent Behavior | AI 代理行為

> 完整的 AI 行為定義請參閱對應的命令文件:[`/requirement`](../commands/requirement.md#ai-agent-behavior--ai-代理行為)
>
> For complete AI agent behavior definition, see the corresponding command file: [`/requirement`](../commands/requirement.md#ai-agent-behavior--ai-代理行為)
Files in this package (4)
  • SKILL.md 4 KB
  • guide.md 6 KB
  • requirement-checklist.md 7 KB
  • requirement-writing.md 8 KB

Versions

RepositoryScoreLicence
This page · AsiaOstrich/universal-dev-standards95MIT
AsiaOstrich/universal-dev-standards95MIT
AsiaOstrich/universal-dev-standards87MIT

Database snapshot: 13.11.2026 · package version 3cc039606bdd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 84requirement-assistant
    [UDS] 撰写符合 INVEST 准则的用户故事与需求。 Use when: 把一个功能构想转成用户故事、定义可测试的验收条件、检视待办项目的质量。 Not for: 带有设计与差异操作的完整规格文档——请用 /sdd;判断这个构想本身对不对——请用 /brainstorm。 Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 用户故事, 验收条件, 待办梳理.
  • 100requirement-assistant
    [UDS] 撰寫符合 INVEST 準則的使用者故事與需求。 Use when: 把一個功能構想轉成使用者故事、定義可測試的驗收條件、檢視待辦項目的品質。 Not for: 帶有設計與差異操作的完整規格文件——請用 /sdd;判斷這個構想本身對不對——請用 /brainstorm。 Keywords: requirement, user story, INVEST, acceptance criteria, backlog refinement, 需求, 使用者故事, 驗收條件, 待辦整理.
  • 100user-story-writer
    Writes high-quality agile user stories that satisfy the INVEST criteria, with clear role/goal/benefit phrasing and testable Gherkin (Given/When/Then) acceptance criteria, and splits epics into thin vertical slices. Use this skill when the user asks to "write a user story",…
  • 95user-stories
    Write INVEST-compliant user stories with Given-When-Then acceptance criteria. Use when writing user stories, creating acceptance criteria, or during /design Step 4.
  • 100user-stories
    Create user stories following the 3 C's (Card, Conversation, Confirmation) and INVEST criteria with descriptions, design links, and acceptance criteria. Use when writing user stories, breaking down features into backlog items, or defining acceptance criteria.
  • 95user-stories
    Create user stories following the 3 C's (Card, Conversation, Confirmation) and INVEST criteria with descriptions, design links, and acceptance criteria. Use when writing user stories, breaking down features into backlog items, or defining acceptance criteria.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.