/universal-dev-standards:requirement [feature name or description | 功能名稱或描述]from universal-dev-standards
Guides users through writing user stories and acceptance criteria following INVEST quality standards. Accepts a feature name or description as an optional argument.
Ships in universal-dev-standards. Installing the plugin adds it to Claude Code.
Write well-structured user stories and requirements following INVEST criteria.
撰寫結構良好的用戶故事和需求文件,遵循 INVEST 標準。
As a [role],
I want [feature],
So that [benefit].
### Acceptance Criteria
- [ ] Given [context], when [action], then [result]
- [ ] Given [context], when [action], then [result]
| Criterion | Description | 說明 |
|---|---|---|
| Independent | Can be developed separately | 可獨立開發 |
| Negotiable | Details can be discussed | 可協商細節 |
| Valuable | Delivers value to user | 提供用戶價值 |
| Estimable | Can estimate effort | 可估算工作量 |
| Small | Fits in one sprint | 適合單一迭代 |
| Testable | Has clear test criteria | 有明確測試標準 |
/requirement - Interactive requirement writing wizard/requirement user login - Write requirement for specific feature/requirement "users can export data" - Based on descriptionFollows AI Command Behavior Standards
| Input | AI Action |
|---|---|
/requirement | 詢問使用者要定義的功能,開始互動式需求撰寫 |
/requirement <feature> | 以指定功能為目標,開始收集資訊 |
/requirement "description" | 從描述中提取需求,生成使用者故事 |
Decision: INVEST 驗證結果
🛑 STOP: 展示需求文件後等待使用者確認寫入
| Stop Point | 等待內容 |
|---|---|
| 需求文件生成後 | 確認內容正確並寫入 |
| Error Condition | AI Action |
|---|---|
| 使用者描述過於模糊 | 提出具體問題釐清範圍 |
| AC 無法用 GWT 格式表達 | 協助轉換,展示轉換建議 |
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub asiaostrich/universal-dev-standards --plugin universal-dev-standards51 commands in this plugin
/ac-coverageAC Coverage | AC 覆蓋率[UDS] Generate AC-to-test traceability matrix and coverage report/api-designAPI Design Assistant | API 設計助手[UDS] Guide API design following REST, GraphQL and gRPC best practices/atddATDD Assistant | ATDD 助手[UDS] Guide through Acceptance Test-Driven Development workflow/auditAudit Assistant | 審計助手[UDS] UDS health check and feedback system, diagnose installation integrity and detect development patterns/bddBDD Assistant | BDD 助手[UDS] Guide through Behavior-Driven Development workflow/brainstorm[UDS] Structured AI-assisted brainstorming before spec creationOther plugins' commands for the same job