Applies markdown documentation standards optimized for LLM consumption and Pandoc PDF export, including section numbering rules, hub-and-spoke architecture, and machine-readable spec priority.
Ships in doc-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Standards for writing markdown documentation optimized for both LLM consumption and conversion to professional PDFs using Pandoc. Ensures consistency across all documentation.
Use when:
Machine-Readable Priority: OpenAPI 3.1.0 specs, JSON Schema, YAML specifications take precedence over human documentation.
Why: Structured formats provide unambiguous contracts that both humans and LLMs can consume reliably. Human docs supplement, don't replace, machine-readable specs.
Application:
Pattern: Central hubs (like CLAUDE.md, INDEX.md) link to detailed spokes (skills, docs directories).
Structure:
CLAUDE.md (Hub - Essentials Only)
↓ links to
Skills (Spokes - Progressive Disclosure)
├── SKILL.md (Overview + Quick Start)
└── references/ (Detailed Documentation)
Rules:
Critical Rule: Never manually number markdown headings.
❌ Wrong:
## 1. Introduction
### 1.1 Background
### 1.2 Objectives
## 2. Implementation
✅ Correct:
## Introduction
### Background
### Objectives
## Implementation
Rationale:
--number-sections flag auto-numbers all sections when generating PDFsRule: If markdown might ever convert to PDF, never manually number headings. Use semantic heading levels (##, ###) and let tools handle numbering.
Use this checklist when creating or reviewing documentation:
[text](url), not bare URLsHub (CLAUDE.md):
## PDF Generation from Markdown
**Quick Start**: Use pandoc-pdf-generation skill
**Critical Rules**:
1. Never write ad-hoc pandoc commands
2. Always verify PDFs before presenting
3. See skill for detailed principles
Spoke (skill/SKILL.md):
Workflow Specification (specifications/hook-prompt-capture.yaml):
openapi: 3.1.1
info:
title: Hook Prompt Capture Workflow
version: 1.0.0
paths:
/capture-prompt:
post:
summary: Capture user prompt from hook
# ... detailed spec
Human Documentation (README.md):
## Workflow
See [hook-prompt-capture.yaml](./specifications/hook-prompt-capture.yaml)
for complete workflow specification.
Quick overview: ...
Documentation standards ensure:
Follow these standards for all documentation.
| Issue | Cause | Solution |
|---|---|---|
| Double section numbers in PDF | Manual numbering in markdown | Remove manual numbers, use --number-sections only |
| Broken links in PDF | Relative paths incorrect | Use repo-root paths for cross-document links |
| Code block no syntax color | Missing language identifier | Add language after opening triple backticks |
| Tables render poorly | Column widths too wide | Use shorter headers or pipe-table format |
| Hub doc too long | Too much detail in hub | Move details to spoke documents, link from hub |
| Duplicate content | Same info in multiple docs | Identify SSoT, remove duplicates, add links |
| YAML spec not rendering | Wrong file extension | Use .yaml extension for OpenAPI specs |
| Index navigation missing | No INDEX.md or README.md | Create navigation index in each directory |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/academic-pdf-to-gfmConvert academic PDF papers to GitHub-renderable GFM markdown with math equations. TRIGGERS - PDF, GitHub markdown, math/ascii-diagram-validatorValidate ASCII diagram alignment in markdown. TRIGGERS - diagram alignment, ASCII art, box-drawing diagrams./glossary-managementManage terminology glossary with Vale. TRIGGERS - sync terms, glossary validation, add terms, Vale vocabulary./latex-buildLaTeX builds with latexmk and live preview. TRIGGERS - latexmk, LaTeX build, live preview, compilation./latex-setupLaTeX environment setup on macOS. TRIGGERS - install LaTeX, MacTeX, Skim viewer, SyncTeX setup./latex-tablesLaTeX tables with tabularray package. TRIGGERS - LaTeX table, tabularray, fixed-width columns, table alignment./doc-tools:documentation-standardsfrom doc-tools
npx claudepluginhub terrylica/cc-skills --plugin doc-toolsOther plugins' skills for the same job