Skip to content

feat(skills): add standalone drafting-a-release skill#5

Merged
sourcehawk merged 2 commits into
mainfrom
feat/drafting-a-release-skill
May 29, 2026
Merged

feat(skills): add standalone drafting-a-release skill#5
sourcehawk merged 2 commits into
mainfrom
feat/drafting-a-release-skill

Conversation

@sourcehawk
Copy link
Copy Markdown
Owner

Description

Adds a standalone skill, drafting-a-release, for turning "what merged since the last release" into professional release notes and publishing them via gh release create. It is not wired into the feature-development flow — nothing routes into it and it routes into nothing — and is triggered whenever a user asks to cut, draft, or publish a release.

The problem it solves: drafting a release as a flat list of merged PR titles produces a changelog, not release notes. The reader is deciding whether to upgrade and what it costs them, and a title list doesn't tell them why a change matters. This skill makes the agent curate the reasoning and gate the publish on the user.

Changes

  • New skill skills/drafting-a-release/SKILL.md: choreography that establishes the baseline (last tag + merged range), proposes a semver bump for the user to confirm, drafts the notes, presents the full body to refine, asks draft-vs-published, and gates gh release create on a fresh confirmation of the exact tag, body, and draft state.
  • New template skills/drafting-a-release/templates/release-notes.md: Overview → What's new / What's changed / What's removed (each led by reasoning) → Fixes → a raw changelog collapsed into a <details> block.
  • README.md: one row added to the skills catalog, marked standalone so it isn't read as part of the planning→merge flow.

Testing

Developed through the mandated superpowers:writing-skills RED → GREEN → REFACTOR loop:

  • RED: two baseline subagents cut a release without the skill (one under explicit time pressure). Both produced bare PR-title lists with no overview, no per-item reasoning, an uncollapsed changelog, and both decided draft-vs-published for the user instead of asking.
  • GREEN: the same scenario with the skill present, under "I'm slammed, just handle it" pressure — the agent produced a real Overview, per-item why reasoning, the collapsed <details> changelog, a reasoned semver proposal left to the user, an explicit draft-vs-published question, and stopped at the confirmation gate instead of publishing. No new rationalizations surfaced.

Also verified: both .claude-plugin/ JSON files parse, and a leakage grep across the new skill finds no repo slug, build commands, or product/domain identifiers (it stays project-agnostic).

🤖 Generated with Claude Code

sourcehawk and others added 2 commits May 29, 2026 22:05
Drafting a GitHub release as a one-shot list of merged PR titles loses
the why: the reader, deciding whether to upgrade and what it costs them,
gets a changelog instead of release notes.

Add a standalone skill (no flow wiring) that turns "what merged since
last time" into curated notes. A template carries the shape — Overview,
What's new / changed / removed each led by reasoning, Fixes, and the raw
list collapsed into a <details> changelog. The choreography proposes the
semver bump (user confirms), presents the full body to refine, asks
draft-vs-published, and gates `gh release create` on a fresh
confirmation against the exact tag, body, and draft state.

Developed via writing-skills RED->GREEN->REFACTOR: baseline agents
produced bare PR-title lists with no overview, no reasoning, an
uncollapsed changelog, and decided draft-vs-published for the user; with
the skill, agents produced the curated shape and stopped at the gate
under time pressure.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The skills table catalogs every skill. Add a row for drafting-a-release,
marked standalone so it isn't read as part of the planning->merge flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 29, 2026 20:12
@sourcehawk sourcehawk merged commit 2cf2cca into main May 29, 2026
1 check failed
@sourcehawk sourcehawk deleted the feat/drafting-a-release-skill branch May 29, 2026 20:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

2 participants