// Expert at organizing and managing documentation structure across projects. Auto-invokes when organizing documentation files, setting up documentation frameworks, creating documentation directories, managing doc site configurations, or establishing documentation standards for a project. Provides guidance on documentation architecture and tooling.
| name | managing-docs |
| description | Expert at organizing and managing documentation structure across projects. Auto-invokes when organizing documentation files, setting up documentation frameworks, creating documentation directories, managing doc site configurations, or establishing documentation standards for a project. Provides guidance on documentation architecture and tooling. |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash |
You are an expert at organizing, structuring, and managing documentation across software projects.
This skill auto-invokes when:
Best for: Small projects, libraries, single-purpose tools
project/
โโโ README.md # Main documentation
โโโ CONTRIBUTING.md # Contribution guidelines
โโโ CHANGELOG.md # Version history
โโโ LICENSE # License file
โโโ docs/
โโโ api.md # API reference (if needed)
Best for: Medium projects, applications with multiple features
project/
โโโ README.md # Overview and quick start
โโโ CONTRIBUTING.md
โโโ CHANGELOG.md
โโโ LICENSE
โโโ docs/
โโโ index.md # Documentation home
โโโ getting-started.md
โโโ installation.md
โโโ configuration.md
โโโ usage/
โ โโโ basic.md
โ โโโ advanced.md
โโโ api/
โ โโโ index.md
โ โโโ [module].md
โโโ guides/
โ โโโ [topic].md
โโโ troubleshooting.md
Best for: Large projects, frameworks, platforms
project/
โโโ README.md
โโโ CONTRIBUTING.md
โโโ CHANGELOG.md
โโโ LICENSE
โโโ docs/
โโโ mkdocs.yml # Doc site config
โโโ index.md
โโโ getting-started/
โ โโโ index.md
โ โโโ installation.md
โ โโโ quick-start.md
โ โโโ first-project.md
โโโ guides/
โ โโโ index.md
โ โโโ [topic]/
โ โโโ index.md
โโโ reference/
โ โโโ index.md
โ โโโ api/
โ โโโ cli/
โ โโโ configuration/
โโโ tutorials/
โ โโโ [tutorial]/
โโโ concepts/
โ โโโ [concept].md
โโโ examples/
โ โโโ [example]/
โโโ contributing/
โโโ index.md
โโโ development.md
โโโ style-guide.md
Best for: Monorepos with multiple packages
monorepo/
โโโ README.md # Monorepo overview
โโโ docs/
โ โโโ index.md # Overall documentation
โ โโโ architecture.md
โ โโโ packages.md
โโโ packages/
โโโ package-a/
โ โโโ README.md # Package-specific docs
โ โโโ docs/
โโโ package-b/
โโโ README.md
โโโ docs/
Characteristics:
Characteristics:
Characteristics:
Characteristics:
Installation:
pip install mkdocs mkdocs-material
Basic mkdocs.yml:
site_name: Project Name
theme:
name: material
features:
- navigation.tabs
- navigation.sections
- search.highlight
nav:
- Home: index.md
- Getting Started:
- Installation: getting-started/installation.md
- Quick Start: getting-started/quick-start.md
- Guides:
- guides/index.md
- API Reference:
- reference/index.md
plugins:
- search
- autorefs
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- admonition
- toc:
permalink: true
Commands:
mkdocs serve # Local development server
mkdocs build # Build static site
mkdocs gh-deploy # Deploy to GitHub Pages
Installation:
npx create-docusaurus@latest docs classic
Key Configuration (docusaurus.config.js):
module.exports = {
title: 'Project Name',
tagline: 'Project tagline',
url: 'https://your-domain.com',
baseUrl: '/',
themeConfig: {
navbar: {
title: 'Project',
items: [
{ to: '/docs/intro', label: 'Docs', position: 'left' },
{ to: '/blog', label: 'Blog', position: 'left' },
],
},
},
};
Installation:
pip install sphinx sphinx-rtd-theme
sphinx-quickstart docs
conf.py Setup:
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
]
html_theme = 'sphinx_rtd_theme'
# Napoleon settings for Google-style docstrings
napoleon_google_docstring = True
napoleon_numpy_docstring = False
Installation:
npm install typedoc --save-dev
typedoc.json:
{
"entryPoints": ["src/index.ts"],
"out": "docs/api",
"exclude": ["**/*.test.ts"],
"excludePrivate": true,
"includeVersion": true
}
โ getting-started.md # Lowercase with hyphens
โ api-reference.md # Clear and descriptive
โ installation.md # Single word when possible
โ GettingStarted.md # No PascalCase
โ getting_started.md # No underscores
โ GETTING-STARTED.md # No all caps (except special files)
README.md # Project overview (required)
CONTRIBUTING.md # Contribution guidelines
CHANGELOG.md # Version history
LICENSE # License text
CODE_OF_CONDUCT.md # Community standards
SECURITY.md # Security policy
Project Root:
Documentation Directory:
Individual Documents:
For projects with multiple versions:
docs/
โโโ latest/ # Symlink to current version
โโโ v2.0/
โโโ v1.5/
โโโ v1.0/
npm run docusaurus docs:version 1.0
Automatic version switching based on git tags.
docs/ directory structurename: Deploy Documentation
on:
push:
branches: [main]
paths:
- 'docs/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
# .pre-commit-config.yaml
repos:
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
- id: markdownlint
args: ['--fix']
This skill works with: