Create and maintain a project's `/docs` folder following Dotfusion's documentation standards. Use this skill whenever a developer wants to set up project documentation, document a project, fill in or refresh `/docs`, record an architecture decision (ADR), or check whether the docs still match the code, even when phrased loosely ("the docs are stale", "document this project", "set up docs", "write a runbook", "we decided to switch to X"). It scaffolds `/docs` from the team's template-project repo, fills docs from the actual codebase, audits docs against the code for drift, and records ADRs. Prefer this over writing project docs from memory.
Ships in dotfusion-docs. 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.
/docs)Keep a project's /docs folder present, complete, and accurate, following Dotfusion's standards. The root README.md is owned by the project-readme skill. This skill owns everything under /docs. Never invent facts: derive what you can from the codebase, ask the developer for the rest, write in one pass, then hand off for verification.
Global standards live in Dotfusion/engineering-docs. Project docs describe the reality of this one project and reference the global docs instead of duplicating them. Document only project-specific detail and exceptions.
/docs structureThe canonical template is the docs/ folder of the Dotfusion/template-project repo. It contains:
overview.md: what the project does, its responsibilities, and boundariescontext.md: business/product context, source-doc links, key flows, business rulesarchitecture.md: structure, mermaid diagram, components, data flow, constraintsintegrations.md: external services/APIs and how they're configuredsetup.md: local setup and troubleshootingdeployment.md: hosting, deploy flow, env vars, rollback, checklistrunbooks.md: operational proceduresoverrides.md: differences from global standardsdecisions/: ADRs (architecture decision records)AGENTS.md: pointer to global standardsDetermine which of these the developer needs (often more than one):
/docs is missing or incomplete → create it from the template.When /docs (or a specific file) is missing, copy the canonical structure from the template repo rather than inventing it. Shallow-clone into a temp directory, copy only the files that don't already exist, and clean up:
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/Dotfusion/template-project "$tmp"
mkdir -p ./docs
rsync -a --ignore-existing "$tmp/docs/" ./docs/ # never overwrites existing docs
rm -rf "$tmp"
--ignore-existing means an established project only gets its missing pieces filled in; nothing already written is clobbered. (If template-project is private, the developer's existing git credentials handle authentication.) If rsync is unavailable, copy missing files individually instead of cp -R, which would overwrite.
Before filling or auditing anything, derive as much as possible from the code:
package.json, pyproject.toml, etc.) → stack, scripts, versions → overview.md, setup.md.env.sample (our convention; older repos may carry .env.template or .env.example) → required env vars → setup.md, deployment.md.github/workflows/, etc.) and deploy config (vercel.json, netlify.toml, Dockerfile, ...) → deployment.md, runbooks.mdarchitecture.md, the project-structure section of setup.mdintegrations.md/docs → reconcile: keep accurate parts, fix stale onesAnything visible in the code, you read: never ask about it.
Batch a single set of questions covering only what the code can't tell you:
context.mddeployment.mdcontext.mdrunbooks.md, deployment.mdKeep it tight. Don't ask about anything the repo already answers.
Fill the relevant docs from the template structure + derived facts + answers:
overrides.md.Unknown: or To confirm:: never paper over uncertainty.text for directory trees; spaced pipes (| --- | --- |); no emojis.architecture.md mermaid diagram if the structure changed.When asked to check or refresh docs, compare them against the repo and report drift before changing anything:
setup.md / deployment.md vs .env.samplesetup.md vs package.json/docs vs the standard set above (flag missing ones)List the findings, then offer to fix them. Do not silently rewrite docs.
When a developer makes or records an architecture decision:
docs/decisions/: docs/decisions/0003-move-image-processing-to-a-queue.md. Sequence numbers, not dates, so one ADR can reference another as "superseded by 0007".Proposed, Accepted, Superseded by NNNN, or Deprecated.An accepted ADR is immutable. When a decision changes, write a new ADR that supersedes it and update the old one's status and link: never rewrite the original.
The canonical template and the full rules are in architecture-decision-records.md. Use an ADR when a decision changes how the system is built or operated, or introduces an exception to a global standard (also note the exception in overrides.md).
End with a short note to the developer in chat (not in the docs):
Unknown: / To confirm: you left.README.md also needs updating, point them to the project-readme skill.project-readme for the root README.mdWhat SKILL.md sets; muted values are Claude Code's defaults
/dotfusion-docs:project-docsfrom dotfusion-docs
npx claudepluginhub dotfusion/engineering-docs --plugin dotfusion-docs12 skills in this plugin
/accessibilityAudit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible"./engineering-standardsAuthoritative pointer to Dotfusion's engineering standards. Use before writing or changing application code, before opening a pull request, when adding or changing environment variables, when editing CI/CD or deployment config, when wiring observability, when recording an architecture decision, when changing UI (accessibility), when adding a dependency, or when a developer asks "what's our standard for X", "check this against our rules", or "is this the Dotfusion way". Lists every engineering standard, where to find it, and the non-negotiable rules that apply to every change./Other plugins' skills for the same job