Skip to content

v1.1.0

Choose a tag to compare

@eddieran eddieran released this 26 Feb 07:28
· 52 commits to main since this release

What's New

Self-Healing Doctor (skillpm doctor)

The doctor command has been revamped from a read-only diagnostic into an idempotent self-healing tool — think go mod tidy for your skill environment. Run it anytime; it detects drift and auto-fixes.

7 Checks (dependency order)

Check What it does
config Creates missing config, auto-enables detected agent adapters
state Resets corrupt state.toml to empty
installed-dirs Removes orphan directories and ghost state entries
injections Removes stale injection refs to uninstalled skills
adapter-state Re-syncs adapter's injected.toml with canonical state
agent-skills Restores missing skill files in agent directories
lockfile Removes stale lock entries, backfills missing from state

New Output Format

[ok   ] config           config valid
[ok   ] state            state valid
[fixed] installed-dirs   installed dirs reconciled
  -> removed 1 orphan dir: unknown_skill@v0.0.0
[ok   ] injections       injection refs valid
[ok   ] adapter-state    adapter state synced
[ok   ] agent-skills     agent skill files present
[ok   ] lockfile         3 lock entries verified

done: 1 fixed

Breaking Changes

  • --enable-detected flag removed — This behavior is now absorbed into the config check. Just run skillpm doctor with no flags.

Other Changes

  • Exported adapter.ExtractSkillName() and added adapter.AgentSkillsDirForScope() for downstream use
  • 22 unit tests covering all checks + idempotency verification

Full Changelog: v1.0.1...v1.1.0