Skip to content

docs: add post-PR Copilot review loop and fix inline-code span#263

Merged
demandal25 merged 2 commits into
amd-integrationfrom
fix-copilot-pr-workflow
Jun 19, 2026
Merged

docs: add post-PR Copilot review loop and fix inline-code span#263
demandal25 merged 2 commits into
amd-integrationfrom
fix-copilot-pr-workflow

Conversation

@demandal25

Copy link
Copy Markdown
Collaborator

Summary

Adds a documented post-create Copilot review workflow to the pr-workflow skill, and fixes the one remaining Copilot finding from #262 (an inline-code span split across a newline in CLAUDE.md).

What changed

  • .claude/skills/pr-workflow/SKILL.md — new "After creating a PR: handle the Copilot review" section: wait for all Copilot comments to land (and integrate any Copilot auto-push commits), evaluate each comment on its merits, fix the worthwhile ones, then resolve every thread — fixed threads get a commit-SHA reply, won't-fix threads get a written rationale. Includes GraphQL recipes for listing/resolving threads, since the REST /comments/<id> endpoint 404s on review-thread comments.
  • CLAUDE.md — the fetch+reset guidance previously sat inside a single backtick span broken across a line, which markdown can't render. Split into two separate inline-code spans.

Test plan

  • pre-commit run -a (ran via commit hooks; markdownlint and file checks passed)

Document the after-create workflow in the pr-workflow skill: wait for all
Copilot comments, evaluate each on merits, fix the worthwhile ones, then resolve
every thread with either a fix+SHA reply or a won't-fix rationale (GraphQL
recipes included, since REST 404s on review-thread comments).

Also fix a CLAUDE.md inline-code span that was split across a newline (markdown
can't render a multi-line backtick span) by using two separate spans.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 19, 2026 17:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates repo documentation to (1) formalize a post-PR-creation loop for handling GitHub Copilot review comments/threads and (2) fix a Markdown inline-code rendering issue in the core contributor guidance.

Changes:

  • Added an “After creating a PR: handle the Copilot review” section to the pr-workflow skill, including CLI/GraphQL recipes for listing/replying/resolving review threads.
  • Fixed a broken inline-code span in CLAUDE.md by splitting a backtick span that was previously split across a newline.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
CLAUDE.md Fixes Markdown inline-code formatting for the fetch/reset guidance.
.claude/skills/pr-workflow/SKILL.md Documents a post-PR Copilot review workflow and provides example commands for managing review threads.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .claude/skills/pr-workflow/SKILL.md Outdated
Comment thread .claude/skills/pr-workflow/SKILL.md Outdated
Add a "Before creating a PR: quality gate" section to the pr-workflow skill
(simplify/production-ready, /code-review and apply, run relevant pytests, then
commit). Reword the GraphQL aside to correctly state that thread resolution and
isResolved are unavailable via REST (replies are available over REST), and note
the reviewThreads(first:50) query is not exhaustive on large PRs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@demandal25 demandal25 merged commit c1921c7 into amd-integration Jun 19, 2026
1 check passed
@demandal25 demandal25 deleted the fix-copilot-pr-workflow branch June 19, 2026 17:26
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