implement-spec
What it does
It takes a finished spec and its tickets and builds the whole feature on a single shared branch. It is for developers who already have a spec and tickets ready.
When to use it
- ✓When you have a spec with tickets and want the whole feature built.
- ✓When you want several related tasks worked on in the right order.
- ✓When you want every ticket closed once the feature is finished.
Skill link
https://github.com/mattpocock/skills/blob/main/skills/engineering/implement-spec/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Build the feature from our spec and its tickets, and work through them in the right order.”
5 new skills a week. 1 minute to read.
How it works
The agent reads the tickets as a map of what depends on what. It sends helper agents to work on the tasks that are ready, then combines the results on one integration branch.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
Read the spec and tickets to understand the task graph.
(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.
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.
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
tddto build the ticket; - merges the integration branch tip into its own branch before reporting done
Once an implementer subagent completes, merge its work to the integration branch with a merger subagent.
If this changes the frontier of available tickets, kick off more implementer subagents to work on the new tickets. This allows for maximum concurrency.
Once all tickets are complete, call the Skill tool with
code-reviewon the integration branch. Fix all issues raised by the code review in a single fresh implementer subagent.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.
Clean up all implementer subagent worktrees.
FAQ
What must exist before I use this skill?
A spec and a set of tickets that describe how to build it, along with a connected issue tracker.
Can several tickets progress at once?
Yes. Any ticket that is ready can be worked on, while tickets that are blocked wait their turn.
Where does the finished work end up?
On a single integration branch, with each ticket resolved the way your issue tracker closes work.
Details
Original description by the author
Implement the result of /to-spec and /to-tickets in code.
repo: mattpocock/skills
Popularity
- GitHub stars
- 310k
- Ranking position
- #103
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
ask-matt
310kLets your agent act as a guide to a set of coding skills, pointing you to the right one for your situation, from idea to shipped code.
code-review
310kChecks your changes against your repo's coding standards and the original spec, running both reviews side by side before you merge.
domain-modeling
310kBuilds a shared project glossary and records key design decisions, so your code uses the same words your team uses.
implement
310kBuilds a task from a spec or ticket, testing along the way, then reviews the result and commits it to your current branch.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.