docs-agent

Generate and inject docstrings, READMEs, and API specifications into codebases.

6|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/NachoOsella/DotFiles-V4 --skill docs-agent-nachoosella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-agent
Source: https://github.com/NachoOsella/DotFiles-V4/tree/main/pi/.pi/agent/skills/docs-agent
Command: npx skills add https://github.com/NachoOsella/DotFiles-V4 --skill docs-agent-nachoosella

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Generates and injects professional technical documentation, docstrings, and API specs directly into the codebase. Use when you need to: (1) add inline documentation to functions/classes/methods, (2) create or update README files, (3) generate API specifications (OpenAPI, GraphQL schemas), (4) document complex logic or architectures, (5) write setup or contribution guides, or (6) improve documentation coverage across a project.

Core Features & Use Cases

  • Inline Documentation: Inject docstrings into source files following project conventions.
  • README Generation: Create or update README files from code and templates.
  • API Specifications: Generate OpenAPI and GraphQL schemas from code or annotations.
  • Contribution Guides: Produce setup or contribution guides using templates.
  • Documentation Coverage: Improve coverage across large codebases with automated checks.

Quick Start

Provide inline documentation for a sample function and generate a README and API specs in one step.

Frequently Asked Questions about docs-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate docstrings and inject them into my source code?

Automating docstring generation injects professional inline documentation directly into your source files following project conventions. This skill parses your codebase to add docstrings to functions, classes, and methods during development.

What is the best way to generate an OpenAPI specification from existing code?

Generating OpenAPI specifications from code extracts API routes and schemas to produce standard API specs. This skill creates OpenAPI and GraphQL schemas directly from your codebase or annotations.

Can I create a README file from my codebase and templates automatically?

Creating README files from code uses your project templates and source files to generate or update documentation. This skill automates README generation by analyzing your codebase and applying reference formats.

Does automated documentation generation work across different programming languages?

Automated documentation generation works across software projects regardless of language by applying project conventions. This skill requires a repository layout with source code, templates in assets, and reference formats.

How do I improve documentation coverage across a large codebase?

Improving documentation coverage across large codebases uses automated checks to find undocumented logic and architectures. This skill systematically identifies gaps and injects missing technical documentation.

Can I generate setup and contribution guides using documentation templates?

Generating setup and contribution guides uses documentation templates to produce standardized onboarding instructions. This skill automates the creation of contribution guides directly from your project layout.