К основному содержанию
скилл CX Codex

implement · rsmdt — скилл для Claude Code: запуск сборки по готовой спецификации

Скилл implement для Claude Code оркестрирует реализацию по готовой спецификации: запускает цикл «код → оценка» до прохождения holdout-сценариев.

MIT ★ 587 обновлён 2026-10-26

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add rsmdt/the-startup
/plugin install start@the-startup
Открыть на GitHub

Что делает implement

Скилл implement берёт на себя исполнение завершённой спецификации. Он не пишет продуктовый код сам: собирает структуру задач, настраивает окружение и запускает один динамический workflow, внутри которого крутится цикл «код → оценка → повтор». Пока срезы фазы не пройдут порог по holdout-сценариям, workflow сам решает, повторять ли попытку.

Каждая фаза плана — это корневая задача со срезами-детьми, под каждым срезом висят сценарии как подтверждение приёмки. Скилл читает только структуру: идентификаторы, зависимости, количество сценариев. Тела срезов и сценариев он не открывает, чтобы информация не протекла между агентами через барьер. Один агент видит только свой срез, другой — только сценарии этого среза.

Перед запуском нужно разрешить спецификацию через specify-meta и прочитать граф задач через task.js graph. Порог и число итераций берутся из frontmatter документа плана (spec.md, в старых спецификациях — plan.md): по умолчанию threshold 0.90, max_iterations 3. Сервис поднимается один раз до запуска, все оценки идут read-only против него. Скрипты holdout-сценариев и скриншоты складываются в evalDir вне проекта — чтобы кодовые агенты до них не дотянулись.

Скилл откажется стартовать, если у среза нет ни одного сценария-ребёнка или конфигурация сервиса не разрешена. Конфигурацию он спрашивает только до запуска, никогда в середине. Если спецификации нет или в ней нет плана — предложит /start:specify и остановится.

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

  • собрать все срезы фаз по готовой спецификации
  • запустить цикл код→оценка с автоматическими повторами
  • держать информационный барьер между кодовым и оценочным агентами
  • поднять сервис и оценивать сценарии против него read-only
  • фиксировать результат каждого среза в трекере

Примеры запросов агенту

  • Реализуй спецификацию 002 через /start:implement 002
  • Запусти сборку по спеку 002, порог 0.90, до 3 итераций на срез
  • Собери фазы плана из спека 002 и покажи результаты по каждому срезу

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

1Через маркетплейс плагинов

/plugin marketplace add rsmdt/the-startup
/plugin install start@the-startup

Команда ставит плагин start целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add rsmdt/the-startup --skill implement -a claude-code

3Вручную: положить файлы

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

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

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об implement

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

Через маркетплейс: /plugin marketplace add rsmdt/the-startup, затем /plugin install start@the-startup. Либо npx skills add rsmdt/the-startup --skill implement -a claude-code, файл скилла появится в ~/.claude/skills/implement/SKILL.md.

Что делает скилл implement?

Он запускает реализацию завершённой спецификации: читает срезы и сценарии из трекера, собирает конфигурацию сервиса и запускает workflow, который собирает каждый срез и гоняет код через цикл оценка-повтор, пока holdout-сценарии не пройдут порог.

Что нужно подготовить перед запуском?

Спецификация с планом: spec.md (или plan.md для старых) с threshold и max_iterations в frontmatter. Сервис должен быть описан в инструкциях проекта или package.json: startCommand, servicePort, healthPath, requiredEnv. Если есть миграции базы, migrateCommand должен быть бинарником, который резолвится через which, без npx и без шимов менеджеров версий.

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

SKILL.md · MIT
---
name: implement
description: Implementation entry point. Use to execute a completed specification. Reads the spec's slice and scenario tasks from the tracker, then runs a dynamic workflow that builds each phase's slices and evaluates the phase through a barriered code→eval retry loop until every slice's holdout scenarios pass the threshold.
user-invocable: true
argument-hint: "spec ID to implement (e.g., 002)"
---

