Skip to content

legioncodeinc/documentation-tools

v3.0.0AGPL-3.0-or-later

Refresh, extract, publish and package documentation from real sources.

api-docs-stinger

Build and maintain API docs. Use for OpenAPI examples, renderer choice, hosting, SDK consumer compatibility, or changelogs. Read README.md for the guide map.

archivist-stinger

Prepares an acquired repository for archival: provenance intake, attribution and PII scrub, docs merge into library/, knowledge-base fleet, identifier rename, verification. Any language or license.

docs-site-stinger

Select and maintain developer docs sites. Use for Docusaurus, Mintlify, Starlight, Diataxis, search, or docs-as-code CI. Read README.md for the guide map.

kb-refresh-stinger

Full documentation refresh: inventory, writer fleet, grounded citations, adversarial verification, security and quality gates, one ready PR per unit, PDF plus markdown report, master suspect list.

library-packets-stinger

Turn a library into cited audience packets in Markdown, Word and branded PDF. Use for executive, public, sales, service or engineering documents grounded in existing sources.

markdown-mdx-content-pipeline-stinger

Build Markdown and MDX pipelines. Use for compiler choice, remark/rehype plugins, syntax highlighting, diagrams, or sanitization. Read guides/ for the decision path.

mcp-tool-docs-stinger

Documents MCP tools, TypeScript APIs, and CLIs honestly: schema, output, side effects, examples, doc-to-code sync. Use when writing or auditing tool/API/CLI docs.

source-command-explain-repository

Explain how a supplied repository works using source evidence, an eighth-grade reading level, and bounded analogies.

source-command-kb-refresh

Run the full documentation audit and refresh pipeline on a repository: inventory, writer fleet, grounded citations, adversarial verification, security and quality gates, one ready PR per unit, then the work report in PDF plus markdown and the master suspect list. Trigger with "refresh the docs", "kb refresh", "rebuild the knowledge base", "doc swarm".

source-command-library-packets

Produce cited audience documents from a library in Markdown, Word and branded PDF. Check source coverage, public boundaries and every final page.

wiki-stinger

Extract code entities into the wiki. Use for atomic pages, backlinks, inferred ADRs, contradiction checks, or wiki linting. Read README.md for the guide map.