commit-pr
Propose a short git commit subject and a copy-pasteable markdown PR description for the current changes.
SKILL.mdcommit-pr/SKILL.md
GitHubCommit and PR description
Provide the following for the current changes:
- A git commit description 50 characters or fewer.
- A copy-pasteable markdown PR description 400 characters or fewer.
Propose only; do not commit, push, or create a PR.
Inspect
- Read
git status --short,git diff, andgit diff --staged. - Read
git log --oneline -10to match commit conventions. - Describe staged changes when present; otherwise use the full working diff, inspecting relevant untracked files.
- If staged and unstaged changes differ, briefly state that the output covers staged changes.
Write
- Commit description: 50 characters or fewer. Use imperative mood, match the repository's prefix convention, and omit a trailing period. Describe the change, not a file list.
- PR description: 400 characters or fewer. Start with one summary line explaining the purpose, then a blank line and short bullet points covering relevant behavior changes or reviewer context. Omit headings, badges, footers, and boilerplate.
Verify and present
- Measure both strings with a command, counting all characters, including spaces, newlines, and markdown.
- Shorten and remeasure until both limits pass; report only measured counts.
- Put each output in a separate fenced code block, using a
markdownfence for the PR description. - Follow each block with its character count; exclude fences and count labels from the limits.
- Add at most one line of commentary.