diagnose
Diagnose
A discipline for hard bugs. Skip phases only when explicitly justified.
When exploring the codebase, use the project's domain glossary to get a clear mental model of the relevant modules, and check ADRs in the area you're touching.
Phase 1 — Build a feedback loop
This is the skill. Everything else is mechanical. If you have a fast, deterministic, agent-runnable pass/fail signal for the bug, you will find the cause — bisection, hypothesis-testing, and instrumentation all just consume that signal. If you don't have one, no amount of staring at code will save you.
Spend disproportionate effort here. Be aggressive. Be creative. Refuse to give up.
Ways to construct one — try them in roughly this order
- Failing test at whatever seam reaches the bug — unit, integration, e2e.
More from habonn/portal-skills
daily-commit-summary
|
26commit
Smart git commit workflow using Conventional Commits format with AI-generated commit message suggestions based on staged changes.
22skill-auditor
|
11e2e
Create or update Playwright E2E tests following the project's Page Object Model structure. Use /e2e create for new modules or /e2e update for existing ones.
6sprint-commit-summary
|
6test-ts
Generate TypeScript/Vitest unit tests by analyzing source file flow and ensuring 80%+ coverage.
5