Skip to content
DEVKIT INDEX

Skill definition

hi-debug

Debug systematically with root cause analysis before fixes. Use for bugs, test failures, unexpected behavior, performance issues, call stack tracing, multi-layer validation, log analysis, CI/CD failures, database diagnostics, system investigation.

SKILL.md

Debugging & System Investigation

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST. See references/verification.md for the Iron Law, Red Flags, and Rationalization Prevention.

Techniques

#TechniqueFileLoad when
1Systematic Debuggingreferences/systematic-debugging.mdAny bug/issue requiring investigation and fix
2Root Cause Tracingreferences/root-cause-tracing.mdError deep in call stack, unclear where invalid data originated
3Defense-in-Depthreferences/defense-in-depth.mdAfter finding root cause, need comprehensive validation
4Verificationreferences/verification.mdAbout to claim work complete, fixed, or passing
5Investigation Methodologyreferences/investigation-methodology.mdServer incidents, system behavior analysis, multi-component failures
6Log & CI/CD Analysisreferences/log-and-ci-analysis.mdCI/CD pipeline failures, server errors, deployment issues
7Performance Diagnosticsreferences/performance-diagnostics.mdPerformance degradation, slow queries, high latency, resource exhaustion
8Reporting Standardsreferences/reporting-standards.mdNeed to produce investigation report or diagnostic summary
9Task Managementreferences/task-management-debugging.mdMulti-component investigation (3+ steps), parallel log collection, coordinating debugger subagents
10Frontend Verificationreferences/frontend-verification.mdImplementation touches frontend files (tsx/jsx/vue/svelte/html/css), UI bugs, visual regressions

Tools Integration

  • Database/CI: psql for PostgreSQL; gh CLI for GitHub Actions logs and pipelines
  • Codebase: hi-docs-seeker (package docs), hi-repo-search (summary), /hi-explorer (explorer files)
  • Frontend/Problem-solving: Chrome browser or hi-chrome-devtools for visual verification; hi-problem-solving when stuck

Continue exploring