/atk:init [--audit] [--lang <code>] [--out <path>]from atk
Initializes atk in a project by detecting build, test, and lint commands, layer layout, tracker, and docs root from the repository, then writing the profile that other skills consume.
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:init)Writes .atk/profile.md, the file that tells every other skill how this project builds, where its
documents live, and who approves what. It is the first thing to run after installing the kit, and
the reason the other skills can stop guessing.
Most of the profile is already on disk. This skill reads it rather than asking, because a setup
interview that asks what package.json already says teaches the team that the kit does not read
their repository.
Handles: resolving the project root and whether the project is one repository or several; detecting
project facts from manifests, lock files, CI workflows, and the git remote;
confirming each detected value with the user; interviewing for the few facts no file holds; writing
.atk/profile.md; and re-checking an existing profile against the current repository.
Does NOT handle: onboarding a person, which is atk:onboard and runs once per joiner rather than
once per project; writing the team's coding conventions, which is atk:convention; or installing
anything.
Tech Lead owns the layer and command sections and approves the profile. PM owns the tracker and
team sections. The profile opens as DRAFT and stays there until the approver named in its front
matter accepts it. See shared/team-roles.md.
/atk:init # Detect, confirm, interview, and write or update .atk/profile.md
/atk:init --audit # Compare an existing profile against the repository, report only
/atk:init --lang vi # Write the profile in Vietnamese
/atk:init --out <path> # Override the default output path
[1. Detect] -> [2. Show what was found] -> [3. Ask what is left] -> [4. Write] -> [5. Hand off]
Before step 1, read .atk/overrides/init.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/init/<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.
Resolve the repository boundary first, per Repository shape in references/detection.md: which
directory is the project root, which of the four shapes the project has, and which repositories it
holds. Everything below is written from that root, so a run that assumes it records paths that
resolve to nothing.
Then read the repository before asking anything. references/detection.md gives the command per
ecosystem; the short version is package manifests and lock files for the package manager and the
scripts, workspace files for the layer layout, the CI workflow for what the project actually runs,
the git remote for the tracker, and the existing docs tree for the docs root. A repository too large
to read whole in the session is scanned by an agent, per Reading wide, through an agent in
shared/host-capabilities.md; without one, read inline and say so in the hand-off of step 5.
The CI workflow outranks the script block. A test script that nobody runs in CI is a worse answer
than the command CI runs on every pull request.
Detect nothing you cannot cite. Every value carries the file it came from, and that citation goes into the profile so the next person can check it.
Present the detected values as a list, grouped by profile section, each with its source file. Ask the user to correct anything wrong.
Never write a detected value straight to the profile. A script named test that opens a watch mode
will hang every later run of atk:verify, and the only moment that is cheap to catch is here.
Eight turns is the ceiling and four is the usual count. references/detection.md holds the budget:
four fixed turns for what no file records, and up to four more for ambiguities detection raised.
The team table is one question covering every role, never one question per role.
A question the repository can answer is a defect in step 1, not a question. If an answer is not
available now, or the budget runs out, write TBD plus the name of the person who owes it and move
on; --audit picks those up later. Never leave a field blank, and never invent a plausible value.
Four exceptions, each a field whose absence already has a meaning, per shared/project-profile.md:
the Run trace line, written only when the team turns traces off, since a missing line means on;
the Reading agent model and Review agent model lines, never asked and written only when a person
gives one, since a missing line means the harness's own choice; the App line, written only for a
project that builds an app on a device, never as TBD on a web project; and a Template cell,
written only for a kind the project has a template for, since an empty cell means the kit's template.
Say where the file is going before writing it. The file is committed, which is worth saying because
the team's instinct with a dot directory is to ignore it, and which repository commits it comes from
the shape step 1 resolved, per Projects that span several repositories in
shared/project-profile.md: the parent's root under parent + members, and no repository at all
under workspace, where the root belongs to none. A profile nothing tracks is still worth writing,
and a team told at the commit that nobody will inherit it has been told too late to decide anything
about it.
Then write .atk/profile.md from references/profile-template.md: seven sections, front matter with
an owner and an approver, status: DRAFT. Against a profile that already exists, the subsection after
step 5 says what changes instead. Keep every entry a pointer or a command. A section that grows past
five lines has usually started copying a document instead of linking to it.
Where the user says the repository will not take it, a client repository that accepts no tooling
files being the usual case, follow "When the repository will not take the file" in
shared/project-profile.md: the file stays on disk, the exclusion goes in .git/info/exclude
rather than in .gitignore, and what that costs the rest of the team is said out loud. Never
raise it unasked; a profile nobody inherits is the worse default.
Where the user says the repository would take it but the team is keeping it out of git for now,
trying the kit out being the usual case, the exclusion is the same and the persistence line is the
Not committed yet block, with who chose and until what. Writing the refusal block there states
something false about the repository.
Print which skills are now unblocked, reading the three-group table in shared/project-profile.md
rather than composing a list from memory. Then the sections still marked TBD with who owes each
one, and who must approve the profile before it stops being a draft.
Under a shape that names members, say which repositories this profile covers, and that a team
cloning one member alone finds no profile and gets the hard stop the Required group gives. Whoever
owns the parent decides what those teams do about it; the two answers are in the same section of
shared/project-profile.md.
Detection runs the same way. Before step 2, compare each detected value against the one the profile
records, and present the two groups separately: what still matches, and what has drifted. A drifted
entry shows both values and both sources, the same shape --audit reports.
A value that matches what the profile already records is confirmed by that agreement. Ask only about
drift, about fields still marked TBD, and about a fixed-turn field the profile lacks entirely. The
Run trace line is not such a field, per shared/project-profile.md; a team that wants traces back
on after turning them off says so, and the update removes the line. Nor are the two agent model
lines, which the update keeps as written and adds or removes only when a person asks. That
is what shrinks the interview: of the four fixed turns in references/detection.md, only the ones the
existing file leaves unanswered are still owed.
Update the file in place. Keep created:, move updated:, and keep the order of the sections so a
diff shows the change and nothing else. Where the rewrite changes what the profile promises, move
status back to IN REVIEW, per shared/artifact-paths.md; a run that only refreshes a source
comment leaves it alone.
--auditRe-run step 1 against an existing profile and report per section: matches, drifted, or missing. A
drifted entry shows both values and their sources. The audit itself changes nothing and does not
reorder the file. The output is a list the Tech Lead can act on, not a patch. A missing Run trace
line, and a missing Reading agent model or Review agent model line, is never reported missing,
per shared/project-profile.md. A Template path in the kinds table that no longer exists, or no
longer passes the check in that file, is reported as drifted, with the path and what failed in
place of a second value. So is one git does not track, since nobody reviews
it and each clone may read a different file: checked with
git -C <repository> ls-files --error-unmatch <path> in the repository that holds it, per the
Repositories table where the shape names members, with the path relative to that repository, the
member's own path taken off the front. A path no repository holds is reported as such. So is a
front-matter map line that file would refuse. A Version rule line for a kind whose row now names a
template, and whose directory holds no document or only documents in that template's shape, by the
test in shared/spec-docs.md, is reported as drifted, since atk:spec reads it only where the
shape came from no template; where the documents won over the template it matches.
Re-check how the profile is stored alongside the sections, in the same shape and ahead of them. The
persistence line of the profile header names which of the four forms in
references/profile-template.md this file was written in; git ls-files, git check-ignore and
the project shape say which is true today. This one leads the report because a profile that claims
to be inherited and is not hides every other line: the sections under it can all match and still
reach nobody.
Then the front matter. Where the approver: named there is not the person the Team section gives
the Tech Lead role, whom Roles above has approve the profile, say so as a note rather than as
drift, with the persistence line beside it: a profile nobody else inherits may be approved by the
one person who uses it, and whether that is acceptable is theirs to say, not the audit's. Where the
Team section names no Tech Lead, or names them TBD, the note says that instead.
When the user answers the drift in the same session and asks for the profile to be updated, say
that the run is moving from the audit to an update, then follow Re-running against an existing
profile from workflow step 2, as that subsection applies it, with the audit report as what was
found. The audit itself still changed nothing; the update is a run of its own, with the same rules
for created, updated and status, and step 5 runs after it as after any re-run.
With no profile to audit, say so and stop. Do not fall through into the writing flow: a flag that
promises to change nothing must not create a file. Point at /atk:init and let the user choose.
Under --out <path>, audit the profile at that path rather than the default one.
Written to .atk/profile.md in the target project, not under docs/, and not into the kit. See
shared/project-profile.md for what each section holds and shared/artifact-paths.md for why this
skill is one of the three exceptions to the docs-root rule.
Putting it where the team can see it is atk:git, which follows the artifact section of
shared/finalize-steps.md: the branch, the commit, and the judgement about whether this one belongs
in a pull request for its approver to read. Whether it is committed at all is the persistence group
it falls into, per shared/artifact-paths.md.
Follow shared/ticket-adapters.md. A profile with TBD sections can become one issue listing them
with their owners, when the user asks. Never post the profile itself to a tracker; it is a file in
the repository and the tracker holds a pointer.
status: DRAFT.TBD and names the person who owes the answer.created: survived, only drifted, TBD, and missing fixed-turn fields were asked about, and status
moved only because what the profile promises changed.--audit, no file but the run trace was modified before the user asked for an update, a move into an
update was said before it began, and how the profile is stored was reported ahead of the
sections.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
project-setup, atk, profile-generation, repository-detection
npx claudepluginhub lamngockhuong/aiteamkit --plugin atk25 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".
Other plugins' skills for the same job