domains / documents / code-documentation-generation / documentation-generation-doc-generate

documentation-generation-doc-generate

Skill card

combined

The two copies share the same core procedure (identify doc types, extract from code, generate consistent docs, reference the playbook), but they disagree on a key step and the second copy adds material constraints. The first copy instructs to 'Add automation (linting, CI) and validate accuracy' as a default step. The second copy explicitly changes this to 'add automation only when requested' and adds a specific 'Worked example and prerequisites' section that requires validating examples against actual routes/builds and recording which commands ran. It also adds a 'Limitations' section. Crowning the first copy would hide the second copy's more cautious approach to automation and its specific validation workflow, while crowning the second would lose the first's explicit default to add automation. Therefore, they must be combined to preserve both the default automation step and the conditional/validation alternative.

Repositories

RepositoryPath
rmyndharis/antigravity-skillsskills/documentation-generation-doc-generate/SKILL.md
sickn33/agentic-awesome-skillsplugins/agentic-awesome-skills-claude/skills/documentation-generation-doc-generate/SKILL.md

Other copies

RoleRepositoryPath
peerrmyndharis/antigravity-skillsskills/documentation-generation-doc-generate/SKILL.md
peersickn33/agentic-awesome-skillsplugins/agentic-awesome-skills-claude/skills/documentation-generation-doc-generate/SKILL.md
adaptersickn33/agentic-awesome-skillsplugins/agentic-awesome-skills/skills/documentation-generation-doc-generate/SKILL.md
adaptersickn33/agentic-awesome-skillsplugins/agentic-bundle-skill-author/skills/documentation-generation-doc-generate/SKILL.md
adaptersickn33/agentic-awesome-skillsskills/documentation-generation-doc-generate/SKILL.md

Combined skill

---
name: documentation-generation-doc-generate
description: "You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices."
---

# Automated Documentation Generation

You are a documentation expert specializing in creating comprehensive, maintainable documentation from code. Generate API docs, architecture diagrams, user guides, and technical references using AI-powered analysis and industry best practices.

## Use this skill when

- Generating API, architecture, or user documentation from code
- Building documentation pipelines or automation
- Standardizing docs across a repository

## Do not use this skill when

- The project has no codebase or source of truth
- You only need ad-hoc explanations
- You cannot access code or requirements

## Context
The user needs automated documentation generation that extracts information from code, creates clear explanations, and maintains consistency across documentation types. Focus on creating living documentation that stays synchronized with code.

## Requirements
$ARGUMENTS

## Instructions

- Identify required doc types and target audiences.
- Extract information from code, configs, and comments.
- Generate docs with consistent terminology and structure.
- Validate generated examples against actual routes and the current build.
- Add automation (linting, CI) to maintain documentation accuracy, or add it only when explicitly requested by the user.
- If detailed examples are required, open `resources/implementation-playbook.md`.

## Worked example and prerequisites

For an endpoint changed to return a cursor, inspect its implementation and test fixtures, update the response example and pagination explanation, then run the existing schema/doc build and the documented read-only call against a test fixture. Record which commands actually ran. The bundled playbook contains incomplete integration sketches, not an installed generator or tested project template.

## Safety

- Avoid exposing secrets, internal URLs, or sensitive data in docs.

## Output Format

- Documentation plan and artifacts to generate
- File paths and tooling configuration
- Assumptions, gaps, and follow-up tasks

## Resources

- `resources/implementation-playbook.md` for detailed examples and templates.

## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

## Conflicts
- rmyndharis/antigravity-skills: Instructs to 'Add automation (linting, CI) and validate accuracy' as a default step.
- sickn33/agentic-awesome-skills: Instructs to 'add automation only when requested' and adds a specific validation step against actual routes and builds.