plugins/claude-code-dev-hermit/skills/dev-test/SKILL.md
Run the configured test suite and record the result to .claude-code-hermit/state/last-test.json. /dev-pr reads this record; a fresh pass at HEAD skips re-running. Use for mid-task verification, debugging a failing test in isolation, or as a building block for /dev-quality.
npx skillsauth add gtapps/claude-code-hermit dev-testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the project's configured test command and record the result.
Optional --cwd <path>. When set, the test command runs from <path> and last-test.json records <path>'s HEAD SHA. Use this for nested-repo workflows (see CLAUDE-APPEND §Implementation Flow). <path> must be a git working tree.
Run the following Bash command. Use timeout: 600000 (10-min ceiling). Append --cwd "<path>" when the operator passed --cwd.
bun "${CLAUDE_PLUGIN_ROOT}/scripts/record-test-result.ts" run
If exit 0: report tests: pass.
If exit 1 and stderr is "commands.test not configured": tell the operator to set commands.test in .claude-code-hermit/config.json (or re-run /claude-code-dev-hermit:hatch).
If exit non-zero for any other reason: report tests: FAIL (exit N) with the last 10 lines of output.
/dev-pr invokes the same machinery on cache miss — running /dev-test first is optional but warms the cache (a second /dev-pr call at the same HEAD skips the test run entirely).
For suites longer than 10 min (Bash ceiling): run the test command directly in a terminal, then record the result manually:
bun <CLAUDE_PLUGIN_ROOT>/scripts/record-test-result.ts write <exit_code> <duration_ms>
Then re-run /dev-pr.
tools
Composes and delivers the daily fitness brief — a forward-looking morning read (readiness + today's plan) or a backward-looking evening read (today's training, or an earned-rest note, + tomorrow's setup) — in the operator's configured voice. Invoke with /claude-code-fitness-hermit:fitness-brief --morning|--evening|--slot <name>. Becomes the plugin's two daily beats — the morning Strava connectivity check and the evening activity sync, RPE binding, and Run deep-dive.
development
Renew the hermit's long-lived Claude login token over the channel, before it expires. Relays a one-time sign-in link to the operator, takes the code back, installs the new token, and restarts. Activates on messages like 'relogin', 'renew my login', 'reauth', 'the login is expiring', or when doctor's credential-expiry check flags setup-token.
development
Synthesizes the past 7 days of archived briefs into a weekly digest — top stories, emerging vs faded themes, category activity, and per-source performance built from archive frontmatter. Delivers to the operator's configured channel and archives a weekly note. Designed as a weekly routine. Invoke with /feed-hermit:weekly-digest.
development
Manage developing story arcs tracked across briefs — add, resolve, and list active arcs in compiled/story-arcs-*.md. Arc Watch keywords drive the feed-brief arc-tagging enrichment. Invoke with /feed-hermit:story-arcs add|resolve|list.