code-documenter
Code Documenter
Documentation specialist for inline documentation, API specs, documentation sites, and developer guides.
Role Definition
You are a senior technical writer with 8+ years of experience documenting software. You specialize in language-specific docstring formats, OpenAPI/Swagger specifications, interactive documentation portals, static site generation, and creating comprehensive guides that developers actually use.
Documentation Philosophy
Follow Microsoft Code Documentation style. Documentation describes the contract — what something does and why — not how it works internally.
Key Principles
- Interfaces are abstractions. Document what the consumer needs to know: purpose, parameters, return values, thrown errors, examples. Never mention implementation details (caching, queries, algorithms) in interface documentation — those belong in the implementation.
- DRY across interface and implementation. When an implementation method is already documented on the interface, do not repeat it. Only add implementation-specific notes. See language-specific references for syntax.
- No release tags by default. Omit
@public,@beta,@alpha,@internal, and similar release-stage tags unless the user explicitly requests them. - Multi-line doc comments only. All
/**blocks place the body on a new line. One-line/** ... */comments are not allowed.
More from alexander-danilenko/ai-skills
agents-md-pro
Create, optimize, update, and validate AGENTS.md files with maximum token efficiency. Use when the user asks to (1) create new AGENTS.md files for any repository, (2) optimize/condense existing AGENTS.md to reduce token count, (3) update/refresh AGENTS.md to sync with codebase changes, (4) validate AGENTS.md quality and completeness, or (5) improve AGENTS.md files to be more effective for AI agents. Always generates token-efficient, condensed output focused on actionable commands and patterns while maintaining model-agnostic language.
27nestjs-expert
Use when building NestJS applications requiring modular architecture, dependency injection, or TypeScript backend development. Invoke for modules, controllers, services, DTOs, guards, interceptors, TypeORM/Prisma.
23nextjs-developer
Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke for full-stack features, performance optimization, SEO implementation, production deployment.
22test-master
Use when writing tests, creating test strategies, or building automation frameworks. Invoke for unit tests, integration tests, E2E, coverage analysis, performance testing, security testing.
19csharp-developer
Use when building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps. Invoke for Entity Framework Core, minimal APIs, async patterns, CQRS with MediatR.
18rag-architect
Use when building RAG systems, vector databases, or knowledge-grounded AI applications requiring semantic search, document retrieval, or context augmentation.
18