Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Implement?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jodi-sdd-implement)
---
name: implement
description: Implement a planned feature spec task by task, ticking each task only when its check passes. Use when a spec in specs/ is planned or in progress.
argument-hint: <spec ID> [task ID, e.g. T3]
---
# Implement
Arguments: the input the skill was started with (spec ID, then an optional task ID)
**Docs folder.** `docs/` in this skill means the project's docs folder: `docs_dir` in `specs/jsdd.yml`, or `docs` when it is not set. `jsdd paths` prints it and the path of every kit document (where your client runs the kit's session-start hook, its context names the folder too when it is not `docs/`). Read and write the kit's documents there, and give the folder to the helpers you start.
**Runtime mode.** Run `jsdd mode` first. The decision points below are marked with their gate, like (gate `plan.approve`). When you reach one, `jsdd gate <gate>` gives its policy. `ask`: a person decides, as the step says; in `manual` mode every gate asks. `auto`: pass it by the gate's rule in "Autopilot and autonomous rules" below, and record the decision as `auto: <gate>` with what passed it, never as a person's; when the rule cannot pass it, park. `park`: ask nobody and guess nothing. Run `jsdd park <ID> <gate> "<what a person must decide>"`, release your claims, run `jsdd status --write`, and stop (inside the auto skill (`/jsdd:auto`), go to its pull request step). In a mode other than `manual`, `autopilot`, and `autonomous`, stop and tell the user that this skill does not support it.
## Autopilot and autonomous rules
In `autopilot` and `autonomous` mode (see the auto skill, `/jsdd:auto`), these rules pass this skill's gates. Nobody is asked anything.
- **Plan approval** (gate `plan.approve`): passes when the spec folder has `checks.lock` and the changelog says the current plan (or its newest amendment) was approved by `auto: plan.approve`. Otherwise, approve it as the plan skill's (`/jsdd:plan`) autopilot rule does (reviewer rounds, then `jsdd freeze <ID>`), or park. The changelog line for `in-progress` is "Implementing (auto: plan.approve)."
- **Stuck** (gate `implement.stuck`):
- A check fails: fix the code, never the check or the assertions of the tests it runs. Up to `jsdd budget attempts_per_task` attempts (a change, then `jsdd done`). Still failing: release the task, park at `implement.stuck` with the failing output in one line.
- The plan is wrong: add a Deviation row starting `auto: implement.stuck:` with what changed and why, and change the design or tasks. A changed or new check needs the reviewer helper in `plan` mode (as the plan skill's step 4 starts it), told which tasks changed and why, to raise no blocking finding; then `jsdd freeze <ID> --accept <Tn>` for a changed check, or `jsdd freeze <ID>` for a new task. Otherwise park.
- A decision the plan lacks: decide it only when nothing in the spec, the constitution, or `docs/decisions.md` bears on it and a user of the product would not notice the difference (a name, an internal structure); record it as a Deviation starting `auto: implement.stuck:`. Anything else parks.
- Something only a person can do (credentials, an account, a paid service, a device): park.
- **Manual checks** (gate `task.manual_check`): park.
- **Spec changes** (gate `spec.change`): park, unless the gate is `auto` (autonomous mode, preset `hands-off`). Then release the task and send the question to the product helper, in a fresh context where available, else following its prompt in this session (prompt: `references/sdd-product.md` in the auto skill; in Claude Code, the `sdd-product` agent), as the verify skill's (`/jsdd:verify`) spec-change rule does; when it decides the spec changes, record it in the spec's changelog as `(auto: spec.change, sdd-product, <class>, AS-nn)`, set `status: draft`, and return to the auto skill (`/jsdd:auto`), which runs the specify skill (`/jsdd:specify`) step 3a and the plan skill (`/jsdd:plan`) in amend mode. An answer beyond the product class parks.
- **Commits** (gate `commit`): after each `jsdd done`, commit only that task's files with a message starting `[<ID>] T<n>`.
## 1. Gate
- Open the spec folder `specs/<ID>-*/`. If no ID was given, run `jsdd next` and ask which one.
- If the spec is a spike (`type: spike`), stop and follow the spike skill (`/jsdd:spike`) instead.
- If the spec is a baseline (`type: baseline`), stop: nothing is built. Suggest the verify skill (`/jsdd:verify <ID>`).
- The status must be `planned` or `in-progress`. If it is `draft` or `approved`, stop and suggest the plan skill (`/jsdd:plan <ID>`) (or the specify skill (`/jsdd:specify <ID>`) first, for a `draft` spec with a `verify-report.md` whose Decision is `approved`: its spec is being revised). If it is `blocked` with a `verify-report.md` whose Decision is `declined`, stop and suggest the plan skill (`/jsdd:plan <ID>`), which resumes it by planning the gaps.
- Running this command is the user's approval of the plan (gate `plan.approve`). If the status is `planned`, set it to `in-progress` and add a changelog line.
- Read `specs/constitution.md`, `spec.md`, `plan.md`, and `tasks.md`.
## 2. Work the tasks
Other sessions may be working on the same spec. Never pick a task by reading `tasks.md`; claim it, and work only on a task you hold.
1. Claim the task: `jsdd claim <ID> <Tn>` for a given task (refused while earlier tasks are unfinished; then use `jsdd claim <ID> next`), or else `jsdd claim <ID> next`, which prints the task it claimed (or the one this session already holds). If the claim fails, stop and report its message: who holds which task, or what the free tasks wait on.
2. Do exactly that task, following the plan. Test first where the task calls for it.
3. Run the build and the relevant tests so the tree stays green.
4. Run `jsdd done <ID> <Tn>`. It runs the task's check and, only when it passes, ticks the task and marks the claim done. Never tick a task by editing `tasks.md`. If the check fails, fix the work and run it again. For a `check: manual:` task, do the check (or ask the user to) (gate `task.manual_check`) and run `jsdd done <ID> <Tn> --manual "<who checked what>"`. If a task has no check at all, add one to the task in `tasks.md` (a `- check:` sub-bullet, or on its line for a one-line task) and a row to the plan's Deviations.
5. If the user has asked for commits (gate `commit`), commit with a message starting `[<ID>] T<n>`; otherwise suggest that message.
6. Continue from step 1 with `claim <ID> next`, unless a task ID was given.
Stop and ask the user (gate `implement.stuck`) when: a check fails and the fix is not obvious, the plan turns out wrong, a task needs a decision the plan does not cover, or something requires a human action. If you stop with the task unfinished, keep the claim only if this session will resume it; otherwise release it with `jsdd release <ID> <Tn>`.
When reality disagrees with the documents, update them before the code (Article 4):
- Plan wrong: add a row to the plan's Deviations, and change the design or tasks.
- Spec wrong (behavior, scope, or ACs change): stop, explain, and get the user's agreement before editing the spec and its changelog (gate `spec.change`).
- New work found: add a new task; never do untracked extra work.
## 3. Finish
- Make sure this session holds no claim it will not resume (`jsdd claims`). Run `jsdd status --write`.
- Report briefly: tasks done in this session, what is left, deviations recorded, and the next step: the implement skill (`/jsdd:implement <ID>`) again, or the verify skill (`/jsdd:verify <ID>`) once every task is ticked.