Loading...
Loading...
Write user-facing documentation for a new or changed feature, in the project's docs site. Use when user says 'document this feature', 'write user docs', 'create feature page', 'add to the docs site', or 'write the end-user guide'. Do NOT use for internal architecture docs (use arc42 or write-doc), ADRs (use document-decision), or CLAUDE.md updates (use create-or-audit-claude-md).
npx skill4agent add thommann/skills document-featuredocs/docs-site/website/docsfind . -maxdepth 3 -type f -name 'vitepress.config.*' -o -name 'docusaurus.config.*' -o -name 'mkdocs.yml'README.mdFEATURES.mdls docs/ # or docs-site/
find docs -type f -name '*.md' | head -20docs/features/<feature-name>.mddocs/guides/<feature-name>/index.mddocs/<section>/<feature>/index.en.mddocs/<section>/<feature>/index.de.mddocs/v2/features/<feature>.md---
title: {Feature name — noun phrase}
description: {One-sentence summary that appears in search and social cards}
---
# {Feature name}
{One-paragraph "what it is, why it exists." Anchored in a user problem: "If you want to X,
this feature does Y." Not a technical description.}
## Prerequisites
- {Permissions or roles required}
- {Subscription or plan required, if any}
- {Other features that must be enabled first, with links}
## Enabling
{Step-by-step. Start from the most common entry point — usually the settings page or a CLI
command. Use screenshots where they save words; otherwise use numbered steps with UI labels in bold.}
1. Open **{Settings} → {Section}**.
2. Toggle **{Feature name}** on.
3. Click **Save**.
## Using
{Walk through the happy path. The user follows these steps and sees the feature work.}
### {Common task 1}
{Specific instruction, ending in an observable outcome.}
### {Common task 2}
{Another task.}
## Limits and boundaries
{Explicit list of what this feature does NOT do, rate limits, known caveats. Saves support
tickets.}
## Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| {what the user sees} | {what went wrong} | {concrete action} |
## Related
- [{Related feature}]({link})
- [{API reference, if applicable}]({link})# VitePress
cat docs/.vitepress/config.* | grep -A 10 "sidebar\|nav"
# Docusaurus
ls docs/sidebars* website/sidebars*
# MkDocs
cat mkdocs.yml | grep -A 20 "nav:"docs/<feature>/images/{feature}-{step-or-state}.png# The page builds without broken links
# (Run the docs site's build command from CLAUDE.md Quick Reference)
# e.g. pnpm docs:build OR mkdocs build --strict OR yarn build
# The page appears in navigation
# Browse the rendered site and click through.
# Screenshots referenced by the page exist
grep -oE '!\[[^\]]*\]\([^)]+\)' <doc-path> | grep -oE '\([^)]+\)' | tr -d '()' | while read img; do
[ ! -f "$(dirname <doc-path>)/$img" ] && echo "MISSING: $img"
done| Mistake | Correction |
|---|---|
Writing in developer voice ("This endpoint accepts a | Rewrite for the user. If the page is for integrators, it's a different page — use the API reference template. |
| Listing every setting without explaining which matter | Lead with the happy path (3–5 settings). Push exhaustive options into a "Reference" subsection or a separate page. |
| No troubleshooting section | Add one. Even "none that we know of" plus a contact/support link is better than silence. |
| Page exists but isn't in navigation | Users can't find it. Update the sidebar/nav file (step 4). |