К основному содержанию
скилл · Claude Code

implement-spec — скилл для Claude Code: что делает и как установить

Реализует готовую спецификацию по графу связанных тикетов в одной integration branch. Подходит для задач с зависимостями и параллельной работой субагентов.

  • Автор Matt Pocock
  • Лицензия MIT
  • GitHub ★ 302 251
  • Установок 283 700
  • Обновлён 2026-10-22
  • Исходник показан ниже
Открыть на GitHub ↗

Что делает implement-spec

Скилл берёт спецификацию и связанные тикеты, читает их как граф зависимостей и ведёт работу в одной integration branch. Для готовых задач он запускает implementer subagents в отдельных worktree и ветках, затем передаёт слияние merger subagent.

При необходимости exploration subagent изучает код или документацию и сохраняет заметки вне репозитория. Исполнители вызывают tdd, после завершения скилл запускает code-review и поручает исправления одному субагенту. Нужен настроенный issue tracker, иначе он предлагает запустить /setup-matt-pocock-skills.

Ставьте его, если спецификация уже разбита на тикеты с блокировками. Для одиночной правки этот процесс будет лишним.

Какие задачи решает

  • реализовать спецификацию по связанным тикетам
  • распределить готовые задачи между субагентами
  • сливать завершённые ветки в integration branch
  • запускать code review после закрытия тикетов
  • закрывать задачи через issue tracker

Как установить implement-spec

Команда из источника

/plugin marketplace add mattpocock/skills

Команда из источника

/plugin install mattpocock-skills@mattpocock

Команда из источника

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

Через Skills CLI (Vercel)

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

Вручную

~/.claude/skills/implement-spec/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/implement-spec/

Как пользоваться: примеры запросов

  • Реализуй эту спецификацию и все связанные тикеты.
  • Начни с тикетов, которые не заблокированы.
  • После завершения тикетов проверь integration branch через `code-review`.

Исходный текст

SKILL.md · MIT
---
name: implement-spec
description: "Implement the result of /to-spec and /to-tickets 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 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.

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 **implementer subagents** to implement 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 **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.

© Matt Pocock · MIT · mattpocock/skills

Вопросы о implement-spec

Как установить implement-spec в Claude Code?

В Claude Code выполните /plugin marketplace add mattpocock/skills, затем /plugin install mattpocock-skills@mattpocock.

Что делает implement-spec?

Скилл реализует спецификацию через связанные тикеты, учитывает их зависимости и собирает результат в integration branch. Для работ он использует implementer и merger subagents.

Нужен ли implement-spec issue tracker?

Да, скиллу нужен предоставленный issue tracker для работы с тикетами и их закрытия. Если он не настроен, скилл просит запустить /setup-matt-pocock-skills.

Похожие

setup-matt-pocock-skills Настраивает репозиторий для инженерных скиллов Matt Pocock: трекер задач, метки triage и правила доменной документации. Запускайте перед первым использованием набора. Claude Code ★ 302 251 ↓ 1 052 851 triage Скилл проводит issue и внешние PR через роли триажа, проверку и подготовку брифа для агента. Подойдёт мейнтейнеру, который разбирает очередь задач. Claude Code ★ 302 251 ↓ 990 453 code-review Проверяет изменения от выбранной точки по стандартам репозитория и требованиям задачи. Нужен для ревью ветки, PR или незавершённой работы. Claude Code ★ 302 251 ↓ 789 521 implement Выполняет задачу по спецификации или тикетам, ведёт работу через тесты и завершает её ревью с коммитом. Подходит для задач, где нужен дисциплинированный цикл разработки. Claude Code ★ 302 251 ↓ 774 700 git-guardrails-claude-code Скилл ставит хук Claude Code, который останавливает опасные Git-команды до их запуска. Нужен, если агент не должен делать push или удалять изменения. Claude Code ★ 302 251 ↓ 499 069 setup-pre-commit Скилл настраивает pre-commit для JavaScript-репозитория: Husky запускает форматирование, проверку типов и тесты перед коммитом. Claude Code ★ 302 251 ↓ 489 289

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой