mkdocs
Build documentation sites with MkDocs and Material for MkDocs. Use when a user asks to create project documentation, configure MkDocs themes, add search and navigation, deploy docs to GitHub Pages, or customize Markdown extensions.
What this skill does
# MkDocs — Python Documentation Generator
## Overview
You are an expert in MkDocs with the Material theme, the Python-powered documentation site generator. You help developers build documentation from Markdown with auto-navigation, search, versioning, and Material Design styling. MkDocs Material is the most popular documentation theme on GitHub, used by FastAPI, Pydantic, and hundreds of open-source projects.
## Instructions
### Setup
```bash
pip install mkdocs-material
mkdocs new my-docs && cd my-docs
mkdocs serve # Live preview at localhost:8000
mkdocs build # Generate static site
```
### Configuration
```yaml
# mkdocs.yml — Full configuration
site_name: My SDK Documentation
site_url: https://docs.example.com
repo_url: https://github.com/org/repo
repo_name: org/repo
theme:
name: material
palette:
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.instant # SPA-like navigation
- navigation.tracking # URL updates as you scroll
- navigation.tabs # Top-level tabs
- navigation.sections # Group sidebar items
- navigation.expand # Auto-expand sidebar sections
- navigation.top # Back to top button
- search.suggest # Search suggestions
- search.highlight # Highlight search terms
- content.code.copy # Copy button on code blocks
- content.code.annotate # Code annotations
- content.tabs.link # Linked content tabs
- announce.dismiss # Dismissible announcements
plugins:
- search
- tags
- social # Auto-generate social cards
markdown_extensions:
- admonition # Callout boxes
- pymdownx.details # Collapsible callouts
- pymdownx.superfences # Nested code blocks, Mermaid
- pymdownx.tabbed:
alternate_style: true # Content tabs
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
- attr_list
- md_in_html
- toc:
permalink: true
nav:
- Home: index.md
- Getting Started:
- Installation: guide/installation.md
- Quick Start: guide/quickstart.md
- Configuration: guide/configuration.md
- API Reference:
- Client: api/client.md
- Authentication: api/auth.md
- Changelog: changelog.md
```
### Markdown Features (Material Theme)
```markdown
## Admonitions (Callout Boxes)
!!! note "Custom Title"
This is a note with a custom title.
!!! warning
This is a warning. Pay attention.
!!! tip "Pro Tip"
Use admonitions to highlight important information.
!!! danger "Breaking Change"
This API is deprecated and will be removed in v3.0.
??? info "Click to expand"
This is a collapsible admonition.
## Content Tabs
=== "Python"
```python
import my_sdk
client = my_sdk.Client(api_key="xxx")
```
=== "JavaScript"
```javascript
import { Client } from "my-sdk";
const client = new Client({ apiKey: "xxx" });
```
=== "cURL"
```bash
curl -H "Authorization: Bearer xxx" https://api.example.com/v1/users
```
## Code Annotations
```python
client = Client(
api_key="xxx", # (1)!
timeout=30, # (2)!
retry=True, # (3)!
)
```
1. Get your API key from the dashboard
2. Timeout in seconds. Default is 60.
3. Automatically retry on 429 and 5xx errors
```
## Installation
```bash
pip install mkdocs-material
```
## Examples
**Example 1: User asks to set up mkdocs**
User: "Help me set up mkdocs for my project"
The agent should:
1. Check system requirements and prerequisites
2. Install or configure mkdocs
3. Set up initial project structure
4. Verify the setup works correctly
**Example 2: User asks to build a feature with mkdocs**
User: "Create a dashboard using mkdocs"
The agent should:
1. Scaffold the component or configuration
2. Connect to the appropriate data source
3. Implement the requested feature
4. Test and validate the output
## Guidelines
1. **Material theme** — Always use `mkdocs-material`; the default theme is functional but Material is beautiful and feature-rich
2. **Code annotations** — Use code annotations `(1)!` for inline explanations; cleaner than long comments
3. **Content tabs** — Show examples in multiple languages side by side; users pick their stack
4. **Admonitions for callouts** — Use `!!! note/warning/tip/danger` for important information; more visible than bold text
5. **Auto-generate API docs** — Use `mkdocstrings` plugin to generate API reference from Python docstrings
6. **Versioning** — Use `mike` for versioned documentation; readers can switch between v1.0, v2.0, latest
7. **Social cards** — Enable the social plugin for auto-generated Open Graph images; looks great on Twitter/Slack
8. **GitHub Pages deployment** — `mkdocs gh-deploy` pushes to GitHub Pages in one command; add to CI for auto-deploy on merge
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.