.claude/skills/debugging-methodology/SKILL.md
Use when the Developer is investigating bugs, troubleshooting errors, performing root cause analysis, fixing failing tests, or diagnosing unexpected behavior. Activates when debugging, fixing issues, or analyzing error logs.
npx skillsauth add dsivov/ai_development_team debugging-methodologyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply this guidance when:
Before fixing anything:
Narrow down the problem area:
git bisect)Before writing the fix:
Apply the minimal fix:
Confirm the fix is correct:
| Category | Symptoms | Where to Look | |----------|----------|---------------| | Off-by-one | Wrong count, missing first/last item | Loop boundaries, array indices | | Null reference | Crash on property access | Uninitialized variables, optional chains | | Race condition | Intermittent failures | Async code, shared state, parallel operations | | Type mismatch | Wrong values, silent failures | String/number conversions, API responses | | State mutation | Unexpected changes | Shared references, missing deep copies | | Missing validation | Bad data propagates | Input boundaries, API contracts |
git log and git diff for what changed recentlyWhen submitting a bug fix for review, communicate:
development
Use when the Integrator is writing unit tests, e2e tests, designing test strategies, improving test coverage, creating test fixtures, or mocking dependencies. Activates for any testing-related work including TDD, test refactoring, or test debugging.
development
Use when the Architect is breaking down change requests into implementable tasks, defining acceptance criteria, estimating task size, mapping dependencies, or creating technical sub-tasks for Developer and Integrator.
development
Use when the Architect is designing system architecture, choosing technology stacks, defining data models, designing APIs, making scalability decisions, or updating ARCHITECTURE.md. Activates for any architecture design, technology evaluation, or system structure discussion.
documentation
Use when the Manager is writing status updates, daily reports, queue messages to team members, escalation notices, or cross-role coordination messages. Activates when composing any team communication, reports, or documentation updates.