Investigate Bug

Deep bug investigation using consultant agent. Identifies root causes and fix suggestions.

majiayu000 Updated 567 repo stars

File contents

Investigate bug: $ARGUMENTS


Use the Task tool with subagent_type='consultant:consultant'. The agent gathers symptoms, invokes the consultant CLI, and reports root cause analysis.

Investigation focus:

  1. Root cause: What's actually broken and why
  2. Execution flow: Path from trigger to failure
  3. State analysis: Invalid states, race conditions, timing issues
  4. Data validation: Input validation gaps, edge cases
  5. Error handling: Missing handlers, improper recovery

Severity levels:

  • CRITICAL: Production down, data corruption, widespread impact
  • HIGH: Core functionality broken, major user impact
  • MEDIUM: Feature partially broken, workaround available
  • LOW: Minor issue, limited impact

majiayu000/claude-skill-registry-data/tree/main/development/investigate-bug commit 7d362e20dc

Frequently asked questions

npx skillmds@latest add majiayu000/investigate-bug-2