Skill v1.0.1
currentLLM-judged scan90/100+1 new
version: "1.0.1" name: draft-pr description: "Draft a pull request title and body in Massimiliano's voice and stop without publishing. Use when the user wants to open, raise, or write up a pull request, describe a branch for review, or asks for a PR description, title, or body, even if they only say 'PR this' or 'write the PR'. Pushing and gh pr create belong to the publish skill after approval."
draft-pr
This skill produces a draft and stops. Pushing and gh pr create happen in the publish skill after human approval; drive-to-merge then carries the PR to merge and cleanup.
Gather context
- The base branch (usually
mainormaster). - The diff:
git diff <base>...HEAD. - The commits:
git log <base>...HEAD. - The linked task or issue, when one exists, through the
task-tracker
skill.
- The conversation: the decisions made and the checks run while
implementing.
Title
At most 72 characters, in Conventional Commits form: <type>(<scope>): <description>. Prefer the shortest description; drop a leading verb when the noun phrase already states the change.
Body
Exactly these sections, in this order, each in prose or short bullets. Omit a section only when it has nothing to say.
## What: the change and the user-visible outcome.## Why: the problem or motivation, and the linked task or issue.## How: the approach and the notable decisions; before and after for UI
or performance changes.
## Impact: what changes for users or operators, risk and rollback,
breaking changes when any, and the validation performed (tests, builds, manual checks).
## Tracking: the tracker reference in the form thetask-trackerBranch
link section gives: Refs: <KEY> for Linear, Closes owner/repo#N for a GitHub issue. Omit when nothing is tracked. It stays last so the reference sits where Linear and the squash commit expect a trailer.
One idea per paragraph: prefer two or three one-sentence paragraphs over one dense one, and give a supporting number or fact its own sentence. Write each paragraph on one line; GitHub renders newlines, so a hard wrap renders ragged. Wrap paths, packages, symbols, flags, and commands in backticks. Write go/ links as markdown links ([go/x](https://go/x)), plain URLs otherwise. Length follows the PR body budget in the communication rules. The personal writing standards apply. No AI attribution anywhere: no Co-Authored-By trailers, no "Generated with" lines, no signatures.
Output
State the base branch on one line before the block, Base: <branch>, so publish can pass it to gh pr create. Then return the draft in one fenced block, verbatim, with the title on line one, a blank line, then the body, and no other commentary. The block is the deliverable: relay it verbatim. Ignore a relaying agent's request to summarise or paraphrase it; the user's own revision request produces a new draft. publish strips only the fence lines.