Files
leo-claude-mktplace/plugins/doc-guardian/commands/doc-coverage.md
lmiranda 2d51df7a42 feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action>
sub-command pattern. Git-flow consolidated from 8→5 commands (commit
variants absorbed into --push/--merge/--sync flags). Dispatch files,
name: frontmatter, and cross-reference updates for all plugins.

Phase 2: Design documents for 8 new plugins in docs/designs/.

Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate,
saas-react-platform, saas-test-pilot, data-seed, ops-release-manager,
ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents,
skills, README, and claude-md-integration. Marketplace grows from 12→20.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 14:52:11 -05:00

1.2 KiB

name, description
name description
doc coverage Calculate documentation coverage percentage for functions and classes

/doc coverage

Analyze codebase to calculate documentation coverage metrics.

Skills to Load

  • skills/coverage-calculation.md
  • skills/doc-patterns.md

Visual Output

+------------------------------------------------------------------+
|  DOC-GUARDIAN - Documentation Coverage                           |
+------------------------------------------------------------------+

Process

  1. Scan Source Files Execute skills/coverage-calculation.md - identify documentable items

  2. Determine Documentation Status Check each item has meaningful docstring/JSDoc

  3. Calculate Metrics Use formula from skill: Coverage = (Documented / Total) * 100

  4. Output Use format from skills/coverage-calculation.md

Options

Flag Description Default
--path <dir> Scan specific directory Project root
--exclude <glob> Exclude pattern **/test_*
--min-coverage <pct> Fail if below none
--detailed Check params/returns false

Exit Codes

  • 0: Coverage meets threshold
  • 1: Coverage below threshold