From archcore
Automatically documents modules, components, or systems by routing to the right type (ADR, spec, doc, or guide) based on context. Use for comprehensive codebase element docs without choosing type.
npx claudepluginhub archcore-ai/plugin --plugin archcoreThis skill uses the workspace's default tool permissions.
Document a module, component, or topic. You describe what needs documenting — the system picks the right document type.
Generates and updates documentation for features, APIs, architecture, setup, operations, and decisions using 4 structured levels. Ideal for READMEs, ADRs, runbooks, and troubleshooting guides.
Generates or updates documentation for code, APIs, or systems including READMEs, API references, inline comments, technical guides, and ADRs.
Creates Architecture Decision Records (ADRs) and documentation for architectural decisions, API changes, features, and codebase context that future engineers need.
Share bugs, ideas, or general feedback.
Document a module, component, or topic. You describe what needs documenting — the system picks the right document type.
Not capture:
/archcore:decide/archcore:plan/archcore:standard/archcore:context/archcore:contextGiven $ARGUMENTS and conversation context, classify what the user needs:
| Signal | Route | Documents |
|---|---|---|
| User describes a decision already made | → adr | Single ADR |
| User describes a component contract or interface | → spec | Single spec |
| User describes reference material (registry, glossary, lookup) | → doc | Single doc |
| User describes how-to instructions or procedures | → guide | Single guide |
| User describes a module comprehensively ("document everything about X") | → adr + spec + guide | Multiple docs with relations |
| Ambiguous | → ask one question | "Is this primarily a decision, a technical contract, reference material, or instructions?" |
Default: if still unclear after one question, create an adr (the most common documentation need).
mcp__archcore__list_documents — scan for existing documents on this topic. Prevent duplicates.
Apply the routing table above. If $ARGUMENTS clearly signals a type, proceed. If ambiguous, use AskUserQuestion to ask: "Is this primarily a decision, a technical contract, reference material, or instructions?"
For each document determined by routing:
If ADR:
mcp__archcore__create_document(type="adr")If spec:
mcp__archcore__create_document(type="spec")If doc:
mcp__archcore__create_document(type="doc")If guide:
mcp__archcore__create_document(type="guide")After each document, call mcp__archcore__add_relation to link to existing related documents. If multiple documents were created, link them with related.
One or more documents created and linked. Report: which documents, their paths, relations added, and suggested next actions (e.g., "consider adding a rule to codify this decision").