plugins/sjawhar/skills/watch-ci-merge/SKILL.md
Watch CI status, fix failures, and merge when green
npx skillsauth add sjawhar/dotfiles plugins/sjawhar/skills/watch-ci-mergeInstall 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.
Watch the CI status for the current branch's PR. When checks fail, fix them. When everything is green, merge.
jj workspace note: You may be in a non-default jj workspace with no
.gitdirectory. Ifghcommands fail, setGIT_DIRto point to the default workspace:GIT_DIR=/path/to/default/.git gh ...
1. Find the PR:
gh pr view --json number,headRefName,statusCheckRollup,mergeable
2. Monitor CI status:
statusCheckRollup for the state of all checksmergeable is false, rebase is needed (go to step 5)3. When checks fail:
statusCheckRollupgh run list --branch <branch> --status failure --json databaseId -q '.[0].databaseId'gh run view <run-id> --log-failedjj git push4. When all checks pass:
gh pr merge --squash --delete-branch5. Handle main branch changes:
jj git fetch to get latest mainjj rebase -d mainjj git push6. Handle other edge cases:
Done when: PR is merged, or you encounter an unresolvable issue.
Keep iterating until done. If any command fails unexpectedly, report the error.
development
Use when searching flights, hotels, or rental cars; comparing fares across flexible dates; discovering cheap destinations from a fixed origin; or hunting hidden-city ticketing deals. Trigger on multi-city itineraries, fare calendars, "where can I fly cheaply", price-sensitive trip planning, or any time the user wants a sanity-check against Google Flights pricing — Skiplagged surfaces hidden-city deals other engines deliberately hide.
development
Search the web via Ceramic Search (lexical/keyword-based). Use when looking up current events, recent news, time-sensitive facts, specific people/products/companies, technical docs, or any topic requiring fresh web results. Triggers on "search the web", "look up", "find recent", "latest news", "current", or when built-in knowledge is likely stale.
tools
Use when reading WhatsApp messages, searching conversations, sending messages, listing chats, or interacting with WhatsApp workspaces
development
Use when voice mode is active to format responses for listening rather than reading. Triggers on voice interaction, audio output, hands-free mode.