skills/fix/SKILL.md
Fix failing PR CI checks. Supports multiple PRs in parallel via worktrees. No args = current PR or create new.
npx skillsauth add krystophny/prompts fixInstall 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.
Fix failing CI checks. Supports multiple PRs in parallel using git worktrees.
/fix # Current PR, or create new from changes
/fix 123 # Single PR
/fix 123 456 789 # Multiple PRs in parallel worktrees
# 1. Check if current branch has open PR
CURRENT_PR=$(gh pr view --json number --jq '.number' 2>/dev/null)
if [ -n "$CURRENT_PR" ]; then
echo "Working on current PR #$CURRENT_PR"
# Continue with PR workflow
else
# 2. Check for uncommitted changes
if [ -n "$(git status --porcelain)" ]; then
echo "Creating new PR from current changes"
BRANCH="fix/$(date +%Y%m%d-%H%M%S)"
git checkout -b "$BRANCH"
# Stage, commit, push, create PR
else
echo "No PR and no changes - nothing to do"
exit 0
fi
fi
For each PR number, create a worktree and spawn parallel agent:
for PR in $ARGUMENTS; do
BRANCH=$(gh pr view $PR --json headRefName --jq '.headRefName')
WORKTREE="/tmp/worktree-$PR"
# Create worktree if not exists
if [ ! -d "$WORKTREE" ]; then
git worktree add "$WORKTREE" "$BRANCH"
fi
# Spawn agent in background for this worktree
# Each agent works independently in its worktree
done
# Wait for all agents to complete
# Collect and report results
MANDATORY: Spawn sergei-perfectionist-coder for implementation.
gh pr view $PR --comments
gh api repos/{owner}/{repo}/pulls/$PR/comments --jq '.[] | "\(.user.login): \(.body)"'
STOP if reviewer requested specific approach. Follow it EXACTLY.
BRANCH=$(gh pr view $PR --json headRefName --jq '.headRefName')
RUN_ID=$(gh run list --branch $BRANCH --limit 1 --json databaseId --jq '.[0].databaseId')
gh run view $RUN_ID --log-failed 2>&1 | grep -E "error:|Error:|FAILED|fatal:" | head -50
cd $WORKTREE # or current dir if single PR
git pull origin $BRANCH
# Build and run failing test
# Implement fix (spawn sergei-perfectionist-coder)
# Run tests - ALL must pass (100%)
git add <specific-files>
git commit -m "fix: <description>"
git push
gh run watch $RUN_ID --exit-status
After completion:
for PR in $ARGUMENTS; do
WORKTREE="/tmp/worktree-$PR"
git worktree remove "$WORKTREE" 2>/dev/null
done
completed + successdata-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.