对话转规格说明
to-spec
将当前对话转化为规格说明并发布到项目的问题跟踪器:无需访谈,仅综合你们已经讨论过的内容。
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 24
- Forks
- 5
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 资源文件 6
- 参考文档agents/openai.yaml135 B
- 参考文档references/depth.md4.0 KB
- 参考文档references/evidence.md11.2 KB
- 参考文档references/intake.md3.5 KB
- 参考文档references/judgment.md8.5 KB
- 参考文档references/market-data-rules.md4.5 KB
03 SKILL.md 正文
This skill takes the current conversation context and codebase understanding and produces a spec. Do NOT interview the user; just synthesize what you already know.
The issue tracker and triage label vocabulary should have been provided to you. If not, tell the user to run /setup-matt-pocock-skills.
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 publish it to the project issue tracker. Apply the
ready-for-agenttriage label - no need for additional triage.
<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 LONG, numbered list of user stories. Each user story should be in the format of:
- 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>
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.
</spec-template>
04 同仓库更多 Skills
writing-review
Review a blog post or article draft and write numbered findings to a review file, then track the author's fixes across rounds. Use when the user asks to review, give feedback on, or suggest improvements to a blog post or article.
文章逐段塑形
writing-shape
写作,利用模式:将原始材料塑造成一篇文章,逐段推进。
写作素材片段挖掘
writing-fragments
写作,探索模式:挖掘原始素材片段,暂不建立结构。
智能体文档编写
writing-for-agents
为智能体撰写文档。在创建或编辑技能(skill),或修改 AGENTS.md 或 CLAUDE.md 时使用。
写作节奏编排
writing-beats
写作,利用(已有素材):将原始材料组装成由一系列节奏点串联而成的推进过程,在某个节奏点依赖某个术语之前,先为该术语做好铺垫。
交互式 Bash 操作向导生成
wizard
生成一个交互式 bash 向导,引导人工逐步完成只有他们自己才能执行的步骤。适用于配置基础设施、设置凭证或 CI 密钥、引导操作不熟悉的第三方仪表板,或执行一次性迁移或切换。请勿将其用于智能体自身即可执行的步骤。