Create user stories with Mike Cohn format and Gherkin acceptance criteria. Use when turning user needs into development-ready work with clear outcomes and…
Purpose Create clear, concise user stories that combine Mike Cohn's user story format with Gherkin-style acceptance criteria. Use this to translate user needs into actionable development work that focuses on outcomes, ensures shared understanding between product and engineering, and provides testable success criteria. This is not a feature spec—it's a conversation starter that captures who benefits, what they're trying to do, why it matters, and how you'll know it works. Input Works best with: The feature or user need the story captures. Also useful: The user role, the outcome they want, and edge cases the acceptance criteria must cover. Anything supplied with the invocation itself — text after the skill name, a pasted context dump, or an appended ARGUMENTS: line — counts as answers already given. Use it and skip whatever it covers; don't re-ask. Arriving empty-handed? That works too. The skill asks who the user is and what they're trying to accomplish before drafting story and Gherkin criteria. Example invocation: Write user stories for password reset via SMS for our banking app — include the lockout edge case. Key Concepts
don't have the plugin yet? install it then click "run inline in claude" again.
restructured original guidance into implexa's 6-part format, added explicit decision points for common scenarios, clarified inputs and validation gates, documented output contract with markdown structure, added outcome signals and red flags for quality checks.
Create clear, testable user stories that combine Mike Cohn's "As a / I want / so that" format with Gherkin acceptance criteria. Use this when translating user needs into development-ready work that stakeholders and engineers can act on immediately. A user story captures who benefits, what they're trying to do, why it matters, and how you'll verify success. it's not a feature spec or contract, it's a structured conversation starter that forces focus on user value, not just features or tech tasks.
Before writing a story, gather and document:
optional helper: python3 scripts/user-story-template.py --persona "trial user" --action "log in with Google" --outcome "access the app without creating a new password" generates a consistent markdown stub (deterministic, no network access).
Validate context before writing
Write the use case (Mike Cohn format)
Write acceptance criteria (Gherkin format)
Write a summary title
Validate and refine with team
A completed user story in markdown format with these sections:
### User Story [ID]:
- **Summary:** [value-focused title, 1 sentence]
#### Use Case:
- **As a** [specific persona]
- **I want to** [user action]
- **so that** [desired outcome]
#### Acceptance Criteria:
- **Scenario:** [brief human-readable scenario]
- **Given:** [initial context/precondition]
- **and Given:** [additional preconditions, stack as needed]
- **When:** [triggering event, aligns with "I want to"]
- **Then:** [expected outcome, aligns with "so that"]
file location: typically in a backlog markdown file, wiki, or issue tracker (jira, github issues, linear, etc.).
data format: plain markdown, human-readable, no code or technical jargon in the story itself. acceptance criteria should be concrete and testable by qa.
quality gates: (a) one When and one Then per scenario (if multiple, story is too big); (b) "so that" is not a restatement; (c) persona is specific; (d) acceptance criteria outcome is measurable; (e) story fits on one screen or printed page (sign of right-sized scope).
you know the skill worked when:
red flags that the skill didn't work: