Repository navigation
feat(#684): /release pre-flight regenerates marketplace README + checks README 'What's new' freshness - #685
Merged
admarble merged 3 commits intoJun 1, 2026
Conversation
… new" freshness in pre-flight (#684) Add two gates to the /release skill so stale doc surfaces can't ship again (root cause of v2.4.0's "Node.js 20+" marketplace README and unrefreshed root README "What's new"): - Step 4.7: run `npm run prepare:marketplace` before pack/publish so the dist/marketplace artifact (bundled via files:["dist"], gitignored) always matches current sources; warn if its Node.js floor diverges from package.json engines. - Documentation Checks: warn (non-blocking, like the what-weve-built check) when README.md "What's new" omits the version being released. AC-3 (mirror to other skill copies) is N/A — release skill exists only in .claude/skills/release/. Entire-Checkpoint: 530210aafbd9
3 tasks
…res for the released version Pre-flight read package.json before Step 4 bump, so it checked the previous version (already in README) and never warned for the version being released. Relocate to new Step 4.65 (post-bump).
admarble
deleted the
feature/684-chore-release-release-pre-flight-should-regenerate
branch
June 1, 2026 00:28
admarble
added a commit
that referenced
this pull request
Jun 1, 2026
…st-bump (#688) Pre-flight Check #11 read package.json before the Step 4 version bump, so it compared what-weve-built.md stamps against the *previous* release — a no-op for the version actually being released (same ordering bug fixed for the README check in #685). Move the title + ASCII version-stamp comparison to a new post-bump Step 4.63 (just after Step 4.6, which updates the stamps), comparing against new_version. Leave a pointer note at the former pre-flight location. Warn-only semantics unchanged. Single skill copy — no mirror sync. Entire-Checkpoint: 6108128c3472
6 tasks
admarble
added a commit
that referenced
this pull request
Sep 9, 2026
…st-bump Pre-flight Check #11 read package.json before the Step 4 version bump, so it compared what-weve-built.md stamps against the *previous* release — a no-op for the version actually being released (same ordering bug fixed for the README check in #685). Move the title + ASCII version-stamp comparison to a new post-bump Step 4.63 (just after Step 4.6, which updates the stamps), comparing against new_version. Leave a pointer note at the former pre-flight location. Warn-only semantics unchanged. Single skill copy — no mirror sync. Entire-Checkpoint: 6108128c3472
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
Hardens the
/releaseskill pre-flight so the two doc surfaces that shipped stale in v2.4.0 can't ship again:npm run prepare:marketplace) before pack/publish. The artifact underdist/marketplace/is bundled into the tgz viafiles:["dist", ...]even thoughdist/is gitignored — so regenerating it from source before Step 5/9 guarantees the bundled README matches current sources. Includes a warn-only freshness check comparing the generated README's Node.js floor againstpackage.jsonengines.node.what-weve-built.mdversion-stamp check) whenREADME.md"What's new" omits the version being released.Root cause of the v2.4.0 misses: the
sequant-2.4.0.tgzcarried a "Node.js 20+" marketplace README after the floor moved to 22.12 (#677), and the root README "What's new" was never refreshed for 2.4.0.Pre-PR AC Verification
SKILL.md, before Step 5 (pack) / Step 9 (publish)README.md"What's new" omits the release versionfind . -name SKILL.md -path '*release*'→ only.claude/skills/release/; notemplates/skills/orskills/copy existsTest plan
All snippets were run live (this is a run-the-snippet deliverable — no code paths added):
New in 2.4.0→ no warning9.9.9→ warning firesnpm run prepare:marketplacesucceeds; generated README Node lineNode.js 22.12+matches engines>=22.12.0→ no warningNode.js 20.0README → warning firesnpm run lint(eslint src/ bin/) — cleannpm run lint:skill-calls— no violationsBuild/test phases skipped: no TypeScript or runtime code changed (markdown + bash snippets in one SKILL.md).
Closes #684