Skip to content

docs(agents): add /rev and /fix-ci skills#751

Merged
cpcloud merged 6 commits intomainfrom
worktree-nested-pondering-clarke
Mar 11, 2026
Merged

docs(agents): add /rev and /fix-ci skills#751
cpcloud merged 6 commits intomainfrom
worktree-nested-pondering-clarke

Conversation

@cpcloud
Copy link
Copy Markdown
Collaborator

@cpcloud cpcloud commented Mar 11, 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

cpcloud and others added 2 commits March 10, 2026 21:34
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>
Copilot AI review requested due to automatic review settings March 11, 2026 01:36
- 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>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 /rev and /fix-ci in AGENTS.md skill triggers.
  • Add .claude/commands/rev.md with a rebase → address review feedback → fix CI → push flow.
  • Add .claude/commands/fix-ci.md with 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.

Comment thread .claude/commands/rev.md
Comment thread .claude/commands/rev.md
Comment thread .claude/commands/rev.md
Comment thread .claude/commands/fix-ci.md
Comment thread .claude/commands/rev.md
cpcloud and others added 2 commits March 10, 2026 21:40
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>
Copilot AI review requested due to automatic review settings March 11, 2026 02:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .claude/commands/rev.md Outdated
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 cpcloud merged commit 8fda35a into main Mar 11, 2026
18 checks passed
@cpcloud cpcloud deleted the worktree-nested-pondering-clarke branch March 11, 2026 10:06
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants