skills/monitoring-prs/SKILL.md
Monitor all open PRs for new review comments and CI failures, then automatically address them. Use when asked to monitor PRs, watch PRs, auto-respond to PR comments, auto-fix CI, keep PRs green, or babysit open pull requests.
npx skillsauth add abhiroopb/synthetic-mind monitoring-prsInstall 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.
Continuously monitor all open PRs authored by you. Detect new review comments and CI failures, then automatically address them: respond to comments, fix code, commit, and push.
STOP — Before proceeding, verify prerequisites:
gh auth status to confirm GitHub CLI is authenticated.gh api user --jq '.login' to confirm user identity.Run the polling script to find PRs with actionable items. This checks for:
If no PRs have actionable items, report "All PRs are clean ✅" and stop.
If CI is failing:
cd to the repo if locally available, otherwise clone itgh pr checkout <PR_URL>check-ci skill to analyze and fix CI failuresFor each unresolved comment thread, evaluate and act:
If the comment requests a valid code change:
After fixing, reply to the comment thread:
gh api "repos/$OWNER/$REPO/pulls/$PR_NUMBER/comments" \
-f body="Addressed — updated by AI Agent 🤖" \
-F in_reply_to=<COMMENT_ID>
If you disagree with the suggestion, reply with technical reasoning instead.
After addressing a comment, resolve the thread via GraphQL:
gh api graphql -f query='
mutation {
resolveReviewThread(input: {threadId: "<THREAD_ID>"}) {
thread { id }
}
}'
After all comments on a PR are addressed:
git push
Push once after all fixes for a given PR, not after each individual commit.
## PR Monitor Summary
### PR #123 — "Add feature support" (org/repo)
- ✅ CI: Fixed compile error, pushed, CI now green
- ✅ Comments: Addressed 3 review comments, replied to 1 question
### PR #456 — "Update checkout flow" (org/repo)
- ✅ Comments: Addressed 2 review comments
- ⏭️ CI: Already passing
If asked to "keep monitoring" or "watch continuously":
— AI Agent 🤖testing
Track TV shows and movies with Trakt.tv. Search, get watchlist, history, up-next, recommendations, trending, calendar, ratings, stats, add/remove from watchlist, mark watched, rate, and check in. Use when asked about what to watch, TV shows, movies, watch history, or Trakt.
development
Send and receive SMS messages via Twilio API. Used for text message notifications, forwarding important alerts, and two-way SMS communication.
documentation
Organizes files in the local Downloads folder into proper folders. Use when asked to organize, sort, or file downloaded documents.
tools
Book and manage appointments on Sutter Health MyHealth Online portal. Uses browser automation via Playwright MCP to interact with the patient portal.