Project documentation with MkDocs Material - consistent structure, API auto-generation, GitHub Pages deployment
/plugin marketplace add bryonjacob/aug/plugin install aug-dev@augThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Comprehensive project documentation using MkDocs Material. Works for any project type: libraries, applications, services.
docs/
├── index.md # Landing page
├── getting-started/
│ ├── installation.md
│ └── quickstart.md
├── guides/
│ ├── architecture.md
│ └── core-concepts.md
├── reference/ # Components/modules
│ └── feature-name.md
├── examples/
│ └── example-1.md
└── api/ # Auto-generated (libraries)
└── module.md
site_name: Project Name
site_url: https://username.github.io/repo/
repo_url: https://github.com/username/repo
theme:
name: material
palette:
- media: "(prefers-color-scheme)"
scheme: default
primary: indigo
toggle:
icon: material/brightness-7
name: Dark mode
- scheme: slate
primary: indigo
toggle:
icon: material/brightness-4
name: Light mode
features:
- navigation.sections
- content.code.copy
- search.suggest
plugins:
- search
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- admonition
nav:
- Home: index.md
- Getting Started:
- Installation: getting-started/installation.md
- Quick Start: getting-started/quickstart.md
- Reference:
- Feature: reference/feature.md
Python (mkdocstrings):
plugins:
- mkdocstrings:
handlers:
python:
options:
show_source: true
docstring_style: google
# pyproject.toml
[project.optional-dependencies]
docs = ["mkdocs-material>=9.5", "mkdocstrings[python]>=0.24"]
TypeScript:
npx typedoc --plugin typedoc-plugin-markdown --out docs/api
Rust/Go: Link to docs.rs or pkg.go.dev
# Serve docs locally
docs-serve:
uv run mkdocs serve --dev-addr 0.0.0.0:8000
# Build docs
docs-build:
uv run mkdocs build
# Deploy to GitHub Pages
docs-deploy:
uv run mkdocs gh-deploy --force
.github/workflows/docs.yml:
name: Deploy Documentation
on:
push:
branches: [main]
paths: ['docs/**', 'mkdocs.yml']
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
# Project Name
**Brief tagline**
One-paragraph description.
## Key Features
- **Feature 1** - Description
- **Feature 2** - Description
## Quick Example
\`\`\`python
# Complete, runnable example (< 20 lines)
\`\`\`
## Installation
\`\`\`bash
pip install project-name
\`\`\`
## Next Steps
- [Installation Guide](getting-started/installation.md)
- [Quick Start](getting-started/quickstart.md)
Guides:
Reference:
Quality:
docs-build succeeds without warningsThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.