Files

1.0 KiB

description
description
Draft a pull request title and body using the create-pr skill, then open the PR.

Invoke the create-pr skill to draft a PR title and body for the current branch following its workflow:

  1. Discover repo conventions (PR template, CONTRIBUTING / AGENTS / CLAUDE docs, last 3 merged PRs).
  2. Gather change context from git log, git diff, and the branch name.
  3. Draft a title (imperative mood, ≤ 70 chars, mirroring repo style; Conventional Commits only if the repo uses them).
  4. Draft a body sized to the PR — covering why, what at high altitude, and how verified; plus breaking changes / out-of-scope / linked issue when applicable.
  5. Self-check against the anti-pattern list (no hype words, no diff restatement, no unsubstantiated claims, no wall-of-text on a trivial PR).
  6. Run gh pr create with the drafted title and body.

Arguments (optional): $ARGUMENTS — additional context or instructions to factor into the draft (e.g., "this is a hotfix, keep it terse" or "emphasize the migration steps").