/documentation-tools:mcp-tool-docs-stingerfrom documentation-tools
Documents MCP tools, TypeScript APIs, and CLIs with schema, output, side effects, examples, and doc-to-code sync. Use when writing or auditing tool/API/CLI documentation.
Ships in documentation-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.
Procedural arsenal for mcp-tool-docs-wasp-drone, the Wasp Nest's tool/API/CLI documentation specialist. This stinger encodes how to document any tool, API, and CLI surface honestly: schema-selected tools (MCP tools first and foremost - name, purpose, input schema, output shape, side effects, annotations, examples), the TypeScript public API rendered with a generator (TypeDoc, and API Extractor where a reviewable public-API contract is needed), a CLI's command surface, doc-to-code sync discipline, and changelog discipline tied to a released artifact's real version.
Hivemind (@deeplake/hivemind) - the MCP tools exposed by src/mcp/server.ts plus the OpenClaw goal/KPI contracts, its TypeScript public API, the hivemind CLI, and its sync-versions-driven changelog - remains fully covered throughout as a worked example. The guides teach the general practice first and point to the Wasp Nestmind case for a real, end-to-end illustration.
Load this stinger when mcp-tool-docs-wasp-drone is invoked. Typical triggers:
Do NOT load it for:
mcp-protocol-wasp-drone).technical-writing-craft-wasp-drone). This Drone transcribes facts from source honestly; it does not review prose craft.api-docs-wasp-drone).docs-site-wasp-drone).readme-writing-wasp-drone).library/ knowledge convention or general knowledge capture docs (route to library-wasp-drone / knowledge-wasp-drone).vector-store-wasp-drone).Read these in order before doing anything else:
guides/00-principles.md - doc honesty, the five quality gates, when to route elsewhere, and the core invariants (general, not product-specific).guides/01-mcp-tool-docs.md - how to document any schema-selected tool from its real registration and handler. Read this before documenting any tool.research/distilled-mcp-tool-docs.md - the current synthesis: honest MCP tool docs (including annotations), TypeScript API reference generation beyond TypeDoc, CLI documentation conventions, doc-to-code sync tooling, and changelog automation.Then walk the remaining guides in task order. Each guide teaches the general practice first, then points to the matching examples/*.md file for a worked Hivemind case. Always read the real source before writing - these docs are honest about the code or they are wrong.
mcp-tool-docs-stinger/
├── SKILL.md (this file)
├── README.md (one-page human overview)
├── guides/
│ ├── 00-principles.md (doc honesty, five quality gates, scope boundary, cross-links)
│ ├── 01-mcp-tool-docs.md (documenting any schema-selected tool from its real schema + handler)
│ ├── 02-typedoc.md (TypeScript API reference generation: TypeDoc + API Extractor)
│ ├── 03-cli-docs.md (documenting any CLI's command surface)
│ ├── 04-doc-sync.md (keeping docs in sync with code; drift detection, hand-rolled or tooled)
│ ├── 05-changelog.md (changelog discipline tied to a released artifact's version)
│ └── 06-done-checklist.md (10-point validation before docs ship)
├── examples/ (worked examples - all Hivemind-specific, clearly labeled)
│ ├── hivemind-search-tool-doc.md (full worked doc for the hivemind_search MCP tool)
│ ├── hivemind-cli-reference.md (CLI reference for install / status / login)
│ ├── typedoc-setup.md (TypeDoc config + npm script for the TS public API)
│ └── changelog-entry.md (worked changelog entry for a real version bump)
├── templates/
│ ├── mcp-tool-doc.md (tool doc template: name/purpose/schema/output/side-effects/examples)
│ ├── cli-command-reference.md (CLI command reference template)
│ ├── typedoc-json.md (typedoc.json + package.json script template)
│ ├── docs-sync-workflow.yml (CI workflow that fails when docs drift from code)
│ └── changelog-entry.md (changelog entry template tied to a released version)
├── reports/
│ └── README.md (how past audit summaries accumulate)
└── research/
├── distilled-mcp-tool-docs.md (current synthesis, 2026-08-14 - read this first)
├── research-plan.md (original Hivemind-anchored plan, 2026-06-16 - DO NOT MODIFY)
├── research-summary.md (original Hivemind-anchored summary, 2026-06-16 - DO NOT MODIFY)
├── index.md (index across both research passes)
└── external/ (source notes: 2 from 2026-06-16, 8 new from 2026-08-14)
| Surface | Source of truth | How it's documented |
|---|---|---|
| Schema-selected tools (MCP, etc.) | the server's tool-registration code | Name, purpose, input schema, output shape, side effects, annotations (where the protocol defines them), examples |
| TypeScript public API | exported types + functions in source | TypeDoc (readable reference), API Extractor (reviewable public-API contract) - pick one or both per guides/02-typedoc.md |
| CLI | the CLI's dispatch/routing + its own usage/help text | Command reference: usage, flags, side effects, non-interactive path, disambiguation notes |
| In-repo reference docs | README, architecture/feature docs | Kept in sync with code; doc honesty enforced |
| Changelog | the artifact's single-sourced released version | Entry per released version, hand-written impact-first or generated from Conventional Commits |
Worked example (Hivemind): the MCP tools shipped today are hivemind_search, hivemind_read, and hivemind_index (stdio transport, read-only, auth via ~/.deeplake/credentials.json); OpenClaw additionally contracts hivemind_goal_add and hivemind_kpi_add (write tools). The TS public API is rendered with TypeDoc from src/index.ts. The CLI (hivemind install [--only <platforms>] [--skip-auth] [--token <value>], hivemind <agent> install, hivemind uninstall, hivemind login, hivemind status, hivemind update [--dry-run], plus goal/kpi/context/graph/dashboard/rules/skillify/embeddings <sub>) is documented from src/cli/index.ts routing - never from memory. The changelog tracks @deeplake/hivemind, single-sourced via scripts/sync-versions.mjs. See guides/01-mcp-tool-docs.md through guides/05-changelog.md for the general procedure each of these demonstrates, and examples/*.md for the worked docs themselves.
This stinger owns the source-derived reference-docs layer for tool, API, and CLI surfaces. Three adjacent stingers own territory this one does not - cross-link rather than re-teaching their material:
technical-writing-craft-stinger - the craft of writing well: Diataxis mode classification, inverted-pyramid structure, code-example discipline, voice/tone, ghostwriting, docs-as-code prose review. Use it when the question is "is this well-written," not "does this doc match the code."api-docs-stinger - OpenAPI/REST API documentation specifically: Swagger UI / Redoc / Scalar / Mintlify / Stoplight / Bump.sh tool selection, OpenAPI spec example enrichment, REST SDK generation (openapi-generator-cli, Fern, Speakeasy). Use it for a REST API's OpenAPI spec and its renderer; use this skill for the TypeScript SDK's exported symbols and any MCP/CLI surface.docs-site-stinger - documentation-site platform selection and hosting (Docusaurus, Starlight, Mintlify, GitBook, MkDocs Material, Nextra, Fern), docs-as-code CI for a whole site, search setup. This skill's generated API reference is often published inside one of those sites - picking and running the site itself belongs there.These are non-negotiables. Full justification in guides/00-principles.md.
src/mcp/server.ts is a bug, not documentation.inputSchema, the output content shape, and the side effects are facts, not prose. Honest or wrong, no middle.scripts/sync-versions.mjs single-sources the version; the changelog tracks @deeplake/hivemind releases, not arbitrary dates.mcp-protocol-wasp-drone / readme-writing-wasp-drone.readOnlyHint / destructiveHint / idempotentHint / openWorldHint, the tool doc records the real values and flags any contradiction with the prose side-effect claim; where none are set, say so and note the pessimistic default a client will assume.api-docs-wasp-drone, docs-site-wasp-drone, or technical-writing-craft-wasp-drone respectively - see Cross-links above.Forged by stinger-forge from mcp-tool-docs-wasp-drone-command-brief.md and research/. Broadened to general tool/API/CLI documentation practice 2026-08-14, Hivemind material preserved as worked examples. Part of The Wasp Nest, curated by Mario Aldayuz a.k.a @thenotoriousllama.
README.md (opens in a new tab)examples/changelog-entry.md (opens in a new tab)examples/hivemind-cli-reference.md (opens in a new tab)examples/hivemind-search-tool-doc.md (opens in a new tab)examples/typedoc-setup.md (opens in a new tab)guides/00-principles.md (opens in a new tab)guides/01-mcp-tool-docs.md (opens in a new tab)guides/02-typedoc.md (opens in a new tab)guides/03-cli-docs.md (opens in a new tab)guides/04-doc-sync.md (opens in a new tab)guides/05-changelog.md (opens in a new tab)guides/06-done-checklist.md (opens in a new tab)reports/README.md (opens in a new tab)research/distilled-mcp-tool-docs.md (opens in a new tab)research/research-summary.md (opens in a new tab)templates/changelog-entry.md (opens in a new tab)templates/cli-command-reference.md (opens in a new tab)templates/docs-sync-workflow.yml (opens in a new tab)templates/mcp-tool-doc.md (opens in a new tab)templates/typedoc-json.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mcp-tools, api-documentation, cli-documentation, typedoc, api-extractor, changelog
npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin documentation-tools11 skills in this plugin
/api-docs-stingerBuild and maintain API docs. Use for OpenAPI examples, renderer choice, hosting, SDK consumer compatibility, or changelogs. Read README.md for the guide map./archivist-stingerPrepares 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-stingerSelect and maintain developer docs sites. Use for Docusaurus, Mintlify, Starlight, Diataxis, search, or docs-as-code CI. Read README.md for the guide map.Other plugins' skills for the same job