Back to list
AsiaOstrich

atdd-assistant

by AsiaOstrich

Universal, language-agnostic development standards for software projects. Includes coding standards, git workflows, testing guidelines, documentation structure, and AI collaboration rules.

20🍴 3📅 Jan 23, 2026

SKILL.md


name: atdd-assistant description: | Guide teams through Acceptance Test-Driven Development workflow. Use when: defining acceptance criteria, running specification workshops, writing user stories with acceptance tests, PO sign-off. Keywords: ATDD, acceptance test, acceptance criteria, user story, product owner, specification workshop, 驗收測試驅動開發.

ATDD Assistant

Language: English | 繁體中文

Version: 1.0.0 Last Updated: 2026-01-19 Applicability: Claude Code Skills


Purpose

This skill guides teams through the Acceptance Test-Driven Development workflow, helping them:

  • Conduct effective Specification Workshops
  • Write testable acceptance criteria in Given-When-Then format
  • Convert criteria to executable acceptance tests
  • Ensure proper collaboration between PO, Dev, and QA
  • Integrate ATDD with BDD and TDD for complete workflow

Quick Reference

ATDD Workflow Checklist

┌─────────────────────────────────────────────────────────────────┐
│  🤝 SPECIFICATION WORKSHOP Phase                                 │
│  □ Product Owner presents user story                            │
│  □ Team asks clarifying questions                               │
│  □ Acceptance criteria defined together                         │
│  □ Concrete examples written for each AC                        │
│  □ Edge cases and error scenarios discussed                     │
│  □ Out of scope explicitly documented                           │
├─────────────────────────────────────────────────────────────────┤
│  🧪 DISTILLATION Phase                                           │
│  □ Examples converted to executable tests                       │
│  □ Ambiguity removed from tests                                 │
│  □ Tests in executable format (Gherkin, FitNesse, etc.)         │
│  □ Product Owner signs off on tests                             │
├─────────────────────────────────────────────────────────────────┤
│  💻 DEVELOPMENT Phase                                            │
│  □ Acceptance tests initially fail (RED)                        │
│  □ BDD used for feature tests, TDD for unit tests               │
│  □ Incremental progress toward passing ATs                      │
│  □ All acceptance tests pass (GREEN)                            │
│  □ Code refactored and clean                                    │
├─────────────────────────────────────────────────────────────────┤
│  🎬 DEMO Phase                                                   │
│  □ All acceptance tests passing                                 │
│  □ Demo environment prepared                                    │
│  □ Key stakeholders present                                     │
│  □ Product Owner validates functionality                        │
│  □ Story accepted or criteria refined                           │
└─────────────────────────────────────────────────────────────────┘

Acceptance Criteria Quick Reference

ElementFormatExample
User StoryAs a / I want / So thatAs a customer, I want to reset my password, so that I can regain access
AC FormatGiven / When / ThenGiven I'm on the login page, When I click "Forgot Password", Then I should see a reset form
Out of ScopeBullet list- SMS reset, - Admin reset capability
Technical NotesBullet list- Token expires in 24 hours

INVEST Criteria

PrincipleDescriptionCheck
IndependentCan be developed independentlyNo blocking dependencies
NegotiableDetails can be discussedNot a contract
ValuableDelivers business valuePO can explain the "why"
EstimableCan be estimatedTeam understands scope
SmallFits in one sprint< 1 week of work
TestableCan be verifiedClear acceptance criteria

Workflow Assistance

Specification Workshop Guidance

When conducting a specification workshop:

  1. Story Presentation (5 min)

    User Story: [Title]
    
    As a [role]
    I want [feature]
    So that [benefit]
    
    Business Value: [Why this matters]
    
  2. Clarifying Questions (10 min)

    • Business: "What's the value?", "Who are the users?"
    • Development: "What's the impact?", "Dependencies?"
    • Testing: "What could go wrong?", "Edge cases?"
  3. AC Definition (20 min)

    ### AC-1: [Criterion name]
    **Given** [precondition]
    **When** [action]
    **Then** [expected result]
    
  4. Out of Scope (10 min)

    • Explicitly list what is NOT included
    • Prevents scope creep during development
  5. Technical Notes (5 min)

    • Implementation hints
    • Known constraints
    • Dependencies

Distillation Guidance

