mattpocock/skills

implement-spec

把规格和带阻塞关系的工单作为任务图,在一个集成分支上并行实施。各工单使用独立worktree和新上下文Agent,完成后合入集成分支,再统一评审和解决工单。

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

implement-spec 是什么?

把规格和带阻塞关系的工单作为任务图,在一个集成分支上并行实施。各工单使用独立worktree和新上下文Agent,完成后合入集成分支,再统一评审和解决工单。

中文说明由本站依据来源整理;英文原文保留在页面下方。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 implement-spec,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 implement-spec

请在 Codex 的当前工作环境中安装并检查 implement-spec 这个 Skill。

项目身份:mattpocock/skills / implement-spec
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/implement-spec/SKILL.md
已定位的源文件:skills/engineering/implement-spec/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供/to-spec与/to-tickets产生的规格、工单依赖和项目工单系统;需要Git分支、worktree和多Agent环境。

会得到什么

  • 承载完整规格的集成分支、按依赖完成的工单,以及必要的草稿/待评审PR。

实际使用顺序

  1. 读规格与工单依赖,确定当前没有阻塞的可执行工单;必要时让探索Agent把调查写到仓库外共享目录。
  2. 创建集成分支,让每个实施Agent在各自worktree与分支按tdd开发,报告前同步集成分支最新内容。
  3. 通过合并Agent将完成工单合到集成分支,并启动新解锁的工单。若工单通过PR关闭,在第一次合并后才有条件创建草稿PR。
  4. 所有工单完成后做code-review,用新Agent修复问题,再按工单系统机制结案或把PR标为可评审,最后清理实施worktree。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:用implement-spec执行本项目已批准的中文搜索规格和相关工单。先画出依赖并检查Git状态,再为未阻塞工单分配独立worktree;只通过规格/工单/研究笔记路径传递上下文。不要关闭尚未完成的工单,回报集成分支和实际评审状态。
预期结果

预期得到依赖顺序明确的并行实施及集成结果,不把单个Agent完成等同整份规格完成;本例未运行。

使用前先看这些限制

使用条件与边界

  • 它依赖已有规格与工单,不会把自然语言愿望自动变成已确定任务图。
  • 合并、创建PR、工单结案和清理worktree均是实质写入,实施范围需在启动前明确。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/engineering/implement-spec/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Implement the result of /to-spec and /to-tickets in code.

查看源文件章节 / Source sections
  • 原文:Steps
原文:正文开头

You have been provided a spec. This spec should have tickets associated with it, describing how to implement the spec. The issue tracker should have been provided to you. If not, tell the user to run `/setup-matt-pocock-skills`. The goal is the entire spec implemented on a single **integration branch**, with every ticket resolved the way the issue tracker closes work. The tickets are not a list of steps. They are a **task graph** with blocking relationships between them. This means there is always a **frontier** of tickets which are ready to be grabbed. Start every subagent with a fresh context window. Communication to and from subagents should be sparse. Communicate primarily through **context pointers**: to the spec, tickets, research notes, and previous commits. Don't duplicate information already available via pointers. **Implementer subagents** should be run in the background where possible for maximum concurrency.

原文:Steps

1. Read the spec and tickets to understand the task graph. 2. (optional) Use an **exploration subagent** to conduct any exploration required by the tickets - relevant codebase files or external documentation. Ensure the exploration subagent can save files - it should save its markdown notes in a directory outside the repo, accessible by all future subagents. This lets **implementer subagents** focus on implementation rather than exploration. 3. Create the integration branch. If the issue tracker closes work through PRs, or the user asks for one, open a draft PR after the first merge in step 5 (a branch with no commits ahead of main can't open one), marked as closing the spec and tickets. 4. Use a fresh **implementer subagent** for each ticket, each in its own worktree on its own branch. Each implementer subagent: - confirms its worktree is based on the integration branch before starting, and resets onto it if not; - calls the Skill tool with `tdd` to build the ticket; - merges the integration branch tip into its own branch before reporting done 5. Once an **implementer subagent** completes, merge its work to the integration branch with a **merger subagent**. 6. If this changes the **frontier** of available tickets, kick off more **implementer subagents** to work on the new tickets. This allows for maximum concurrency. 7. Once all tickets are complete, call the Skill tool with `code-review` on the integration branch. Fix all issues raised by the code review in a single fresh **implementer subagent**. 8. If a draft PR exists, mark it ready for review. Otherwise, resolve each ticket the way the issue tracker closes work, and report the integration branch. 9. Clean up all **implementer subagent** worktrees.

文件 SHA256:1993a473cec40ac85d081c112cdffdc63ec3267c2e412055ad09e013a2f623d1

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

Implement the result of /to-spec and /to-tickets in code.

查看历史简介来源

历史收录数据

来源仓库mattpocock/skills
Skill源路径skills/engineering/implement-spec/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源