health
Generate a comprehensive health dashboard for your Shipworthy project and plugins.
Before executing this command, output:
⚓ shipworthy › command:
/health— generating health dashboard
Show a comprehensive project and plugin health dashboard.
Part 1: Plugin Installation Health
Verify Shipworthy is correctly installed and functioning:
- Hooks installed: Check
hooks.jsonhas all 4 hook entries (SessionStart, PreToolUse×2, PostToolUse×2) - Hook scripts exist: All 5 hook scripts exist and are executable (
session-start,pre-tool-use,pre-tool-use-bash,post-tool-use,post-tool-use-write) - Shared library:
hooks/lib.shexists and is sourceable - JSON parser available: Check if
jqorpython3is available for robust JSON parsing - Detected tier: What tier was this project assigned? Is it correct?
- Skills loaded: How many skills are available? Any orphaned?
- Hook performance: Run session-start hook and measure execution time. Flag if >3 seconds.
- Debug mode: Is
SHIPWORTHY_DEBUG=1set? If so, check log at~/.shipworthy/debug.log
Part 2: Project Health
- Architecture spec: Present / Missing at
.shipworthy/architecture.md - Test suite: Pass / Fail / No tests found (run
npm testor equivalent) - Build status: Pass / Fail (run
npm run buildor equivalent) - Linter: Configured / Passing / Missing
- Tech debt items: Count from
.shipworthy/tech-debt.md - Dependency vulnerabilities: Count from
npm auditor equivalent - File count: Total source files (indicates quality gate level)
- Quality gate level: 0-4 based on file count and tier
- Feature specs: Count in
.shipworthy/specs/ - In-progress plans: Count in
.shipworthy/plans/
Format as a concise dashboard:
Shipworthy Health Dashboard
============================
Plugin Status
Hooks: 5/5 installed
JSON parser: jq available
Tier detected: maker
Skills loaded: 46 (0 orphaned)
Hook latency: 1.2s (OK)
Project Status
Architecture: Present
Tests: 47 passing, 0 failing
Build: Clean
Linter: ESLint — passing
Tech debt: 3 items (1 critical)
Vulnerabilities: 0 known
Source files: 42 → Quality Gate Level 2
Specs: 3 in .shipworthy/specs/
Plans: 1 in-progress