Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
charon-fan avatar

Documentation Engineer

  • 652 installs
  • 65 repo stars
  • Updated June 21, 2026
  • charon-fan/agent-playbook

documentation-engineer is a Claude Code skill that generates consistent READMEs, API references, architecture overviews, and code comments for developers who need clear project documentation without manual formatting dru

About

documentation-engineer is an agent-playbook skill for creating clear, comprehensive documentation across README overviews, API endpoint references, inline code comments, and architecture write-ups. The collection includes Python helpers such as scripts/generate_docs.py for scaffolding structures and validation scripts for doc quality checks. Developers invoke it with prompts like write documentation for this API, create a README, or document this code. Reach for documentation-engineer when onboarding docs lag behind implementation or when API surfaces need structured references before release.

  • Generates four documentation types: README, API Docs, Code Comments, and Architecture docs
  • Includes ready-to-use README and API Documentation templates
  • Provides Python scripts for generating and validating documentation structure
  • Follows Google Developer Documentation Style Guide and Diátaxis Framework
  • Delivers structured output with parameters, responses, errors, and usage examples

Documentation Engineer by the numbers

  • 652 all-time installs (skills.sh)
  • Ranked #340 of 1,901 Documentation skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/charon-fan/agent-playbook --skill documentation-engineer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs652
repo stars65
Security audit3 / 3 scanners passed
Last updatedJune 21, 2026
Repositorycharon-fan/agent-playbook

How do you generate API docs and READMEs from code?

Generate consistent, high-quality READMEs, API references, architecture overviews, and code comments without manual formatting.

Who is it for?

Developers who need fast, consistent docs for APIs or repos and already have code or endpoints to describe.

Skip if: Teams wanting automated doc site hosting, OpenAPI codegen from annotations only, or marketing landing copy instead of technical docs.

When should I use this skill?

User asks to write a README, document an API, add architecture overview, or explain code with comments.

What you get

Structured README, API reference sections, architecture overview, and validated inline comments aligned to project conventions.

  • README.md
  • API reference
  • architecture document

Files

SKILL.mdMarkdownGitHub ↗

Documentation Engineer

Expert in creating clear, comprehensive, and maintainable technical documentation.

When This Skill Activates

Activates when you:

  • Ask to write documentation
  • Request README creation
  • Mention "docs" or "document this"
  • Need API documentation

Documentation Types

1. README

Every project should have a README with:

# Project Name

Brief description (what it does, why it exists)

## Quick Start

Installation and usage in 3 steps or less.

## Installation

Detailed installation instructions.

## Usage

Examples of common usage patterns.

## Configuration

Environment variables and configuration options.

## Development

How to run tests, build, and develop locally.

## Contributing

Guidelines for contributors.

## License

License information.

2. API Documentation

For each endpoint/function:

  • Description: What it does
  • Parameters: Name, type, required/optional, description
  • Return value: Type and structure
  • Errors: Possible errors and conditions
  • Examples: Usage examples

3. Code Comments

Comment why, not what:

// Bad: Sets the count to zero
count = 0;

// Good: Reset count for new measurement cycle
count = 0;

// Bad: Check if user is admin
if (user.role === 'admin') {

// Good: Only admins can bypass approval workflow
if (user.role === 'admin') {

4. Architecture Documentation

  • System overview
  • Component relationships
  • Data flow
  • Design decisions
  • Trade-offs considered

Documentation Principles

1. Be Clear: Use simple, direct language 2. Be Concise: Respect the reader's time 3. Be Accurate: Keep docs in sync with code 4. Be Complete: Cover all public interfaces 5. Be Current: Update docs when code changes

Writing Guidelines

Headings

  • Use sentence case for headings
  • Start with a verb or noun
  • Be descriptive

Code Examples

  • Show before/after when appropriate
  • Include import statements
  • Show expected output
  • Handle edge cases

Links

  • Use relative links for internal docs
  • Include anchors for sections
  • Test that links work

Diagrams

  • Use Mermaid for flowcharts and sequences
  • Keep diagrams simple
  • Add a title and legend

Documentation Checklist

README

  • [ ] Project description
  • [ ] Quick start guide
  • [ ] Installation instructions
  • [ ] Usage examples
  • [ ] Configuration guide
  • [ ] Contributing guidelines

Code Docs

  • [ ] All public functions documented
  • [ ] Parameters and returns documented
  • [ ] Examples provided for complex functions
  • [ ] Edge cases documented

API Docs

  • [ ] All endpoints documented
  • [ ] Request/response schemas
  • [ ] Authentication requirements
  • [ ] Error responses documented
  • [ ] Rate limits documented

Scripts

Generate documentation structure:

python scripts/generate_docs.py

Validate documentation:

python scripts/validate_docs.py

References

  • references/readme-template.md - README template
  • references/api-template.md - API documentation template
  • references/style-guide.md - Documentation style guide

Related skills

FAQ

What documentation types does documentation-engineer support?

documentation-engineer creates README overviews, API endpoint documentation, inline code comments, and architecture design write-ups using agent-playbook conventions and helper scripts.

Does documentation-engineer include automation scripts?

documentation-engineer references python scripts/generate_docs.py to scaffold documentation structure plus validation scripts to check doc completeness before sharing.

Is Documentation Engineer safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Documentationdocsintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.