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
Convert an existing static HTML site into a private Codex Site, optionally adding a persistent authenticated API and local programmatic writes. Use only when deliberately invoked as $html2site.
business
Research verified local events and create ranked, source-linked activity reports.
development
Preview available meeting options and create Google Calendar invites with attendee availability and room booking after confirmation. Use when directly invoked via $cal or when asked to schedule a meeting.
testing
Manage Git preflight, branches, worktrees, pushes, and completed-work cleanup. Use whenever creating a pr or when explicitly invoked.