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

pr

Create or update a pull request with a structured description.

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

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md2.1 KB

SKILL.md(원문)

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

Pull Request

  1. Base: default to main. Override with --base <branch> in $ARGUMENTS.
  2. Preflight: check git log <base>..HEAD --oneline. If nothing to merge, ask the user what they intended.
  3. Push: run git push -u origin $(git branch --show-current). If it fails because the remote has diverged (e.g., after an amend or rebase), tell the user and ask whether to force push (--force-with-lease). Never force push without confirmation.
  4. Detect existing PR: run gh pr view --json number,title,body 2>/dev/null. If a PR already exists, go to step 6.
  5. Create PR:
    • Gather context: read the commit messages (git log <base>..HEAD). Run /diff <branch> for the full diff.
    • Write description: PRs are hierarchical — they aggregate commits.
      • Single commit: the PR description is the commit message body, reformatted with markdown headings.
      • Multiple commits: ask the user whether to (a) include all commits as-is, (b) squash first then PR, or (c) PR only a subset. Then aggregate the included commit messages. Add Goal/Background/Alternatives only when they provide context the individual commits don't.
      • Use the same body format as /commit (Problem + Solution with ## headings). No "Test plan" or "Summary" sections.
      • Follow the project's PR conventions if documented (e.g., CONTRIBUTING.md).
    • Title: conventional commit style, under 70 characters.
    • Create a unique temp file with mktemp /tmp/pr-body.XXXXXX.md, write the description to it, and run gh pr create --base <base> --title "<title>" -F <temp-file>.
  6. Update PR: run /diff <branch> and compare the full diff against the current PR description. If the description no longer accurately reflects the branch's changes, create a unique temp file with mktemp /tmp/pr-body.XXXXXX.md, write the new description to it, and run gh pr edit <number> --title "<title>" -F <temp-file>.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

amend

무료

Amend the last commit with current changes and/or an updated message.

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

simonepri/ifttt-lint292026년 9월 29일 업데이트

commit

무료

Stage changes and create a commit with a conventional commit message.

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

simonepri/ifttt-lint292026년 9월 29일 업데이트

cook

무료

Full autopilot — plan, implement, and polish a task end-to-end.

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

simonepri/ifttt-lint292026년 9월 29일 업데이트

diff

무료

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

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

simonepri/ifttt-lint292026년 9월 29일 업데이트

execute

무료

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

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

simonepri/ifttt-lint292026년 9월 29일 업데이트

fork

무료

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

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

simonepri/ifttt-lint292026년 9월 29일 업데이트

simonepri의 스킬 모두 보기

이 스킬의 문제 신고