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

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

Скилл для Claude Code и Codex реализует готовый план небольшими срезами через TDD. Включается по запросу написать код по спецификации или фразе «implement this».

MIT 1 000 установок ★ 10 обновлён 2026-10-16

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add pwguler/skills --skill implement -a claude-code
Открыть на GitHub

Что делает implement

Инструмент ведёт разработку строго от тестов короткими итерациями. Перед первой строчкой кода создаётся список задач: по пункту на критерий приёмки из docs/specs/<slug>.md либо на срез, плюс шаги верификации. Список не может быть короче трёх задач. На базовой ветке процесс предлагает создать новую ветку под задачу и запрашивает подтверждение.

Каждый срез изолирован. Сначала пишется падающий тест через публичный интерфейс, затем минимальный рабочий код, и только при зелёных тестах выполняется рефакторинг. Продакшен-код без предварительного падающего теста запрещён, кроме узлов привязки к платформе вроде точек входа плагинов. Для механических правок создаются вспомогательные скрипты.

Запросы без готового плана или со спецификациями, где остались нерешённые вопросы, отправляются на доработку в drill. Финальная проверка среза выполняется через скилл verify.

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

  • пошагово реализовать критерии приёмки из спецификации
  • написать минимальный рабочий код под падающий тест
  • изолировать изменения внутри одного функционального среза
  • проверить зависимости перед удалением публичных символов

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

  • Реализуй спецификацию docs/specs/auth.md по шагам
  • Сделай эту задачу через TDD небольшими срезами
  • Напиши код для этого плана

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

1Через Skills CLI (Vercel)

npx skills add pwguler/skills --skill implement -a claude-code

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

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

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

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

Вопросы об implement

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

Выполните команду npx skills add pwguler/skills --skill implement -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/implement/SKILL.md.

Что делает implement?

Переводит готовый план в код через короткие итерации TDD. Каждый шаг начинается с падающего теста на поведение интерфейса и заканчивается коммитом.

Что нужно для работы implement?

Требуется готовый план или спецификация без открытых вопросов в docs/specs/<slug>.md, а также скиллы drill и verify для подготовки и приёмки.

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

SKILL.md · MIT
---
name: implement
description: "Implement a settled plan test-first, one small slice at a time. Read this skill before you write code for a spec or a settled plan. Read it also when the plan is small. Use it when the user says \"implement this\" or \"build it\", or names a spec to implement."
---

Do the plan in thin slices, one slice at a time. A slice is the smallest change to observable behavior. When a spec exists at `docs/specs/<slug>.md`, its acceptance criteria are the plan. Work through them one criterion at a time. The diff must not change anything that a non-goal of the spec excludes. A spec that still has an `## Open decisions` section is a draft. Send it back to `drill`. A request with no spec and no settled plan goes to `drill` first. Its fast path gives the one-sentence plan.

1. Before the first test, create a task list. Add one item for each acceptance criterion when a spec exists. When no spec exists, add one item for each slice. Then add `verify`, and add `rubric` when the work is a UI, a public interface, a name, or a doc. Do not create a list of fewer than three items. Mark each item done when its work is committed. When you skip an item, mark it done and add `skip: <reason>` to its text. Never skip a criterion. Leave it open.
2. Pick the smallest unfinished slice, and do steps 3 to 7 on it in this session. When the user asked to give slices to workers, launch a subagent that runs the `implement` skill. It does steps 3 to 5 on one slice. Read its diff, then do steps 6 and 7 here.
3. Write the test that fails for the slice. Test through the interface, never against implementation details. If you cannot write a failing test, the interface under test is wrong. Fix the plan, not the test.
4. Write the minimum code that makes the test pass.
5. Refactor only while the tests pass. Use the style of the code around it.
6. Do the check in [blast-radius.md](references/blast-radius.md) before the gate when the diff deletes or renames a symbol that other code uses. Do it also when the diff changes a contract that another module, stored data, or an outside caller depends on.
7. Read the `verify` skill, and run its gate on the slice. Commit on its evidence record.
8. Go back to step 2 until no slice is left.

Rules:

