documentation
Skill40 starsChanged 4 months agoMITView on GitHub
Technical documentation writing and maintenance. Modes — readme, runbook, api, onboarding. Uses writer agent principles for audience-appropriate, maintainable docs.
58 other projects use a version of this.
Adopted by
Most recently taken up by
- paruff/uFawkesAItheir own version, first seen Oct 3, 2026
- shortcuts/dotfilestheir own version, first seen Oct 2, 2026
- fabiandistler/agentstheir own version, first seen Sep 30, 2026
- microsoft/hve-coretheir own version, first seen Sep 29, 2026
- DepressionCenter/extractiumtheir own version, first seen Sep 29, 2026
- YLfjuk/skillstheir own version, first seen Sep 28, 2026
Used with
Projects with it also use refactoring, typescript and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pproencaSkillrefactoring
Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.
Also in 8 projects that use this
MicrosoftSkilltypescript
Use this guide when working on TypeScript changes in the FAST monorepo — authoring Web Components, writing templates and styles, working with the observable/reactive system, and testing.
Also in 5 projects that use this
VercelSkilloauth
Configure OAuth providers (Google, Apple, Microsoft, Facebook, GitHub, etc.) to work with portless local dev URLs. Use when setting up OAuth redirect URIs, fixing "redirect_uri_mismatch" or "invalid redirect" errors, configuring sign-in providers for local development, or when a provider rejects .localhost subdomains. Triggers include "OAuth not working with portless", "redirect URI mismatch", "Google/Apple/Microsoft sign-in fails locally", "configure OAuth for local dev", or any task involving OAuth callback URLs with portless domains.
Also in 3 projects that use this
MicrosoftSkillrust
Use this guide when working on Rust changes in the FAST monorepo.
Also in 3 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 3 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 10 projects that use this
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- anthropics/knowledge-work-plugins★ 26ksame name
- microsoft/fast★ 9.7ksame name
- mufeedvh/code2prompt★ 7.7ksame name
- github/gh-aw★ 5.3ksame name
- mcollina/skills★ 1.9ksame name
- microsoft/hve-core★ 1.5ksame name
- microsoft/wassette★ 957same name
- griddynamics/rosetta★ 352same name
- extra-org/extra★ 113same name
- natnew/Awesome-Prompt-Engineering★ 113same name
48 more not listed
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 repository35 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- web/llms-full.txtllms.txt
- web/llms.txtllms.txt
- adrSkill
- assist-reviewSkill
- bughuntSkill
- changeSkill
- coverageSkill
- debugSkill
- decomposeSkill
- deep-reviewSkill
- deploy-checklistSkill
- discoverSkill
- docsSkill
- draftSkill
- graphSkill
- impactSkill
- implementSkill
- incident-responseSkill
- initSkill
- integrationsSkill
- jiraSkill
- learnSkill
- new-trackSkill
- opsSkill
- planSkill
- quick-reviewSkill
- revertSkill
- reviewSkill
- standupSkill
- statusSkill
- tech-debtSkill
- testing-strategySkill
- tourSkill
- uploadSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 7 are distinctive, and 15 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Check for Draft context:
- Very specific: line 30
If draft/ doesn't exist, this skill works standalone — generate docs from code analysis.
- Very specific: line 32
Follow the base procedure in core/shared/draft-context-loading.md.
- Distinctive: line 46
Read existing README.md (if any)
- Very specific: line 47
Read draft/product.md — Product vision, users, goals
- Very specific: line 48
Read draft/tech-stack.md — Technologies, setup requirements
- Very specific: line 49
Read draft/workflow.md — Development workflow, commands
- Very specific: line 54
Read draft/architecture.md or draft/.ai-context.md — Service topology, dependencies
- Very specific: line 55
Read draft/workflow.md — Deployment conventions
- Very specific: line 56
Read draft/tech-stack.md — Infrastructure details
- Distinctive: line 57
If GitHub MCP available: check recent deployment changes
- Distinctive: line 58
If Jira MCP available: check recent incident tickets for the service
- Distinctive: line 62
Read source code for public interfaces, exported functions, API routes
- Distinctive: line 63
Read existing API docs (Swagger, OpenAPI, JSDoc, docstrings)
- Very specific: line 64
Read draft/architecture.md — API conventions, data models
- Very specific: line 65
Read draft/tech-stack.md — API framework details
- Very specific: line 69
Read ALL draft context files in order:
- Very specific: line 79
Follow these principles (from core/agents/writer.md):
- Very specific: line 190
Create draft/docs/ directory if needed.
- Distinctive: line 194
Every file path referenced in the doc resolves to a real file (broken links are a common LLM failure mode here).
- Distinctive: line 195
Every relative link in the doc resolves under the project root.
- Very specific: line 203
Jira sync: If ticket linked, attach doc and post comment via core/shared/jira-sync.md
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation
You are generating or updating technical documentation for this project using structured writing principles.
Red Flags — STOP if you're
- Writing docs without reading the code first
- Duplicating information that exists elsewhere (link instead)
- Writing docs for internal implementation details (only public interfaces)
- Ignoring the target audience (developer vs operator vs new hire)
- Generating a wall of text without structure or examples
Write for the reader. Link don't duplicate. Show don't tell.
Pre-Check
- Check for Draft context:
ls draft/ 2>/dev/nullIf draft/ doesn't exist, this skill works standalone — generate docs from code analysis.
- Follow the base procedure in
core/shared/draft-context-loading.md.
Step 1: Parse Arguments
/draft:documentation readme— Generate or update project README/draft:documentation runbook <service>— Operations runbook for a service/draft:documentation api <module>— API documentation for a module/draft:documentation onboarding— New developer onboarding guide/draft:documentation(no args) — Interactive: ask what type of documentation
Step 2: Gather Source Material
README Mode
- Read existing
README.md(if any) - Read
draft/product.md— Product vision, users, goals - Read
draft/tech-stack.md— Technologies, setup requirements - Read
draft/workflow.md— Development workflow, commands - Scan for
Makefile,package.json,pyproject.toml— Build/run commands
Runbook Mode
- Read
draft/architecture.mdordraft/.ai-context.md— Service topology, dependencies - Read
draft/workflow.md— Deployment conventions - Read
draft/tech-stack.md— Infrastructure details - If GitHub MCP available: check recent deployment changes
- If Jira MCP available: check recent incident tickets for the service
API Mode
- Read source code for public interfaces, exported functions, API routes
- Read existing API docs (Swagger, OpenAPI, JSDoc, docstrings)
- Read
draft/architecture.md— API conventions, data models - Read
draft/tech-stack.md— API framework details
Onboarding Mode
- Read ALL draft context files in order:
draft/product.md— What is this project?draft/tech-stack.md— What technologies?draft/architecture.mdordraft/.ai-context.md— How is it structured?draft/workflow.md— How do I develop?draft/guardrails.md— What to watch out for?
- Scan for setup scripts, Docker configs, environment templates
Step 3: Apply Writing Principles
Follow these principles (from core/agents/writer.md):
- Write for the reader — Identify the audience (developer, operator, new hire) and tailor language, depth, and examples accordingly
- Start with the most useful information — Lead with what the reader needs most (setup for README, troubleshooting for runbook, endpoints for API)
- Show don't tell — Use code examples, command snippets, and diagrams over prose descriptions
- Progressive disclosure — Start simple, add detail progressively. Don't front-load every edge case
- Link don't duplicate — Reference existing docs, don't copy them. Single source of truth
- Keep current — Reference source of truth files. Note: "Generated from draft context on {date}"
Step 4: Generate Document
README Structure
# {Project Name}
{One-line description from product.md}
## Quick Start
{Setup commands from Makefile/package.json}
## Architecture
{High-level diagram from .ai-context.md}
## Development
{Commands from workflow.md}
## Testing
{Test commands and conventions}
## Contributing
{Workflow conventions}Runbook Structure
# Runbook: {Service Name}
## Overview
{Service purpose, dependencies, SLOs}
## Health Checks
{Endpoints, expected responses}
## Common Issues
{Symptoms → diagnosis → resolution}
## Deployment
{Steps, rollback procedure}
## Monitoring
{Dashboard URLs, alert descriptions}
## Escalation
{On-call contacts, escalation paths}API Documentation Structure
# API: {Module Name}
## Overview
{Purpose, authentication, base URL}
## Endpoints
### {METHOD} {path}
{Description}
**Request:** {body/params with examples}
**Response:** {status codes with examples}
**Errors:** {error codes and meanings}Onboarding Structure
# Welcome to {Project Name}
## What is this?
{From product.md — 2-3 sentences}
## Architecture at a Glance
{Simplified from .ai-context.md}
## Getting Started
{Setup steps, first 15 minutes}
## Key Concepts
{Domain terms, important patterns}
## Development Workflow
{From workflow.md}
## Where to Find Things
{File structure guide}
## Common Pitfalls
{From guardrails.md}Step 5: Output
Save to:
- README:
README.mdin project root - Runbook:
draft/docs/runbook-<service>.md - API:
draft/docs/api-<module>.md - Onboarding:
draft/docs/onboarding.md
Create draft/docs/ directory if needed.
Pre-save validation:
- Every file path referenced in the doc resolves to a real file (broken links are a common LLM failure mode here).
- Every relative link in the doc resolves under the project root.
- Code blocks copied from sources match the current commit (no stale snippets).
Present generated doc to user for review before final save.
Cross-Skill Dispatch
- Suggested by:
/draft:init(after context generation),/draft:implement(track completion with new APIs),/draft:upload(pre-upload for new APIs),/draft:decompose(module API docs) - Jira sync: If ticket linked, attach doc and post comment via
core/shared/jira-sync.md
Error Handling
If no draft context: Generate from code analysis alone, note: "Run /draft:init for richer documentation"
If existing doc found: Show diff between existing and generated, ask: "Update existing doc or create new? [update/new]"
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.

