docs(skills): add a pr-body skill that composes from the diff - #277
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/dev-dashboard-generator #277 +/- ##
===============================================================
Coverage ? 93.21%
===============================================================
Files ? 44
Lines ? 2904
Branches ? 0
===============================================================
Hits ? 2707
Misses ? 197
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
andrew-blake
force-pushed
the
docs/pr-body-skill
branch
from
August 24, 2026 07:01
ae18d24 to
2269acd
Compare
13 tasks
PR descriptions in this repo have been inconsistent: sections varied, bodies were sized by how much thought went in rather than by the change, and the title was improvised at the command line where nothing reviewed it. The skill fixes the shape and the process: - Six sections. Three required from the PR template, three conditional on something checkable: Key changes above five files, What changes for users when a user notices something, Risks accepted when merging accepts a known risk. - The H1 is the PR title, written last, conventional-commit form, typed by the effect on a user rather than the shape of the diff. - Every checkbox is worded as the claim it asserts, so ticking one cannot invert it, and an unticked box says what was not verified here rather than asserting nobody verified it. - Length is calibrated against this repo's merged bodies, not invented anchors. - A subagent composes from the diff and the ADR; the session that did the work gathers facts and reviews, because it cannot un-know how the work went. - The body is written to a file for review, and the skill stops there. Creating the PR is the author's to run. Built test-first against fresh-context agents: baseline runs leaked a street address into a body 3 times out of 3, opened with how the problem was discovered, and reproduced an ADR's measurement table. Five generations of the two stacked bodies in this repo are archived locally for comparison. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
andrew-blake
force-pushed
the
docs/pr-body-skill
branch
from
August 27, 2026 18:50
2269acd to
417324f
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacks on
feat/dev-dashboard-generatorand needs nothing from it: both are independent docs changes queued to merge in order.A new
pr-bodyskill under.claude/skills/pr-body/holds how a PR description gets written here.SKILL.mdcarries the writing rules,handoff.mdthe mechanics of producing the file and handing it over, and a committed.markdownlint.jsoncscopes MD013 to prose so the wrapping convention is checkable.CLAUDE.mdgains one line under Development Guides so the skill is discoverable.The shape is six sections. Three are required by
.github/pull_request_template.md; the other three are conditional on something checkable. The title is an H1 at the top of the file, written last, in conventional-commit form, and typed by its effect on a user. Every checkbox is worded as the claim it asserts, so ticking cannot invert its meaning, and an unticked box is scoped to its author: it says what was not verified here and claims nothing about other sessions. A subagent composes from the diff while the session that did the work gathers facts and reviews it, because that session cannot un-know how the work went. The skill ends at the written file; creating the PR stays the author's to run.No ADR or plan backs this and no issue tracks it. The skill files are the artefact.
AI Disclosure
Testing
Built test-first against fresh-context subagents. The generations are archived under gitignored
_claude/pr-bodies-run*/and are not part of the diff.npx markdownlint-cli2on both skill files: 0 issues, under the committed config. Prose wrapped withnpx prettier@3 --prose-wrap always --print-width 80, zero em dashes in either file.make pre-commit: not run on this branch.make test-api,make test-integration,make test-e2e: not run and not reachable; the diff is two markdown files, a lint config and one line ofCLAUDE.md, with nothing undercustom_components/ortests/.