Generate Markdown tables of contents before publishing docs or README updates
Installation
SKILL.md
Generate Markdown tables of contents before publishing docs or README updates
Runs DocToc to insert or refresh navigable tables of contents inside Markdown files after headings already exist. Use it when an agent is preparing README or docs updates and needs reliable intra-document navigation, not when it is generating the documentation itself.
Prerequisites
Node.js, npm, command line
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g doctoc
Requirements and caveats from upstream:
-
DocToc
- Docker image
-
Docker image