active/debug-test-failure/SKILL.md
Determine whether test failures come from the current branch.
npx skillsauth add kevinslin/skills debug-test-failureInstall 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.
Use this skill to answer one question: did the current branch's changes introduce the observed test failure, or did the failure already exist at the baseline before the user's or agent's changes?
Capture the current context.
git status --short, and test command.Identify the comparison baseline.
git config user.email and git config user.name.git merge-base HEAD @{upstream}
git merge-base HEAD origin/main
git merge-base HEAD origin/master
git log --reverse --format='%H%x09%an%x09%ae%x09%s' <base>..HEAD
<base> as the comparison commit.dev.worktrees conventions when available: store worktrees under ~/.worktrees/<repo>/.git worktree add --detach ~/.worktrees/<repo>/debug-test-failure-<short-sha> <baseline-commit>
debug-test-failure-<short-sha>-2.Run comparable tests.
/tmp/debug-test-failure-current.log and /tmp/debug-test-failure-baseline.log.Compare results.
Report the outcome.
development
Create, rename, audit, or close a tracked Codex task whose turns and status are persisted in the local thread ledger. Only use when directly invoked.
testing
Manage Git preflight, branch and worktree creation, and completed-work cleanup. Use when explicitly invoked.
databases
Automatically use for durable knowledge, configured project-context lookup, and schema-backed artifact layouts.
content-media
Create, update, or optimize skills and SKILL.md content.