debug-failing-test
SkillDev toolsSystematic process for diagnosing and fixing a failing test
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the debug-failing-test skill
What this skill tells your AI
The instructions your AI receives, as published by albinotonnina/echos in .hive/prompts/skills/debug-failing-test/SKILL.md and read by ahel’s review.
Follow this order before changing any application code:
-
Reproduce in isolation Run only the failing test and confirm it fails reliably (not intermittently).
-
Read the full error output Do not skim — read the assertion failure, the stack trace, and any stderr output. Note the exact line number in the test and in the source.
-
Check for environment issues
- Is the test DB seeded?
- Are required env vars set in
.env.test? - Is there leftover state from a previous test run?
-
Trace the failure Add a single
console.logat the point of failure to inspect the actual value. Do not add multiple logs at once — add one, run, interpret, then add the next. -
Identify the root cause Is the test wrong (wrong expectation), the fixture wrong (bad test data), or the code wrong? Fix the right thing — do not change a test expectation just to make it pass.
-
Verify the fix Run the full test suite after fixing. If the fix touches shared utilities, check for regressions in related tests.
Signals
- GitHub stars
- 60
- Forks
- 8
- Last commit
- Jul 2026
Advanced
- Catalog kind
- skill
- Gateway key
debug-failing-test- Source
- github.com/albinotonnina/echos