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

pr-review-fix

Periodically analyze open pull requests for CI failures, code review feedback, and quality issues, then fix them in batch. Use this skill when the user asks to check PR status, triage CI failures, fix review comments, analyze open PRs, or run a scheduled PR health check across the repository.

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

연동 도구GitHub
설치 방법 보기

포함된 파일(6)

  • SKILL.md4.2 KB
  • references/ci-pipeline.md2.3 KB
  • references/discovery.md2.2 KB
  • references/fix-recipes.md4.2 KB
  • references/fix-workflow.md3.4 KB
  • references/triage.md2.4 KB

SKILL.md(원문)

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

PR Review & Fix

Systematically analyze open pull requests for CI failures, code review feedback, and code quality issues — then fix them efficiently.

When to use this skill

Use this skill when you need to:

  • Check the status of all open PRs (CI, reviews, conflicts)
  • Triage and fix CI build/test failures on PR branches
  • Address code review feedback (reviewer comments, requested changes)
  • Run a scheduled health check across all open PRs
  • Fix multiple PRs in a single session without losing context

Do NOT use for:

  • Creating new PRs or new features
  • Merging PRs (that's a manual decision)
  • General code refactoring unrelated to PR feedback
  • Reviewing code as a reviewer (this skill is for responding to reviews)

Workflow

Phase 1 — Discovery

  1. Read references/discovery.md for the full discovery procedure.
  2. Fetch the list of open PRs from GitHub:
    gh pr list --state open --json number,title,headRefName,statusCheckRollup,reviewDecision,mergeable --limit 30
    
  3. For each PR, classify its health status:
    • 🔴 CI Failed — at least one required check failed
    • 🟡 Changes Requested — reviewer left requested changes
    • 🟢 Healthy — CI passing + approved or no review yet
    • ⚪ Conflict — merge conflicts detected

Phase 2 — Triage

  1. Read references/triage.md for prioritization rules.
  2. Prioritize by severity: CI failures > review changes > conflicts.
  3. For each failing PR, identify root cause category:
    • Build error — TypeScript/webpack compilation failure
    • Test failure — vitest/jest test assertion or timeout
    • Lint/type error — ESLint, type-check, or format issues
    • Review feedback — code style, logic, security, or design concerns
  4. Present a summary table to the user before proceeding to fixes.

Phase 3 — Fix

  1. Read references/fix-workflow.md for the fix procedure.
  2. For each PR to fix (in priority order): a. Stash current work: git stash b. Check out the PR branch: git checkout -B <branch> github/<branch> c. Reproduce the issue locally (build, test, or lint) d. Apply the fix e. Verify locally: build → test → lint f. Commit with conventional-changelog format: fix(<scope>): 🔧 <description> g. Push: git push github <branch> h. Return to original branch: git checkout <original> && git stash pop
  3. After all fixes, present a completion summary.

Phase 4 — Verify

  1. After pushing fixes, wait 1-2 minutes for CI to trigger.
  2. Check CI status for each fixed PR:
    gh pr checks <number>
    
  3. If CI still fails, loop back to Phase 3 for that PR.

Routing

TaskRead
Discover and list open PR statusreferences/discovery.md
Prioritize which PRs to fix firstreferences/triage.md
Execute fixes on PR branchesreferences/fix-workflow.md
Understand project CI pipelinereferences/ci-pipeline.md
Common fix patterns and recipesreferences/fix-recipes.md

Git safety rules

  • Never force-push to a PR branch unless explicitly asked.
  • Never amend commits that are already pushed.
  • Always stash before switching branches.
  • Always verify build + test locally before pushing.
  • One commit per fix session — keep the diff reviewable.

Commit conventions

Follow the project's conventional-changelog format:

fix(<scope>): 🔧 <english description>

Where <scope> is the affected module (e.g., cloudrun, security, code-quality, test).

Minimum self-check

  • Did you fetch the latest remote state before analyzing?
  • Did you reproduce the failure locally before attempting a fix?
  • Did you verify build + test pass after applying the fix?
  • Did you switch back to the original branch after each fix?
  • Did you present a clear summary of what was fixed and what remains?

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM proxies, agent orchestration. The only SDK supporting image generation (ai.createImageModel + generateImage). Text via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*; model ids (e.g. deepseek-v4-flash, glm-5, kimi-k2.6) go in the `model` field of generateText/streamText. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web) or Mini Program (use ai-model-wechat).

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

TencentCloudBase/CloudBase-AI-Toolkit1.1천2026년 10월 19일 업데이트

Use this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk. Default routing for Web/frontend AI — call directly from the browser, do NOT propose a Node.js proxy. Covers generateText and streamText; models via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*, model id in the `model` field. MUST run two-step preflight before code — see body. NOT for Node.js backend (use ai-model-nodejs), Mini Program (use ai-model-wechat), or image generation (Node SDK only).

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

TencentCloudBase/CloudBase-AI-Toolkit1.1천2026년 10월 19일 업데이트

Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and streamText with callbacks (onText, onEvent, onFinish); streamText needs a data wrapper, generateText returns the raw response. Models via wx.cloud.extend.AI.createModel with groups hunyuan-exp (小程序成长计划), cloudbase (main managed), or custom-*; model id goes in the data wrapper `model` field. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs).

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

TencentCloudBase/CloudBase-AI-Toolkit1.1천2026년 10월 19일 업데이트

Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially during periodic quality review or before preparing corrective PRs.

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

TencentCloudBase/CloudBase-AI-Toolkit1.1천2026년 10월 19일 업데이트

CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI.

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

TencentCloudBase/CloudBase-AI-Toolkit1.1천2026년 10월 19일 업데이트

CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth providers, publishable-key prerequisites, login methods, SMS/email sender setup, or other provider-side readiness before implementing a client or backend auth flow.

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

TencentCloudBase/CloudBase-AI-Toolkit1.1천2026년 10월 19일 업데이트

TencentCloudBase의 스킬 모두 보기

이 스킬의 문제 신고