to-spec 是什么?
把已经讨论清楚的需求与代码理解整理为开发规格,并发布到项目工单系统,标记ready-for-agent。它侧重综合已有信息,通常不重新采访需求,但会请你确认拟定的测试接口。
中文说明由本站依据来源整理;英文原文保留在页面下方。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
to-spec,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 to-spec
请在 Codex 的当前工作环境中安装并检查 to-spec 这个 Skill。
项目身份:mattpocock/skills / to-spec
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/to-spec/SKILL.md
已定位的源文件:skills/engineering/to-spec/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 to-spec
请在 Claude Code 的当前工作环境中安装并检查 to-spec 这个 Skill。
项目身份:mattpocock/skills / to-spec
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/to-spec/SKILL.md
已定位的源文件:skills/engineering/to-spec/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 to-spec
请在 Cursor Agent 的当前工作环境中安装并检查 to-spec 这个 Skill。
项目身份:mattpocock/skills / to-spec
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/to-spec/SKILL.md
已定位的源文件:skills/engineering/to-spec/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 to-spec
请在 当前 Agent 的当前工作环境中安装并检查 to-spec 这个 Skill。
项目身份:mattpocock/skills / to-spec
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/to-spec/SKILL.md
已定位的源文件:skills/engineering/to-spec/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- 已有足够的需求对话及仓库上下文;明确项目工单系统与分诊标签。缺少项目设置时来源要求先用setup-matt-pocock-skills。
会得到什么
- 承接已有讨论的规格工单及ready-for-agent标记;不是已经实现的代码。
实际使用顺序
- 先理解当前仓库,用术语表和ADR约束规格中的领域语言与决策。
- 优先复用现有的高层测试接口,并与你确认测试位置和覆盖预期。
- 按问题、方案、用户故事、实施决定、测试决定、范围外事项和补充说明写规格。实施决定通常不写易过时的文件路径和代码;只有原型中精确表达决定的片段可作为例外。
- 把确认的规格发布到已配置工单系统,使用ready-for-agent标签。若任务只授权草稿,应明确停在发布前。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
教学示例:请用to-spec把我们已经确定的Skills中文搜索需求整理成规格。沿用当前目录数据结构,先确认要测的公开搜索接口,再列问题、用户故事、实施与测试决定和范围外事项。这个任务只写本地草稿,不发工单;若缺已有决定请明确列出,不编造已讨论结论。预期得到承接当前对话的规格草稿,发布步骤按本例范围保留未执行;本例未运行。
使用条件与边界
- 文档合成不能弥补从未讨论过的关键需求;存在缺项时应公开。
- 默认源流程包含对外创建工单和打标签,调用时需明确是否执行发布。
常见问题
它和grilling有什么区别?
grilling通过提问形成决定;to-spec把已形成的理解写成可实施规格,不重新启动完整需求采访。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
skills/engineering/to-spec/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z
以下保留源文件的 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.
查看源文件章节 / Source sections
- 原文:Process
- 原文:Problem Statement
- 原文:Solution
- 原文:User Stories
- 原文:Implementation Decisions
- 原文:Testing Decisions
- 原文:Out of Scope
- 原文:Further Notes
原文:正文开头
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
1. 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. 2. 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. 3. Write the spec using the template below, then publish it to the project issue tracker. Apply the `ready-for-agent` triage 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: 1. As an <actor>, I want a <feature>, so that <benefit> <user-story-example> 1. 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.
文件 SHA256:43ad9cf318e5e7d3d1fa360253a37021796dc87a0c2e595ad262661a10f85088
仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。
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.
历史收录数据
| Skill标识 | to-spec |
|---|---|
| 来源仓库 | mattpocock/skills |
| 榜单快照 | 2026-07-28 |
| 榜单口径 | Skills.sh累计安装量 |
| 快照名次 | 175 |
| 快照累计安装量 | 156004 |
历史资料说明
- 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。
此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。
