github-pr-writer
GitHub PR Writer
Summarize a branch into a reviewable pull request with a precise title, a structured body, and accurate validation notes. Base the write-up on git evidence, not guesswork.
Workflow
-
Build PR context from git.
- Check
git status --shortfor uncommitted work. - Identify the current branch.
- Determine the comparison target from repository conventions, existing tracking branch, or explicit user instruction.
- Inspect the branch delta with commit history and diff summary before writing.
- Check
-
Protect accuracy.
- Base the PR on committed changes whenever possible.
- If important work is still uncommitted, say that the PR description may be incomplete.
- Do not invent motivation, implementation details, or validation results that are not supported by the branch.
-
Write a concise PR title.
- Match repository conventions when visible.
- Otherwise write a short, specific title that describes the user-facing or reviewer-relevant outcome.
- Avoid noisy prefixes unless the repository already uses them.
-
Fill the PR body with this structure.
## 요약
- ...
- ...
## 변경 사항
- ...
## 검증
- ...
## 노트
- ...
-
Apply section rules.
요약: write 2-4 bullets explaining why the PR exists and what changed.변경 사항: list concrete implementation changes reviewers should inspect.검증: include commands run, tests performed, or manual checks completed.노트: add rollout concerns, follow-ups, review hints, screenshots, or- 없음when there is nothing useful to add.
-
Keep reviewer value high.
- Emphasize externally visible behavior, migrations, risks, and non-obvious design choices.
- Collapse low-signal edit inventory into broader bullets.
- Mention untouched but relevant areas only when they affect review or rollout.
-
Create the PR only when asked.
- If the user wants the actual PR opened, prepare the final title and body first.
- Prefer non-interactive GitHub CLI usage such as
gh pr create --title ... --body-file .... - Do not open or update a PR if authentication, base branch, or remote target is unclear without stating the assumption.
Evidence Collection
- Prefer
git log --oneline <base>..HEADto understand commit intent. - Prefer
git diff --stat <base>...HEADand targeted diff reads to understand scope. - Use recent test output or commands you ran in the current session for
검증. - If no validation was run, write that explicitly in
검증.
Output Rules
- If the user asks for a draft only, provide the title and complete PR body in Markdown.
- If the user asks to open the PR, present the title/body you will use and then run the create command.
- If the branch mixes unrelated work, call that out and recommend splitting before opening the PR.
Quality Bar
- Make every bullet useful to a reviewer.
- Keep the body aligned with the actual branch delta.
- Prefer concrete nouns and verbs over generic phrases like
update logicorimprove stuff. - Do not paste raw commit history when a synthesized summary is clearer.
More from wibaek/skills
python-starter
Automatically configures formatter and linter settings when initializing Python projects. Installs ruff by default and uses pyproject.toml for configuration. Detects or asks the user about venv/poetry/uv environments and installs as dev dependencies. Optionally configures pre-commit and ty. Suggests VSCode workspace settings when using VSCode. Use this skill when starting Python projects ("Start a Python project", "Create a FastAPI project", "Create a data analysis Python project", etc.).
8ts-starter
Configure TypeScript project tooling for existing Node or frontend projects without app scaffolding. Use for TS starter setup, TS lint/format/test setup, Node TypeScript starter, or Vite TypeScript config requests.
6rest-api-guidelines
Design, review, and draft consistent HTTP+JSON REST APIs using resource-oriented design and long-term compatibility rules. Use when Codex needs to define or critique REST endpoints, OpenAPI contracts, URI and resource naming, HTTP method and PATCH semantics, status codes, pagination, versioning, error formats, or backward and forward compatibility policies.
3git-commit-writer
Draft Conventional Commit messages and execute a safe git commit workflow from staged or changed files. Use when Codex needs to create a commit, suggest a commit message, inspect git diff before committing, split changes into sensible commits, or run `git commit` without including unrelated work.
2