hatchlisted
Install: claude install-skill gtapps/claude-code-hermit
# Hatch — claude-code-fitness-hermit
Idempotent setup wizard for the fitness plugin. Run **after** `/claude-code-hermit:hatch` has already been completed.
---
## Step 1 — Prerequisite check
Read `.claude-code-hermit/config.json`.
If the file does not exist or `_hermit_versions["claude-code-hermit"]` is absent or empty:
> "The base hermit is not set up in this project yet. Run `/claude-code-hermit:hatch` first, then return here."
Use `AskUserQuestion`: "Would you like to run `/claude-code-hermit:hatch` now? (yes / no)"
- **yes** → invoke `/claude-code-hermit:hatch`, wait for completion, then continue to Step 2.
- **no** → stop.
If `_hermit_versions["claude-code-hermit"]` is present but the version string is earlier than `1.0.26` (compare major.minor.patch numerically), warn:
> "Base hermit version is {version}; this plugin requires ≥1.0.26. Run `/claude-code-hermit:hermit-evolve` to upgrade, then re-run this hatch."
Stop.
---
## Step 2 — Idempotency check
Read `_hermit_versions["claude-code-fitness-hermit"]` from `.claude-code-hermit/config.json`.
Read `version` from `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json`.
If the versions match, say:
> "claude-code-fitness-hermit {version} is already installed. Skip to Step 8 to re-verify the installation, or reply 'full' to re-run the full wizard."
Use `AskUserQuestion`: "(verify / full)"
- **verify** → skip to Step 8.
- **full** → continue from Step 3.
If absent or stale: continue from Step 3.
---
## Step 3