본문으로 건너뛰기
cccskills
무료GitHub에 공개

pr-review-recycle

Use to process automated PR review feedback (Copilot, Greptile, Codex) and iterate until all AI threads are addressed, checks are green, and the PR is merge-ready. Trigger when the user says "address review feedback", "recycle reviews", or references an automated reviewer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

PR Review Recycle Loop

Use this skill when you need to process automated PR review feedback (Copilot, Greptile, Codex) and iterate until:

  • All automated review threads are addressed (fixed, explained, or explicitly deferred).
  • PR checks are green.
  • The PR is ready for a human to merge.

Canonical workflow: .codex/prompts/automated-review-cycle.md. This file is a Claude Code mirror of .opencode/skills/pr-review-recycle/SKILL.md and exists for harness-specific standing rules. Precedence: if the canonical workflow conflicts with this wrapper (for example, around committing/pushing), this wrapper wins.

Standing Rules

  • Prefix all GitHub prose (PR comments, issue comments, PR descriptions) with [AGENT] (repo rule, see AGENTS.md).
  • Do not create commits unless explicitly asked by the user.
  • Do not force push.
  • Do not amend commits unless explicitly asked.
  • Do not bypass git hooks (for example, do not use --no-verify).
  • Do not commit secrets or .env files.

Inputs You Need

  • PR number (or PR URL).
  • Repo owner/name.

Practical Command Set

Snapshot state:

gh pr view <PR> --json url,title,headRefName,baseRefName,state,mergeable,updatedAt
gh pr view <PR> --json statusCheckRollup
gh pr diff <PR>

Collect review threads (paginate until hasNextPage=false):

gh api graphql -f query='query($owner:String!, $name:String!, $number:Int!, $after:String){ repository(owner:$owner,name:$name){ pullRequest(number:$number){ reviewThreads(first:100, after:$after){ totalCount pageInfo{hasNextPage endCursor} nodes{ id isResolved isOutdated comments(first:50){ nodes{ id author{login} body } } } } } } }' \
  -F owner=<OWNER> -F name=<REPO> -F number=<PR> -F after=<CURSOR_OR_null>

Resolve a thread after replying:

gh api graphql -f query='mutation($threadId:ID!){ resolveReviewThread(input:{threadId:$threadId}){ thread{ id isResolved } } }' \
  -F threadId=<THREAD_ID>

Minimal Loop Checklist

Repeat until stable:

  • Snapshot: gh pr view + gh pr diff.
  • Collect:
    • Review threads via GraphQL (paginate until hasNextPage=false).
    • PR conversation issue comments (Greptile sometimes posts follow-ups there).
  • Triage: decide must-fix, should-fix, nit, or defer (with a tracking issue).
  • Implement smallest safe fix, add/adjust tests.
  • Run the smallest proving checks, then (if needed) the broader gate:
yarn lint:check
yarn test
yarn build:all
  • If UI or visual tests changed:
yarn test:e2e
yarn test:visual
  • Refresh review threads and issue comments again before declaring done.
  • Reply + resolve all AI bot review threads (even if rejecting the suggestion).
  • Wait for checks to go green, then wait at least 5 minutes after the latest push and do one last refresh to catch late bot updates.

Repo Notes (Chronote)

  • Visual regression is prone to flake if snapshots are updated casually, only run yarn test:visual:update after confirming the UI change is correct.
  • If you changed frontend UI, follow AGENTS.md expectations for Storybook + screenshot capture.
  • When checking for unresolved AI threads, always paginate reviewThreads, do not assume first: 100 is enough.

Permissions Note

Inline replies and resolveReviewThread can fail due to token permissions.

Fallback behavior:

  • Reply where possible.
  • Add a PR-level [AGENT] comment listing what you addressed, and ask a maintainer to resolve remaining threads.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Analyze Chronote product adoption with PostHog and Langfuse, including active users, meetings, feature usage, AI telemetry, and privacy-safe resolution of active Discord guild IDs to live server names.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Chronote-gg/Chronote42026년 10월 23일 업데이트

Use when a change affects user-visible behavior at docs.chronote.gg and needs public documentation. Covers where docs live (apps/docs-site vs docs/), authoring checklist, yarn docs:check, and Algolia config. Trigger when the user mentions docs, release notes, what's-new, or user-facing PR changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Chronote-gg/Chronote42026년 10월 23일 업데이트

Investigate errors, incidents, or product ideas using both internet research and repo-wide codebase research, then propose a concrete changeset plan with clarifying questions before any implementation. Use when a user asks to investigate, root-cause, or plan changes, or when an Issue or PR is referenced and needs a plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Chronote-gg/Chronote42026년 10월 23일 업데이트

Query aggregate Langfuse cost, volume, latency, and model telemetry efficiently with Metrics API v2. Use for dashboards, rollout checks, usage summaries, and cost or latency comparisons; use Observations API v2 instead when individual rows are actually required.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Chronote-gg/Chronote42026년 10월 23일 업데이트

Configure and debug MCP servers for OpenCode, Codex CLI, and Claude Code, including auth headers, scope, and validation checks. Use when MCP tools fail to connect or when adding a new MCP server.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Chronote-gg/Chronote42026년 10월 23일 업데이트

Configure and debug MCP servers for Claude Code, OpenCode, and Codex CLI, including auth headers, scope, and validation checks. Use when MCP tools fail to connect, when an MCP server returns 401/404/HTML, or when adding a new MCP server to this repo.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Chronote-gg/Chronote42026년 10월 23일 업데이트

Chronote-gg의 스킬 모두 보기

이 스킬의 문제 신고