- On the base branch, recommend a new branch before the first test, and ask the user. The base branch is where the remote HEAD points. Name the new branch with the spec slug, or with a short slug of the one-sentence plan. Work on the base branch only when the user says so. Never assume it. A session that is already on a feature branch stays there.
- Do one implementation at a time. Do not leave unfinished work for a new task on your own decision. Offer to finish and land it, to land it partly, or to keep it on its branch for later. Let the user pick. Only `land` ends the work.
- Write no production code before its failing test exists. The one exception is wiring whose only effect is inside a host that the tests cannot drive. Examples are a plugin entry point or a framework registration. Its proof is an end-to-end run through `verify`, never a regex or a string match over source code.
- Before the first slice that adds a module or an exported type, settle its shape with [shape first](references/shape-first.md). The sketch is one commit of `not implemented` stubs that have no behavior. So these stubs come before the failing tests that fill them.
- Before the first test of a slice, list the ways that the slice can fail. Test the likely ones and the costly ones: lost data, money, access, or a broken caller contract. Name the other ones in the commit message. Size the tests to the change. A one-line fix gets one regression test, not new test infrastructure.
- Inside a slice, run only the tests that exercise the slice, never the whole suite. The gate of the slice waits for step 7, and `verify` decides its size. Inside a phase that the spec declares, the gate follows [outcome-oriented execution](references/outcome-oriented-execution.md). A series of similar edits follows [sequence verifiable units](references/sequence-verifiable-units.md).
- Check each test with two imagined edits. When the behavior breaks, the test must fail. When only the internals change, the test must still pass. Read [test behavior, not implementation](references/test-behavior-not-implementation.md) when an assertion checks a mock, a call, or an error message. Read it also when an assertion does not plainly compare the subject's output with a literal value. A grep or a string check over source code proves nothing about behavior. A slice is not done until its tests failed on the behavior under test.
- Keep every diff to its slice. Each changed line belongs to the slice, or it removes dead code from a file that the slice changes.
- Before you add anything, ask four questions in this order. Does it need to exist? Does the standard library or the platform do it? Does a dependency that is already present do it? Can one line do it? Before you add a file, a layer, a dependency, or a parameter, read [laziness protocol](references/laziness-protocol.md) and [subtract before you add](references/subtract-before-you-add.md). Add a wrapper, a layer, or a piece of state only when it passes the test in [minimize reader load](references/minimize-reader-load.md). Ask the four questions about test code too. Extend the existing fake, fixture, or helper before you write a new one, as part of the slice.
- Build a tool for mechanical work, and let the tool do the work. Mechanical work is a series of edits, a migration, generated files, or an analysis of data. Read [build the lever](references/build-the-lever.md) before the first edit by hand.
- Define the data shape first when the logic of a slice holds state or branches on a shape. Do the same when the slice creates a type that later slices share. Read [model the domain](references/model-the-domain.md) and [foundational thinking](references/foundational-thinking.md) before you write that logic.
- Keep the code type-safe: use no cast or other way around the type checker. Read [type-system discipline](references/type-system-discipline.md) when you design a type or a signature.
- Validate data at the I/O boundaries, and trust it inside. Configuration is input. Validate it where the code builds it, and refuse a bad value there, not at its first use. Read [boundary discipline](references/boundary-discipline.md) when you write validation, error handling, an adapter, or configuration code. Use no silent fallback that hides a failure.
- Give every call across the network a timeout. Give an idempotency key to each write that a caller can retry. Read [make operations idempotent](references/make-operations-idempotent.md) for a command, startup step, scheduler, or loop that writes state and can run twice.
- When two operations access the same data, run them one at a time. Or claim the data before the `await`: mark it in progress. Then, after the `await`, check again every condition that you read before it. A second check alone lets a charge or a send run twice. Read [separate before serializing shared state](references/separate-before-serializing-shared-state.md) when two actors can write the same file, key, or data.
- Change the state of a component only through its own operations. Never give a caller a reference that lets the caller change the state. Never give a reference to state that can change while the caller holds it. Read [minimize reader load](references/minimize-reader-load.md) before you expose the state of a component.
- Delete what your change made unused. Read [migrate callers, then delete legacy APIs](references/migrate-callers-then-delete-legacy-apis.md) before you write a new API to replace one that still has callers. In the files that the slice changes, also delete dead code before you add to them. Dead code is functions, imports, and parameters that no caller uses, and branches that no caller reaches. It is also stale flags, and validators that repeat a check that a boundary already did. It is also comments that repeat the code or excuse a workaround. Keep dead code that a non-goal puts out of scope. Flag dead code in other files, but do not remove it.
- Write no comment that repeats the code or explains a workaround. Fix the workaround at its cause, or hold the constraint in a type, a lint rule, or a test. Keep a comment only for what the code cannot say. An example is behavior outside the control of the project: a browser quirk, a vendor bug, or a protocol requirement.
- A slice that builds UI takes its typography, color, and spacing from the `DESIGN.md` of the project, when one exists.
- Write the commit message of each slice as one line in the convention of the repository. Read the recent `git log` to find the convention. When there is none, use the imperative in lowercase. Name the criterion by what it says, never by its spec id. Give the reason, not only the change. Stage the specific files, never `git add .`.
- Send a bug or an unexpected failure in a slice to the `debug` skill. Do not hide symptoms with a patch.
- Never guess a decision for the user that you find in a slice. Stop, name it, and let the user answer. A decision is for the user when it changes an acceptance criterion, a non-goal, or a public interface. It is also for the user when it needs the authority of the user or cannot be undone. Settle every other decision that a run can answer by running it, as [never block on the human](references/never-block-on-the-human.md) says.
- Stop the loop after three failed attempts on the same slice. Report to the user the criterion, what you tried, and the last error.
- When the last slice is committed, read the `verify` skill and follow it. Do this before you say that the work is done. For a UI, a public interface, a name, or a doc, also read the `rubric` skill and follow it. The maker never judges its own taste.

