Language
All agent-authored prose MUST follow ASD-STE100 Simplified Technical English. Apply it to questions, explanations, recommendations, issue text, reports, handoffs, and procedures.
- Use short, complete sentences and active voice.
- Use one term for one meaning.
- Put conditions before commands.
- Use imperative sentences for procedures.
- Keep code, identifiers, commands, quoted text, product names, and exact domain terms unchanged.
- Use the
iso-24495-1skill for the full rule set.
This skill takes the current conversation context and codebase understanding and produces a spec (you may know this document as a PRD). Use it for work that spans multiple sessions. Skip it for small work that /implement can complete in one session. Do NOT interview the user — just synthesize what you already know.
Before resolving workflow or domain artifacts, follow ALIGNMENT-ROOT.md.
The issue tracker and triage label vocabulary should have been provided to you — run /setup-matt-pocock-skills if not.
Publish through /reading-and-writing-tickets as an initiative create or update operation. “Spec” and “initiative” name the same record. For Local Markdown, the complete specification belongs in the resolved initiative's index.md, not a ticket or separate spec.md. The ticket skill owns paths, metadata, child membership, publication, and read-back validation. Preserve existing discussion and children. Legacy specification tickets require explicit migration approval.
Request the current initiative schema through the ticket skill. Produce its tracker-result/v1 result and deliver it with the agent-core result-delivery skill. Show human sessions a short outcome and the canonical initiative reference. Preserve required parent handoffs; do not paste raw JSON unless the selected machine output requires it. For Local Markdown, this is tracker-initiative/v1. For legacy input, request a read-only migration plan; publication approval alone does not authorize applying that plan.
Process
-
Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the spec, and respect any ADRs in the area you're touching.
-
Sketch out the seams at which you're going to test the feature. Existing seams should be preferred to new ones. Use the highest seam possible. If new seams are needed, propose them at the highest point you can. The fewer seams across the codebase, the better - the ideal number is one.
Check with the user that these seams match their expectations.
- Write the spec using the template below, then ask
/reading-and-writing-ticketsto publish an initiative with its stable ID, title, and complete specification. Use the existing initiative identity when supplied. Applyready-for-agentonly where the configured initiative mapping supports readiness metadata. Do not add ticketwork_statusor create an executable specification ticket. Return the initiative's canonical reference.
Problem Statement
The problem that the user is facing, from the user's perspective.
Solution
The solution to the problem, from the user's perspective.
User Stories
A LONG, numbered list of user stories. Each user story should be in the format of:
- As an , I want a , so that
This list of user stories should be extremely extensive and cover all aspects of the feature.
Implementation Decisions
A list of implementation decisions that were made. This can include:
- The modules that will be built/modified
- The interfaces of those modules that will be modified
- Technical clarifications from the developer
- Architectural decisions
- Schema changes
- API contracts
- Specific interactions
Do NOT include specific file paths or code snippets. They may end up being outdated very quickly.
Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts — not a working demo, just the important bits.
Testing Decisions
A list of testing decisions that were made. Include:
- A description of what makes a good test (only test external behavior, not implementation details)
- Which modules will be tested
- Prior art for the tests (i.e. similar types of tests in the codebase)
Out of Scope
A description of the things that are out of scope for this spec.
Further Notes
Any further notes about the feature.
Context resolution
Before reading or writing workflow or domain artifacts, use the agent-core:shared-context skill from the repository root. Use the root that the skill resolves as ALIGNMENT_ROOT. Use the repository root for source code and ordinary project files. Do not inspect the prompt or environment, or derive an alignment path by hand.
For a write under a shared ALIGNMENT_ROOT, use the agent-core:shared-context skill to resolve tracker, workflow, source, and ADR targets. Use that skill to update the source index only after a source directory changes and to apply the publishing procedure after the write.
Follow ALIGNMENT-ROOT.md for the complete rule.