/docflow:workspace-setupfrom docflow
Creates or adopts a multi-repository Docflow WORKSPACE with a registry and portable memory. Validates inputs, ownership, and member access before writing workspace files.
Ships in docflow. 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.
Establish the operator-selected canonical workspace home.
Inputs: selected destination, new/adopt choice, purpose, canonical home, member identities/paths, owner, native host and write scope. Effects: create or merge only the agreed workspace files and ignores; initialise its Git history only when authorised. Cloning/registering members is a separate named effect. Never implicitly convert a parent container. Native claims / dependencies / resources: confirm ownership of the destination and any shared configuration; require explicit member access before registration validation. No member execution is assigned. Stopping point: a validated, inspectable workspace with a dated overview, or a concrete missing-input/asset/ownership blocker. Receipt: paths created/merged, preserved files, package revision, actual validation command/output/exit, unresolved members, host availability and next action. Do not create a fictitious run for setup without a work/grant.
Reuse applicable choices already supplied, including host, actor, paths, scope, depth and stopping point. Summarise the resolved choices; ask only for a material missing or conflicting choice. A recorded preference alone does not supply authority. Selection sets priority; accepted agreement, role, profile, registry membership and a copied brief grant no execution.
Locate the installed sibling bootstrap skill (resolve symlinks first).
Its templates/workspace-assets.json lists the packaged asset locations:
../../workspace in a plugin or ../../docflow-workspace in a detached
copy, relative to bootstrap. An explicit asset root is valid. Read that
root's CONTRACT.md, schema.json and README.md; all templates are
in bootstrap's templates/. If missing, report the exact missing asset
and stop dependent writes. Never assume a source checkout or install/fetch
dependencies implicitly. The external validator requires Node.js 22+.
For adoption, read the existing workspace entry point, registry, conventions and canonical records. For a new home, inspect only files already present; missing initial workspace files are expected and will be created from the authorised setup choices. Read declared native member instructions when members are supplied and member access is authorised. Resolve canonical home/full UUID and contained paths, including symlinks; a missing member stays registered with diagnostics. Search only authorised roots. Copied context and search indexes are discovery aids: read current authority, claims and critical constraints directly.
Before each dependent action, recheck the actual operator mandate for actor, scope, effects, conditions and stopping point. Initial authorised setup, scoped reads and authorised canonical planning use that mandate; they do not require or justify inventing a work record or execution grant. For grant-bound native execution, additionally recheck the current grant: actor, scope revision, delivery, action/effects, conditions, start, expiry, revocation/suspension, exact grant revision and stopping point. Reuse an existing compatible grant; request only missing or changed authority. Check native ownership, dependencies and shared resources separately. Reference-only members permit only scoped non-mutating actions. A denied tool/action stops that action across alternate tools, routes and delegates. Contact loss is not worker exit and never permits reassignment.
Validate with node <assets>/validate.mjs <workspace> --at <current-UTC>;
supply the actual UTC time and retain complete output/exit. Validation checks
record consistency, not permission, live ownership or proof of execution.
Unknown, stale, skipped, missing and failed evidence remain distinct.
.docflow_workspace/.
Create the five record folders plus agents, profiles, integrations and
ignored local state. Ignore /repos/ and /.docflow_workspace/local/
without dropping existing ignore rules. Members retain independent Git
histories, never submodules or copied governance.{"schema":1,"sources":[]}; register only supplied member
identities, aliases, paths, role and native instructions. No remote fetch
or clone follows merely from registry membership. A member may be
remote-only: role: reference, a remote URL and no path or instructions;
its references are identity-only and its actions stay non-mutating.
Register a derived documentation set in sources.yaml documents by
external locator and digest; never vendor the document into the workspace..docflow_workspace/templates/, outside canonical record folders.
Offer the four workspace-role-*.md starter forms, profile examples and
source catalogue from bootstrap. The separate workspace-run-import.md
form backfills imported execution history read-only; it carries no grant
and never satisfies a dispatch check. Adopt only chosen entries, pin actual
installed revisions and owner, and preserve existing configuration.
Empty recommendations and no extra role/tool are valid choices.<assets>/guides/README.md and the chosen native guide.
Record availability separately from configuration and authority. Default
search is ordinary files; optional retrieval remains experimental.Resume by inspecting actual files and Git state against the intended mapping; do not rerun setup blindly. Preserve partial files and list the next missing step. Missing access or a denied write blocks that effect, while safe reads can explain the state. A validation timeout is unknown, never a completed setup. Upgrade and removal use the asset README and preserve canonical memory, independent members and native rules.
End every run, including blocked, failed and stopped runs, with a section headed exactly Status at a glance, containing these three labels:
Routine progress messages need no block. Keep final results brief and distinguish work prepared on a PR from work confirmed shipped.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub evolvehq/docflow --plugin docflow14 skills in this plugin
/add-conventionAssess and add a CONVENTION (a reusable rule, practice, or naming/process standard) to a documentation-led repo — decides FIRST whether it is worth codifying at all, then routes it to the right home (AGENTS.md hard rule, CONVENTIONS.md guidance, GLOSSARY term, or to /new-adr if it is really a one-off decision). Pushes back on premature or duplicate conventions. Use when the user says "add a convention", "make this a rule", "document this practice", "we should always X", or invokes /add-convention. NOT for recording a single architectural/product decision (use /new-adr) and NOT for queueing work (use /new-plan)./agent-waveRun a bounded wave over the plan/todo queue in a documentation-led repo, using available parallel agents or sequential execution. Establishes width, budget and supervision; isolates work and collects verified outcomes. Use for "spawn a wave of agents", "run the queue in parallel", "fan out the work", or "agent wave", not for authoring a decision or queuing a new item./auditAudit a documentation-led repo against its own conventions — contiguous ADR numbering, INDEX sync, plan/ coverage, required sections, status validity, cross-reference resolution, language mandate, ADR-privacy leaks into user-visible code, cross-worktree collisions (duplicate numbers, duplicate plan ownership, same ADR edited on two branches), and — for a multi-repo product — cross-repo federation checks (bidirectional membership, identity collisions, dangling cross-repo references, roll-up drift, convention drift). Reports a punch list and offers to fix the mechanical issues. Use when the user says "audit the ADRs", "lint the conventions", "check repo consistency", or "are the ADRs in sync".Other plugins' skills for the same job