/tandem:corefrom tandem
Core 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.
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.
You are working in a project that uses the Greenfield PM Operating Kit. These rules are mandatory whenever you touch anything under _00-Project-Management/.
This is the one place the lifecycle command order is recorded (ADR-0047). Every per-command Next: pointer in the lifecycle skills must agree with this chain; if a pointer ever disagrees, this record wins and the pointer is the bug.
The chain shares one planning prefix, then forks at execution-strategist into two honest paths. Follow exactly one path per unit of work — each step then runs exactly once:
Planning prefix: /tandem:draft-okrs → /tandem:draft-prd → /tandem:draft-epic → /tandem:split-into-features → /tandem:split-into-stories → /tandem:refine-backlog → /tandem:execution-strategist
/tandem:execution-strategist → /tandem:execute-story → /tandem:run-testplan → /tandem:close-out-story/tandem:execution-strategist → /tandem:start-phase → /tandem:execute-batch → /tandem:close-phase — execute-batch composes the per-story skills (execute-story → run-testplan → close-out-story) internally; never re-run them separately after a batch, and never run a batch without start-phase cutting the phase branch first.close-phase is terminal (no Next: pointer). Every skill not named in the chain is a non-chain utility (cadence / review / setup — e.g. weekly-monitor, monthly-retro, reflect, session-start, critique, peer-review, document, curate-toolkit, fill-claude-md, mode); the two fork paths above are the only lifecycle orders.
CLAUDE.md — pointers + critical gotchas_00-Project-Management/CLAUDE.md — folder semantics_00-Project-Management/90-Standards/SOP.md — full lifecycle, DoR, DoD, frontmatter contract, subagent policy (§18)_00-Project-Management/90-Standards/PROJECT-CONTEXT.md — this project's stack quirks_00-Project-Management/90-Standards/DAILY-WORKFLOW.md — rhythm + worked example_00-Project-Management/90-Standards/CLAUDE-CODE-CONFIG.md — how this plugin maps to Anthropic's Claude Code best practices_00-Project-Management/91-Templates/Every artefact has three timestamp fields:
created_at: '' # set on file create; ISO 8601 with offset, quoted string
started_at: '' # set when status → in-progress
completed_at: '' # set when status → done | wontfix | duplicate | archived
YYYY-MM-DDTHH:MM:SS±HH:MM. Always quoted.Get-Date -Format "yyyy-MM-ddTHH:mm:sszzz" or date -u +"%Y-%m-%dT%H:%M:%S%z"), not the chat-stated date.not-started) → clear started_at and completed_at to ''.not-started | ready | in-progress | in-review | done | blocked | wontfix | duplicate | archived
Never invent values. Never use open / shipped / completed / fixed / deferred / Planned.
The kit's skills and templates name PM sub-folders in the canonical "full" numbering: 30-Epics, 31-Features, 32-Stories, 33-Testplans, 34-Bugs, 40-Decisions, 42-Monitor, 11-Backlog, …
A project may instead use a "flattened" layout (e.g. 01-EPIC, 02-Features, 03-Stories, 05-Test, 04-Bug, 06-ADR, 00-Monitor) or a custom map.
The scripts resolve the real folder names automatically via _00-Project-Management/93-Scripts/lib/pm-paths.js, driven by .claude-pm-config.json ("layout": "full"|"flattened" and/or a per-key "paths" override). pm:install pins this; pm:doctor reports it.
INSTRUCTION TO CLAUDE: when a skill names a folder like 32-Stories, do not assume that literal path — resolve it to the project's actual folder first (read .claude-pm-config.json, or list _00-Project-Management/ and match by role: epics/features/stories/testplans/bugs/decisions/monitor/backlog). On a flattened project: 32-Stories→03-Stories, 33-Testplans→05-Test, 34-Bugs→04-Bug, 40-Decisions→06-ADR, 42-Monitor→00-Monitor.
When creating a STORY under 32-Stories/EPIC-NN/FEAT-NN.M/, create the paired TESTPLAN at 33-Testplans/EPIC-NN/FEAT-NN.M/TESTPLAN-NN.M.PP-<slug>.md in the same response.
Command: (no manual steps, no "have a human verify").91-Templates/STORY.template.md + 91-Templates/TESTPLAN.template.md.Whenever a TC fails or you observe any defect during exploration/code review, file a BUG at 34-Bugs/EPIC-NN/FEAT-NN.M/BUG-<YYYYMMDD-NN>-<slug>.md in the same response, before reporting in chat.
BUG-YYYYMMDD-NN where NN is the day's sequential counter within that FEAT folder.91-Templates/BUG.template.md.Before flipping a story not-started/ready → in-progress, verify the DoR checklist in SOP.md §6. If a DoR item is missing, stop, list the gap, ask.
Before flipping a story in-review → done, verify the DoD checklist in SOP.md §7. MONITOR.md update is part of the same response.
On any non-obvious decision (library choice, schema field name, threshold setting, scope deferral, divergence from defaults), create 40-Decisions/ADR-<NNNN>-<slug>.md in the same response. Number sequentially across the project. Link from the story's decisions: array.
Every new artefact starts from 91-Templates/<TYPE>.template.md. Do not redraft section headings from memory.
Before creating any EPIC / FEAT / STORY / BUG / BACKLOG artefact, apply 90-Standards/ARTEFACT-ECONOMY.md: choose the smallest level that carries the claim; fewest artefacts that carry the claims; one intake item per initiative (tranches, not siblings); every artefact carries a falsifiable claim; small debt rides the next story touching the same files. Kill-before-promote cadence: triage-backlog before refine-backlog. When unsure between two levels, pick the smaller.
One writing convention for every producer skill and every hat; not a new MANDATORY gate.
session-start ≤ 25 lines).Every EPIC must have okr: or prd_section: in frontmatter. Reject epics without strategic linkage — ask "What business outcome does this move?" before writing.
State which hat at session start: Founder · PM · Dev · QA. Don't mix hats in one session.
| Hat | Owns |
|---|---|
| Founder | Strategy, OKRs, epic approvals, sunset decisions |
| PM | Inbox → Backlog refinement, MONITOR updates |
| Dev | Code, tests, story status Ready → Active → Review |
| QA | Testplan execution, bug raising, DoD sign-off |
A project-global Mode (plan · dev · dual · neutral) groups and enforces the hats across separate chats. It persists in .tandem-mode.json (repo root, git-ignored) and is injected each message by the UserPromptSubmit hook for joined chats. Plan groups Founder/PM/QA-planning; Dev groups Dev/QA-execution. On an out-of-mode request, nudge (switch / go Dual / one-off) — never hard-block. Set it with /mode <plan|dev|dual|neutral>; it auto-resets to Neutral on close-out-story (last story in phase) and close-phase. Full rules: the mode skill.
When a story flips to done, update 42-Monitor/MONITOR.md in the same edit (tick the bar, update shipped count, prepend revision-history one-liner). The dash hook (Stop event) regenerates DASHBOARD.html at session end — you don't need to run npm run pm:dash manually if the plugin is active.
Bring it to the user. Do not invent rules. Do not silently bend.
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.