to-spec
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- to-spec
- description
- Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
- disable-model-invocation
- true
02 资源文件 1
- 许可证LICENSE1.0 KB
03 SKILL.md 正文
This skill takes the current conversation context and codebase understanding and produces a spec. Synthesize the spec from what has already been discussed rather than interviewing the user; the only question to raise is confirming new or changed seams (step 2).
Read docs/agents/issue-tracker.md for paths, statuses and publication rules, and
docs/agents/language.md for spec language and translation timing. If the tracker
configuration is missing, ask the user to run /setup-matt-pocock-skills.
Process
-
Reuse the confirmed conversation and codebase context. Read affected interfaces and relevant glossary or ADR entries to resolve remaining factual gaps.
-
Map each required behavior and boundary to an observable public seam. Prefer existing seams at the highest useful boundary; use as many as needed for coverage without duplicating tests.
Reuse already-approved seams. Confirm only new or materially changed seams with the user before proceeding.
- Build
traceability.mdwith{type × field × boundary} → {expected behavior → acceptance criterion}for applicable combinations. Derive the spec from it using the template below, then save both through the configured tracker. Every matrix row must reach an acceptance criterion. Follow configured statuses; saving the spec does not authorize tickets or implementation.
<spec-template>
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 numbered list of distinct user stories covering the agreed requirements. Each user story uses:
- As an <actor>, I want a <feature>, so that <benefit>
<user-story-example>
- As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending </user-story-example>
Cover each agreed behavior without padding or invented features. Put boundary detail in acceptance criteria and traceability rather than repeating stories to increase length.
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.
</spec-template>
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.
to-tickets
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).
to-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.