본문으로 건너뛰기
Skillpedia
일반 코딩18k · #10626

pr

하는 일

이 스킬은 GitHub에 명확한 제목과 변경 사항 설명을 담은 초안 풀 리퀘스트를 열고, 준비될 때까지 검토 라운드를 따라갑니다. 검토를 위해 코드를 공유하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓브랜치의 풀 리퀘스트를 GitHub에서 열고 싶을 때.
  • ✓변경 내용을 나열한 풀 리퀘스트 제목과 설명이 필요할 때.
  • ✓병합 준비 전에 풀 리퀘스트가 검토 라운드를 거쳐야 할 때.

스킬 링크

https://github.com/windmill-labs/windmill/blob/main/.agents/skills/pr/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/windmill-labs/windmill/blob/main/.agents/skills/pr/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 브랜치의 초안 풀 리퀘스트를 열어 주세요. 변경 사항 요약과 테스트 계획을 포함해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 main 이후의 커밋을 확인하고, 브랜치를 푸시하고, 초안을 열고, 모든 판정이 통과가 될 때까지 검토 라운드를 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Pull Request Skill

Create a draft pull request with a clear title and explicit description of changes, then drive it through CI review rounds to ready.

Instructions

  1. Analyze branch changes: Understand all commits since diverging from main
  2. Push to remote: Ensure all commits are pushed
  3. Create draft PR: Always open as draft for review before merging
  4. Drive review rounds: trigger CI reviews on the draft and only flip to ready once every verdict is a go (see "Review rounds" below)

PR Title Format

Follow conventional commit format for the PR title:

<type>: <description>

Types

  • feat: New feature or capability
  • fix: Bug fix
  • refactor: Code restructuring
  • docs: Documentation changes
  • chore: Maintenance tasks
  • perf: Performance improvements

Title Rules

  • Keep under 70 characters
  • Use lowercase, imperative mood
  • No period at the end
  • If *_ee.rs files were modified, prefix with [ee]: [ee] <type>: <description>

PR Body Format

The body MUST be explicit about what changed. Structure:

## Summary
<Clear description of what this PR does and why>

## Changes
- <Specific change 1>
- <Specific change 2>
- <Specific change 3>

## Test plan
- [ ] <How to verify change 1>
- [ ] <How to verify change 2>

The harness/tooling that invoked the skill may add its own attribution trailer; the skill itself does not prescribe one.

Screenshots (required for frontend changes)

If git diff main...HEAD --name-only matches ^frontend/, the PR body must include screenshots of the affected UI. Skip only when there is no visible UI effect (types, tests, build config) — and say so in the body.

  1. Verify the change in the browser (frontend/AGENTS.md → "Verifying Frontend Changes").

  2. Screenshot each affected page with mcp__playwright__browser_take_screenshot (save to a file).

  3. Host each image and get its Markdown embed by pushing to the public windmill-labs/agent-screenshots-internal repo. Pipe base64 through stdin — passing it as -f content=… fails with argument list too long on real images:

    REPO=windmill-labs/agent-screenshots-internal
    IMG=screenshot.png                                          # repeat per page
    DEST="shots/$(git branch --show-current)/$(date +%s)-$(basename "$IMG")"
    base64 -w0 "$IMG" | jq -Rs --arg m "add $DEST" '{message:$m, content:.}' \
      | gh api -X PUT "repos/$REPO/contents/$DEST" --input - >/dev/null
    echo "![$(basename "$IMG" .png)](https://raw.githubusercontent.com/$REPO/main/$DEST)"
    

    Derive $DEST from the file name (as above) so distinct pages never collide — a fixed name would make same-second uploads reuse one path, and the second PUT then 422s (the Contents API needs the existing file's sha to overwrite).

  4. Put the printed ![…](…) lines under a ## Screenshots heading in the PR body.

Requires gh (repo scope), jq, base64 — all in the devShell. The host repo is public (so the raw URLs render for reviewers without a token) and its history is permanent — never screenshot pages that show secrets or sensitive values (workspace variables, resource values, instance settings, OAuth/SMTP config); deleting the file can't undo an accidental capture. (GitHub's drag-and-drop uploader needs a browser session and can't be driven from a token.)

If gh can't push to the host repo (e.g. a CI token scoped only to windmill), do not fail the PR or skip silently — hand the upload to the user, who has push access, and continue once they confirm it's done.

Execution Steps

  1. Run git status to check for uncommitted changes

  2. Run git log main..HEAD --oneline to see all commits in this branch

  3. Run git diff main...HEAD to see the full diff against main

  4. Review the diff before creating the PR — run both reviews, do not skip:

    • local-review — Claude-native branch-diff-reviewer (/local-review in Claude Code, $local-review in Codex, pi --skill local-review / /skill:local-review in Pi).
    • local-review-codex — cold Codex pass, the same review CI runs, for an independent perspective the Claude pass misses (/local-review-codex in Claude Code, or bash .agents/skills/local-review-codex/run.sh). If the codex CLI is missing or older than the version pinned in that skill, note it in your summary and continue — never block the PR on codex being unavailable.

    Run both — they catch different things. If eithe

자주 묻는 질문

왜 처음에 초안으로 여나요?

초안을 열면 풀 리퀘스트가 병합 준비 상태로 표시되기 전에 검토자가 작업을 볼 수 있습니다.

설명에는 무엇이 들어가나요?

요약, 바뀐 항목의 목록, 체크 박스가 있는 테스트 계획이 들어갑니다.

언제 풀 리퀘스트가 준비되나요?

모든 검토 판정이 통과된 뒤에만 준비됩니다.

상세 정보

작성자의 원본 설명

Open a draft pull request on GitHub and drive CI review rounds until it is ready. MUST use when you want to create/open a PR.

repo: windmill-labs/windmill

인기도

GitHub 스타
18k
순위
#10626
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