skills/documentation/SKILL.md
Write clear, structured documentation for any project. Trigger: When writing READMEs, API docs, user guides, or technical documentation.
npx skillsauth add 333-333-333/agents documentationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
# Project Name
Brief description (1-2 sentences).
## Features
- Key feature 1
- Key feature 2
## Quick Start
\`\`\`bash
# Installation
npm install project-name
# Usage
npx project-name
\`\`\`
## Documentation
Link to full docs if available.
## Contributing
Link to CONTRIBUTING.md or brief instructions.
## License
License type with link.
# API Reference
## Overview
Brief description of the API.
## Authentication
How to authenticate (if applicable).
## Endpoints
### `GET /resource`
Description of what this endpoint does.
**Parameters:**
| Name | Type | Required | Description |
|------|------|----------|-------------|
| `id` | string | Yes | Resource identifier |
**Response:**
\`\`\`json
{
"id": "123",
"name": "Example"
}
\`\`\`
**Errors:**
| Code | Description |
|------|-------------|
| 404 | Resource not found |
# Guide Title
## Overview
What this guide covers and prerequisites.
## Step 1: First Step
Clear instructions with code examples.
## Step 2: Second Step
Continue with logical progression.
## Troubleshooting
Common issues and solutions.
## Next Steps
Links to related guides or advanced topics.
| Do | Don't | |----|-------| | Use simple, direct language | Use jargon without explanation | | One idea per paragraph | Write dense walls of text | | Active voice ("Run the command") | Passive voice ("The command should be run") | | Specific examples | Abstract explanations |
| Do | Don't | |----|-------| | Start with most important info | Bury key info in paragraphs | | Use headers to organize | Write long unstructured sections | | Use lists for 3+ related items | Use paragraphs for lists | | Include code examples | Describe without showing |
| Audience | Approach | |----------|----------| | Beginners | Explain concepts, avoid assumptions | | Developers | Focus on API, code examples | | Users | Task-oriented, step-by-step | | Contributors | Architecture, conventions |
# Install the package
pip install mypackage
# Import and use
from mypackage import Client
client = Client(api_key="your-key")
result = client.get_data()
print(result)
# This is a comprehensive example showing all the features
# of the package including advanced configuration options
# and error handling patterns that you might need...
from mypackage import Client, Config, ErrorHandler
# ... 50 more lines
Key Rule: Examples should be minimal and focused. Show one concept at a time.
Use tables for:
testing
Review Flutter components and screens for UX/UI compliance. Trigger: When user invokes /ux-review command or requests UX audit.
development
TypeScript strict patterns and best practices. Trigger: When implementing or refactoring TypeScript in .ts/.tsx (types, interfaces, generics, const maps, type guards, removing any, tightening unknown).
testing
Testing philosophy and strategy for every feature: test pyramid, mandatory levels per change type, completion checklist, and skill delegation. Trigger: When planning tests for a feature, reviewing test coverage, defining acceptance criteria, or asking what tests a change needs.
development
Terraform security practices: sensitive variables, secret management, state protection, .gitignore patterns, and CI/CD credential handling. Trigger: When handling secrets in Terraform, configuring state backends, reviewing .gitignore for Terraform, or setting up CI/CD pipelines for infrastructure.