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

gentle-ai-chained-pr

하는 일

이 스킬은 AI가 너무 큰 변경을 연결된 풀 리퀘스트 순서로 나누도록 돕습니다. 검토자가 편하게 다루기에 변경이 너무 큰 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓계획한 풀 리퀘스트가 약 400줄 넘게 바뀔 수 있을 때.
  • ✓각 조각을 독립적으로 검토할 수 있도록 쌓인 풀 리퀘스트를 원할 때.
  • ✓기능이 메인 브랜치에 닿기 전에 통합되어야 하고 추적용 풀 리퀘스트가 필요한 경우.

스킬 링크

https://github.com/Gentleman-Programming/gentle-ai/blob/main/skills/chained-pr/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/Gentleman-Programming/gentle-ai/blob/main/skills/chained-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에게 요청하는 예시

“우리 기능의 diff가 검토하기에 너무 큽니다. 명확한 의존 관계가 있는 쌓인 풀 리퀘스트로 나눠 주세요.”

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

작동 방식

이 스킬은 결정 표를 사용해 쌓인 풀 리퀘스트와 기능 브랜치 체인 중 무엇을 쓸지 고릅니다. 각 조각은 하나의 작업 단위로 유지하고, 각 풀 리퀘스트에 의존 관계를 명시합니다.

기술 내용 (원본 SKILL.md)

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

Activation Contract

Load this skill when a planned PR may exceed 400 changed lines, SDD forecasts 400-line budget risk: High or Chained PRs recommended: Yes, or the user asks for chained/stacked PRs, review slices, or reviewer-load control.

Hard Rules

  • Split PRs over 400 changed lines unless a maintainer explicitly accepts size:exception.
  • Keep each PR reviewable in about ≤60 minutes.
  • Use one deliverable work unit per PR; keep tests/docs with the unit they verify.
  • State start, end, prior dependencies, follow-up work, and out-of-scope items in every chained PR.
  • Every child PR must include a dependency diagram marking the current PR with 📍.
  • In Feature Branch Chain, create a draft/no-merge tracker PR; child PR #1 targets the tracker branch, later children target the immediate parent branch.
  • Treat polluted diffs as base bugs: retarget or rebase until only the current work unit appears.
  • Do not mix chain strategies after the user chooses one.

Decision Gates

Condition Action
PR ≤400 changed lines and focused Keep single PR.
PR >400, each slice can land independently Use Stacked PRs to main.
PR >400, feature must integrate before main Use Feature Branch Chain with tracker.
Generated/vendor/migration diff cannot split cleanly Ask maintainer for size:exception.
SDD provides delivery_strategy Follow it before apply/PR creation.

Execution Steps

  1. Estimate changed lines and identify independent work units.
  2. Ask for a chain strategy when none is cached and the budget is exceeded.
  3. Create branches/PRs using the chosen strategy only.
  4. Add Chain Context to each PR without replacing the repo PR template.
  5. Verify each PR independently: CI/tests/docs/manual checks, rollback scope, and clean diff.
  6. Keep tracker PR draft/no-merge until all child PRs are reviewed and integrated.

Output Contract

Return the chosen strategy, PR order, current PR boundary, dependency diagram, review budget (additions + deletions), verification plan, and any size:exception rationale.

References

자주 묻는 질문

기능 브랜치 체인은 언제 쓰나요?

기능이 메인 브랜치에 들어가기 전에 추적용 브랜치에 통합되어야 할 때입니다.

하위 풀 리퀘스트에 무관한 변경이 들어갈 수 있나요?

아닙니다. 오염된 diff는 기반 문제로 보며, 각 diff에는 현재 단위만 보여야 한다고 스킬이 설명합니다.

깔끔한 분리가 불가능하면 어떻게 하나요?

억지로 어색하게 나누지 말고 관리자에게 예외를 요청하라고 스킬이 설명합니다.

상세 정보

작성자의 원본 설명

Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.

repo: Gentleman-Programming/gentle-ai

인기도

GitHub 스타
8.2k
순위
#12559
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