/tandem:documentfrom tandem
Author the project's default markdown documentation set from accumulated PM knowledge. Use when the user asks to generate the project documentation set, write project documentation, or invokes /tandem:document. Reads PROJECT-CONTEXT.md, epics/features/stories, ADRs, and the codebase — then authors one markdown file per doc into the documentation/ folder. Authors markdown only; HTML rendering is a separate step.
Ships in tandem. 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.
None: SKILL.md is the whole skill.
Operate as Technical Writer hat. The user wants a coherent, shareable documentation set synthesised from what Tandem already knows about the project — no separate doc-writing pass required.
Author exactly these five markdown files, one per document, using these verbatim names as the output filenames:
| # | Document | Output file |
|---|---|---|
| 1 | Overview | documentation/overview.md |
| 2 | Getting started | documentation/getting-started.md |
| 3 | Architecture | documentation/architecture.md |
| 4 | Decisions (digest) | documentation/decisions.md |
| 5 | Features (& usage) | documentation/features.md |
All output files are written into the documentation/ folder at the project root, one .md per doc. Do not create subfolders inside documentation/ — flat layout.
documentation/ may hold documents this skill does not write. A project can hand-author a
guide, a convention page, a per-item reference — and several do. Never overwrite, rewrite or
delete a file that is not in the table above, and never treat "the folder has eleven files and
I author five" as a defect to correct.
That distinction has to reach the reader, not just this instruction, because the board renders this folder as the Project Wiki and prints a provenance line under every page. So each document records who writes it, in its own anchor block:
produced_by: /tandem:document — on the five in the table, written by this skill.produced_by: hand — on a document a person maintains.A page that claims the wrong producer is not a cosmetic error: it sends a reader whose document has flagged to a command that will not touch it, and that will reset five other pages on the way past. The board previously printed one producer over all eleven and did exactly that (BUG-20260818-09, ADR-0220).
Read the following in order, resolving paths against the project root. Treat a missing file as "not present" (note the gap in the relevant section) rather than throwing.
PROJECT-CONTEXT.md — canonical project identity: name, purpose, tech stack, audience, deployment. This drives the Overview and Getting started sections._00-Project-Management/30-Epics/EPIC-*.md) — strategic scope. Skim titles + ## In scope sections._00-Project-Management/31-Features/**/*.md) — feature-level capabilities. Drives the Features (& usage) doc._00-Project-Management/32-Stories/**/*.md) — implementation detail and done/not-done status. Informs accuracy of the Getting started and Features docs._00-Project-Management/40-Decisions/ADR-*.md) — architectural decisions. Drives the Decisions (digest) and Architecture docs. Read all; summarise the most consequential ones.documentation/overview.md)documentation/getting-started.md)documentation/architecture.md)documentation/decisions.md)| ADR | Title | Status | Date | Summary (one line) |._00-Project-Management/40-Decisions/ADR-*.md. If none exist yet, write a placeholder row.documentation/features.md)## section per major feature, sourced from the Features files.Every document ends with a source-anchor block: the machine-checkable list of things in the repo the document's claims rest on. Without it the board cannot check the document at all, and renders it as "unassessable" rather than as current — which is the honest answer, and a visible one.
Write it as the LAST thing in the file, verbatim in this shape:
<!-- tandem:anchors v1
generated_at: <ISO 8601 with offset, when this document's BODY was last authored>
produced_by: /tandem:document
body_sha: <run `node _00-Project-Management/93-Scripts/wiki-anchor-stamp.js` to fill this in>
file: <repo-relative path this document describes>
script: <npm script name, e.g. pm:dash>
view: <board view key, e.g. build:story>
command: </tandem:<skill>>
adr: ADR-NNNN
-->
Rules:
HTML comment, not frontmatter. The kit's markdown parser strips HTML comments, so the
block is invisible on the board and in pm:docs output. Frontmatter would change what every
other reader of these files expects.
One <kind>: <value> per line. Repeat a kind as many times as you need. The five kinds
are file, script, view, command, adr — any other key is reported as a malformed
anchor line rather than ignored.
Anchor what the document actually asserts, not everything it mentions. If a section says
"run npm run pm:lint before pushing", anchor script: pm:lint. If it names a file by path,
anchor that path. If a claim rests on a decision, anchor the ADR.
Never anchor something you have not verified exists. A dead anchor is a flag on the document, which is the point — but inventing one turns the signal into noise on day one.
generated_at is load-bearing, and it is a fact about the BODY — not about this run.
It is the day the document's prose was last authored. If you re-run over a document whose
text you did not change, carry its existing generated_at forward unchanged. Writing
now on an unchanged document moves it past every recorded event and silences every
staleness flag on it — do that across the set and one re-run mutes the whole project, with no
reason, no actor and no record. That really happened (ADR-0220), which is why the clock is
now derived by a script rather than typed:
node _00-Project-Management/93-Scripts/wiki-anchor-stamp.js documentation/<file>.md
It reads the file's history, sets generated_at to the last commit that actually changed the
body, records body_sha beside it, and refuses to advance a clock whose body has not
moved. Run it after authoring; do not hand-write body_sha.
produced_by is mandatory on anything this skill writes — /tandem:document, verbatim.
A document you did not write keeps whatever it already declares.
Aim for 3–10 anchors per document. One anchor is a document claiming almost nothing; thirty is a document claiming the whole repo, and every unrelated event will touch it.
.md files. Do not generate HTML, CSS, or any rendered output. HTML rendering is handled by a separate later step.[Architecture](architecture.md))..md in documentation/ that is not in the Default doc set table belongs to someone else. Read it if it helps you cross-link; never write to it.documentation/<filename>.md.
2b. Append the source-anchor block to each file before writing it — see "Source anchors"
above, including produced_by: /tandem:document. A document written without a block renders
as unassessable on the board's Project Wiki.
2c. Stamp the clock with the script, not by hand:
node _00-Project-Management/93-Scripts/wiki-anchor-stamp.js documentation/overview.md documentation/getting-started.md documentation/architecture.md documentation/decisions.md documentation/features.md
It sets generated_at from each file's real last body change and records body_sha. A
non-zero exit means it refused to write something — read the reason; do not edit around it.documentation/ folder does not exist, create it before writing.documentation/ this skill did NOT write, and left alone: list, or "none".documentation/*.md outside the five.STORY-04.4.02 shipped the HTML rendering as the pm:docs script (93-Scripts/generate-docs.js): after authoring, run npm run pm:docs to render the documentation/*.md files as a styled HTML site.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub data-ai-xyz/tandem --plugin tandem32 skills in this plugin
/autopilotDrive the whole plan end-to-end unattended by chaining start-phase, each chat's execute-batch (subagent-per-batch), and close-phase across one or more phases — with checkpoint/resume, fail-halt guardrails, model tiering, and a usage-governor seam; use when the operator invokes /tandem:autopilot or asks to run the plan autonomously, hands-free, or unattended./close-out-storyClose out a STORY through the Definition of Done gate. Use when the testplan is fully PASS, when the user asks to close a story, to finish a story, to mark a story done, or to run the DoD check. Runs the DoD checklist, flips status to done, updates MONITOR, regenerates the dashboard./close-phaseClose out a whole phase after an execution-strategist chat / execute-batch run finishes — gate on every phase story being done, compile a phase retrospective, capture follow-ups, update the board, then run a gated merge to main. Use when the user asks to close a phase, wrap up a phase, run a phase retro, or wants to wrap up and integrate a finished chat/phase whose stories are already done./coreCore PM Operating Kit rules — closed-set status enum, frontmatter timestamps, Story-Testplan pairing, DoR/DoD gates, hat protocol, ADR-on-the-spot, bug-auto-raise. Use when working anywhere under _00-Project-Management/, when creating or modifying any artefact (epic/feature/story/testplan/bug/ADR), or when uncertain about the project's PM conventions./critiqueAdvisory artefact quality review for planning artefacts (Epic, Feature, Story, Testplan). Use when the user asks to critique, review quality, check a planning artefact, audit a story or epic, or run a pre-refinement quality pass. Detects artefact type and runs the matching check set. Never rewrites the file./curate-toolkitRank installed AI tools (Skills, Agents, Commands, Plugins) by fit for this project and write relevance overlays under _00-Project-Management/97-AI-Reference/. Reads PROJECT-CONTEXT.md (project type / tech stack) plus the installed inventory and ranks each item HIGH / MED / LOW with a one-line rationale keyed to project type. Use when the user wants to rank or audit which installed tools are relevant vs. off-stack, or invokes /tandem:curate-toolkit.