AI Writing Skills
Your test suite is the single source of truth. But a product owner, a developer, and a QA lead all need different things from the same tests. AI writing skills let you control how your coding agent writes documentation — the audience, the tone, the level of detail.
Skills are directories containing a SKILL.md file. Your AI agent (Claude Code, Cursor, Copilot, or any tool that reads project-level skills) picks them up and follows them when writing executable stories.
How it works
Section titled “How it works”- Copy a skill directory from this repo’s
skills/directory into your agent’s project-level skills directory - Tell your agent to use the skill when writing stories — or it picks it up automatically
- The same test suite produces documentation tuned for your audience
No config. No build step. Just a SKILL.md file that shapes how your agent writes.
Example: three audiences, one scenario
Section titled “Example: three audiences, one scenario”The same “User logs in successfully” scenario, written for three different readers:
Product Owner
Section titled “Product Owner”Outcomes-focused. Business language. No implementation details.
Feature: User Authentication
Scenario: User logs in successfully A registered user can access their dashboard by entering valid credentials.
Outcome: User sees personalised dashboard Business rule: Session expires after 30 minutesDeveloper
Section titled “Developer”Technical and concise. Shows endpoints, payloads, and storage.
## User logs in successfully
Given a registered user exists in the databaseWhen POST /api/auth/login { email, password }Then response status is 200And body contains { token, expiresIn: 1800 }And session is stored in Redis with TTL 1800sQA / Compliance
Section titled “QA / Compliance”Structured and exhaustive. Preconditions, numbered steps, traceability.
TC-AUTH-001: User logs in successfully
Preconditions:- User account exists and is active- Account is not locked (< 5 failed attempts)
Steps:1. Submit valid credentials2. Verify 200 response with JWT token3. Verify session created with correct TTL4. Verify audit log entry created
Traceability: REQ-AUTH-001, SOC2-CC6.1Available skills
Section titled “Available skills”Executable Stories ships 10 specification skills you can use out of the box:
| Skill | Purpose | When to use |
|---|---|---|
spec-discovery-oopsi | Structure discovery with the OOPSI mapping technique | Collaborative 3 Amigos sessions to explore requirements and avoid analysis paralysis |
spec-example-mapping | Turn conversations into rules, examples, questions | Refining requirements with stakeholders |
spec-outside-in-behaviour | Discover behaviour from user goals (Dan North) | Designing from the outside in |
spec-refine-examples | Refine raw notes into precise specs (Gojko Adzic) | Cleaning up acceptance criteria |
spec-rules-decision-tables | Decision tables for policy/calculation rules | Complex business logic with many conditions |
spec-workflow-state | Workflows, state transitions, approvals | Multi-step processes with branching |
spec-living-documentation | Write specs as lasting documentation | Ensuring docs stay useful over time |
spec-convert-tests | Convert existing tests to business-facing specs | Migrating legacy test suites |
spec-review | Review scenarios for clarity and coverage | Before merging or after writing |
spec-evidence-review | Author changes as communication-with-evidence for the Evidence Review report | Reviewing AI-authored changes by behaviour + proof, not diff |
Each skill lives in the repository root skills/<skill-name>/SKILL.md and can be used as-is or as a starting point for your own.
Workflow receipts
Section titled “Workflow receipts”One skill closes the loop back to your tracker — without making it the source of truth:
| Skill | Purpose | When to use |
|---|---|---|
linear-evidence-review | Post idempotent evidence receipts to linked Linear issues via MCP | Stamping tickets with verified-behaviour receipts that point at the authoritative report |
Create your own
Section titled “Create your own”Write a SKILL.md file that tells your agent how to write for your audience:
# Skill: Write for regulatory auditors
When writing executable stories, follow these rules:
- Every scenario must have a unique test case ID (format: TC-AREA-NNN)- List all preconditions before steps- Number each verification step- Include a Traceability line mapping to requirement IDs- Use formal language — no contractions, no shorthand- Include boundary conditions as separate scenariosPut it in a skill directory such as skills/regulatory-auditor/SKILL.md, then install or copy that directory into your agent’s project-level skills directory.
You can combine multiple skills — one for audience, one for methodology. The agent reads the skill names and descriptions, then loads the relevant SKILL.md files when they match the task.
- Skills on GitHub — browse and copy the shipped skill directories
- Executable Stories homepage — see the full feature set