/fw:docsfrom fw
Write or refresh Diataxis project docs. Use when setup, APIs, CLI flows, config, workflows, or behavior changed.
Ships in fw. 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.
Use the actual current date from runtime context when dating newly created documentation or updating dated docs.
$fw:docs is Flywheel's documentation stage. It turns repo truth into
clear project docs organized by Diataxis: tutorial, how-to, reference, and
explanation.
Use it directly when the user asks for docs work, or as an optional handoff
after $fw:work when implementation likely changed what users, operators,
or other developers need to read.
When directly invoked, always do the docs work. If the honest answer is "no docs change is needed," explain why from repo truth and stop instead of inventing filler docs.
Follow ../references/host-interaction-contract.md.
Call the exact host question tool named in
../references/host-interaction-contract.md when that tool is available. Do
not ask for raw 1/2/3 replies when the host already offers a choice surface.
When the workflow spans multiple material steps, use the host task-tracking
tool named in ../references/host-interaction-contract.md to create and
maintain a short task list.
Ask one question at a time. Prefer narrow choices when deciding between a change-scoped docs pass and a broader docs sweep. When the likely answer space is predictable, keep the choice labels recommended-first and rely on the host's native freeform final path when it exists.
When the stage is being offered from another workflow, get the user's approval
before writing docs. When the user invoked $fw:docs directly, proceed
unless a broad rewrite needs explicit scope confirmation.
Do not preload every support file. Load only what the current phase needs:
references/diataxis-map.md when classifying documentation work across
tutorial, how-to, reference, and explanation, or when deciding where a new
doc should live.<docs_input> #$ARGUMENTS </docs_input>
Interpret the input as one of:
When another Flywheel stage offers $fw:docs, it should ask first:
If the user agrees, pass a change-scoped argument instead of calling
$fw:docs blank when possible.
Good upstream arguments look like:
Document the new auth CLI flow before reviewUpdate docs for the webhook retry-policy config changeRefresh project docs after the checkout workflow rewriteIf the user declines, continue through the normal review and commit path and note that docs were consciously deferred.
If <docs_input> is blank:
docs/plans/ when it clearly matches the current branchIf the scope is obviously broader than the current branch and the user did not ask for that breadth explicitly, ask one focused question before writing:
Before writing anything, build a short ground-truth ledger for the docs work:
AGENTS.md when presentdocs/, README.md, CLI help text, config docs, runbooks, or
other user-facing documentationIf you cannot verify a command, option, config key, or behavior from repo truth, do not state it as fact. Either verify it or leave it out.
Read references/diataxis-map.md.
Then decide the minimum doc set needed:
For each planned doc update, capture:
Prefer the smallest honest set. A config-key rename often needs only reference. A new setup flow may need tutorial plus reference. An internal refactor with no reader-visible behavior may need no docs change at all.
Apply these rules while editing:
docs/tutorials/, docs/how-to/, docs/reference/, and
docs/explanation/Quality bar per doc type:
When the docs pass is complete:
$fw:review and then
$fw:commit$fw:spinIf no docs update was needed, say so plainly and cite the repo evidence behind that decision.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mopeyjellyfish/flywheel --plugin flywheel32 skills in this plugin
/architecture-strategyAssess repo-grounded architecture choices and improvements. Use for boundaries, service splits, dependency direction, or distributed posture./brainstormExplore requirements and approaches. Use for a fuzzy idea, open scope, or one direction that needs sharper behavior before planning./browser-testRun browser acceptance checks with playwright-cli. Use when browser-visible behavior needs fresh proof before review or commit.Other plugins' skills for the same job
/commitFinish a branch cleanly. Use to verify readiness, make logical commits, push, and create or refresh a PR with evidence.