/atk:implement [plan-path|ticket|description] [--layer <name>] [--tdd] [--no-review] [--out <path>]from atk
Writes production-ready code from a ticket, plan, or description by following project conventions, verifying with project commands, and calling team review. Use when the question is how to build, not what to build.
Ships in atk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
atk:implement)Writes the code, between two gates. The first decides whether this work may be written at all before somebody has agreed how: most work may, some work must not. The second is the team review, called by this skill on its own output rather than left for the reviewer to discover.
What the skill never does is decide. It builds what was agreed, and when it finds it is about to agree something on the team's behalf, it stops and says whose call it is.
Handles: reading the plan, ticket, or description, scoring how much agreement the work needs before
code, writing the change against the project's conventions and reference modules, verifying by
layer with the project's own commands, tidying what was written before anyone reviews it, calling
atk:review and fixing what it blocks on, and closing through the shared finalize sequence.
Does NOT handle: the review checklist, the severity scale, and the breadth of a review, all of
which belong to atk:review and are not restated here; sequencing work into phases and steps
(atk:plan); choosing between approaches (atk:design-doc); splitting work across people
(atk:breakdown); or approving and merging, which is a person's act and never this skill's.
Nor a defect. atk:fix starts from a symptom and may not change a line until the cause is proven.
This skill starts from a requirement, where there is nothing to prove and the question is only how
to build it. A bug report handed to this skill gets handed on.
Dev writes the change and owns it. Tech Lead approves the design when the large gate fires, and is
the person the review loop escalates to when it hits its ceiling. The reviewer is never the author,
so this skill calling atk:review on its own work does not replace a colleague reading it. QA
tests it afterwards against the criteria, not against this skill's word. See shared/team-roles.md.
/atk:implement <plan-path> # Work through an existing plan, one phase at a time
/atk:implement <ticket> # Start from a ticket in the detected tracker
/atk:implement "<description>" # Start from a description in the prompt
/atk:implement --layer api # Restrict the change to one layer when it is already known
/atk:implement --tdd # Write the failing test before the code, per step
/atk:implement --no-review # Skip the review call, and record that it was skipped
/atk:implement --out <path> # Write the implementation record to a file as well
.atk/profile.md is required, specifically its Layers, Commands, and Team sections. This skill runs
the project's own test, build, and lint commands, follows its layer layout, and needs a name to
escalate to when the review loop hits its ceiling, so those three are its inputs rather than a
convenience. Check the sections, not only the file: a Team section left at TBD fails this
precondition too, because an escalation with nobody's name on it reaches nobody.
With no profile, stop and use the sentence in shared/project-profile.md. A guessed test command
that exits zero is the worst outcome available here, because it reads as proof.
[1. Plan gate] -> [2. Write the code] -> [3. Verify by layer] -> [4. Tidy the change]
-> [5. Review and fix] -> [6. Finalize]
Before step 1, read .atk/overrides/implement.md when it exists, per rule 7 of shared/team-roles.md.
Then, before anything else, create this run's trace, <docs root>/derived/traces/implement/<run-id>.md:
read the kit's shared/run-trace.md and do what it says before the file, at each step, and at the close.
Before scoring anything, read the newest unfinished progress log of this skill for the same subject
and offer to resume it, per Progress log in shared/artifact-paths.md: a resumed run takes up the
level and the plan path the log recorded rather than scoring again.
references/plan-gate.md holds the input table, the three levels with the signals that put work in
each, and why the middle level carries on while the top one stops.
In short: a path to an existing plan runs straight through. Anything else is scored, and work that
is neither small nor large is medium. Small work goes directly to code. Medium work calls
atk:plan --inline, which takes the one confirmation, and continues from there. Large work, meaning
work that touches a schema, a public contract, a shared module, more than one service, or an
architectural choice nobody has made yet, stops and goes to atk:design-doc with no file changed.
Work handed in as an approved design document is the one exception: the decision the large gate would stop for has already been made and recorded, so that work is scored between small and medium and never bounces back to the skill that produced it.
At none of the three levels does this skill sequence the work inside itself. A plan written in the session and never written down leaves the reviewer nothing to read, and the reviewer is the point.
The run writes that progress log as it goes: the level the gate chose and the plan path once one
exists, labelled per Progress log in shared/artifact-paths.md, an entry per review round in step 5, and, for work with no plan, per step of work done. With a plan, each phase's status stays the record of the phases, and the log
adds only the review rounds. A large-gate stop ends it with no artifact: sent to design-doc.
Conventions come from the target project's conventions document, which is what atk:convention
writes and which Where the rules live in shared/review-checklist.md resolves; a project that keeps
a standards directory keeps them across that set. Where the project has none, use the baseline items
in that same file and say in the record that the baseline was used. Never invent a project rule mid-change: an unrecorded rule
applied here will be applied differently by the next person.
Shape comes from the reference module named for that layer in the Layers section of
.atk/profile.md. Read it before writing, and follow it. A change that is correct but shaped unlike
everything around it costs the reviewer more than it saved the author.
Where the Docs section says Contract: first, or the work builds a screen that has a screen
document, the contract comes from the reference documents the plan or design names, except a
screen document whose design is retired, which follows the code under either line, per shared/spec-docs.md, and the code is written to them. A change that
needs the contract to be different is a question for the document's approver, named in the record;
the document is not edited to fit the code, and the code does not quietly depart from the document.
Stay inside the agreed scope. Anything else noticed on the way gets listed in the record, not done: a tidy-up carried in alongside the change is what makes the change unrevertable on the day it has to be reverted.
Under --tdd, each step writes its test first and the test is seen failing before the code is
written. A test written after the code and never seen red proves that it passes, not that it checks.
A plan that prescribes it asks for the same thing, and gets it. Where an accepted plan's own steps say the test comes first, those steps are written test-first whether or not the flag was passed, and the record says the plan asked rather than the flag. The plan is what somebody agreed to; the flag is how a run without a plan asks for the same discipline. Half a change written one way and half the other is the outcome no source asked for.
shared/layer-verification.md gives what to run per layer and what each run actually proves.
references/verification.md adds the order to run things in, how far to reach, and what to do with a
check that was already red. Every command name comes from the Commands section of .atk/profile.md. A row's Repository column names where it runs from, per What the Repositories table holds in shared/project-profile.md; a project of one repository has one place to run everything.
Then walk the blast radius: everything that calls what changed. Run what covers it, and state plainly what could not be verified and why. An unverified area named in the record is a known gap; the same area left unmentioned is a claim that it was checked.
Last, the gate: which CI job judges each layer this change touched, and what that job runs, per The
gate, not only the command in shared/layer-verification.md. A local command weaker than the gate's
leaves the difference unverified, and it is named as such rather than covered by the word green. The
profile says what this project runs; only the project's CI says what will fail the pull request.
Once the verification is green, hand the change to the host's code clean-up capability, /simplify
in Claude Code, per shared/host-capabilities.md. That file holds the four rules: after
verification and not before, only the code this change touched, re-verify what the clean-up touched,
and revert rather than debug a clean-up that breaks a check.
It runs here rather than after the review because the reviewer should not spend a round on duplication the author could have removed, and rather than before the verification because a clean-up applied to code that does not work yet rewrites lines that are about to be rewritten.
The record says what it changed, or that it changed nothing, or that the harness has no such capability. A clean-up nobody can see in the record is indistinguishable from one that never ran.
Say what the review will cost before calling it, and move the reference document a contract change
owes before the call rather than at step 6, both per Calling the review in
shared/review-fix-loop.md.
shared/review-fix-loop.md holds the loop: call atk:review on the change, fix every
BLOCKING finding and every SHOULD FIX finding that is not genuinely separate work, in the
narrowest form that file names, re-run the verification from step 3, and repeat at most twice, a
resume included, per Progress log in shared/artifact-paths.md. What the second round fixed is
re-verified and gets The closing read of that file, and nothing is fixed after it.
NIT findings are never fixed here and never block, exactly as atk:review defines them. Disputing
a finding is not fixing it: a finding the author believes is wrong goes to the Tech Lead with the
reason. A disputed BLOCKING finding keeps its severity and stops the work until the answer comes;
a disputed SHOULD FIX does not, and the dispute goes into the record.
Still BLOCKING after the second round means stop. Escalate with the remaining findings, each with
its file and line, and the name of the person who has to look. A third round is where a design
problem starts being covered by patches.
A loop that comes out clean hands over to atk:verify, which runs the application and asserts the
side effect in real data rather than in the suite. That handoff is offered, not taken, and the record
says whether it ran.
--no-review skips the call. It does not skip the fact: the record says the change went out
unreviewed and names who must review it before merge. A skipped review that nobody can see in the
record is the same as a review that never happened and was never missed.
While a BLOCKING finding is disputed or escalated, only as far as the commit: tell the user the
work stops there, and who answers, per shared/review-fix-loop.md.
Hand off to atk:git for the branch, the commit, and every action past it, with the implementation
record as the pull request body. shared/finalize-steps.md is the contract that skill carries out,
and it opens with the reference documents the change owes. The consent line in that file is what
keeps a push, a pull request, or a ticket comment from happening on an assumed yes.
Its first step is the one this skill reaches most often: a change that altered an endpoint, a
response, an error code, a column, or an enum carries its reference document in the same commit,
and leaves it true, per
shared/spec-docs.md. Where step 5 moved it before the review, this step only checks that a review
round did not move the contract again. The record says which documents changed, or names
what is now stale and who will fix it.
The deliverable is the code. Alongside it, the skill produces an implementation record, in the
session by default, which becomes the body of the pull request per shared/finalize-steps.md.
--out writes it to a file as well, per shared/artifact-paths.md.
The record opens with After the last round, the section The closing read in
shared/review-fix-loop.md describes. Then it holds: what was built and against which acceptance
criteria; which plan gate level fired and why; the files changed by layer; which conventions source
was used, naming it as the project's own or as the baseline; what was verified with which command
and what each run proved; which CI gate judges each layer touched and whether the local run matched
it; what could not be verified and why; what the tidy step changed, or that it did not run and why;
the review findings, which were fixed and which were deliberately kept, and the form each fix to an
agent rule took with what shared/review-fix-loop.md asks such a fix to record; whether
atk:verify ran on the change, and if not, that nobody has yet seen it run; and anything noticed
but deliberately not done, which the finalize sequence offers as issues and marks with the result,
per step 5 of shared/finalize-steps.md.
Under --out the file opens with the front matter block in shared/artifact-paths.md, like every
other artifact the kit writes, with the author as owner and the reviewer as approver. In the
session and in the pull request body that block is dropped: the same facts are already carried by
the branch and the pull request itself.
Follow shared/ticket-adapters.md. The record is offered as the comment on the ticket, shown first
and posted on a yes, per the consent line in shared/finalize-steps.md. Do not move the ticket to
done: this skill is the author, and done is the approver's word.
atk:design-doc.atk:plan, and code began only after the
confirmation.atk:plan.pending, in the phase file and in the index
table alike..atk/profile.md, the gate's own excepted,
which came from the project's CI configuration and is recorded as having done so.shared/tidy-pass.md.atk:review was called, or --no-review was passed and the record says who must review.BLOCKING finding is fixed or escalated by name, and no NIT was fixed silently.BLOCKING finding was disputed or escalated.atk:verify ran, and a change nobody has run is named as one.shared/spec-docs.md.shared/finalize-steps.md requires.What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/breakdownBreak an epic or a design document into owned, sequenced tasks: one deliverable each, an owner, a dependency order, the parallel lanes that avoid two people editing the same file, and a definition of done per task. Use before a sprint starts, when work has to be shared across several developers, or when a piece of work needs owners and parallel lanes. Work that stays with one person is planned with `atk:plan` instead, however many days it takes. Triggers on: "break down", "breakdown", "split this epic", "task list", "WBS", "who does what", "assign tasks", "/atk:breakdown".
/catchupSummarise an epic or a pull request for someone not in the conversation that produced it: what the work is and for whom, why now, scope, what it touches and where in the code, who decides, unfamiliar terms, and where it is easy to go wrong. For an epic, also the understanding check the developer answers before coding. Use when a person joins work in flight, picks up an epic they did not write, or reviews a pull request in an unfamiliar area; what merged work now does is `atk:spec`. Also explains in plain words, finding by finding or section by section, a document a person was handed, a record the kit wrote or any other, such as a vendor's penetration test report; turning one into requirements is `atk:intake`. Triggers on: "catchup", "summarize issue", "summarize PR", "explain this document", "explain these findings simply", "/atk:catchup".
/conventionExtract, record, and enforce the coding conventions a team actually follows: branch and commit rules, naming, layering, error handling, test layout, review etiquette, and the tooling that enforces each rule. Also drafts the collaboration files the project lacks, `CONTRIBUTING.md`, the pull request template, and `CODEOWNERS`, writing only the ones the team picks. Use when a team has no written convention, when the written one no longer matches the code, or when reviews keep repeating the same comment. Triggers on: "convention", "coding standard", "coding rule", "style guide", "branch strategy", "commit convention", "our team rules", "CONTRIBUTING.md", "CODEOWNERS", "contribution guide", "set up a pull request template", "standards per language", "coding standard for each technology", "/atk:convention".
/design-docWrite the technical design document a team reviews before coding, plus its ADR: current state, options with trade-offs, chosen approach, data and API changes, migration, rollback, risks, open questions, and who signs off. Use before code that touches a schema, a public contract, a shared module, or several services. `--spike` first investigates, time-boxed, a question the design cannot choose without; `--challenge` puts one agent per signing role on the draft; `--answer` records answers to its open questions. Triggers on: "design doc", "technical design", "tech design", "ADR", "architecture decision", "detail design", "how should we build this", "technical spike", "spike this", "pressure-test this design", "finish the draft design", "record the design answers", "/atk:design-doc".
/estimateEstimate how many points and how many hours a task, a feature, or a screen takes: size each item with a stated basis, mark the confidence, and add the risk buffer as a visible line, so the numbers can be argued with in planning. Use for story points, hour or man-day estimates, and re-estimation after scope change. Triggers on: "estimate", "estimation", "story point", "man-day", "how long will this take", "/atk:estimate".
/fixFix a defect the way a team reviewer will accept: capture the failure verbatim, prove the cause before changing a line, check that the current behaviour is not a decision somebody made on purpose, make the smallest change that removes the cause, verify it by layer, stop after three ruled-out hypotheses with a named person rather than guessing, call the team review on its own change and fix what it blocks on, and write the report that shows what was checked and what was not. Use for a bug report, a test or CI check that passed before and now fails for no clear reason, a broken endpoint or screen, or an investigation that has to end in an explanation rather than a guess; with --findings, to go through an atk:review's findings with their author, answer each, and fix the chosen ones on the pull request's branch. Triggers on: "fix bug", "debug", "bug", "this test started failing", "why is this test failing", "flaky test", "go through the review findings", "/atk:fix".
npx claudepluginhub lamngockhuong/aiteamkit --plugin atkOther plugins' skills for the same job