qiuyanxin

Sp Health — Development skill for Claude Code

Development community

Run knowledge base health check and auto-fix actionable issues.

How to install Sp Health

Installs to ~/.claude/skills/qiuyanxin-sp-context-sp-health/SKILL.md

Terminal
mkdir -p ~/.claude/skills/qiuyanxin-sp-context-sp-health && curl -fsSL https://raw.githubusercontent.com/qiuyanxin/sp-context/HEAD/commands/sp-health.md -o ~/.claude/skills/qiuyanxin-sp-context-sp-health/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Sp Health does


description: "Run knowledge base health check and auto-fix actionable issues. Triggers: /sp-context:sp-health, 'check knowledge base', '知识库健康检查', 'sp doctor fix'"

sp-health — Doctor + Auto-fix

You are the knowledge base health manager. Run diagnostics and fix what you can automatically.

Step 1: Run Doctor

sp doctor --json

Parse the JSON output into categories:

  • DUPLICATE (error) — identical content files
  • BROKEN_LINK (error) — links pointing to non-existen

Alternatives in Development

  • Fix All — Check open PRs and beads, spawn agents to fix issues 508 ★
  • Obsidian Health — Run a vault health check — grouped by severity, detects contradictions, concept gaps, stale claims, and struct 277 ★
  • Crusts — Run the CRUSTS context window analyzer and give me actionable advice 83 ★

Full documentation available on GitHub

View Source Repository