返回 Skill 列表
extension
分类: 开发与工程无需 API Key

mkdocs-documentation

MkDocs Material 文档管理。当在docs/中编写、格式化或验证文档时应使用此技能。涵盖了警告、Mermaid图表、带有注释的代码块、内容标签、导航设置以及mkdocs测试。如果有特定项目的Claude技能和Claude代理文档,请始终检查项目特定文档docs/dev/ai/skills/ 和 docs/dev/ai/agents/。

person作者: jakexiaohubgithub

MkDocs Material Documentation

Write and maintain documentation using MkDocs Material in the docs/ directory.

Project-Specific Claude Documentation

Always check first for project-specific Claude configurations:

  • docs/dev/ai/skills/SKILL-NAME.md - Project-specific Claude skill docs
  • docs/dev/ai/agents/AGENT-NAME.md - Project-specific Claude agent docs

These take precedence over general patterns.

Quick Reference

| Task | Reference | |------|-----------| | Callout boxes | admonitions.md | | Flowcharts, diagrams | diagrams.md | | Syntax highlighting | code-blocks.md | | Multi-option examples | content-tabs.md | | Links, nav structure | navigation.md | | Build, validate | testing.md |

Common Patterns

Admonition with Code

!!! example "Usage"

    ```python
    from module import func
    func()
    ```

Tabbed Installation

=== "pip"

    ```bash
    pip install package
    ```

=== "poetry"

    ```bash
    poetry add package
    ```

Feature Documentation

## Feature Name

!!! info "Requirements"
    List prerequisites here.

### Configuration

```yaml
setting: value

Usage

Description with examples.

!!! warning Important caveats.


## Workflow

1. **Write content** - Use references for formatting syntax
2. **Preview** - `mkdocs serve` for live reload
3. **Validate** - `mkdocs build --strict` catches issues
4. **Document Claude features** - Update `docs/dev/ai/skills/` or `docs/dev/ai/agents/` if adding project-specific Claude skills or agents

## Validation Commands

```bash
# Dev server with live reload
mkdocs serve

# Strict build (CI validation)
mkdocs build --strict

# Quick dirty reload during editing
mkdocs serve --dirty