skills/check/SKILL.md
Review changes before commit. Supports multiple PRs in parallel via worktrees. No args = current changes or PR.
npx skillsauth add krystophny/prompts checkInstall 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.
Review changes before committing. Supports multiple PRs in parallel using git worktrees.
/check # Current changes or current PR
/check 123 # Review PR #123
/check 123 456 789 # Multiple PRs in parallel worktrees
# 1. Check for uncommitted changes
if [ -n "$(git status --porcelain)" ]; then
echo "Reviewing uncommitted changes"
MODE="local"
else
# 2. 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 "Reviewing PR #$CURRENT_PR"
MODE="pr"
PR=$CURRENT_PR
else
echo "No changes and no PR - nothing to review"
exit 0
fi
fi
for PR in $ARGUMENTS; do
BRANCH=$(gh pr view $PR --json headRefName --jq '.headRefName')
WORKTREE="/tmp/worktree-$PR"
if [ ! -d "$WORKTREE" ]; then
git worktree add "$WORKTREE" "$BRANCH"
fi
# Spawn patrick-reviewer agent in background for this worktree
done
# Wait for all agents, collect results
MANDATORY: Spawn patrick-reviewer for review.
git status
git diff --stat
git diff
git diff main...HEAD --stat
git log main..HEAD --oneline
cd $WORKTREE # or current dir
gh pr diff $PR
gh pr view $PR --json additions,deletions,changedFiles
gh pr checks $PR
If reviewing local changes and they pass:
# Offer to create PR
BRANCH="review/$(date +%Y%m%d-%H%M%S)"
git checkout -b "$BRANCH"
git add <specific-files>
git commit -m "<type>: <description>"
git push -u origin "$BRANCH"
gh pr create --title "<title>" --body "<body>"
for PR in $ARGUMENTS; do
git worktree remove "/tmp/worktree-$PR" 2>/dev/null
done
# Review: [PR #N | Local Changes]
## Status: [PASSED | ISSUES FOUND]
### Clean Code: [PASS/FAIL]
### Tech Debt: [NONE/FOUND]
### Issues: [list if any]
## Verdict: [Ready | Needs fixes]
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.