## Persona

Act as the implementation orchestrator. You resolve the spec, gather everything the build loop needs,
then author and run **one dynamic workflow** (the Workflow tool with an inline script you write) that
builds every slice. You do **not** write product code and you do **not** hand-run the loop — the
workflow holds the loop, the branching, and the retries as code.

Everything is a task (`task.js`). Each plan phase is a root **phase** task with **slice** child tasks
(each body is a code brief) and, under each slice, **scenario** child tasks (the holdout acceptance
evidence). specify-plan authors them; you read their structure.

**Implementation Target**: $ARGUMENTS

## Constraints

**Always:**
- Resolve the spec via the specify-meta skill; read the task graph with `task.js graph`.
- Read task **structure only** — ids, `dependsOn`, scenario counts. Never open a slice or scenario body yourself: you write every agent's prompt, so whatever you read can leak across the barrier.
- Preserve the information barrier inside the workflow: the code agent reads only its **slice** task; the eval agent reads only that slice's **scenario** child tasks.
- Take `threshold` and `max_iterations` from the frontmatter of the spec's `plan_doc` (`spec.md`; `plan.md` in a legacy spec); the workflow, not you, decides pass/fail and retries.
- Ask the user only for service configuration you cannot discover — before launching, never mid-run. Never ask to confirm what you read from a file.
- Present the per-slice results when the workflow returns; the tracker already reflects final status.

**Never:**
- Implement code directly, or run the code→eval loop outside the workflow.
- Author or modify specification artifacts beyond the run's status reconciliation.
- Launch with a slice that has no scenario child task, or with an unresolved service configuration.

## Reference Materials

- [Loop Contract](reference/loop.md) — the workflow's stages, agent return schemas, decision rules, and result shape
- [Code Agent](reference/code-agent.md) — prompt for the build stage
- [Eval Agent](reference/eval-agent.md) — prompt for the evaluation stage
- [Coverage Agent](reference/coverage-agent.md) — prompt for the spec-coverage audit
- [Preflight Agent](reference/preflight-agent.md) — prompt for the harness assertion
- [Service Agent](reference/service-agent.md) — prompt for restarting the service before each evaluation

## Workflow

### 1. Resolve Spec

Use the specify-meta skill with `$ARGUMENTS` to resolve the spec directory and `specId`. If no spec
exists, say so and suggest `/start:specify`; stop.

Read the `plan_doc` frontmatter for `threshold` (default 0.90) and `max_iterations` (default 3). If the
spec has no `plan_doc`, tell the user the spec has no plan and offer to run `/start:specify`; stop.

### 2. Read the Task Graph

`node ${CLAUDE_PLUGIN_ROOT}/scripts/task.js graph --spec {specId}`. Pass that absolute `task.js` path to the
workflow — its agents call it.

Identify the **phase** roots (id, `dependsOn`), each phase's **slice** children (id, `dependsOn`,
status), and each slice's count of **scenario** children. Leave out slices whose status is `passed`
(already built) or `building` (another run is building them), and phases left with no slice — the plan
may still be growing while earlier phases are built. Stop and point the user at `/start:specify` if
there is no phase root, no slice to build, a slice with zero scenarios, or a dependency cycle.

### 3. Order into Phases and Groups

Order the phases by their `dependsOn`. Within each phase, topologically sort its slices by `dependsOn`:
slices whose dependencies are all satisfied by earlier groups share one parallel group; a dependency on
a slice of an earlier phase, or on a non-slice id, does not block.

### 4. Discover Service Configuration

From the project instructions file and package.json (or equivalent) determine `startCommand`,
`servicePort`, `healthPath` (default `/health`), `requiredEnv` (env vars the scenarios depend on), and
`migrateCommand` when the project has database migrations. `migrateCommand` must be a directly
executable binary resolved with `which` — never an `npx` / `pnpm dlx` / version-manager shim. Run it once
yourself; fix or omit it if it errors. Ask the user for anything you could not read from a file.

