acceptance-criteria_skill

This skill defines clear, testable Given/When/Then acceptance criteria from user stories to ensure verifiable test cases.
  • TypeScript

0

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill yellinzero/aico --skill acceptance-criteria

  • SKILL.md2.8 KB

Overview

This skill creates clear, testable acceptance criteria in Given/When/Then (Gherkin) format that can be used directly by QA and automation. It reads the existing story, follows the project's language setting, and appends criteria to the story file in docs/reference/pm/stories/. The output focuses on observable behavior, edge cases, and independent testability.

How this skill works

The skill inspects the user story in docs/reference/pm/stories/ and checks aico.json for the language setting. It generates multiple Gherkin scenarios: happy paths, edge cases, validation and error handling, and performance checks when relevant. All criteria strictly use Given/When/Then and are written to be independently verifiable and non-ambiguous.

When to use it

  • When someone asks for "acceptance criteria", "AC", "test criteria" or "done criteria"
  • When product asks "how do we know it's done?" or "what counts as complete?"
  • When a user story lacks clear or testable success conditions
  • When QA needs test scenarios or test cases derived from the story
  • When running /pm.plan and adding AC to stories
  • When reviewing stories and acceptance criteria are missing or vague

Best practices

  • Read the story file in docs/reference/pm/stories/ before writing criteria
  • Always use Given [context], When [action], Then [expected result] for every scenario
  • Write happy path scenarios first, then add validation, error, and edge-case scenarios
  • Make each criterion independently testable and avoid vague language (no "should", "might")
  • Include observable acceptance conditions and explicit success/failure messages or codes when applicable
  • Confirm language from aico.json and write criteria in that language

Example use cases

  • Add AC to a new feature story so QA can implement tests immediately
  • Convert vague story notes into specific Gherkin scenarios for automation
  • Provide edge-case and validation criteria for input fields and boundaries
  • Append performance and error-handling acceptance criteria to existing stories
  • Generate testable acceptance criteria when onboarding a new PM or QA to the codebase

FAQ

No. The skill updates existing story files in docs/reference/pm/stories/ and does not create new files.

What format will the criteria use?

All criteria use Given/When/Then (Gherkin) and include happy paths, edge cases, and error handling.

How do you determine the output language?

The skill checks the language field in aico.json; if missing it defaults to English.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational