acceptance-criteria-drafter
npx skills add https://github.com/atman-33/skills --skill acceptance-criteria-drafter
Agent 安装分布
Skill 文档
Acceptance Criteria Drafter
This skill helps you create well-structured Acceptance Criteria drafts for GitHub Issues by interviewing users about their feature requirements.
What This Skill Does
- Interviews the user to understand the feature/requirement
- Generates Acceptance Criteria following best practices
- Outputs a markdown draft file to
.tmp/folder for review and refinement
Interview Questions
Ask the user these essential questions:
- Feature Overview: What feature or change are you planning?
- User Perspective: Who is the user and what do they want to achieve?
- Success Conditions: How do you know when this is complete?
- Edge Cases: Are there any error conditions or special cases to handle?
Keep the interview conversational and adaptiveâyou don’t need to ask all questions if the user has already provided the information.
Acceptance Criteria Guidelines
Core Principles (3-Rule Minimum)
- User-oriented: Write from the user’s perspective, not implementation details
- Verifiable: Each criterion must be clearly testable (satisfied / not satisfied)
- Concise: Keep it to 3-5 bullet points in checkbox format
What to Include
â User behavior and outcomes â Error conditions and messages â State changes visible to users â Data persistence requirements
What to Avoid
â Implementation details (API endpoints, database tables) â Technical architecture decisions â Browser/device-specific test cases â More than 5 criteria (split into multiple issues if needed)
Output Format
Create a file in .tmp/ac-draft-YYYYMMDD-N.md with this structure:
# Acceptance Criteria Draft
**Generated on**: YYYY-MM-DD
**Feature**: [Brief feature description]
---
## Acceptance Criteria
- [ ] [User-facing behavior 1]
- [ ] [User-facing behavior 2]
- [ ] [Error handling or edge case]
- [ ] [State persistence or data requirement]
---
## Notes
[Any additional context, assumptions, or clarifications]
---
## Next Steps
1. Review and refine this draft
2. Copy to GitHub Issue template
3. Discuss with team during sprint planning
Examples
Example 1: User Article Posting
## Acceptance Criteria
- [ ] ãã°ã¤ã³æ¸ã¿ã¦ã¼ã¶ã¼ã¯è¨äºãæç¨¿ã§ãã
- [ ] ã¿ã¤ãã«ãæªå
¥åã®å ´åãæç¨¿ã§ããã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ããã
- [ ] æç¨¿å¾ãè¨äºä¸è¦§ã«è¡¨ç¤ºããã
Example 2: Notification Settings
## Acceptance Criteria
- [ ] éç¥ãOFFã«ããã¨éç¥ãéä¿¡ãããªã
- [ ] è¨å®å¤æ´å¾ããã¼ã¸åèªã¿è¾¼ã¿ã§ç¶æ
ãä¿æããã
Example 3: Data Export Feature
## Acceptance Criteria
- [ ] ã¦ã¼ã¶ã¼ã¯èªåã®ãã¼ã¿ãCSVå½¢å¼ã§ã¨ã¯ã¹ãã¼ãã§ãã
- [ ] ãã¼ã¿ãåå¨ããªãå ´åãããã¼ã¿ãããã¾ãããã¨è¡¨ç¤ºããã
- [ ] ã¨ã¯ã¹ãã¼ãä¸ã¯é²æã¤ã³ã¸ã±ã¼ã¿ã¼ã表示ããã
- [ ] ãã¦ã³ãã¼ãå®äºå¾ãéç¥ã表示ããã
File Naming Convention
Use sequential numbering for the same day:
.tmp/ac-draft-20260126-1.md.tmp/ac-draft-20260126-2.md.tmp/ac-draft-20260126-3.md
Workflow Tips
- Start Light: If the user is unsure, create a minimal 1-2 criterion draft and iterate
- Iterate in Conversation: Refine criteria through dialogue before finalizing
- Language: Write in Japanese unless explicitly requested otherwise (following project guidelines)
- Team Adaptation: Adjust verbosity based on team maturityâless experienced teams benefit from slightly more detailed criteria
When NOT to Use This Skill
- User wants to create the full GitHub Issue (use different workflow)
- User wants to write technical specifications (not user-facing acceptance criteria)
- User wants to create test cases (more detailed than AC)