commit
무료Stage relevant files and create a well-formed git commit. Use this when the user asks to commit changes, save work, or create a commit.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create a GitHub pull request with a focused why/what body. Use when the user asks to open a PR, create a pull request, or ship a branch.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Read .claude/skills/writing-style.md before writing anything.
Creates a GitHub PR body that a newcomer can orient from in under a minute: front-loaded outcome, grounded Why, behaviour-led What, verifiable by the reviewer.
git status
git log main..HEAD --oneline
git diff main...HEAD --stat
If the working tree has changes that belong in this PR, read and follow commit first. Do not commit inline. Do not skip hooks.
git push -u origin HEAD
[bug] / [feature] / [chore] prefixes — the label carries the typeRequired structure:
<One or two sentences, no heading. What this changes and the effect.
A newcomer reads only this and knows whether the PR concerns them.>
**Prompt summary:** <One paragraph, two to three sentences. What the author was asked
to do in their own framing — the goal behind the branch, not the diff. Present tense,
active voice. This is the ask; ## Why is the problem in the code. They are not
interchangeable and neither restates the other. Omit only when the branch has no
originating ask.>
## Why
<Two to four sentences. The concrete failure or gap. Active voice, present tense
for current behaviour. Do not open with the history of a prior PR.>
## What
#### <Conceptual label — not a filename>
<Prose paragraph. Group by what changed conceptually, not by which files moved.
Lead with behaviour. Name a symbol only when the reviewer needs it to find the code.
Two to four sentences. Three to five sections total.>
## Verify
<How a reviewer confirms this locally. Use real commands they would run.
If there is no clear local verification step, omit this section entirely.
Do not list CI checks or scripts an agent would run to prove their own work —
those are not reviewer steps.>
Conditional add-ons — each is one or two sentences with a bold lead-in, no heading:
3 of 5, on top of [#42](https://github.com/org/repo/pull/42). A bare Stack: 3/5 with no links is not enough.Do not include bullet lists of changed files. Do not summarize what the diff already states plainly.
Apply the labels this repo uses. Common defaults:
| Label | Use when |
|---|---|
bug | A defect in existing behaviour is fixed |
enhancement or feature | A capability is added or improved |
chore | Cleanup, refactor, internal restructure — no user-visible change |
documentation | Docs-only change |
dependencies | Dependency version bumps |
Check .github/workflows/ or the repo's CONTRIBUTING guide for any enforced label policy before creating the PR.
gh pr view --json number,url,baseRefName --jq '{number,url,baseRefName}' 2>/dev/null
If a PR exists — update it.
Rebuild the body from the cumulative diff against the PR's own base branch (not a hardcoded main):
git diff origin/<baseRefName>...HEAD --stat
git diff origin/<baseRefName>...HEAD
Write the description of the current diff against the base — never a log of the commits on the branch and never an "update" or "addendum" appended to the old body. Any section of the old body that no longer matches the diff is wrong, not history. Replace it.
**Prompt summary:** verbatim unless the ask itself changed; extend it rather than replace it when scope was added.chore to a bug.gh pr edit --title "<title>" --body "$(cat <<'EOF'
<new body>
EOF
)"
Add or remove the label only if it changed:
gh pr edit --add-label "<new-label>" --remove-label "<old-label>"
If no PR exists — create it. Proceed to step 8.
One call — title, label, and body together. No follow-up gh pr edit:
gh pr create --title "<title>" --label "<label>" --body "$(cat <<'EOF'
<lead sentence(s)>
**Prompt summary:** ...
## Why
...
## What
#### ...
...
## Verify
```bash
<command>
EOF )"
### 9. Return the PR URL
Always print the URL so the user can open it directly.
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Stage relevant files and create a well-formed git commit. Use this when the user asks to commit changes, save work, or create a commit.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
File a well-formed bug report or feature request. Use when the user asks to open an issue, report a bug, or request a feature.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.