agentsclimarketplace

Pr draft

Skill Srltas/claude-skills/pr-draft

My Claude Skills

Install
npx -y skills add Srltas/claude-skills --skill pr-draft

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Draft a pull request (title + body) from the current branch's commits and diff. The title is [XXX-0000] plus a concise, easy-to-understand English summary (the key is taken from the branch name); the body is Korean in three sections: Purpose (required, why this PR exists), Implementation (optional, how it was built), Remarks (optional, notes). Optional sections become N/A when empty. Produces a copy-paste draft only; it does not create the PR. Triggers on phrases like 'PR 초안 작성', 'pr-draft', '이 브랜치 PR로 정리', 'draft a PR', 'PR 제목이랑 본문 만들어줘'.

SKILL.md

3.3 KB, 932 tokens by cl100k_base, as published. Nobody here has run it

Draft a pull request

Turn the current branch into a ready-to-paste PR title and body, grounded in the real commits and diff. Draft only: it does not create the PR.

Step 1: Context

  • Current branch: git rev-parse --abbrev-ref HEAD.
  • Key: extract PROJECT-NUMBER from the branch name (e.g. HHH-20527-modernize-... -> HHH-20527). If the branch has no such key, ask the user for it.
  • Base: use the first ref that exists, checked with git rev-parse --verify <ref>: upstream/main, then origin/main, then main. If $ARGUMENTS names a base, use that. If still unclear, ask.

Step 2: Read the changes (grounding)

git log <base>..HEAD --oneline
git diff <base>...HEAD --stat

Read the key hunks of the diff if needed. Draft from what actually changed, not from memory.

Step 3: Title

[XXX-0000] <summary>

  • [XXX-0000] is the key from Step 1 (e.g. [HHH-20527], [CBRD-1234]).
  • <summary> is concise English using easy words anyone can understand, one line, no trailing period.

Step 4: Body (Korean, three sections)

## Purpose
<왜 이 작업을 하는가(무엇이 문제/필요인가) -> 이 PR이 무엇을 하는가 -> 그렇게 한 근거. (필수)>

## Implementation
<이 PR을 구현하기 위해 어떻게 했는가. (선택: 없으면 N/A)>

## Remarks
<주의사항, 후속 작업, 리뷰 포인트 등. (선택: 없으면 N/A)>

도식(선택): 구조·흐름 변화가 말로만 설명하기 복잡하면 Implementation에 mermaid 코드블록을 넣어도 좋다(GitHub PR 본문이 자동 렌더, 노드는 텍스트에 맞춰 자동 크기 조정이라 짤림 없음). 꼭 필요할 때만 간결하게.

Rules: Purpose is required. Implementation and Remarks are optional and become N/A when there is nothing to say. : 오픈소스 IT 개발자가 PR에 쓰듯 담백하고 자연스럽게. 공식 문서투·격식체·한자어 남발·수동태·논문투를 피하고, 흔한 개발 용어(오버로드, 커밋, 롤백, 엣지 케이스 등)는 억지로 번역하지 말고 그대로 쓴다. 문체: 짧은 문장(한 문장 한 생각), Purpose는 문제 -> 한 일 -> 근거 흐름. 거창한 표현(예: "~를 처음 연다")·과한 압축은 피하고, 전문용어는 꼭 필요한 것만 풀어 쓴다. 핵심만. em-dash()는 쓰지 않는다: 쉼표·콜론·괄호·마침표로 대체.

Step 5: Output

Print the title line and the body as one copy-paste block. Do not create the PR. If the user wants to open it, show (and run only when they explicitly ask) the command:

gh pr create --base <base> --title "<title>" --body "<body>"

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.