write-doc
Skill16 starsChanged 3 days agoApache-2.0View on GitHub
Write new documentation pages for the VitePress docs site at docs/docs/. Ensures correct file structure (index.en.md only), frontmatter, heading hierarchy, media references, VitePress containers, and adherence to writing guidelines. Use when user says "write documentation", "create a doc page", "add documentation for X", "document this feature", "new docs page", or "write a guide for X". Do NOT use for ADR creation (use document-decision) or feature deep-dives from code analysis (use document-feature).
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 18 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 9
Write a new documentation page for the VitePress docs site.
- Very specific: line 13
Read the docs scope guide: docs/CLAUDE.md
- Distinctive: line 18
If the page describes a feature, read the relevant source code to verify all claims
- Very specific: line 22
Every page lives in its own numbered directory as index.en.md.
- Very specific: line 82
Never go deeper than ###
- Distinctive: line 83
Prefer flatter structure over deeply nested headings
- Distinctive: line 89
Be direct and factual: Write like you're explaining something to an intelligent colleague.
- Distinctive: line 112
Bold: only for the article subject on first mention, never for emphasis
- Distinctive: line 113
Write in paragraphs, not lists, unless a list is genuinely the clearest format
- Distinctive: line 115
Prefer commas or parentheses over em dashes for asides
- Very specific: line 116
Use straight quotes (") not curly quotes
- Distinctive: line 120
Verify all claims against the codebase — confirm features exist, check configuration
- Distinctive: line 121
Don't describe features that aren't implemented
- Distinctive: line 123
Remove unverified performance numbers or statistics
- Distinctive: line 136
Use containers for callouts — not for decoration:
- Distinctive: line 162
Use language identifiers for syntax highlighting:
- Distinctive: line 173
Use for flowcharts, sequence diagrams, and architecture diagrams:
- Very specific: line 193
Add data-zoomable for lightbox behavior on important images.
- Distinctive: line 198
Use relative paths to other pages:
- Distinctive: line 207
Use for decision matrices, feature comparisons, or structured data:
- Very specific: line 218
Check frontmatter has title:
- Distinctive: line 226
Verify the page appears in the sidebar at the correct position
- Distinctive: line 227
Check all internal links resolve
- Distinctive: line 228
Check all image paths resolve
- Distinctive: line 229
Run translation to generate German version:
- Very specific: line 233
Commit both index.en.md and the generated index.de.md
- Very specific: line 249
Place new pages in the appropriate section.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write Documentation
Write a new documentation page for the VitePress docs site. The topic should be provided via $ARGUMENTS.
Step 1: Read Reference Materials
- Read the docs scope guide:
docs/CLAUDE.md - Study 2-3 existing pages near where the new page will live:
- Platform example:
docs/docs/2_platform/5_agents/index.en.md - SDK example:
docs/docs/3_sdk/2_building_agents/1_agent_fundamentals/index.en.md - Ecosystem example:
docs/docs/4_ecosystem/2_using_ai/3_vibe_coding_guidelines/index.en.md
- Platform example:
- If the page describes a feature, read the relevant source code to verify all claims
Step 2: Create the File
Every page lives in its own numbered directory as index.en.md. The numeric prefix controls sidebar order.
docs/docs/<section>/<N>_<topic>/index.en.mdTo determine the correct number prefix, list the sibling directories and pick the next available number:
ls docs/docs/<section>/Only write index.en.md — German translations are auto-generated by pnpm run docs:translate. Never create
index.de.md manually.
Do NOT edit these generated zones
docs/6_code_deep_dive/— overwritten bysync-docs.shindex.de.mdfiles — overwritten bytranslate-docs.shpublic/— rebuilt bygenerate-llm-files.mjs
Step 3: Frontmatter
Minimal frontmatter — the title field is mandatory:
---
title: Your page title here
---descriptionis optional- No
index,order, orsidebar_positionfield — ordering is via directory prefix only - The title appears in the auto-generated sidebar (
docs/.vitepress/sidebar-logic.mjs)
Step 4: Page Structure
---
title: Page title
---
# Page title
Opening paragraph that sets context. No meta-commentary ("In this section, we will discuss...").
## First major section
Content in paragraphs, not bullet lists by default.
## Second major section
Mix paragraphs, code blocks, tables, and containers for variety.Heading rules:
#for the page title (must match frontmatter title)##for major sections — use sentence case, not Title Case###sparingly for subsections when necessary- Never go deeper than
### - Prefer flatter structure over deeply nested headings
Step 5: Write the Content
Writing guidelines
Be direct and factual. Write like you're explaining something to an intelligent colleague. Describe what the platform does without inflating its significance. Skip "powerful", "game-changing", "seamless", "robust", or any tourist-brochure language.
Never use these patterns:
- Grandiose framing: "testament to", "vital role", "watershed moment", "underscores the importance"
- Editorial commentary: "it's important to note", "it is worth remembering", "no discussion would be complete without"
- Formulaic connectors to start sentences: "Moreover,", "Furthermore,", "In addition,"
- Summary endings: "In summary,", "In conclusion,", "Overall,"
- Forced parallelism: "Not only... but...", "It's not just about X, it's about Y"
- Rule of three: avoid listing exactly three adjectives or three parallel phrases
- Significance tacking: "-ing" phrases like "highlighting the platform's entry", "improving convenience"
- Vague attributions: "Industry reports suggest", "Observers have noted" — cite a specific source or don't make the claim
- "From X to Y" constructions when listing examples
- Meta-commentary: "In this section, we will discuss..."
- Knowledge disclaimers: "as of [date]", "based on available information"
- Conversational asides: "I hope this helps", "Certainly!"
Style and formatting:
- Sentence case for headings ("How agents work", not "How Agents Work")
- Bold only for the article subject on first mention, never for emphasis
- Write in paragraphs, not lists, unless a list is genuinely the clearest format
- No emojis
- Prefer commas or parentheses over em dashes for asides
- Use straight quotes (
") not curly quotes
Technical accuracy:
- Verify all claims against the codebase — confirm features exist, check configuration
- Don't describe features that aren't implemented
- Be honest about limitations rather than implying capabilities
- Remove unverified performance numbers or statistics
Consistent terminology:
- Lowercase for general terms: "agents", "pipelines", "knowledge bases"
- Capitalize proper names: "SharePoint", "Dagster", "LiteLLM", "Milvus"
Write naturally. Vary sentence lengths. Include occasional informality. Let your personality show through. Real writing has rhythm variations that formulaic writing lacks. Trust readers to understand why something matters without explicit signposting.
VitePress containers
Use containers for callouts — not for decoration:
::: info
Context that helps understanding.
:::
::: tip
Helpful suggestion or best practice.
:::
::: warning
Important caveat or gotcha.
:::
::: danger
Critical security or safety concern.
:::
::: details Click to expand
Collapsible content for long examples, JSON payloads, or optional detail.
:::Code blocks
Use language identifiers for syntax highlighting:
```python
def example():
return "highlighted"
```Mermaid diagrams
Use for flowcharts, sequence diagrams, and architecture diagrams:
```mermaid
sequenceDiagram
participant User
participant Agent
User->>Agent: Ask question
Agent-->>User: Return answer
```Images
Store in docs/media/ organized by topic. Reference with relative paths:
Add data-zoomable for lightbox behavior on important images. Create a new subdirectory in media/ if the topic
doesn't have one yet.
Internal links
Use relative paths to other pages:
[Link to sibling section](../5_agents/)
[Link to subsection](../../6_pipelines/1_fundamentals/)Tables
Use for decision matrices, feature comparisons, or structured data:
| Feature | Agent | Pipeline |
|---------|-------|----------|
| Real-time | Yes | No |
| Scheduled | No | Yes |Step 6: Verify
- Check frontmatter has
title:head -5 docs/docs/<section>/<N>_<topic>/index.en.md - Preview the page:
cd docs && pnpm run docs:dev - Verify the page appears in the sidebar at the correct position
- Check all internal links resolve
- Check all image paths resolve
- Run translation to generate German version:
cd docs && pnpm run docs:translate - Commit both
index.en.mdand the generatedindex.de.md
Existing Docs Structure
For reference, the top-level documentation sections:
docs/
├── 1_vision_and_positioning/ # Why the platform exists
├── 2_platform/ # Platform features and configuration (22 subsections)
├── 3_sdk/ # Building agents, pipelines, processes
├── 4_ecosystem/ # Contributing, using AI, certification
├── 5_references/ # API reference, troubleshooting, glossary
└── 6_code_deep_dive/ # AUTO-SYNCED — never edit directlyPlace new pages in the appropriate section. If unsure, 2_platform/ covers platform features and 3_sdk/ covers
building with the SDK.
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- swm8023/skills★ 2same name
- LeoHChen/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- .github/actions/CLAUDE.mdCLAUDE.md
- arc42Skill
- audit-frontendSkill
- bot-frameworkSkill
- create-or-audit-claude-mdSkill
- create-or-audit-skillSkill
- create-or-audit-subagentSkill
- create-prSkill
- dagster-pipelinesSkill
- debug-agentSkill
- debug-frontendSkill
- debug-pipelineSkill
- design-systemSkill
- docker-devSkill
- document-decisionSkill
- document-featureSkill
- explainSkill
- generate-sdkSkill
- i18nSkill
- implement-feedback-from-prSkill
- likec4-dslSkill
- lintSkill
- merge-mainSkill
- nats-eventsSkill
- plan-issueSkill
- pr-demo-videoSkill
- primevue-lookupSkill
- rclone-guideSkill
- reflectSkill
- review-diffSkill
- scaffold-agentSkill
- scaffold-api-endpointSkill
- scaffold-api-repositorySkill
- scaffold-api-serviceSkill
- scaffold-bot-handlerSkill
- scaffold-composableSkill
- scaffold-event-displaySkill
- scaffold-frontend-componentSkill
- scaffold-frontend-pageSkill
- scaffold-frontend-subpageSkill
- scaffold-pipelineSkill
- setup-bot-connectionSkill
- splice-issueSkill
- sync-agent-docsSkill
- test-scopeSkill
- update-docSkill
- verify-sdk-syncSkill
- write-issueSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