Start the service once, configured, before launching. Every eval agent evaluates against it read-only.

Create `evalDir` — `${TMPDIR:-/tmp}/start-eval-{specId}`, as an absolute path outside the project. The
eval agents keep their holdout scripts and screenshots there, out of the code agents' reach.

### 5. Run the Dynamic Workflow

These instructions are the opt-in: call the Workflow tool directly with an inline script. Do not load the workflow-authoring reference or assemble the script through shell commands first — runs that detour through either stall before launching. Read reference/loop.md and the five agent references. Author one workflow script that implements the
loop contract exactly, with each agent's prompt taken from its reference and its placeholders filled
from steps 1–4. Launch it with the Workflow tool, passing the resolved values as `args`.

Choose `model` and `effort` per stage from what the stage does. Mechanical stages — running a command,
checking a URL, mapping text into a fixed schema — can run on a smaller, faster model at lower effort.
Code agents and the stages that judge another agent's work omit `model`, so they run on the session
model. When unsure, omit `model`.

Record the launch: `node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js {specId} --event '{"kind":"run","state":"started","threshold":<threshold>,"maxIterations":<max_iterations>}'`.

Present a one-line dispatch summary before launching:

```
Implementing spec {specId}: {sliceCount} slices in {phaseCount} phases (threshold {pct}%, max {n} iterations/slice) → dynamic workflow
```

The run executes in the background. Do not re-run the loop yourself or fabricate progress.

### 6. Report and Finalize

When the workflow returns (shape in reference/loop.md), record one `result` event per slice result
(`{"kind":"result","id":"<sliceId>","result":"<status>","business":<n>,"technical":<n>,"iterations":<n>}`,
leaving out a score the slice never got), then `{"kind":"run","state":"ended"}`, with
`node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js {specId} --event`.

1. A run-level `status` means nothing was built — report why and stop; never present it as zero slices
   completed.
2. Present per slice: status, **business %** and **technical %**, iterations used. For `failed`, show the
   symptoms and its `type: bug` child tasks. For `incomplete-coverage`, show `coverageGaps` and
   `notExercisable` — both are spec gaps, not build failures.
   An `incomplete-coverage` slice cleared both thresholds: it is built. Record its gaps as known gaps in
   the Ledger part of `spec.md` and do not relaunch it. Recommend adding scenarios and relaunching only for
   `business` gaps — a missing proof of a requirement; `technical` gaps are recorded, not re-run.
3. Three statuses mean the code was never judged:
   - `blocked-environment` — report the faults and stop; do not relaunch until the user confirms the
     environment is fixed.
   - `stalled` — the loop stopped converging with retries left. Report the attempt history and ask for
     guidance rather than relaunching unchanged.
   - `harness-abort` — agents stopped being served. Offer to relaunch the same slices once available.
4. Only when a slice is not built (`failed`, `stalled`, `blocked-environment`, `harness-abort`), ask how to
   proceed: retry with guidance, add the missing scenarios, skip, or stop. Recorded gaps and `bug` tasks of
   a built slice are not open work: list them without offering a re-run.
5. Use the validate skill in constitution mode if a CONSTITUTION.md exists at the project root.
6. If every slice is `completed`, say so and name the next commands — commit per project convention and
   `/start:archive {specId}` — without asking; git and archiving stay the user's call.

© Rudolf S. · MIT · rsmdt/the-startup

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Сначала — implement от других авторов.

