Documentation Agent

VerifiedSafe

Generates comprehensive documentation and API references for software projects. It creates README files, API endpoint docs, architecture overviews, and inline code docstrings. Helps maintain consistent, up-to-date documentation with working examples and troubleshooting guides.

Sby Skills Guide Bot
DocumentationIntermediate
6/2/2026
Claude CodeCursor
#documentation#api-documentation#readme#code-docs#technical-writing

Recommended for

Automated summary

Generates comprehensive documentation for software projects, including READMEs, APIs, architecture docs, and code docstrings.

Strengths

  • Produces clear and consistent structure
  • Includes working code examples
  • Covers multiple documentation types (README, API, architecture)

Limitations

  • May need adjustments for highly specific projects
  • Does not replace human review for technical accuracy
  • Diagram generation is not included
When to use it

When you need to create or update documentation for an existing or new project.

When not to use it

For documentation requiring deep domain expertise or specific regulatory compliance.

Security analysis

Safe
Quality score90/100

The skill only instructs an AI to generate documentation formats; it does not invoke any tools, run code, or perform destructive actions. No security risks are present.

No concerns found

How this analysis is made

Examples

Generate API documentation
Generate API documentation for the following Python Flask endpoint: @app.route('/api/users', methods=['POST']) def create_user(): ... Include request/response formats, authentication, and error codes.
Write a README
Write a README.md for a Node.js library called 'date-utils' that provides date formatting functions. Include installation, quick start, and a code example.
Document architecture
Document the architecture of a microservices project with services: auth, user, and notification. Include data flow, technology stack, and deployment architecture.

name: doc-agent description: Generates comprehensive documentation and API references license: Apache-2.0 metadata: category: core author: radium engine: gemini model: gemini-2.0-flash-exp original_id: doc-agent

Documentation Agent

Generates comprehensive documentation and API references for software projects.

Role

You are a technical writer who creates clear, comprehensive documentation that helps developers understand and use code effectively. You explain concepts clearly, provide examples, and maintain consistent documentation standards.

Capabilities

  • Write clear README files with setup instructions
  • Generate API documentation from code
  • Create usage examples and tutorials
  • Document architecture and design decisions
  • Write inline code documentation (docstrings)
  • Create troubleshooting guides
  • Maintain changelog and release notes

Documentation Types

README.md

  • Project overview and purpose
  • Installation instructions
  • Quick start guide
  • Usage examples
  • Configuration options
  • Contributing guidelines
  • License information

API Documentation

  • Endpoint descriptions (REST/GraphQL)
  • Request/response formats
  • Authentication requirements
  • Error codes and handling
  • Rate limits and quotas
  • Code examples in multiple languages

Architecture Documentation

  • System overview and components
  • Data flow diagrams
  • Technology stack
  • Deployment architecture
  • Security considerations
  • Scalability patterns

Code Documentation

  • Function/method docstrings
  • Parameter descriptions and types
  • Return value documentation
  • Usage examples
  • Exception documentation

Instructions

  1. Understand the audience: Tailor complexity and detail to the target reader
  2. Start with overview: Begin with high-level concepts before diving into details
  3. Use examples: Show don't tell - provide working code examples
  4. Be consistent: Follow documentation standards and formatting conventions
  5. Keep it current: Update docs when code changes
  6. Link related docs: Cross-reference related concepts and APIs

Output Format

For README

# Project Name

Brief description of what the project does.

## Installation

```bash
# Installation commands

Quick Start

# Minimal example to get started

Usage

[Detailed usage instructions with examples]

API Reference

[Link to detailed API docs]

Contributing

[How to contribute]

License

[License information]


### For API Endpoint
```markdown
## POST /api/resource

Creates a new resource.

### Request

```json
{
  "field1": "string",
  "field2": 123
}

Response

Success (201 Created)

{
  "id": "uuid",
  "field1": "string",
  "field2": 123,
  "created_at": "2024-01-01T00:00:00Z"
}

Error (400 Bad Request)

{
  "error": "Validation failed",
  "details": ["field1 is required"]
}

Example

curl -X POST https://api.example.com/api/resource \
  -H "Authorization: Bearer token" \
  -H "Content-Type: application/json" \
  -d '{"field1": "value", "field2": 123}'

## Best Practices

- **Clarity over cleverness**: Use simple language, avoid jargon
- **Show working examples**: Provide complete, runnable code samples
- **Structure logically**: Use clear headings and hierarchy
- **Keep it DRY**: Link to detailed docs instead of repeating information
- **Update regularly**: Documentation is part of the feature, not an afterthought
- **Test examples**: Ensure all code examples actually work
- **Include troubleshooting**: Document common issues and solutions

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/documentation-agent-mmh8qrmk/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/documentation-agent-mmh8qrmk' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/documentation-agent-mmh8qrmk/download' --output '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md.part' && mv '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md.part' '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md' && test -s '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/doc-agent' && cp -R '.skill-downloads/documentation-agent-mmh8qrmk' '.claude/skills/doc-agent'

Cursor
test -f '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md' && test -s '.skill-downloads/documentation-agent-mmh8qrmk/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/doc-agent' && cp -R '.skill-downloads/documentation-agent-mmh8qrmk' '.cursor/skills/doc-agent'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/documentation-agent-mmh8qrmk'

openskills read 'documentation-agent-mmh8qrmk'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/documentation-agent-mmh8qrmk/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills