Agent Skillsmattpocock/skills › implement-spec

implement-spec

GitHub

根据需求规范及任务图,协调多个子代理并行实现代码,处理合并、审查与修复,最终生成完整的 Pull Request。

skills/in-progress/implement-spec/SKILL.md mattpocock/skills

Trigger Scenarios

需要根据规格说明书编写完整功能代码 需要并行执行多个开发任务以加速实现 需要自动化创建和更新 Pull Request

Install

npx skills add mattpocock/skills --skill implement-spec -g -y
More Options

Non-standard path

npx skills add https://github.com/mattpocock/skills/tree/main/skills/in-progress/implement-spec -g -y

Use without installing

npx skills use mattpocock/skills@implement-spec

指定 Agent (Claude Code)

npx skills add mattpocock/skills --skill implement-spec -a claude-code -g -y

安装 repo 全部 skill

npx skills add mattpocock/skills --all -g -y

预览 repo 内 skill

npx skills add mattpocock/skills --list

SKILL.md

Frontmatter
{
    "name": "implement-spec",
    "description": "Implement a specification in code.",
    "disable-model-invocation": true
}

You have been provided a spec. This spec should have tickets associated with it, describing how to implement the spec.

The goal is a PR which implements the entire spec on a single branch.

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.

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. Read enough 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 a branch, and a draft PR. The PR should be marked as 'closing' the spec issue and tickets.

  4. Use implementer subagents to implement each ticket. Each implementer subagent should work in its own worktree, on its own branch.

  5. Once an implementer subagent completes, merge its work to the PR 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, run /code-review on the PR branch. Fix all issues raised by the code review in a single implementer subagent.

  8. Mark the PR as ready for review.

  9. Clean up all implementer subagent worktrees.

Version History

  • 6654f6b Current 2026-08-27 17:27

Same Skill Collection

skills/deprecated/design-an-interface/SKILL.md
skills/deprecated/qa/SKILL.md
skills/deprecated/request-refactor-plan/SKILL.md
skills/deprecated/ubiquitous-language/SKILL.md
skills/engineering/ask-matt/SKILL.md
skills/engineering/code-review/SKILL.md
skills/engineering/codebase-design/SKILL.md
skills/engineering/diagnosing-bugs/SKILL.md
skills/engineering/domain-modeling/SKILL.md
skills/engineering/implement/SKILL.md
skills/engineering/improve-codebase-architecture/SKILL.md
skills/engineering/prototype/SKILL.md
skills/engineering/research/SKILL.md
skills/engineering/resolving-merge-conflicts/SKILL.md
skills/engineering/setup-matt-pocock-skills/SKILL.md
skills/engineering/tdd/SKILL.md
skills/engineering/to-spec/SKILL.md
skills/engineering/to-tickets/SKILL.md
skills/engineering/triage/SKILL.md
skills/engineering/wayfinder/SKILL.md
skills/engineering/wizard/SKILL.md
skills/in-progress/batch-grill-me/SKILL.md
skills/in-progress/claude-handoff/SKILL.md
skills/in-progress/loop-me/SKILL.md
skills/in-progress/setup-ts-deep-modules/SKILL.md
skills/in-progress/to-questionnaire/SKILL.md
skills/in-progress/wizard/SKILL.md
skills/in-progress/writing-beats/SKILL.md
skills/in-progress/writing-fragments/SKILL.md
skills/in-progress/writing-shape/SKILL.md
skills/misc/git-guardrails-claude-code/SKILL.md
skills/misc/migrate-to-shoehorn/SKILL.md
skills/misc/scaffold-exercises/SKILL.md
skills/misc/setup-pre-commit/SKILL.md
skills/personal/edit-article/SKILL.md
skills/personal/obsidian-vault/SKILL.md
skills/productivity/grilling/SKILL.md
skills/productivity/handoff/SKILL.md
skills/productivity/teach/SKILL.md
skills/productivity/to-questionnaire/SKILL.md
skills/productivity/wait-what/SKILL.md
skills/productivity/writing-for-agents/SKILL.md
skills/productivity/writing-great-skills/SKILL.md
skills/in-progress/retro/SKILL.md
skills/engineering/grill-with-docs/SKILL.md
skills/productivity/grill-me/SKILL.md

Metadata

Files
0
Version
3cca18b
Hash
f703b5f4
Indexed
2026-08-27 17:27

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-13 23:20
浙ICP备14020137号-1 $Map of visitor$