skills/debug/SKILL.md
Debug failing tests. Supports multiple tests in parallel. No args = all failing tests.
npx skillsauth add krystophny/prompts debugInstall 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.
Investigate and fix failing tests. Supports multiple tests in parallel.
/debug # All currently failing tests
/debug test_foo # Single test
/debug test_a test_b # Multiple tests in parallel
# Run test suite, capture failing tests
FAILING=$(make test 2>&1 | grep -E "FAIL|FAILED|ERROR" | head -20)
if [ -n "$FAILING" ]; then
echo "Found failing tests:"
echo "$FAILING"
# Extract test names and debug each
else
echo "All tests passing"
exit 0
fi
for TEST in $ARGUMENTS; do
# Spawn sergei-perfectionist-coder agent for each test
# Agents work in parallel
done
# Wait for all agents, collect results
MANDATORY: Spawn sergei-perfectionist-coder for fix implementation.
# Run specific test, capture full output
make test TEST=$TEST 2>&1 | tee /tmp/test-$TEST.log
git log --oneline -10
git diff HEAD~5 -- <relevant-files>
# Run original test - MUST PASS
make test TEST=$TEST
# Run full suite - ALL must pass (100%)
make test
git add <specific-files>
git commit -m "fix: <description>"
# Debug: $TEST
## Root Cause
- Stage: [Parser/Semantics/Codegen/Runtime]
- Issue: [description]
- Location: [file:line]
## Fix
- Files: [list]
- Approach: [description]
## Verification
- Original test: [PASS/FAIL]
- Full suite: [PASS/FAIL]
data-ai
Delegate a bulk-work subtask to the local Qwen via one-shot pi run. Use when the subtask is high-volume but low-complexity (file scans, log parsing, large-text summaries, repetitive transforms) so it should not burn parent-model tokens.
development
Delegate a bulk-work subtask to the local Qwen via one-shot opencode run. Use when the subtask is high-volume but low-complexity (file scans, log parsing, large-text summaries, repetitive transforms) so it should not burn parent-model tokens.
development
ETL pipeline that imports manually-downloaded Discord, LinkedIn, and WhatsApp archive ZIPs into the user's brain vaults as plain files (no APIs, no tokens, no daemons). Use when the task involves processing or querying a Discord/LinkedIn/WhatsApp data export.
tools
The user's email, contacts, personal tasks/todos, and full-CRUD Google + EWS calendars. Drives the sloptools CLI (same surface as the sloppy MCP on 127.0.0.1:9420). Use for mail (Gmail / Exchange-EWS / IMAP — list, read, send, reply, forward, flag, categorize, server-side filters, delegated mailboxes, out-of-office), calendar events (create / update / delete / RSVP / freebusy / ICS export across work + private accounts), contacts and contact groups, tasks (Google Tasks, Todoist), slopshell canvas, agent handoffs, and workspace items/artifacts/actors/triage.