From tech-writer
Generate API documentation by reading route handlers — endpoints, request/response schemas, auth requirements
How this skill is triggered — by the user, by Claude, or both
Slash command
/tech-writer:api-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Target: **$0**
Target: $0
Format: $1 (default: markdown)
Discover endpoints — Scan route files:
app/api/**/route.tsroutes/**/*.tsFor each endpoint, extract:
Group endpoints by resource or feature area
Generate documentation:
# API Reference
## Authentication
All endpoints except those marked "Public" require a valid session cookie or Bearer token.
---
## Users
### GET /api/users
Retrieve a list of users.
**Auth**: Admin only
**Query Parameters**:
| Param | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| page | number | no | 1 | Page number |
| limit | number | no | 20 | Items per page |
**Response** `200 OK`:
\`\`\`json
{
"users": [{ "id": "...", "name": "...", "email": "..." }],
"total": 100,
"page": 1
}
\`\`\`
**Errors**:
| Status | Code | Description |
|--------|------|-------------|
| 401 | UNAUTHORIZED | Missing or invalid session |
| 403 | FORBIDDEN | Not an admin |
Generate a valid OpenAPI 3.0 YAML document with:
docs/api.md file or per-resource filesopenapi.yaml at project rootFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub silviaare95/xari-plugins --plugin tech-writer