pr-style
/pr-style
This skill should be used when creating or editing a GitHub pull request title or description, regardless of tool (gh CLI, GitHub MCP tools, API). Defines PR title format and body format with Why/What/Notes sections.
- Author
- fredrikaverpil ↗
- Repository
- dotfiles ↗
- Licence
- MIT
- Last repository change
- 21.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 21.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
This skill should be used when creating or editing a GitHub pull request title or description, regardless of tool (gh CLI, GitHub MCP tools, API). Defines PR title format and body format with Why/What/Notes sections.
Original author description
This skill should be used when creating or editing a GitHub pull request title or description, regardless of tool (gh CLI, GitHub MCP tools, API). Defines PR title format and body format with Why/What/Notes sections.
How it works
- General
- PR Title Format
- PR Body Format
- File References
- Example Body
SKILL.md preview
--- name: pr-style description: >- This skill should be used when creating or editing a GitHub pull request title or description, regardless of tool (gh CLI, GitHub MCP tools, API). Defines PR title format and body format with Why/What/Notes sections. --- # Pull Request Style Conventions for PR titles and descriptions. These apply no matter how the PR is created (`gh` CLI, GitHub MCP tools, API). ## General - Always create draft PRs. - Assign the PR to me (the author), not to Claude or a bot identity. - Keep PR titles, descriptions, and comments concise and clear. - Include only useful information. Remove redundancy and over-explanation. - Prefer explicitness and clarity over verbosity. - Express Why/What/Notes content as concise, to-the-point bullet lists. Avoid prose paragraphs. - All references to functions, libraries, projects, products must be linked. - Include a small, illustrative code snippet whenever it conveys the change faster than prose. This is desired for PRs in general, and especially for bug fixes: a minimal example of the triggering case (and what went wrong) makes the problem concrete for reviewers. Keep it short — just enough to convey the point, not a full reproduction. - The PR text describes the change only: no "Generated with Claude Code" lines, no session links or model names. - In Claude cloud sandbox sessions, the platform appends a "Generated by Claude Code" footer to the PR body at creation time, outside your control. After creating a PR, always read it back and, if a footer was appended, update the PR body to remove it (updates are not re-footered). Also verify angle-bracket placeholders survived; the platform strips them even inside code spans. ## PR Title Format Write the title as if the whole PR was squashed into a single commit using conventional commits. Use imperative mood (e.g., "Add feature" not "Added feature"). Keep it concise and descriptive. ## PR Body Format ```markdown ## Why? [Explain the motivation for this change. What problem does it solve?] ## What? [Describe what was changed. List the key modifications.] ## Notes [Optional. Additional context, testing notes, or follow-up items.] ``` Rules: 1. `## Why?` - Required. Explain motivation and problem being solved 2. `## What?` - Required. Describe the changes made 3. `## Notes` - Optional. Omit entirely if no notes are needed Try keeping Why? and What? around maximum 3 bullets each. Group related changes into one bullet rather than enumerating every file touched — reviewers read the diff for that. But keep each bullet concise and direct. Preferably only one sentence per bullet point. If it is hard to fit the PR description within these constraints, it's possible the PR is too large and discuss whether to split it up. ## File References Use `[file:lineno](url)` with SHA-pinned URLs: `https://github.com/<owner>/<repo>/blob/<sha>/<path>#L<lineno>` - SHA: `git rev-parse HEAD` - Owner/repo: from `git remote get-url origin` (or `gh repo view --json nameWithOwner -q .nameWithOwner` when `gh` is available) ## Example Body ```markdown ## Why? Users need secure access to their accounts. Currently there is no authentication mechanism in place. ## What? - Add login/logout endpoints - Implement JWT token generation - Add password hashing with bcrypt - Create auth middleware for protected routes ## Notes Requires `JWT_SECRET` env variable to be set in production. ```
Versions
The database has no other skills named pr-style.
Database snapshot: 13.11.2026 · package version 32b0d0bd5d25 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100git-pr
Guide for creating and updating GitHub pull requests in this repository: PR title format, body structure, clean descriptions, and the gh CLI workflow. Use when creating a pull request, writing a PR description, updating a PR, or preparing changes for review. Trigger on: "create… - 96pull-request
Open a pull request in this repo — branch naming, title format, and the required description sections. Use when the user asks to create, open, or prep a PR. - 90pr-description
Drafts pull request title and body from validated diff and opens or updates PR via GitHub MCP. Triggers when a change is ready to open or update a PR. - 100v1-pr-description
Use when writing or updating a GitHub PR title or description. Triggers on "write PR description", "update PR body", or "PR title". - 92writing-pr
Use when writing or editing a pull request title or body. - 100update-pr-body
Update the body of a GitHub pull request. Use when the user asks to update, edit, or modify a PR description/body.