<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
adriankarlen/dots/create-pr
──Details
PublishedOctober 22, 2026 at 02:35 PM
Content Hashsha256:d4fbb5dff6701486...
Git SHAb30cd82d9f37
──Files
Files (1 file, 3.3 KB)
SKILL.md3.3 KBactive
SKILL.md · 47 lines · 3.3 KB

version: "1.0.0" name: create-pr description: > Branch, commit the current work in logical conventional-commit chunks, push, open a GitHub pull request with gh, and move any linked Jira/Linear ticket to code review. Use when the user asks to open, create, make or raise a PR or pull request, ship or submit the work, or push it up for review.


Create a pull request for the current work.

Base branch: use the branch the user names. If they name none, use the repo's default branch.

Steps

  1. Branch: If currently on the default branch, create a new branch with a short descriptive name (e.g. feat/..., fix/...). If already on a feature branch, use it.
  1. Commit: Group the changes into reasonable chunks by implemented sub-feature or concern. Make one commit per chunk using conventional commits. Do not make one giant commit, and do not split trivially related changes apart.

Commit message rules:

  • Subject: <type>(<scope>): <imperative summary> — scope optional, imperative mood ("add" not "added"), ≤50 chars where possible, no trailing period.
  • Types: feat, fix, refactor, perf, docs, test, chore, build, ci, style, revert.
  • Body only when needed: non-obvious why, breaking changes, migration notes, or linked issues. Wrap at 72 chars, use - bullets.
  • Always add a body for breaking changes, security fixes, data migrations, or reverts.
  • Never write "this commit does X", first-person narration, or AI attribution. State intent, not the diff.
  1. PR: Push the branch and create the PR with gh pr create.
  1. Issue tracker: Look for a ticket or issue reference (e.g. a Jira/Linear key like PROJ-123, or a GitHub issue like #123) in the branch name, commit messages, or conversation context. If one exists, update it to reflect that a PR is now open, moving it to the closest matching "in code review" status if the tracker supports one. If no ticket or issue is referenced, skip this step.

PR title and body rules

  • Title: <type>(<scope>): <imperative summary> — same conventional commit style as commit subjects (scope optional, imperative mood, ≤50 chars where possible, no trailing period).
  • Keep it short-worded. No novel about the change.
  • Write for an external reviewer who has no memory of the conversation that produced this PR. Only what is visible in the diff and repo counts as context.
  • Include only:
  • The key feature or fix (what changed, in a sentence or short bullet list).
  • Deviations from the repo's established conventions or patterns (e.g. an existing lint rule was bypassed, a different pattern than the rest of the codebase was used, a dependency was added against usual practice) — and why that deviation was necessary.
  • Do NOT explain why the change was made or how it works. The code is sufficient to see the changes.
  • Do NOT include: alternatives considered and rejected, back-and-forth about approach, or any other detail that only makes sense as a recap of the discussion with the agent. If it wasn't a deviation from repo praxis, it doesn't belong in the PR.

Writing style

  • Write commit messages and the PR title/body in plain language per ISO-24495-1:2023: short sentences, common words, active voice, one idea per sentence.
  • Keep the final text plain and minimal.
All versions