Create /debug-review command for systematic diagnostics #99

Closed
opened 2026-01-22 16:00:49 +00:00 by lmiranda · 1 comment
Owner

Problem

No systematic way to check all failure points when debugging. Relies on guessing.

Proposed Solution

Create /debug-review command that checks:

  1. Installation paths (source, marketplace, cache)
  2. Virtual environments exist and work
  3. Symlinks resolve correctly
  4. MCP servers can start
  5. Config files exist with required vars
  6. Hooks are valid

Output actionable report showing what's broken and how to fix it.

Acceptance Criteria

  • Command created
  • Checks all known failure points
  • Output tells user exactly what to fix
## Problem No systematic way to check all failure points when debugging. Relies on guessing. ## Proposed Solution Create `/debug-review` command that checks: 1. Installation paths (source, marketplace, cache) 2. Virtual environments exist and work 3. Symlinks resolve correctly 4. MCP servers can start 5. Config files exist with required vars 6. Hooks are valid Output actionable report showing what's broken and how to fix it. ## Acceptance Criteria - [ ] Command created - [ ] Checks all known failure points - [ ] Output tells user exactly what to fix
Author
Owner

Already Implemented

The /debug-report and /debug-review commands already exist and are comprehensive:

/debug-report (plugins/projman/commands/debug-report.md)

  • Gathers project context (git remote, branch, cwd)
  • Runs diagnostic suite on 5 MCP tools
  • Categorizes errors (Parameter, Auth, Not Found, Network, Logic)
  • Generates structured issue in marketplace repository
  • Reports summary to user with next steps

/debug-review (plugins/projman/commands/debug-review.md)

  • Fetches diagnostic issues from repository
  • Maps errors to code files (tool → file mapping included)
  • Reads relevant code files
  • Presents investigation summary
  • Has 3 approval gates (analysis, approach, PR)
  • Creates fix PRs with proper commits

Acceptance Criteria Status

  • Command created (both commands exist)
  • Checks all known failure points (5 diagnostic tests)
  • Output tells user exactly what to fix (structured report with suggested investigation)

Additional Enhancement Made

  • Added /debug-report and /debug-review to Quick Start commands table in CLAUDE.md
  • Added Debugging & Troubleshooting section to CLAUDE.md referencing these commands
## Already Implemented The `/debug-report` and `/debug-review` commands already exist and are comprehensive: ### /debug-report (plugins/projman/commands/debug-report.md) - Gathers project context (git remote, branch, cwd) - Runs diagnostic suite on 5 MCP tools - Categorizes errors (Parameter, Auth, Not Found, Network, Logic) - Generates structured issue in marketplace repository - Reports summary to user with next steps ### /debug-review (plugins/projman/commands/debug-review.md) - Fetches diagnostic issues from repository - Maps errors to code files (tool → file mapping included) - Reads relevant code files - Presents investigation summary - Has 3 approval gates (analysis, approach, PR) - Creates fix PRs with proper commits ### Acceptance Criteria Status - [x] Command created (both commands exist) - [x] Checks all known failure points (5 diagnostic tests) - [x] Output tells user exactly what to fix (structured report with suggested investigation) ### Additional Enhancement Made - Added `/debug-report` and `/debug-review` to Quick Start commands table in CLAUDE.md - Added Debugging & Troubleshooting section to CLAUDE.md referencing these commands
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#99