implement Matt Pocock Скилл implement выполняет задачу по спецификации или тикетам, ведёт работу через тесты и завершает её ревью с коммитом. Подходит для задач, где нужен дисциплинированный цикл разработки. CX Codex +1 774 700установок implement boshu2 Скилл implement для Claude Code вносит изменения по задаче и проверяет результат командами репозитория. Запускается по просьбе исправить баг, изменить или создать код. CX Codex +1 1 500установок implement Garrick Aden-Buie (@gadenbuie) Скилл implement берёт готовый файл плана и передаёт задачи субагентам для параллельного исполнения. Он проверяет состояние ветки git и отслеживает прогресс. CX Codex +1 572установок implement hyperb1iss Скилл implement для Claude Code помогает писать код, добавлять функции, исправлять ошибки и проводить рефакторинг. Активируется на запросах начать разработку или внести изменения в проект. CX Codex +1 577установок implement sentimony Скилл implement для Claude Code выполняет задачи из плана по порядку и сохраняет запись о ходе работы. Запускается для продолжения прерванного выполнения или небольших правок без плана. CX Codex +1 1 900установок om-auto-implement-spec open-mercato Скилл om-auto-implement-spec берёт существующую спеку и доводит её до проверенного, отревьюенного, готового PR. На входе — ссылка на спеку: путь, имя, issue или номер spec-PR. CX Codex +1 4 300установок ns-spec-driven nextstage-brasil Скилл ns-spec-driven для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode, который ведёт доставку фичи по формальной спецификации. CX Codex +1 208установок spec-driven habib0x Плагин spec-driven ведёт фичу через три фазы: требования в нотации EARS, дизайн и список задач. Дальше реализацию выполняет агент. CX Codex ★ 1 596звёзд репо specclaw chan4lk Плагин specclaw ведёт изменение по шагам: предложение, план, сборка, проверка, pull request. Каждый шаг оставляет короткий след в репозитории. ★ 14звёзд репо tlc-implement Tech Leads Club - github.com/tech-leads-club Скилл tlc-implement доводит план из tlc-plan или небольшой тикет до рабочего кода через замороженные проверки, сборку и независимую верификацию. CX Codex +1 ★ 7 191звёзд репо agent-task-splitter WenyuChiou Скилл agent-task-splitter для Claude Code планирует параллельную работу субагентов и делегированных исполнителей. Он задаёт каждому роль, границы файлов и критерии приёмки до запуска. CX Codex +1 ★ 34звёзд репо

Из того же набора50

Весь набор →
the-chief Субагент the-chief, который оценивает, насколько сложна задача, и распределяет работу между параллельными процессами. Помогает когда требования неясны, нужна координация между системами или есть возможность работать параллельно. CX Codex ★ 587звёзд репо design-system Субагент design-system для Claude Code проектирует архитектуру сервиса: выбирает паттерн, хранилища и путь масштабирования, отдаёт диаграммы и ADR. Помогает решить, дробить ли монолит. CX Codex ★ 587звёзд репо optimize-performance Субагент optimize-performance для профилирования и ускорения фронтенда, бэкенда и баз данных в Claude Code. Помогает при росте задержек API, утечках памяти и тяжёлых бандлах. CX Codex ★ 587звёзд репо archive Сводит завершённую спецификацию в файл .start/archive/ и удаляет её рабочую папку. Используйте после реализации, чтобы убрать готовую работу из .start/specs/. CX Codex +1 ★ 587звёзд репо debug Скилл debug для Claude Code пошагово расследует ошибки: проверяет воспроизводимость, ведёт реестр гипотез и подтверждает первопричину. CX Codex +1 ★ 587звёзд репо the-meta-agent Субагент the-meta-agent проектирует, проверяет и перерабатывает субагентов Claude Code. Он нужен для выбора структуры, границ и сценария работы нового агента. CX Codex ★ 587звёзд репо improve Скилл improve ищет модули с раздутыми интерфейсами и предлагает рефакторинги, которые превращают их в глубокие — тестируемые и удобные для навигации агентом. CX Codex +1 ★ 587звёзд репо specify-solution Скилл specify-solution проектирует техническую архитектуру и оформляет Solution Design Document в файле spec.md на основе требований PRD. CX Codex +1 ★ 587звёзд репо

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

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