From dev-toolkit
Generate technical documentation. Subcommands: internal (team Markdown docs), html (end-user HTML feature docs). Analyzes project structure to produce accurate, complete documentation.
npx claudepluginhub lucaspadularrosa/claude-plugins --plugin dev-toolkitThis skill is limited to using the following tools:
```
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Share bugs, ideas, or general feedback.
$ARGUMENTS
Parse the first word as the subcommand. Parse --output <dir> if present.
| Input | Action |
|---|---|
internal | Generate internal team documentation (Markdown) |
html [--output <dir>] | Generate end-user HTML documentation |
| (anything else) | Show usage help |
Before generating any docs, understand the project:
CLAUDE.md, README.md (if they exist).package.json / pyproject.toml / pom.xml / go.mod to identify the stack.src/, app/, lib/, api/, routes/, controllers/, services/.internalGoal: Generate comprehensive technical documentation for the development team.
Identify modules/features: Using Glob and Grep, find:
For each significant module, generate a Markdown file in docs/internal/<module-name>.md containing:
Generate index: Create docs/internal/README.md as a navigation index listing all generated docs with one-line descriptions.
Output: List all files created/updated.
htmlGoal: Generate end-user facing HTML documentation describing project features.
Identify user-facing features: Scan for:
For each feature, collect:
Generate HTML: Create a single self-contained <output-dir>/index.html (default: docs/user-guide/) with:
Use this HTML template structure:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>[Project Name] — User Guide</title>
<style>/* embedded CSS */</style>
</head>
<body>
<nav><!-- feature list --></nav>
<main><!-- feature sections --></main>
</body>
</html>
Output: Report the generated file path.
dev-toolkit:tech-docs — Technical Documentation Generator
Usage:
/dev-toolkit:tech-docs internal Generate team docs (Markdown)
/dev-toolkit:tech-docs html Generate user guide (HTML)
/dev-toolkit:tech-docs html --output <dir> Custom output directory
Output locations (default):
internal → docs/internal/
html → docs/user-guide/index.html