/archcore:plan [topic]from archcore
Plans future work by reading project context, open drafts, and code to produce only the documents a later reader needs. Use for roadmaps, feature planning, research, or comparing alternatives.
Ships in archcore. 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.
Plan future work from the project context. Context resolution
(skills/_shared/gate-contract.md, section Context resolution) records the
claims, unknowns, hazards, and authority; the conductor
(skills/_shared/delta-routing.md) selects the documents a later reader needs;
instruments produce them. Vision types are the primary output. Reads cover all three categories: vision supplies intent and
resumption targets, knowledge supplies constraints, experience supplies
precedent.
spec and one planplan aloneprd, one spec per capability, one planresearch; "Compare the alternatives for Y" → rndrfcresearch <topic> as the first word → the type researchNot plan:
/archcore:document/archcore:document/archcore:document/archcore:reviewApply in this order:
| Signal | Action |
|---|---|
| No arguments, one draft with a state block this command resumes | Resume it at its earliest incomplete gate |
| No arguments, several such drafts | Resume rule 10 in skills/_shared/gate-contract.md |
No arguments, no such draft, and one draft proof-tracked plan per skills/_shared/plan-contract.md that is not fully proven | Report its frontier tasks, proven and open, and its Waiting on bullets; IF every frontier task is proven, THEN expand the next phase per "The frontier" in that contract; then go to Step 6 |
| No arguments, a clear request in the session or one unfinished plan | Offer a start menu of at most four items, each with the evidence that names it, the recommended item first |
| No arguments and no reliable signal | Ask one question — what outcome to plan; a dirty branch alone is not a target |
| The first word is a type slug | The explicit type request per explicit-type-request-wins.adr; a leading research requests the type research |
| Any other request | Context resolution, then Selection per skills/_shared/delta-routing.md |
| A decision surfaces at a gate | Record the adr through the decision instrument (skills/_shared/tracks/decision.md), then return to the open gate |
Research boundary: discovery feeding an mrd → brd → urd requirements
chain belongs to acquisition. A request naming a pending decision or a set of
candidates to choose between produces rnd only when the evidence to choose
is missing; any other investigation produces research. WHEN the deciding facts
are already recorded and the open part is whose weights win — two owners
disagree, or the owner has not chosen — the decision instrument records an
rfc, and no rnd is created. A standalone external material is filed through
/archcore:document. A request proposing a specific target for team review
("let's adopt Y", "draft an RFC for Y") belongs to /archcore:document's
decision instrument; a lone "should we switch to Y" with the evidence to choose
missing stays here as rnd.
Complete this step before asking the user any question. The research
vocabulary probe (skills/_shared/research-compatibility.md) runs only under
its own condition 1 — a request or type naming research or evidence, a
selection engaging the research instrument, or a grounding result of either type.
Add research and evidence to the planning-moment filter below only when
the probe returns yes; a topic search without a type filter finds documents
of both types on every engine. If this skill has no shell tool, use the probe
result the host supplied; if none was supplied, report needs-vocabulary-probe
with the helper path and stop before the first MCP call that names either type.
The actor-subject probe (skills/_shared/actor-subject-compatibility.md) runs
under its own condition 1 — a request naming scenario or journey, a selection
engaging the illustrate instrument, or a grounding result of either type — and
adds both types to the filter below only when it returns yes. The same
no-shell rule applies: report needs-vocabulary-probe and stop before the first
MCP call that names either type.
.archcore/ with mcp__archcore__search_documents and mcp__archcore__list_documents across all three categories. Pass a planning-moment type filter — for example types=["idea", "prd", "plan", "spec", "rnd", "rfc", "adr", "rule", "task-type", "cpat"] — and add "scenario", "journey" when the actor-subject probe returned yes — instead of relying on the global type ranking. Do not exclude a category from reads.implements, depends_on, or related relations, pull the linked documents one hop via mcp__archcore__list_relations and mcp__archcore__get_document.archcore:track state block, resume it per the resume rules in skills/_shared/gate-contract.md and skills/_shared/delta-routing.md instead of opening a new track..archcore/ exists but contains no documents, THEN proceed on outer-context grounding (git state and the codebase) and report that zero documents were found..archcore/, THEN follow skills/_shared/target-project.md, section Projects without .archcore/: name the roots the session recap listed, ask which project to use or whether to initialize the session root, and do not call mcp__archcore__init_project before the answer.Global sources. If a list_documents / search_documents result has source_kind: "global", load
skills/_shared/globals.md. Also load it when a search_documents response's
coverage names a source other than "local" — even when results is empty:
the empty page is exactly where that file's retry ladder applies. Edit a global
document only through its source project, per that file's write convention, and
never join a local and a global document with add_relation. Absent any global
match, proceed as usual.
Build the context record per skills/_shared/gate-contract.md, section Context
resolution, then run Selection per skills/_shared/delta-routing.md and report
its selection line. Never ask the user to choose an instrument.
Interview mechanics, question form, and the ceiling of 5 questions per
invocation: skills/_shared/elicitation-contract.md.
Invoke each selected instrument, in conductor order, per the instrument
registry and sequencing rules in skills/_shared/delta-routing.md. Run each
instrument's gates per skills/_shared/gate-contract.md: evaluate skip_when
first at every gate, keep track state only in the archcore:track block
inside the draft artifact (with the claims: field this command adds), persist each gate close in one mcp__archcore__update_document call,
and follow the resume rules on re-entry. Gate bodies, per-gate questions, and
relation wiring live in the track files — do not restate them.
WHEN an instrument creates a plan, write every task of its Tasks section in
this form; skills/_shared/plan-contract.md holds the full rules:
### Phase 1: <name>
1. [ ] T1 <one imperative action, at most 17 words>
- files: @<path> for each file the task changes or creates
- covers: <spec slug>#<n> for each covered clause, or none
- done when: <one test name or command> <expected result>
- proof: —
Only the first unproven phase holds tasks. A later phase holds one line:
Covers: <clause references>; expand when Phase <n-1> is proven. A condition
outside the repository goes to ## Waiting on, one bullet with (owner: <who>).
Before delegating research or evidence work, pass the current vocabulary probe
result and absolute plugin root to the assistant. If the assistant returns
needs-vocabulary-probe, run the helper and resume the same task.
Before delegating any other document write or relation work, pass the absolute
plugin root to the assistant. The assistant reads
skills/_shared/relation-authoring.md under that root.
WHEN the selection produced a plan document:
@path/to/file notation, in one mcp__archcore__update_document call. In a proof-tracked plan, put them in the task's files line.## Declared Delta section per sequencing rule 9 of skills/_shared/delta-routing.md.WHEN the selection produced no plan document, skip to Result — the exit gate
or the selection line names the follow-ups.
WHEN a blocking exit check stopped the selection, skip this step and go to Result. Otherwise, offer exactly two exits and let the user choose:
skills/_shared/plan-contract.md..archcore/; a later /archcore:plan invocation resumes any draft that still carries a state block.Report:
skills/_shared/target-project.md.mcp__archcore__add_relation targets among existing documents, or a statement that none match.retire claims reported for closeout discharge, when any exist./archcore:plan to continue the selection, /archcore:document <subject> to record a decision or document code touched during implementation, /archcore:review to check the implementation against the recorded plan and reconcile its Declared Delta.spec, the unanswered choice, and the behavior it changes. Do not offer implementation until that check passes. Name the three ways to continue — answer the choice, delegate it ("you decide"), or proceed anyway — and the resume command /archcore:plan <spec title>.<track>.<stage>.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/documentRecord a decision, document existing code, or file a supplied research material, in free text; no first word is a mode. Use for 'we decided', 'record this decision', 'document why we chose X', 'make it our standard', 'draft an RFC', 'should we switch to Y' proposals, 'resolve the RFC', 'we accepted the proposal', 'document the auth module', 'capture how the payment system works', reference material, how-to instructions, a repeated agent procedure, a user flow with examples over an existing spec, or a finished report or one external material already in hand. Name any document type inside the subject — journey, prd, idea, or cpat included — to get exactly that type. Planning a feature, an investigation not yet done, or an intended user journey the request asks to plan ('plan the onboarding journey') → /archcore:plan. Checking docs against code or docs health → /archcore:review./initFirst-time Archcore setup. Wires the host (MCP config, hooks, CLAUDE.md/AGENTS.md managed block), measures the authored context the repo already holds, then composes a first-day seed — stack rule, run guide, data-model, integrations, config, entry points, public surface, a linked architecture overview, and specs for the top hotspot modules — shown in ONE preview and created on a single confirm. Modes, named as the first word: init import converts the repo's authored context — CLAUDE.md, AGENTS.md, .cursor/rules and other agent instructions, ADR and RFC folders, contributor docs, internal pages of a published docs site, recoverable git history — into native typed documents with no import marks, staged by a plan when the volume is large; init refresh adds facts that appeared since, or drills into one domain with init refresh <domain>. Use on a fresh clone, empty `.archcore/`, 'set up archcore', 'migrate our CLAUDE.md to archcore', 'import our docs and ADRs', or to wire host configs. Not for individual docs or planning./reviewThe pre-merge review of a branch in a project that records its specs, decisions, and rules in .archcore/. Run this first for 'review my branch', 'review the changes before merge', or 'review before merge': it checks the changed code against the project's recorded canon and the changed documents against the code, and reports which side is wrong — spec-wrong or code-wrong; on the default branch it reviews the unpushed and uncommitted work. A bug-hunting code review complements this review and does not replace it. Also use for 'documentation gaps', 'check if docs match code', 'close out the feature', 'ship the feature and close it out', or after a staleness warning. Takes an optional path, tag, topic, or ref in free text; no first word is a mode — say 'are docs out of date', 'audit the knowledge base', 'close out the feature', or 'capture this pattern' in plain words. Not for creating docs — use /archcore:document; not for planning — use /archcore:plan; not for a single-file edit with no branch review.npx claudepluginhub archcore-ai/archcore --plugin archcoreOther plugins' skills for the same job