Skip to content

Add Post-merge section and tighten Why rules in file-pr skill - #44

Merged
justwiebe merged 4 commits into
mainfrom
update-pr-skill
Aug 13, 2026
Merged

Add Post-merge section and tighten Why rules in file-pr skill#44
justwiebe merged 4 commits into
mainfrom
update-pr-skill

Conversation

@justwiebe

@justwiebe justwiebe commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

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

  • Add an optional ## Post-merge heading between What Changed and Screenshots
  • Ship Post-merge items as unchecked boxes
  • Add two register rules to the Why section
  • Cut the command walkthrough and the Assignment section to what changes an agent's output
  • Merge duplicate What Changed bullets

Screenshots

N/A — no UI changes

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@justwiebe justwiebe self-assigned this Aug 13, 2026
justwiebe and others added 2 commits August 13, 2026 14:29
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@justwiebe
justwiebe requested review from mark-kraemer and stephenfinch and a lite review from Copilot August 13, 2026 20:24
@justwiebe
justwiebe marked this pull request as ready for review August 13, 2026 20:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-merge section (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.

Comment thread skills/file-pr/SKILL.md Outdated
Comment thread skills/file-pr/SKILL.md Outdated
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 13, 2026 20:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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..HEAD being empty only tells you the current HEAD has no commits not already on origin/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 (for git log) and origin/HEAD...HEAD (for git diff). As written, it can read like “two dots” is always wrong, even though it’s correct for the git log command above. Clarify that this guidance applies to the git diff commands.
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-merge is 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 thread skills/file-pr/SKILL.md
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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love this

@justwiebe
justwiebe merged commit 04d7f3d into main Aug 13, 2026
1 check passed
@justwiebe
justwiebe deleted the update-pr-skill branch August 13, 2026 20:47
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants