Skip to content

feat(pr-polish): add 📦 How it's used to the house PR format; repos keep hand-kept copies - #99

Merged
jtomaszewski merged 4 commits into
mainfrom
feat/pr-format-renderer
Nov 28, 2026
Merged

jtomaszewski merged 4 commits into
mainfrom
feat/pr-format-renderer

Conversation

@jtomaszewski

@jtomaszewski jtomaszewski commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Part 1 of 3: one canonical house PR format, which each repo copies by hand (owner decision of 2026-11-28: no renderer, no pin files, no drift check). The copies: fullstackhouse/casteo#1819 and fullstackhouse/paseo-inbox#69.

🎯 The house PR format lacked the "How it's used" section Casteo's copy already had

The format lives here, in pr-polish's reference doc, and again in Casteo's agent docs and paseo-inbox's reviewer instructions. Casteo's copy had gained a 📦 How it's used section that this one lacks, so the skills that write PR bodies (deliver, pr-polish, kickoff) never asked for it.

🔧 This doc gains 📦, carries a version, and says how its copies are kept

  • skills/pr-polish/references/pr-description.md gains 📦 How it's used (ported from Casteo, kept repo-agnostic), between 🔧 and 🧭, with its own guide section.
  • The doc opens with "Version 2" and says repos keep a hand-kept copy: change the format here first, then update the copies. A repo's own sections go after ✅ Testing and before ⚠️ Worth knowing, its own guides after "How the pieces fit".
  • deliver and pr-polish list 📦 in the section order and say when it is required. kickoff defers to the doc, so it is unchanged.
  • The README's "The house PR format in other repos" section is three lines: copies carry a Source: fullstackhouse/skills skills/pr-polish/references/pr-description.md (vN) line; when this doc changes, bump its version and update the copies.

📦 How it's used: a maintainer adds a section to the house format

  1. Jan, who maintains the format, adds a section to skills/pr-polish/references/pr-description.md and bumps it to "Version 3". → skills/pr-polish/references/pr-description.md
  2. He searches the repos for Source: fullstackhouse/skills skills/pr-polish/references/pr-description.md (v2) and edits each copy by hand: Casteo's .ai/docs/pr-description.md, paseo-inbox's summary rules in shared/review.ts. Each copy's line then says (v3). → README.md
  3. Agents running deliver or pr-polish read the new section straight from this doc after the plugin updates.

🧭 Agents start writing 📦 How it's used; nothing checks the copies

Anything that reads this doc (deliver, pr-polish, kickoff) starts writing 📦 How it's used for changes to what a person does or how a caller calls the code (n/a: internal otherwise). Keeping the copies in step is a manual step named in the README, not a CI check.

🔍 Details

  • Slot markers dropped. The earlier <!-- extension: sections --> / <!-- extension: guides --> markers only told the renderer where to splice a repo's additions. With hand-kept copies one sentence in the doc's intro says where a repo's own sections and guides go, so the markers would only be noise in each copy.
  • Version as a visible line, not the <!-- pr-format-version --> comment, since a person now reads it to fill in a copy's (vN).

✅ Testing

Docs only. Checked that no doc or skill in this repo still mentions the renderer, the pin file or --check, and that the version-check workflow sees the plugin bump. Not verified: an agent run of deliver writing a 📦 section.

⚠️ Worth knowing

  • Plugin version 2.24.0 → 2.25.0 (minor: a new section in the format).
  • Removed since the first revision of this PR: scripts/render-pr-format.mjs, the consumer loader scripts/pr-format.mjs, their 22 tests and the scripts-test workflow, which existed only for them.

🤖 Generated with Claude Code

jtomaszewski and others added 3 commits November 27, 2026 18:15
The house PR-description format gains the "📦 How it's used" section and a
version marker, and marks two extension slots for repo-specific additions.
scripts/render-pr-format.mjs renders it (plus a repo's extension file) into
a consuming repo at a pinned SHA, and --check fails with a diff when the
repo's copy or PR template drifts. scripts/pr-format.mjs is the loader
consumers copy. deliver and pr-polish now name the new section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ds right

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… renderer

Owner decision: no renderer, pin files or drift check. Drop
scripts/render-pr-format.mjs, the consumer loader, their tests and the
scripts-test workflow; the README now says copies are hand-kept with a
Source line. The doc drops its extension-slot markers and states where a
repo's own sections go instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jtomaszewski jtomaszewski changed the title feat(pr-polish): one canonical PR format, rendered into each repo with a drift check feat(pr-polish): add 📦 How it's used to the house PR format; repos keep hand-kept copies Nov 28, 2026
@jtomaszewski
jtomaszewski merged commit 90c391d into main Nov 28, 2026
4 checks passed
@jtomaszewski
jtomaszewski deleted the feat/pr-format-renderer branch November 28, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant