Add Post-merge section and tighten Why rules in file-pr skill - #44
Merged
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
5 tasks
justwiebe
requested review from
mark-kraemer and
stephenfinch
and
a lite review from Copilot
August 13, 2026 20:24
justwiebe
marked this pull request as ready for review
August 13, 2026 20:25
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the file-pr skill to improve PR description structure and reduce narrative/duplicative guidance, especially by introducing an optional Post-merge section for work that must happen after a PR is merged.
Changes:
- Adds an optional
## Post-mergesection (unchecked boxes) between What Changed and Screenshots - Tightens Why writing rules to reduce narrative phrasing and overstated/low-signal clauses
- Compresses the command/assignment guidance and merges duplicated What Changed rules
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (3)
skills/file-pr/SKILL.md:33
- This sentence is slightly inaccurate:
git log --oneline origin/HEAD..HEADbeing empty only tells you the currentHEADhas no commits not already onorigin/HEAD—it could mean you’re on the default branch, you haven’t committed yet, or your branch is behind. Tweaking the wording avoids implying a single cause.
Empty `git log` output means no commits ahead of the default branch — the work may be uncommitted, or you may still be on the default branch. When `git status` shows changes, describe the PR from the working-tree diff instead.
skills/file-pr/SKILL.md:29
- The note about two dots vs three dots is ambiguous because the command list includes both
origin/HEAD..HEAD(forgit log) andorigin/HEAD...HEAD(forgit diff). As written, it can read like “two dots” is always wrong, even though it’s correct for thegit logcommand above. Clarify that this guidance applies to thegit diffcommands.
Run these as one batch. Note `origin/HEAD...HEAD` — three dots. Two dots compares against the current tip of the default branch and misdescribes the PR.
skills/file-pr/SKILL.md:65
- Now that
## Post-mergeis optional, “the file must carry every heading” can be read as requiring all possible headings (including Post-merge) even when there are no post-merge steps. Rephrase to “all required headings (and Post-merge when applicable)” to match the rules below.
`--body-file` replaces the whole body, so the file must carry every heading, not just the changed part. Preserve whatever the user wrote under **Screenshots** — that content is theirs, and a careless edit drops it.
Comment on lines
+102
to
+103
| - State facts, not narrative. Cut stock phrases ("all along", "it turns out"), rhetorical contrasts between how things were and how they are now, and anything implying fault for the state of the code. | ||
| - Every clause must carry a fact a reviewer can act on. Cut clauses that exist for rhythm or that call back to a phrase used earlier, and claim no more than the change does — describe what it fixes, not the class of problem it gestures at. |
stephenfinch
approved these changes
Aug 13, 2026
1 task
stephenfinch
added a commit
that referenced
this pull request
Aug 14, 2026
#44 added a fourth heading after this branch was cut. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Why
Work that has to happen after a merge — a backfill, a re-import, a config change — had no heading of its own, so it landed in a Why paragraph and read as background. A Post-merge section makes it a list the merger works through, with every box unchecked. It is the one optional heading.
The Why rules covered what to include but not register, so descriptions picked up clauses that carry no fact. Two new rules cut narrative phrasing, rhythm clauses and callbacks, overstated claims, and anything implying fault for the state of the code.
The rest is compression. The command walkthrough spelled out the git steps in full, none of which changes what an agent does; the Assignment section restated a flag already shown in the example; and What Changed had grown two pairs of bullets that said the same thing twice. The skill is 37 lines shorter with no rule dropped.
RoleModel/fmi-atlas#491 shows the description rules in action, including a Post-merge item for the DealCloud re-import.
What Changed
## Post-mergeheading between What Changed and ScreenshotsScreenshots
N/A — no UI changes