Health-Check Discovery Phase
The first phase of the /assist:health-check workflow. Discovers all plugin components for health analysis.
Purpose
Scan the plugin directory and identify all components that will undergo health analysis.
Discovery Scope
This phase discovers the same components as verify-discover but with a focus on gathering metadata needed for health scoring:
| Component Type | Discovery Info |
|---|---|
| Skills | Path, name, trigger count, content length |
| Agents | Path, name, tool count, system prompt length |
| Commands | Path, name, tool count, documentation length |
| Hooks | Path, event types, script count |
| Manifests | Path, field completeness |
Discovery Process
- •Locate plugin root: Find
.claude-plugindirectory - •Enumerate components: List all component files
- •Collect metadata: Gather basic stats for scoring
- •Prepare analysis queue: Order components for analysis
Output Format
code
HEALTH_DISCOVERY_REPORT ======================= Plugin Root: plugins/my-plugin/.claude-plugin COMPONENTS_FOR_ANALYSIS: Skills (3): - router-skill: 5 triggers, 1200 chars - semantic-skill: 4 triggers, 980 chars - execute-skill: 3 triggers, 850 chars Agents (3): - router-agent: 4 tools, 2000 chars - semantic-agent: 5 tools, 1800 chars - execute-agent: 6 tools, 2200 chars Commands (2): - assist: 6 tools, full docs - verify: 4 tools, full docs Hooks: - 4 event handlers, 5 scripts Total: 11 components ready for analysis
Transition Evidence
To proceed to analyze phase, provide:
- •
plugin_root: Path to plugin root - •
components: List of components with metadata - •
total_count: Total components to analyze