Implement Spec
Matt PocockCommunityCreated by Matt Pocock
- Skill
- Workflow
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The implement-spec skill provides a structured workflow for translating technical specifications and task tickets into functional code. It emphasizes a task-graph approach, utilizing concurrent subagents to handle exploration, implementation, and merging tasks. By managing worktrees and integration branches, it ensures that complex features are implemented systematically, reviewed, and finalized according to the project's issue tracking requirements.
What it does
- Analyzes technical specifications and associated task graphs.
- Orchestrates exploration subagents to gather necessary documentation or codebase insights.
- Manages concurrent implementer subagents for parallel ticket execution.
- Handles branch creation, merging, and integration branch maintenance.
- Automates code review cycles to ensure quality before final submission.
- Cleans up worktrees and finalizes ticket status in the issue tracker.
When to use it
- When you have a defined technical specification and a set of linked implementation tickets.
- When you need to manage complex, multi-step development tasks that require parallel execution.
- When you want to ensure a consistent implementation process across multiple sub-tasks.
- When you need to integrate code changes systematically into a main branch.
Advantages
- Maximizes development speed through concurrent subagent execution.
- Maintains a clean and organized repository state using worktrees.
- Ensures all blocking relationships in a task graph are respected.
- Provides a standardized process for code implementation and review.
Usage examples
- “Implement the spec for the new user authentication module.”
- The agent reads the spec and tickets, initializes an integration branch, and begins spawning concurrent subagents to implement the required authentication features.
- “Finish the remaining tickets for the API refactor.”
- The agent identifies the current frontier of the task graph, assigns implementer subagents to the remaining tickets, and merges the results into the integration branch.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/mattpocock/implement-spec/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip implement-spec.zip -d .agents/skills
Documentation by Matt Pocock
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.
Files
- ATTRIBUTION.mdAdded by AutoGineer869 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md2.8 KiB
- agents/openai.yaml168 B
agents/openai.yaml
interface: display_name: "Implement Spec" short_description: "Implement the result of /to-spec and /to-tickets in code." policy: allow_implicit_invocation: false
Requirements and compatibility
Written for: Claude Code
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Claude Code frontmatter
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Matt Pocock
- Publisher
- Matt Pocock (Community)
- Source
- mattpocock/skills · skills/engineering/implement-spec · commit 4ae2317
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Matt Pocock.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download implement-spec.zip