document-generate

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

Updated May 15, 2026
One-click install
npx skills add https://github.com/tgmarinho/canetaco --skill document-generate-tgmarinho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-generate
Source: https://github.com/tgmarinho/canetaco/tree/main/.claude/skills/document-generate
Command: npx skills add https://github.com/tgmarinho/canetaco --skill document-generate-tgmarinho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing documentation from scratch is slow and often skipped, leaving features and modules undocumented. This Skill produces complete, structured documentation on demand, following the Diataxis framework so each piece lands in the right format: tutorial, how-to, reference, or explanation. ## Core Features & Use Cases - Diataxis-Structured Output: Generates documentation organized by the four Diataxis types (tutorial, how-to, reference, explanation) so content matches reader intent. - Coverage Gap Filling: Can be invoked standalone or called by /document-release when it detects missing documentation coverage. - Flexible Scope: Documents a single feature, a module, or an entire project depending on the request. - Use Case: After shipping a new API module, ask the assistant to document it and receive a tutorial for new users, a how-to for common tasks, and a reference page for the module's interface. ## Quick Start Ask the assistant to write documentation for this feature using the document-generate skill.

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 feature automatically?

Invoke the document-generate skill with a request like "write docs for this feature" or "document this module". It analyzes the code and produces structured documentation following the Diataxis framework, covering tutorials, how-tos, reference, and explanations.

What is the Diataxis framework for documentation?

Diataxis is a documentation structure that splits content into four types: tutorials for learning, how-to guides for tasks, reference for technical facts, and explanation for understanding. The skill uses it to place each piece of generated content in the right format.

Can document-generate document an entire project or just one module?

It supports both scopes. You can ask it to document a single feature or module, or generate documentation for an entire project. It can also be called by /document-release to fill specific coverage gaps found during a release check.

When should I use document-generate instead of writing docs manually?

Use it when documentation is missing entirely and you need a complete first draft fast, such as after shipping a feature or before a release. Manual writing still fits better for highly nuanced design rationale that only the author knows.

Does document-generate work with other documentation skills?

Yes. It is designed to be called by /document-release when that workflow finds documentation coverage gaps. It can also run standalone whenever you ask to write docs, create a tutorial, or explain a module.