/dev-skills:pr-genfrom dev-skills
Use this skill when the user requests a GitHub PR title or description for the current branch. Triggers include "write the PR description", "update the PR", "summarize this branch for review", and "match our PR template". Other triggers include "draft a PR", "retitle the PR", and "regenerate the body". The skill verifies the final diff and produces concise Simplified Technical English. Do NOT use this skill for changelogs, release notes, issue summaries, or code review.
Ships in dev-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You must follow three stages: evidence, draft, and delivery.
You read the evidence procedure before branch inspection. You record the repository, branch, base revision, head revision, and merge base as internal notes.
This stage ends when the diff and source explain the change. You ask a focused question only when missing information prevents a correct description or target selection. An empty diff requires a short explanation instead of a draft.
You classify final behavior as bugfix, feature, refactor, infrastructure, documentation, or tests. A test-only change uses the tests type unless its tests implement product behavior. Project instructions and the repository template take precedence over defaults. You retain required headings and checkboxes. Unknown required information remains explicit. Unmet checkboxes remain unchecked. Without a repository template, you read one default:
| Change type | Template |
|---|---|
| Bugfix | Bugfix |
| Large infrastructure change | Infrastructure |
| Other change types | Feature |
These output rules apply to drafts, questions, and delivery messages:
The command returned 2 passed.PR and LOC.-ing verb forms.The title uses an imperative summary as a label. You follow the repository title convention, or title patterns when none exists. The default title limit is 72 characters.
The default body contains three short sections with headings: ## Problem, ## Solution, and ## Validation.
The problem states the concrete defect or need. The solution states the correction and resulting behavior.
The validation states verified checks, results, or gaps.
You omit risk sections and risk ratings unless the user or repository requires them.
Bugfix descriptions connect the trigger, root cause, correction, and regression coverage within these sections.
Necessary compatibility, migration, and operational details belong in the solution section.
You rewrite stale descriptions around the final implementation.
You exclude abandoned work and conversation history unless they explain a necessary design decision.
Each section uses concise bullets. Each bullet contains one sentence that states one point. You use one bullet per section unless distinct necessary points require more. The default body uses at most 120 words, excluding required checklists and issue links. You include file links or test identifiers only when they clarify the solution or validation. Repository requirements and explicit user limits take precedence. You omit repeated title text, file inventories, code excerpts, and empty optional sections. Attribution footers require a user request.
This stage ends when the draft passes the final checklist.
For draft requests, the user receives only the title and body in the session or requested file. You omit process notes, optional offers, and comments about excluded content. Publication requests require the evidence procedure's publication checks. You update only requested fields. You do not commit, push, or change code solely for a description.
This stage ends with the complete draft or verified PR link. You report publication failures without a success claim.
gh pr view does not prove that no PR exists..github/, docs/, or the root, including PULL_REQUEST_TEMPLATE/ directories.What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/pr-reviewUse this skill when the user requests a review of another person's GitHub PR. Triggers include "review PR 123", "is this safe to merge", and "check this PR's design". Other triggers include "does this break the protocol" and "does this solve the issue". The review checks the problem, specification, architecture, necessity, root cause, correctness, security, and project rules. The human confirms the specification, problem, and approach before the detailed review. Do NOT use this skill for an uncommitted local diff, a PR description, or a lint check./sweep-gh-unreadUse this skill when the user asks to sweep, clear, triage, or clean up GitHub notifications. Triggers include "sweep my GitHub notifications", "clear my GitHub inbox", "mark the finished notifications as done", and "what needs my action on GitHub". Other triggers include "which PRs wait for me" and "sweep notifications in acme/api". The skill classifies each notification thread and asks the user to confirm. It then marks the threads without an open action as done. It lists action items for the user's PRs and for reviews of other PRs. The user can limit the sweep to an owner or an owner/repo. Do NOT use this skill to review one PR (use pr-review), to write a PR description (use pr-gen), or for Slack or email notifications.Other plugins' skills for the same job
npx claudepluginhub sebastianelvis/dev-skills --plugin dev-skills