Generating Documentation
ancoleman/ai-design-components
Generate comprehensive technical documentation including API docs (OpenAPI/Swagger), code documentation (TypeDoc/Sphinx), documentation sites (Docusaurus/MkDocs), Architecture Decision Records…
A skill your agent uses when writing a README, documenting an API with OpenAPI, drafting a runbook for on-call engineers, authoring a technical spec or ADR, or setting up docs-as-code with…
$ npx skills add kid-sid/claude-spellbook --skill technical-documentation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kid-sid/claude-spellbook technical-documentation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/technical-documentation .claude/skills/technical-documentation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "technical-documentation" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentation into .claude/skills/technical-documentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "technical-documentation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kid-sid/claude-spellbook --skill technical-documentation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kid-sid/claude-spellbook technical-documentation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/technical-documentation .agents/skills/technical-documentation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "technical-documentation" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentation into .agents/skills/technical-documentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "technical-documentation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kid-sid/claude-spellbook --skill technical-documentation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kid-sid/claude-spellbook technical-documentation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/technical-documentation .cursor/skills/technical-documentation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "technical-documentation" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentation into .cursor/skills/technical-documentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "technical-documentation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kid-sid/claude-spellbook.git --path skills/technical-documentation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kid-sid/claude-spellbook --skill technical-documentation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kid-sid/claude-spellbook technical-documentation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/technical-documentation .gemini/skills/technical-documentation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "technical-documentation" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentation into .gemini/skills/technical-documentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "technical-documentation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kid-sid/claude-spellbook technical-documentationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kid-sid/claude-spellbook --skill technical-documentation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/technical-documentation .github/skills/technical-documentation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "technical-documentation" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentation into .github/skills/technical-documentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "technical-documentation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kid-sid/claude-spellbook --skill technical-documentation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kid-sid/claude-spellbook technical-documentation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kid-sid/claude-spellbook.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/technical-documentation .opencode/skills/technical-documentation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "technical-documentation" agent skill from https://github.com/kid-sid/claude-spellbook/tree/main/skills/technical-documentation into .opencode/skills/technical-documentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "technical-documentation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
technical-documentationA skill your agent uses when writing a README, documenting an API with OpenAPI, drafting a runbook for on-call engineers, authoring a technical spec or ADR, or setting up docs-as-code with…
Technical Documentation is an agent skill from kid-sid/claude-spellbook. Use when writing a README, documenting an API with OpenAPI, drafting a runbook for on-call engineers, authoring a technical spec or ADR, or setting up docs-as-code with auto-deploy to GitHub Pages.
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Technical documentation, OpenAPI specifications and Architecture decision records. It works with OpenAPI and GitHub. The repository describes itself as: A curated collection of skills, prompts, and workflows that extend Claude's capabilities — your personal grimoire for AI-powered development. The licence is MIT.
Read from SKILL.md and the folder at commit a7c2ac9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comcodecov.ioFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
JWT_SECRETFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Technical Documentation loads about 3.4k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 771 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
cp .env.example .env # fill in required valuesAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from kid-sid/claude-spellbook at commit a7c2ac9, republished under its MIT licence (© kid-sid). 771 words, ~3,421 tokens.
.claude/skills/technical-documentation/SKILL.md (or your agent's skills folder).Good technical documentation reduces onboarding time, prevents repeated questions, and makes systems maintainable by people who didn't build them.
A README is the front door to your project — it answers "what is this and how do I use it?" in under 5 minutes.
# service-name
[](...)
[](...)
One-sentence description of what this service does.
## Prerequisites
- Python 3.12+ / Node.js 20+ / Go 1.22+
- Docker 24+
- PostgreSQL 16 (or `docker compose up db`)
## Quickstart
\```bash
git clone https://github.com/org/service-name
cd service-name
cp .env.example .env # fill in required values
docker compose up -d db # start dependencies
make install # install dependencies
make dev # start dev server on :8000
\```
## Configuration
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `DATABASE_URL` | Yes | — | PostgreSQL connection string |
| `JWT_SECRET` | Yes | — | 32-byte secret for JWT signing |
| `LOG_LEVEL` | No | `INFO` | Log verbosity (DEBUG/INFO/WARN/ERROR) |
| `PORT` | No | `8000` | HTTP server port |
## Development
\```bash
make test # run unit + integration tests
make lint # run linters
make typecheck # run type checker
make build # build production artifact
\```
See [docs/development.md](docs/development.md) for detailed setup, running locally, and debugging.
## Deployment
This service is deployed via GitHub Actions. See [docs/deployment.md](docs/deployment.md).
## Contributing
1. Fork the repo and create a branch: `feat/your-feature`
2. Make changes, write tests
3. Open a PR — the CI must be green before review
See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide.
## License
MIT — see [LICENSE](LICENSE)OpenAPI 3.x is the standard for documenting REST APIs. Write it by hand (spec-first) or generate from code annotations.
openapi: 3.1.0
info:
title: Payment Service API
version: 1.0.0
description: |
Processes payments and manages payment methods.
## Authentication
All endpoints require a Bearer token in the `Authorization` header.
servers:
- url: https://api.example.com/v1
description: Production
- url: https://staging-api.example.com/v1
description: Staging
security:
- BearerAuth: []
paths:
/payments:
post:
operationId: createPayment
summary: Create a payment
tags: [Payments]
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePaymentRequest'
example:
amount: 10000
currency: USD
source: tok_visa
responses:
'201':
description: Payment created
content:
application/json:
schema:
$ref: '#/components/schemas/Payment'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
/payments/{id}:
get:
operationId: getPayment
summary: Get a payment by ID
tags: [Payments]
parameters:
- $ref: '#/components/parameters/PaymentId'
responses:
'200':
description: Payment found
content:
application/json:
schema:
$ref: '#/components/schemas/Payment'
'404':
$ref: '#/components/responses/NotFound'
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
parameters:
PaymentId:
name: id
in: path
required: true
schema:
type: string
format: uuid
description: Payment identifier
schemas:
CreatePaymentRequest:
type: object
required: [amount, currency, source]
properties:
amount:
type: integer
description: Amount in smallest currency unit (cents for USD)
example: 10000
minimum: 1
currency:
type: string
enum: [USD, EUR, GBP]
example: USD
source:
type: string
description: Stripe payment method token
example: tok_visa
Payment:
type: object
properties:
id:
type: string
format: uuid
amount:
type: integer
currency:
type: string
status:
type: string
enum: [pending, succeeded, failed]
created_at:
type: string
format: date-time
Error:
type: object
required: [code, message]
properties:
code:
type: string
example: VALIDATION_ERROR
message:
type: string
example: amount must be greater than 0
details:
type: array
items:
type: object
responses:
ValidationError:
description: Request validation failed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid authentication
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'$ref Reuse Rulescomponents/schemascomponents/responsescomponents/parameters$ref everywhere it appears| Tool | Purpose |
|---|---|
| Swagger UI | Interactive API browser, served locally or hosted |
| Redoc | Clean read-only API docs, good for public docs |
| Stoplight Elements | Embeddable, modern OpenAPI renderer |
openapi-generator | Generate client SDKs from spec |
prism | Mock server from OpenAPI spec |
See incident-response skill for the full runbook template. Key principles:
<REPLACE_ME> placeholders in commandsADRs document why a significant decision was made — not just what was decided. Future engineers need context, not just conclusions.
See system-design skill for the full ADR template and lifecycle.
docs/
└── adr/
├── 0001-use-postgresql-for-primary-store.md
├── 0002-use-kafka-for-event-streaming.md
└── 0003-adopt-opentelemetry-for-tracing.mdWrite a spec when the feature is large enough to need design alignment before implementation (> 1 sprint, or involves multiple services).
# Technical Spec: [Feature Name]
**Status:** Draft | In Review | Accepted | Implemented
**Author:** [name]
**Last updated:** YYYY-MM-DD
**Related:** [Jira/Linear ticket], [ADR-XXXX]
## Problem
[1–3 paragraphs: what problem are we solving? Why now? What happens if we don't?]
## Proposed Solution
[Describe the solution at a level where another engineer can implement it.
Include: API contracts, data model changes, component interactions, migration plan.]
### API Changes
[List new or modified endpoints with request/response shapes]
### Data Model
[Schema changes, new tables, index additions]
### Component Diagram
[ASCII or Mermaid diagram showing how components interact]
## Alternatives Considered
| Option | Pros | Cons | Reason not chosen |
|--------|------|------|------------------|
| ... | ... | ... | ... |
## Implementation Plan
1. [ ] Phase 1: ...
2. [ ] Phase 2: ...
3. [ ] Phase 3: ...
## Risks and Mitigations
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|-----------|
| ... | ... | ... | ... |
## Open Questions
| Question | Owner | Due |
|----------|-------|-----|
| ... | ... | ... |
## Stakeholder Sign-off
- [ ] Engineering lead: @name
- [ ] Product: @name
- [ ] Security (if auth/data): @nameKeep docs alongside code in the same repository. Auto-deploy to GitHub Pages on merge.
| Tool | Language | Best for | Config |
|---|---|---|---|
| MkDocs + Material | Python | Technical docs, clean theme | mkdocs.yml |
| Docusaurus | Node/React | Developer portals, versioned docs | docusaurus.config.js |
| mdBook | Rust | Books, guides (no JS required) | book.toml |
| VitePress | Vue | Fast, modern Vue-based docs | vitepress.config.ts |
# mkdocs.yml
site_name: Payment Service Docs
theme:
name: material
features:
- navigation.tabs
- search.suggest
nav:
- Home: index.md
- API Reference: api.md
- Runbooks:
- Overview: runbooks/index.md
- High Error Rate: runbooks/high-error-rate.md
- ADRs: adr/index.md
plugins:
- search
- git-revision-date-localizedname: Deploy Docs
on:
push:
branches: [main]
paths: ['docs/**', 'mkdocs.yml']
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # for git-revision-date plugin
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
- run: pip install mkdocs-material mkdocs-git-revision-date-localized-plugin
- run: mkdocs gh-deploy --forceSee also:
api-design,system-design,incident-response
$ref components duplicated across paths — duplicate schemas diverge silently; extract all reusable types to components/schemas and $ref them everywhere$ref components defined in components/ — no duplicated schemascode + message + optional details)© kid-sid, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/technical-documentation of kid-sid/claude-spellbook.
Open the folder on GitHubat commit a7c2ac9
Technical Documentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Technical Documentation this skillkid-sid/claude-spellbook | 189 | — | ~3.4k | Automated safety check: Notes | MIT | |
| Generating Documentationancoleman/ai-design-components | 526 | — | ~3k | Automated safety check: Pass | MIT | |
| Documentationaiskillstore/marketplace | 430 | 1 repos | ~2.7k | Automated safety check: Pass | None | |
| Documentation Patternsyonatangross/orchestkit | 288 | — | ~830 | Automated safety check: Pass | MIT | |
| Distilled SDKalchemy-run/distilled | 431 | — | ~6k | Automated safety check: Pass | Apache-2.0 | |
| Nacos API Doc Updatenacos-group/nacos-group.github.io | 115 | — | ~3.3k | Automated safety check: Pass | Apache-2.0 |
ancoleman/ai-design-components
Generate comprehensive technical documentation including API docs (OpenAPI/Swagger), code documentation (TypeDoc/Sphinx), documentation sites (Docusaurus/MkDocs), Architecture Decision Records…
aiskillstore/marketplace
Comprehensive documentation specialist covering API documentation, technical writing, design documentation, migration guides, and changelog generation.
yonatangross/orchestkit
Technical documentation patterns for READMEs, ADRs, API docs (OpenAPI 3.1), changelogs, and writing style guides.
alchemy-run/distilled
Build or update a distilled SDK for an API provider — sourcing its OpenAPI/Smithy/GraphQL/discovery description, adding the spec mirror that feeds it, generating packages/<provider, listing it on…
nacos-group/nacos-group.github.io
Updates Nacos API documentation from Swagger api.json. An agent skill from nacos-group/nacos-group.github.io.
luongnv89/claude-howto
Generate comprehensive, accurate API documentation from source code. Use when creating or updating API documentation, generating OpenAPI specs, or when users…
kid-sid/claude-spellbook
A skill your agent uses when building or reviewing UI components for keyboard and screen reader compatibility, adding ARIA to custom widgets, auditing a page for WCAG AA conformance, or preparing…
kid-sid/claude-spellbook
A skill your agent uses when building, wiring, or debugging an Agentex agent — choosing agent type, configuring acp.py and manifest.yaml, using adk.messages or adk.state, or resolving…
kid-sid/claude-spellbook
A skill your agent uses when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety…
kid-sid/claude-spellbook
A skill your agent uses when building or refactoring Angular applications — choosing between signals, RxJS, and NgRx for state, configuring routing with guards and lazy loading, optimizing change…
kid-sid/claude-spellbook
A skill your agent uses when designing new REST endpoints, reviewing an existing API contract, adding pagination or filtering, planning a versioning strategy, or building a public or partner-facing…
kid-sid/claude-spellbook
A skill your agent uses when implementing login flows, issuing or validating JWTs, setting up OAuth2/OIDC with a provider, designing role-based or attribute-based access control, securing API…
Categories
A skill your agent uses when writing a README, documenting an API with OpenAPI, drafting a runbook for on-call engineers, authoring a technical spec or ADR, or setting up docs-as-code with…. Technical Documentation is an agent skill from kid-sid/claude-spellbook. Use when writing a README, documenting an API with OpenAPI, drafting a runbook for on-call engineers, authoring a technical spec or ADR, or setting up docs-as-code with auto-deploy to GitHub Pages.
Technical Documentation fits situations like: writing a README; documenting an API with OpenAPI; drafting a runbook for on-call engineers; authoring a technical spec.
Run `npx skills add kid-sid/claude-spellbook --skill technical-documentation -a claude-code`. Or copy the skill folder (skills/technical-documentation in kid-sid/claude-spellbook) into .claude/skills/technical-documentation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kid-sid/claude-spellbook --skill technical-documentation -a codex`. Or copy the skill folder (skills/technical-documentation in kid-sid/claude-spellbook) into .agents/skills/technical-documentation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kid-sid/claude-spellbook --skill technical-documentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/technical-documentation, .gemini/skills/technical-documentation, .github/skills/technical-documentation and .opencode/skills/technical-documentation in your project.
Going by SKILL.md and its folder, Technical Documentation needs credentials named JWT_SECRET. Our summary lists: Python 3; Node.js; Docker; A credential in JWT_SECRET.
SKILL.md names 2 domains. In commands or code: github.com and codecov.io; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Technical Documentation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Technical Documentation: Generating Documentation (ancoleman/ai-design-components, 526 stars), Documentation (aiskillstore/marketplace, 430 stars), Documentation Patterns (yonatangross/orchestkit, 288 stars) and Distilled SDK (alchemy-run/distilled, 431 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
kid-sid (a GitHub user) maintains it in kid-sid/claude-spellbook, which has 189 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on August 5, 2026.
Source: kid-sid/claude-spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.