implement-spec

द्वारा mattpocock

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

npx skills add https://github.com/mattpocock/skills --skill implement-spec

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.

mattpocock की और Skills

ask-matt
mattpocock
पूछें कि आपकी स्थिति के लिए कौन सा कौशल या प्रवाह उपयुक्त है। इस रिपॉजिटरी में उपयोगकर्ता द्वारा आहूत कौशलों पर एक राउटर।
communicationresearchproductivity
chief-of-staff
mattpocock
Pursue a long-running goal in a single session by co-ordinating subagents.
productivityproject-managementcommunication
claude-handoff
mattpocock
वर्तमान वार्तालाप को एक नए बैकग्राउंड एजेंट को सौंप दें जो तुरंत काम संभाल लेता है।
codebase-design
mattpocock
गहन मॉड्यूल डिज़ाइन करने के लिए साझा शब्दावली। इसका उपयोग तब करें जब उपयोगकर्ता किसी मॉड्यूल के इंटरफ़ेस को डिज़ाइन या सुधारना चाहता हो, गहनता के अवसर खोजना चाहता हो, यह तय करना चाहता हो कि सीम कहाँ जाएगी, कोड को अधिक परीक्षण योग्य या AI-नेविगेबल बनाना चाहता हो, या जब किसी अन्य कौशल को गहन मॉड्यूल शब्दावली की आवश्यकता हो।
designdevelopmentcode-review
code-review
mattpocock
किसी निश्चित बिंदु (कमिट, ब्रांच, टैग, या मर्ज-बेस) के बाद से हुए बदलावों की समीक्षा करें, दो आयामों पर — मानक (क्या कोड इस रिपॉजिटरी के प्रलेखित कोडिंग मानकों का पालन करता है?) और विनिर्देश (क्या कोड उस मूल इश्यू/PRD में मांगे गए अनुरूप है?)। दोनों समीक्षाओं को समानांतर उप-एजेंटों में चलाएं और उन्हें साथ-साथ रिपोर्ट करें। उपयोग करें जब उपयोगकर्ता किसी ब्रांच, PR, कार्य-प्रगति परिवर्तनों की समीक्षा करना चाहता है, या "X के बाद से समीक्षा करें" पूछता है।
testingdevelopmentcode-review
design-an-interface
mattpocock
एक मॉड्यूल के लिए समानांतर उप-एजेंटों का उपयोग करके कई मौलिक रूप से भिन्न इंटरफ़ेस डिज़ाइन तैयार करें। इसका उपयोग तब करें जब उपयोगकर्ता कोई API डिज़ाइन करना चाहता हो, इंटरफ़ेस विकल्पों का अन्वेषण करना चाहता हो, मॉड्यूल आकारों की तुलना करना चाहता हो, या "इसे दो बार डिज़ाइन करें" का उल्लेख करता हो।
developmentdesignapi
diagnosing-bugs
mattpocock
हार्ड बग्स और प्रदर्शन प्रतिगमन के लिए निदान लूप। उपयोग करें जब उपयोगकर्ता "निदान करें"/"डीबग करें" कहे, या कुछ टूटा/फेंकता/विफल/धीमा होने की रिपोर्ट करे।
testingdevelopmentcode-review
domain-modeling
mattpocock
किसी प्रोजेक्ट के डोमेन मॉडल को बनाएं और तेज करें। इसका उपयोग तब करें जब उपयोगकर्ता डोमेन शब्दावली या एक सर्वव्यापी भाषा को स्थापित करना चाहता है, कोई आर्किटेक्चरल निर्णय रिकॉर्ड करना चाहता है, या जब किसी अन्य कौशल को डोमेन मॉडल बनाए रखने की आवश्यकता हो।
designdevelopmentdocument