Generate Api Docs

🌐Community
by ypyt1 · vlatest · Repository

Helps with code generation, API as part of writing, documentation, and content creation workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add generate-api-docs npx -- -y @trustedskills/generate-api-docs
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "generate-api-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/generate-api-docs"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automatically generates API documentation from code. It parses code files, extracts function and method signatures, and creates formatted documentation including descriptions, parameters, and return types. The generated documentation can be output in various formats suitable for publishing or integration into developer portals.

When to use it

  • Onboarding new developers: Quickly provide clear API reference materials for a team joining a project.
  • Automating documentation updates: Keep API docs synchronized with code changes, reducing manual effort and errors.
  • Generating internal API references: Create easily accessible documentation for internal APIs used across an organization.
  • Creating public developer portals: Produce professional-looking API documentation to share with external developers.

Key capabilities

  • Code parsing
  • Function/method signature extraction
  • Formatted output generation
  • Multiple output formats (unspecified)

Example prompts

  • "Generate API docs for the my_library directory."
  • "Create documentation in Markdown format from the api.py file."
  • “Output API documentation for all Python files in this repository.”

Tips & gotchas

The skill's effectiveness depends on well-structured and documented code; poorly formatted code may result in inaccurate or incomplete documentation. Ensure your codebase follows consistent coding conventions for optimal results.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
ypyt1
Installs
2

🌐 Community

Passed automated security scans.