When converting AC to executable tests:

  1. Review Each AC

    • Is it unambiguous?
    • Can it be automated?
    • Does it verify business value?
  2. Choose Test Format

    FormatBest For
    GherkinBehavior-focused, business-readable
    FitNesseData-driven, wiki tables
    Robot FrameworkComplex workflows
    Code (xUnit)Technical teams
  3. Write Executable Tests

    # For AC-1: Password reset request
    Scenario: Request password reset
      Given I am on the login page
      And I have a registered account
      When I click "Forgot Password"
      And I enter my email address
      Then I should see "Reset link sent"
      And I should receive an email within 5 minutes
    
  4. Get PO Sign-off

    • PO confirms tests represent requirements
    • Sign-off before development starts

Demo Guidance

When preparing for demo:

  1. Pre-Demo Checklist

    □ All acceptance tests passing
    □ Demo environment ready
    □ Test data prepared
    □ Stakeholders notified
    
  2. Demo Structure (15-30 min)

    • Context (1 min): Remind story and AC
    • Tests (2 min): Run acceptance tests live
    • Feature (5-10 min): Walk through each AC
    • Feedback (5 min): Gather feedback, Q&A
  3. Possible Outcomes

    • ✅ Accepted: Story complete
    • 🔄 Refinement: Return to workshop
    • ❌ Rejected: Identify gaps

User Story Template

## User Story: [Title]

**As a** [role]
**I want** [feature]
**So that** [benefit]

## Acceptance Criteria

### AC-1: [Happy path]
**Given** [precondition]
**When** [action]
**Then** [expected result]

### AC-2: [Error scenario]
**Given** [precondition]
**When** [invalid action]
**Then** [error handling]

### AC-3: [Edge case]
**Given** [edge condition]
**When** [action]
**Then** [appropriate result]

## Out of Scope
- [Feature 1 not included]
- [Feature 2 deferred to future]

## Technical Notes
- [Implementation constraint]
- [Dependency information]
- [Performance requirement]

## Questions / Assumptions
- [Open question 1]
- [Assumption 1]

Integration with Other Workflows

ATDD → BDD → TDD Flow

ATDD Level (Business Acceptance)
  │
  │  User Story + Acceptance Criteria
  │  PO Sign-off
  │
  ▼
BDD Level (Behavior Specification)
  │
  │  Feature Files (Gherkin)
  │  Three Amigos collaboration
  │
  ▼
TDD Level (Implementation)
  │
  │  Unit Tests
  │  Red → Green → Refactor
  │
  ▼
Verification (Demo)
  │
  └──▶ PO Acceptance

ATDD + SDD Integration

# Link ATDD to SDD Spec

## User Story: US-123

**Spec Reference**: SPEC-001

### AC-1: Implements SPEC-001 Section 3.1
**Given** [from spec requirements]
**When** [action per spec]
**Then** [expected per spec]

Configuration Detection

This skill supports project-specific configuration.

Detection Order

  1. Check CONTRIBUTING.md for "Disabled Skills" section
  2. Check CONTRIBUTING.md for "ATDD Standards" section
  3. Check for existing acceptance test patterns
  4. If not found, default to standard ATDD practices

First-Time Setup

If no configuration found:

  1. Ask: "This project hasn't configured ATDD preferences. Which acceptance test format do you prefer?"

    • Gherkin (Cucumber, SpecFlow)
    • FitNesse tables
    • Code-based (xUnit)
  2. After selection, suggest documenting in CONTRIBUTING.md:

## ATDD Standards

### Acceptance Test Format
- Gherkin (Cucumber.js)

### User Story Template
- INVEST criteria required
- Given-When-Then format for AC

### Workflow
- Specification workshop required for all stories
- PO sign-off before development
- Demo for each completed story

Detailed Guidelines

For complete standards, see:

For related standards:


Anti-Patterns Quick Detection

SymptomLikely ProblemQuick Fix
Features marked done but PO rejectsAC not validated with POMandatory PO sign-off
Long dev with no progressAC too large or vagueBreak into smaller criteria
Acceptance tests always pass first timeTests written after implementationTests before dev
Endless scope discussionsNo "out of scope" definitionExplicit out-of-scope
AC can't be automatedQA/Dev not involved in AC definitionTechnical perspective in workshop

RACI Matrix

ActivityProduct OwnerDeveloperQA/Tester
Define user storyR/ACC
Specification workshopRCC
Define acceptance criteriaARR
Write executable testsCRR/A
Implement featureCR/AC
Execute acceptance testsIRR/A
Accept/reject featureR/AII

Legend: R = Responsible, A = Accountable, C = Consulted, I = Informed



Version History

VersionDateChanges
1.0.02026-01-19Initial release

License

This skill is released under CC BY 4.0.

Source: universal-dev-standards

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon