docs(agents): add /rev and /fix-ci skills#751
Merged
Conversation
Add a new agent skill that rebases onto main, addresses unresolved PR review feedback (with GraphQL thread fetching and comment replies), and diagnoses/fixes failing CI jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a standalone skill that fetches failed CI logs, diagnoses root causes, fixes them locally, and pushes with verification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- rev.md: reference /fix-ci instead of inlining CI steps, note that review feedback and CI fixing can run in parallel, add `id` field to GraphQL query for comment replies - fix-ci.md: remove redundant PR number lookup, extract run ID from detailsUrl already fetched in step 1 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds two new agent “skills” to standardize PR revision and CI-fix workflows, and registers their triggers so agents can invoke them consistently.
Changes:
- Register
/revand/fix-ciinAGENTS.mdskill triggers. - Add
.claude/commands/rev.mdwith a rebase → address review feedback → fix CI → push flow. - Add
.claude/commands/fix-ci.mdwith a focused CI diagnosis and repair flow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
AGENTS.md |
Registers the new /rev and /fix-ci skill triggers. |
.claude/commands/rev.md |
New procedure for rebasing, handling review threads, and fixing CI. |
.claude/commands/fix-ci.md |
New standalone procedure for diagnosing and fixing CI failures. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add thread resolution to /rev skill: after addressing feedback and replying, resolve the thread via GraphQL mutation if extremely confident the comment is fully addressed. Leave open if any doubt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add databaseId to GraphQL comment query for REST reply support - Add concrete reply instruction using databaseId - Fix gh pr checks fields: use name,state,link (not conclusion/detailsUrl) - Fix detailsUrl -> link reference in fix-ci run ID extraction Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Renumber sections 4/5 to 3/4 (was skipping 3) and fix "loop back to step 3" to correctly reference step 2b. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cpcloud
added a commit
that referenced
this pull request
Mar 19, 2026
## Summary - Add `/rev` skill: rebase onto main, address unresolved PR review feedback (GraphQL thread fetching with `databaseId` for REST replies, auto-resolve when confident), and delegate CI fixes to `/fix-ci` - Add `/fix-ci` skill: standalone skill to diagnose failing CI from `link` URLs, fetch logs, fix, verify locally, and push - Register both skill triggers in AGENTS.md --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/revskill: rebase onto main, address unresolved PR review feedback (GraphQL thread fetching withdatabaseIdfor REST replies, auto-resolve when confident), and delegate CI fixes to/fix-ci/fix-ciskill: standalone skill to diagnose failing CI fromlinkURLs, fetch logs, fix, verify locally, and push