doc-creation
Skill4 starsChanged 9 months agoMITView on GitHub
Use this skill when creating technical documentation, architecture docs, runbooks, READMEs, API references, changelogs, or any structured technical writing. Trigger on keywords: documentation, docs, README, runbook, architecture doc, technical writing, write a guide, document this, API reference, changelog, how-to guide.
- Reads credentials
- Installs packages
In this repository37 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- ai-agent-designSkill
- ai-assisted-learningSkill
- ai-prompting-patternsSkill
- api-designSkill
- backend-devSkill
- career-growthSkill
- client-communicationSkill
- code-explanationSkill
- code-readingSkill
- code-reviewSkill
- cross-functional-collabSkill
- database-designSkill
- debugging-mindsetSkill
- devops-cicdSkill
- focus-productivitySkill
- frontend-designSkill
- git-workflowSkill
- incident-responseSkill
- internal-commsSkill
- interview-prepSkill
- mcp-builderSkill
- performance-reviewSkill
- problem-solvingSkill
- prompt-engineeringSkill
- research-synthesisSkill
- resume-portfolioSkill
- self-healing-mindsetSkill
- side-project-planningSkill
- sprint-planningSkill
- system-designSkill
- technical-communicationSkill
- technical-mentoringSkill
- tech-researchSkill
- testingSkill
- threat-modelingSkill
- web-artifacts-builderSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 160
Write docs to be machine-readable as well as human-readable:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Technical Documentation
Documentation Philosophy
Write for the reader who is in a hurry and under stress.
Good documentation answers the question before the reader finishes asking it. Every doc should have a clear audience and a clear job to do.
Documentation Types & When to Use Each
| Type | Purpose | When to Write |
| README | Project overview + quickstart | Every project, day 1 |
| Architecture Doc | How the system is designed and why | Before building complex systems |
| Runbook | Step-by-step operational procedures | For anything ops needs to do repeatedly |
| API Reference | Endpoint contracts | When exposing an API to others |
| ADR | Why a significant decision was made | After every major technical decision |
| Changelog | What changed between versions | Every release |
| How-To Guide | Task-oriented instructions | When users need to do a specific thing |
README Template
# [Project Name]
One-sentence description of what this does and why it exists.
## Prerequisites
- [Dependency 1] v[X.X]
- [Dependency 2]
## Getting Started
\`\`\`bash
# Clone and install
git clone [repo]
cd [project]
npm install
# Configure
cp .env.example .env
# Edit .env with your values
# Run
npm run dev
\`\`\`
## Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| DATABASE_URL | Yes | PostgreSQL connection string |
| JWT_SECRET | Yes | Secret for JWT signing |
## Architecture
[Brief overview or link to architecture doc]
## Testing
\`\`\`bash
npm test # Unit tests
npm run test:e2e # End-to-end tests
\`\`\`
## Deployment
[How to deploy or link to runbook]
## Contributing
[How to contribute or link to guide]Architecture Document Structure
# Architecture: [System/Feature Name]
## Overview
[2-3 sentences: what this does and why it exists]
## Goals & Non-Goals
**Goals:** [what this system is designed to achieve]
**Non-Goals:** [what it explicitly does NOT cover]
## Architecture Diagram
[ASCII diagram or Mermaid diagram]
## Components
### [Component 1]
- **Responsibility:** [what it does]
- **Interface:** [how others interact with it]
- **Dependencies:** [what it needs]
## Data Flow
[How data moves through the system for key use cases]
## Key Decisions
[Link to ADRs or inline rationale for major choices]
## Known Limitations
[Honest description of current constraints]Runbook Template
# Runbook: [Operation Name]
**When to use:** [Trigger condition]
**Time required:** ~[X minutes]
**Who can run this:** [Role/permission needed]
## Prerequisites
- [ ] Access to [system]
- [ ] [Tool] installed
## Steps
1. [First action — be specific, include exact commands]
\`\`\`bash
[exact command]
\`\`\`
Expected output: [what success looks like]
2. [Next step]
## Verification
[How to confirm the operation succeeded]
## Rollback
[If something goes wrong, how to undo]
## Escalation
If stuck after [X minutes]: contact [person/team]Writing Style Guidelines
- Active voice — "The system sends a notification" not "A notification is sent"
- Present tense — "The function returns..." not "The function will return..."
- Specific — "Run
npm install" not "Install dependencies" - Short sentences — one idea per sentence
- Examples — show, don't just tell
- Maintain it — outdated docs are worse than no docs. Update docs in the same PR as code changes.
AI-Optimized Documentation (for RAG systems)
Write docs to be machine-readable as well as human-readable:
- Consistent terminology throughout
- Each section is self-contained (can be read without other sections)
- Include explicit labels: "Purpose:", "When to use:", "Example:"
- Modular structure — individual chunks make sense in isolation
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.

