← ClaudeAtlas

forge-doctorlisted

Run the Forge diagnostic report to surface environment, plugin, project, and global-state issues. Use this skill whenever a user types `/forge:doctor`, reports that Forge isn't working, says hooks aren't firing, asks "is my Forge install OK?" or "what's wrong with Forge?", or wants a health check before reporting a bug. Make sure to use this skill BEFORE suggesting reinstallation or other heavy remediations — the doctor output frequently identifies the actual problem and the exact fix command to run.
tonmoy007/forge-plugins · ★ 1 · Data & Documents · score 72
Install: claude install-skill tonmoy007/forge-plugins
# Forge Doctor Runs `scripts/doctor.py`, which performs 13 deterministic checks across environment, plugin integrity, project state, and global state. Each failing check includes a specific fix command. The script exits 0 if all checks pass (warnings allowed), 1 if any fail. ## When to Use - User types `/forge:doctor` or `/forge:health` - User says "Forge isn't working", "hooks aren't firing", "something's wrong with Forge" - User reports a Forge bug — run this BEFORE suggesting reinstall or workarounds - Pre-flight check before a Forge upgrade or before tagging a release - User asks "why isn't `/forge:init` running?" or any other Forge command-failure question - User pastes an error message that mentions Forge, hooks, or `pipeline/` ## Steps 1. Determine the project directory: - If `$ARGUMENTS` contains a path, use it - Otherwise use `${CLAUDE_PROJECT_DIR}` if set, else the current working directory 2. Run the diagnostic. Default invocation: ```bash python ${CLAUDE_PLUGIN_ROOT}/scripts/doctor.py --cwd "<project>" ``` 3. If the user wants only failures and warnings (no passes), add `--quiet` 4. If the user wants machine-readable output (parsing in a script), add `--json` 5. Present the output to the user **verbatim**. Do NOT paraphrase the `Fix:` lines — they are literal shell commands the user must run, not English advice 6. If the report shows recent entries under `Recent errors`, recommend the user view `.forge/hook-errors.log` for full tracebacks