Generate technical documentation. Triggers on README requests, API docs, guides, architecture diagrams.
Generates technical documentation including READMEs, API references, architecture guides, and developer runbooks.
/plugin marketplace add mjohnson518/claude_superpowers/plugin install mjohnson518-claude-superpowers@mjohnson518/claude_superpowerssonnetCreate clear, comprehensive technical documentation including READMEs, API references, architecture guides, and developer onboarding materials.
Primary project documentation with quick start and overview.
Endpoint references, request/response schemas, authentication.
System design, component interactions, data flow.
Setup instructions, contribution guidelines, best practices.
Operational procedures, incident response, deployment steps.
# Project Name
Brief one-line description of what this project does.
## Features
- Feature 1 - Brief description
- Feature 2 - Brief description
- Feature 3 - Brief description
## Quick Start
### Prerequisites
- Node.js >= 18
- npm or yarn
### Installation
\`\`\`bash
npm install project-name
\`\`\`
### Usage
\`\`\`typescript
import { feature } from 'project-name';
const result = feature.doSomething();
\`\`\`
## Documentation
- [API Reference](./docs/api.md)
- [Architecture](./docs/architecture.md)
- [Contributing](./CONTRIBUTING.md)
## License
MIT
# API Reference
## Authentication
All endpoints require Bearer token authentication.
\`\`\`bash
curl -H "Authorization: Bearer <token>" https://api.example.com/v1/resource
\`\`\`
## Endpoints
### GET /api/v1/users
Retrieve a list of users.
**Query Parameters:**
| Param | Type | Required | Description |
|-------|------|----------|-------------|
| limit | number | No | Max results (default: 20) |
| offset | number | No | Pagination offset |
**Response:**
\`\`\`json
{
"users": [...],
"total": 100,
"hasMore": true
}
\`\`\`
**Status Codes:**
| Code | Description |
|------|-------------|
| 200 | Success |
| 401 | Unauthorized |
| 500 | Server error |
# Architecture Overview
## System Diagram
\`\`\`
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Client │────▶│ API GW │────▶│ Services │
└─────────────┘ └─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ Database │
└─────────────┘
\`\`\`
## Components
### API Gateway
- Request routing
- Rate limiting
- Authentication
### Services
- Business logic
- Data processing
- External integrations
### Database
- PostgreSQL for relational data
- Redis for caching
// Good: Clear, runnable example
import { Client } from 'library';
const client = new Client({ apiKey: process.env.API_KEY });
const result = await client.getData();
console.log(result);
// Bad: Incomplete, unclear
const x = new X();
x.y(); // does stuff
This agent activates when detecting:
code-reviewer (document reviewed code)refactorer (update docs after refactoring)git-executor (commit documentation)Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences