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

gh-find-prs

Review open pull requests against the actual release branch, inspect code changes and failed checks, and produce an evidence-based table recommending direct integration, selective reuse, deferral, or closure, with contributor credit.

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

원문원문 설명 보기

Survey open Codewhale PRs and triage each for mergeability and disposition against the real landing branch.

연동 도구GitHub
설치 방법 보기

이럴 때 유용합니다

  • Reviewing the open pull request queue
  • Selecting contributions for an upcoming release
  • Checking conflicts against a local release branch
  • Planning contributor credit when reusing changes

포함된 파일(1)

  • SKILL.md5.6 KB

SKILL.md(원문)

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

gh-find-prs

Survey the open PR queue and assign each PR a disposition — backed by code, tests, and checks, never by title — testing real mergeability against the actual release branch (often local-only, e.g. <release-branch>), not the main-based GitHub flag.

When to use

  • A maintainer asks "what's in the PR queue?", "what can we land?", or "triage open PRs".
  • Before a release cut, to sweep community contributions into the active release branch.
  • Whenever you need a per-PR DIRECT-MERGE / HARVEST / DEFER / CLOSE-WITH-NOTE call with credit attached.

This is read-and-recommend. You do NOT merge, close, tag, or publish. You surface evidence and a proposed disposition; the maintainer approves.

Workflow

  1. Inventory the queue. One call, structured:

    gh pr list --repo codewhale-hq/CodeWhale --state open \
      --json number,title,author,headRefName,baseRefName,isDraft,mergeStateStatus,statusCheckRollup
    

    Note mergeStateStatus (CLEAN / BLOCKED / DIRTY / UNKNOWN) but treat it as a hint only — it is computed against main, and the real landing target is usually a different branch.

  2. Identify the real landing branch. The release head is frequently local-only:

    git branch --sort=-committerdate --format='%(committerdate:short) %(refname:short)' | head -20
    git log --oneline -1 <release-branch>
    

    Ask the maintainer when several lanes look live. Use that ref, not main, for every mergeability test below.

  3. Read each candidate from code, not title. For every non-trivial PR:

    gh pr view <N> --repo codewhale-hq/CodeWhale \
      --json files,additions,deletions,statusCheckRollup,body,comments
    gh pr diff <N> --repo codewhale-hq/CodeWhale
    

    Read the diff. A "fix(exec): ..." can be a no-op or a regression; a "chore" can be the real fix. Judge the change, the tests it adds, and any review comments.

  4. Decode check failures — distinguish trivial from real. In statusCheckRollup, find each conclusion: FAILURE and read its job. Codewhale's CI jobs are Lint, Test (ubuntu-latest|macos-latest|windows-latest), Version drift, gate (Contribution gate), npm wrapper smoke, Mobile runtime smoke, Documentation, GitGuardian Security Checks.

    • A Lint failure that is only cargo fmt drift is trivial — harvestable, fix on landing with cargo fmt --all.
    • A failing Test (...) or clippy under Lint is real — read the log before trusting it.
    • Version drift failing on a community PR is expected (they bumped, or didn't); not a blocker for harvest.
    cargo fmt --all -- --check && cargo clippy --workspace --all-targets
    
  5. Test-merge against the real release head. The mergeStateStatus flag lies for local branches. Probe the actual merge:

    git merge-tree --write-tree --messages <release-branch> origin/pr/<N>   # if PR ref is fetched
    git merge-tree --write-tree --messages <release-branch> <pr-head-sha>
    

    Exit 0 and no CONFLICT lines → clean against the release branch (DIRECT-MERGE candidate even when GitHub shows BLOCKED/DIRTY). Conflicts printed → HARVEST or DEFER. This is read-only; it writes objects to the object store, not to any branch or working tree.

  6. Assign a disposition with required credit. Per PR, recommend exactly one:

    • DIRECT-MERGE — diff is sound, checks are green or trivially-fixable, merge-tree is clean against the release head. Land via cherry-pick to preserve the original author automatically.
    • HARVEST — the change is good but conflicts, needs fmt/rebase, or is entangled with the release work. Reimplement on the release branch and credit with trailers (cherry-pick is not preserving authorship here):
      Co-authored-by: Name <email>
      
      Harvested from PR #<N> by @handle
      
      The Harvested from PR #<N> by @handle body line is what the auto-close-at-main workflow greps for; a Harvested-from: trailer does not match. See gh-credit-harvest for the exact shape.
    • DEFER — sound but blocked by an open question, missing tests, or a release freeze. Leave a positive, specific comment; do not close.
    • CLOSE-WITH-NOTE — superseded, duplicated, or out of scope. Propose the close to the maintainer with a crediting, appreciative note; never close it yourself.
  7. Report, don't act. Output a compact table: PR | author | landing-branch verdict | check summary | disposition | credit line. Stop there for maintainer approval.

Red flags / don't

  • Don't judge by title. "fix(...)" / "feat(...)" / emoji-prefixed test PRs prove nothing. Open the diff every time.
  • Don't trust mergeStateStatus for the real target. CLEAN/BLOCKED/DIRTY are vs main; always confirm with git merge-tree <release> <pr-head>.
  • Don't conflate trivial and real check failures. A fmt-only Lint red is harvestable; a failing Test (...) is not — read the log.
  • Don't drop credit. Every harvest carries Co-authored-by: + a Harvested from PR #N body line; every cherry-pick keeps the original author. No silent reimplementation.
  • Don't merge, close, retarget, tag, publish, or release. Recommend; the maintainer decides.
  • Don't post negative or nitpicking comments. GitHub-facing comments are positive and crediting; keep critique in your internal report to the maintainer.
  • Don't modify the working tree or any branch. git merge-tree --write-tree is the only "write" allowed — it touches the object store only.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

batch

무료

Split a large goal into clearly bounded tasks that can run in parallel. Coordinate existing agent and worktree tools, then combine and verify the results. The skill starts only when explicitly requested.

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

  • Splitting a large goal into parallel tasks
  • Coordinating work across multiple agents
  • Running tasks in separate worktrees
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

best-of-n

무료

Generate independent options for design, implementation, explanations, or debugging, then compare them using one shared rubric. Code candidates use separate working copies and undergo independent verification before a winner is presented for review.

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

  • Comparing several plausible design approaches
  • Evaluating independent implementations of the same task
  • Comparing explanations or debugging approaches
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Check Codewhale release readiness through ordered tests, builds, version checks, and manual terminal checks. Record command results and observed behavior, including responsiveness, route isolation, and follow-up input handling, while explicitly identifying any skipped checks.

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

  • Run automated checks on the actual release branch
  • Check whether a PR merges into the release branch
  • Manually test terminal responsiveness and input behavior
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Operate desktop apps and isolated browsers on registered computers by inspecting interface controls, entering information, and checking results. The skill also covers screenshots and recording, with separate routing for the user's signed-in Chrome through Chromewhale.

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

  • Entering information through a desktop app interface
  • Working in an isolated browser session
  • Capturing screenshots or recordings for a task
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Check a local Codewhale checkout before contributing: inspect branch and sync status, build the CLI, and run the repository’s CI checks. Present recent commits and changelog entries from local files, with clear status for each step.

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

  • Checking a checkout before contributing
  • Reviewing local changes and sync status
  • Running the build and CI verification commands
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

Builds and installs Codewhale with a source revision identifier, then verifies the installed version in a fresh shell. It guides hands-on runtime checks for interface behavior, routing, approvals, and other changes that automated tests may miss.

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

  • Verifying terminal interface changes in the actual product
  • Installing and checking a local release build
  • Checking model routing and approval behavior
codewhale-hq/Codewhale4.1만2026년 10월 19일 업데이트

codewhale-hq의 스킬 모두 보기

이 스킬의 문제 신고