document-generate

Generate missing project documentation using the Diataxis framework.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/AlejandroFigini/artist-portfolio --skill document-generate-alejandrofigini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-generate
Source: https://github.com/AlejandroFigini/artist-portfolio/tree/main/.agent/skills/document-generate
Command: npx skills add https://github.com/AlejandroFigini/artist-portfolio --skill document-generate-alejandrofigini

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generate missing documentation from scratch for a feature, module, or entire project, ensuring consistent, accurate guidance without manual authoring.

Core Features & Use Cases

  • Uses the Diataxis framework (tutorial / how-to / reference / explanation) to produce complete, structured documentation.
  • Can be invoked standalone or as part of a document-release workflow, keeping docs synchronized with code.
  • Supports end-to-end documentation generation, including problems, workflows, and quick-start guidance for developers and product teams.

Quick Start

Run document-generate on the target feature or module to produce a ready-to-publish docs set.

Frequently Asked Questions about document-generate

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

FAQPage Schema
How do I generate complete project documentation automatically?

You can generate complete project documentation automatically by running a workflow that analyzes your repository context and produces structured outputs. This process creates tutorials, how-to guides, references, and explanations without manual authoring.

What is the Diataxis framework for documentation?

The Diataxis framework is a documentation structure that divides content into four types: tutorials, how-to guides, reference material, and explanations. It ensures comprehensive coverage of audience needs by separating learning-oriented content from practical steps and technical references.

How do I create a tutorial and reference docs from existing code?

To create tutorials and reference docs from existing code, run an automated generation workflow on your target feature or module. The system aligns output with your repository's context and assets to produce ready-to-publish documentation.

Does this documentation generation approach work with a release workflow?

Yes, documentation generation can be invoked standalone or integrated directly into a document-release workflow. This integration keeps your docs synchronized with code changes during releases without requiring separate manual updates.

Is it safe to generate docs from a repository with prompt injection risks?

Generating docs from a repository with prompt injection risks is handled by enforcing safety gates. The workflow tests prompts for injection risks, prevents data exfiltration, and uses plan-mode safety routing to preserve security while generating output.

What are the limitations of automated documentation generation?

Automated documentation generation relies on existing repository context and assets to ensure correctness, meaning sparse or poorly structured codebases may produce limited output. It operates within safety gates that restrict unsafe prompt execution and prevent data exfiltration.