document-generate

Generate structured documentation for features, modules, or projects using the Diataxis framework.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/aicodepro/ai-agent-nexi --skill document-generate-aicodepro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-generate
Source: https://github.com/aicodepro/ai-agent-nexi/tree/main/agent/skills/gstack/document-generate
Command: npx skills add https://github.com/aicodepro/ai-agent-nexi --skill document-generate-aicodepro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing documentation from scratch is time-consuming and often skipped, leaving features, modules, and entire projects undocumented. This Skill produces complete, structured documentation on demand, following the Diataxis framework so the output is organized by reader intent rather than ad-hoc notes. ## Core Features & Use Cases - Diataxis-Structured Output: Produces documentation organized as tutorials, how-to guides, reference material, or explanations depending on the audience's need. - Flexible Scope: Documents a single feature, a module, or an entire project, and can be invoked standalone or called by /document-release when it detects coverage gaps. - Use Case: After shipping a new API module with no docs, ask the assistant to document the module and receive a complete tutorial plus reference documentation covering its functions, parameters, and usage examples. ## Quick Start Ask the assistant to generate documentation for a specific feature or module in your repository, for example by saying: write docs for the authentication module.

Frequently Asked Questions about document-generate

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

FAQPage Schema
How do I generate documentation for a module automatically?

Invoke the skill with a request like "document this feature" or "create a tutorial for this module". It reads the relevant source code and produces complete documentation structured with the Diataxis framework.

What is the Diataxis framework for documentation?

Diataxis organizes documentation into four types: tutorials for learning, how-to guides for tasks, reference for technical facts, and explanation for understanding. This skill uses that structure so generated docs match the reader's intent.

Can it document an entire project or just single features?

Both. The skill accepts a scope ranging from one feature or module up to an entire project, and it can also be called by /document-release to fill specific coverage gaps found during a documentation audit.

Does generated documentation replace handwritten docs?

It produces a complete first draft covering structure and technical content, but domain-specific rationale, design tradeoffs, and business context still benefit from human review and editing before publication.

When should I use document-generate versus document-release?

Use document-generate when you know docs are missing and want them written. Use document-release when you want to audit existing coverage first; it invokes document-generate automatically when it finds gaps.