User Manual Plugin

December 31, 2025 · View on GitHub

Claude Code Repos Index

Claude Code License: MIT

A Claude Code plugin for generating personal user manuals and private documentation for codebases. Creates personalized, private reference guides with PDF output support.

Purpose

Most tech documentation prompts assume public-facing docs for open source projects. This plugin is designed for a different use case: creating documentation for yourself.

Use this plugin when you need:

  • Notes-to-self for repositories or processes created by AI agents
  • A personal reference guide for how something was set up
  • Memory aids for future maintenance of automated systems
  • Private documentation that may include credentials, specific configurations, or internal feature details

Installation

/plugin install user-manual@danielrosehill

Or install from the marketplace:

/plugin marketplace add https://github.com/danielrosehill/Claude-Code-Plugins
/plugin install user-manual@danielrosehill

Available Commands

CommandDescription
/user-manual:user-manualGenerate a complete personal user manual (full workflow)
/user-manual:doc-setupSet up documentation folder structure (Step 1 of 4)
/user-manual:generate-partsGenerate individual documentation sections (Step 2 of 4)
/user-manual:create-pdfCompile sections into a formatted PDF (Step 3 of 4)
/user-manual:disseminateVersion control and distribute the manual (Step 4 of 4)
/user-manual:create-private-repoCreate a private GitHub repository for the project

Workflows

Run /user-manual:user-manual for a complete end-to-end documentation generation that handles everything automatically.

Step-by-Step Workflow

For more control, run the commands sequentially:

  1. /user-manual:doc-setup - Creates docs/ folder with sections/, assets/, and output/ subdirectories
  2. /user-manual:generate-parts - Engages a documentation agent to generate markdown sections
  3. /user-manual:create-pdf - Compiles sections into a formatted PDF (prefers Typst, falls back to Pandoc)
  4. /user-manual:disseminate - Commits to git and optionally distributes via MCP

Key Features

  • Private by default - Documentation can include credentials, internal details, and feature outlines
  • Personalized tone - Friendlier voice than public docs while maintaining technical accuracy
  • Versioned - Tracks version numbers across iterations
  • Professional output - PDF generation with IBM Plex Sans font, page numbers, and Mermaid diagrams
  • MCP integration - Optional distribution to cloud storage, Notion, or email via Resend

Output Format

The generated user manual includes:

  • Title page with your name, project title, version, and date
  • Section-by-section documentation with code samples in proper fences
  • Mermaid diagrams where appropriate
  • Page numbers in footer
  • IBM Plex Sans typography

Plugin Structure

user-manual-plugin/
├── .claude-plugin/
│   └── plugin.json           # Plugin manifest
├── commands/
│   ├── user-manual.md        # Full workflow command
│   ├── doc-setup.md          # Step 1: Setup
│   ├── generate-parts.md     # Step 2: Generate sections
│   ├── create-pdf.md         # Step 3: Compile PDF
│   ├── disseminate.md        # Step 4: Distribute
│   └── create-private-repo.md # Utility command
├── skills/
│   └── documentation-writer/
│       └── SKILL.md          # Documentation writing skill
├── README.md
└── LICENSE

License

MIT

Author

Daniel Rosehill


For more Claude Code projects, visit my Claude Code Repos Index.