© pwguler · MIT · pwguler/skills

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

Все скиллы по теме «Тесты и QA» →

Сначала — 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установок fix-tests NeoLabHQ Скилл fix-tests для Claude Code и других платформ восстанавливает упавшие тесты после рефакторинга и изменений бизнес-логики, запуская параллельных агентов для каждого проваленного файла. CX Codex +1 1 300установок skillshare-implement-feature runkids Скилл skillshare-implement-feature ведёт реализацию Go-фичи от спецификации до проверок по TDD. Подходит для новых CLI-команд, флагов и внутренних пакетов. CX Codex +1 ★ 3 269звёзд репо base alinaqi Скилл base задаёт правила чистого кода, лимиты на размер файлов и строгий TDD-процесс для ИИ-агентов. CX Codex +1 276установок tdd-orchestrator davila7 Скилл tdd-orchestrator для Claude Code координирует разработку через тестирование по циклу red-green-refactor. Организует работу тестовых агентов и проверяет написание тестов до кода реализации. CX Codex +1 51установок improvement tddworks Скилл improvement ведёт агента по шагам TDD, когда нужно улучшить уже существующую функциональность, а не писать новую. Пригодится при правках UX, производительности и кода. CX Codex +1 ★ 1 586звёзд репо tdd sentimony Скилл tdd для Claude Code ведёт изменения поведения через тесты: сначала проверяет красный тест, затем реализацию и рефакторинг. Используется при разработке фич, исправлении ошибок и рефакторинге. CX Codex +1 2 700установок

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

Весь набор →
debug Скилл debug для Claude Code и Cursor находит корень ошибки по шагам и проверяет тест до правок. CX Codex +1 1 000установок verify Скилл verify для Claude Code проверяет заявления о готовности по свежему выводу команд. Он включается перед коммитом или PR, после изменений и перед сообщением, что работа завершена или исправлена. CX Codex +1 1 000установок land Скилл land для Claude Code завершает ветку разработки через слияние, открытие пулл-реквеста, сохранение или удаление. Включается в работу после завершения реализации задачи. CX Codex +1 1 000установок drill Помогает разобрать план или дизайн до согласования решений. Запускается при запросе новой функции, спорном дизайне или просьбе «drill this». CX Codex +1 1 000установок rubric Скилл rubric для Claude Code ищет дефекты в изменениях и оценивает качество дизайна, интерфейса или текста. Для оценки вкуса он сначала задаёт критерии, затем передаёт работу независимому субагенту. CX Codex +1 980установок prototype Скилл prototype для Claude Code создаёт визуальные прототипы интерфейсов до начала основной разработки. Он включается по просьбе сделать макет или прототип, когда нужно выбрать внешний вид или сценарий. CX Codex +1 978установок tldr Скилл tldr для Claude Code и Codex формирует итоговый отчёт по задаче в виде результата без пересказа вызовов инструментов. Включается после сборок, тестов, релизов или по запросу о статусе. CX Codex +1 977установок recall Скилл recall для Claude Code собирает краткую сводку о ходе недавней работы по сессиям агента и истории проекта. Запускается перед началом или продолжением задачи, с указанной темой или без неё. CX Codex +1 922установок

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

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