Acceptance criteria designer
Turns raw product requirements into testable acceptance criteria, coverage notes, and machine-readable contracts.
npx -y skills add jovd83/acceptance-criteria-designerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate acceptance criteria from user stories, PRDs, requirements, use cases, business rules, or tickets that have none yet — and refine, normalize, critique, or convert existing criteria. Output testable Gherkin, TDD, or sentence-based criteria, identify assumption/coverage gaps, or return a JSON contract.
SKILL.md
7.5 KB, as published. Nobody here has run it
Acceptance Criteria Designer
Author: jovd83 | Version: 3.1.1| License: MIT
Use this skill to turn feature intent into clear, testable, reviewable acceptance criteria without inventing unsupported behavior.
Responsibilities
- Generate acceptance criteria from raw requirements.
- Tighten or critique existing acceptance criteria.
- Convert criteria between Gherkin, TDD-style, and sentence-based formats.
- Return a human-readable deliverable plus a schema-aligned JSON contract.
- Surface assumptions, uncovered gaps, and high-risk edge cases.
Inputs
Accept any of the following:
- user stories, PRD excerpts, tickets, use cases, API notes, business rules, or policy text
- draft acceptance criteria that need review, normalization, or conversion
- optional preferred format, terminology, risk focus, or delivery constraints
If the request is too vague to produce reliable criteria, ask only for the smallest missing detail needed to avoid fabricating requirements.
Format Selection
- Honor an explicitly requested format.
- Otherwise use:
Gherkinfor user workflows, stateful interactions, or BDD-friendly feature behaviorTDD-stylefor business rules, API behavior, validations, calculations, and data constraintsSentence-stylefor lightweight backlog refinement or quick stakeholder review
- If two formats are equally plausible and the choice would materially change the deliverable, ask one brief clarification. Otherwise choose the best fit and state it.
Workflow
- Read the source material and extract:
- actor or system role
- trigger or action
- business rules and constraints
- success outcomes
- failure paths
- permissions and roles
- boundary values and state transitions
- explicit non-functional expectations
- Separate source facts from inference.
- Keep explicit source behavior authoritative.
- Put reasonable inferred details in
assumptions. - Put unknown or unsupported items in
coverage_assessment.gapsor ask a short clarification if the gap blocks a reliable answer.
- Choose the working mode:
generatefrom raw source materialrefineweak draft criteriareviewexisting criteria for gaps and quality issuesconvertbetween supported formatsschemawhen the user asks for raw JSON schema contents
- Draft atomic criteria.
- Each criterion should cover one observable behavior or one tightly related condition and outcome pair.
- Split compound requirements into multiple criteria.
- Prefer externally observable behavior over implementation detail.
- Add risk-based coverage where it is justified by the source or domain:
- invalid input
- boundary limits
- unauthorized access
- empty or missing data states
- state transitions or idempotency
- failure messaging or fallback behavior
- Revise silently once or twice if obvious gaps remain.
- Do not expose chain-of-thought, hidden scratch work, or private scoring loops.
- Produce the final response in this order:
Scope summaryAssumptionsif non-emptyAcceptance criteriaJSON contractCoverage summary
Output Rules
Human-readable criteria
Gherkin: render a Markdown table withID | Title | Given | When | Then.TDD-style: render a Markdown table withID | Title | Setup | Action | Expected Outcome.Sentence-style: render a Markdown list as- [ID] [category] criterion.
JSON contract
Always emit a JSON code block after the human-readable criteria.
Use the matching schema from assets/:
assets/acceptance_criteria_gherkin.jsonassets/acceptance_criteria_tdd.jsonassets/acceptance_criteria_sentences.json
Every contract must include:
schema_versionformatsource_summaryassumptionsout_of_scopecoverage_assessmentacceptance_criteria
Coverage summary
Report a concise Coverage Quality Score (CQS) from 0-100 using the rubric in references/criteria-authoring-guide.md. Keep the score honest and explain major remaining gaps if the source was incomplete.
Gotchas
- Format Confusion: Ensure the output format (Gherkin vs TDD vs Sentence) remains consistent throughout the entire response. Mixing them up causes downstream confusion.
- JSON Schema Strictness: The JSON contract must strictly adhere to the schemas in
assets/. Missing mandatory fields likecoverage_assessmentorschema_versionwill cause contract validation failures. - Inference vs. Fact: Avoid silently blurring the line between explicit source facts and inferred behavior, which happens often with vague source texts. Any inferred behavior must be explicitly logged in the
assumptionsarray. - Over-Specification: Avoid embedding UI-specific details (e.g., "click the blue submit button") in behavioral criteria unless explicitly present in the source text. Keep criteria focused on observable system behavior.
Guardrails
- Do not invent business rules that conflict with or go beyond the source without labeling them as assumptions or follow-up gaps.
- Do not encode implementation details unless the source explicitly requires them.
- Do not merge unrelated behaviors into a single criterion.
- Do not treat suggested improvements as confirmed requirements.
- When reviewing existing criteria, preserve intent and call out defects before rewriting.
- If the user asks for a raw schema, print the requested schema file contents exactly and do not wrap it in commentary unless the user also asked for explanation.
Memory Model
- Keep extracted behaviors, assumptions, and coverage notes in runtime memory for the current task only.
- Create project-local artifacts only when the user asks to persist criteria, traceability, or review output in the repository.
- Treat cross-project conventions as external shared memory; do not automatically promote local findings into shared memory.
References
Read these only when they help:
references/criteria-authoring-guide.mdfor format heuristics, quality rubric, edge-case checklist, and anti-patternsreferences/output-contract.mdfor field semantics, ID conventions, and response mappingtests/fixtures/for valid example inputs and JSON contractstests/forward/for live forward-test prompts and runtime-facing smoke casesscripts/validate_repo.pyto validate metadata, schemas, and example contracts locallyscripts/forward_test_harness.pyto exercise the skill through another agent runtime