Release doc
Skill OpenElementsLabs/agentic-support-workflow/skills/release-doc
Create version-change documentation that helps humans and AI understand and act on changes between versions. Produces application release notes (docs/releases/vX.Y.Z.md) for operators, or — for libraries — an AI-executable upgrade guide (docs/releases/upgrade-to-X.Y.Z.md) that lets an agent upgrade the dependency in a downstream project. Use this skill when the user wants to write release notes, a changelog for a version, an upgrade or migration guide, or document what changed between two versions.From its SKILL.md
npx -y skills add OpenElementsLabs/agentic-support-workflow --skill release-docAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
9.3 KB, as published. Nobody here has run it
Create Release / Upgrade Documentation
Produce the documentation that explains what changed between two versions and what a reader must do about it. There are two output shapes for two audiences:
- Application release notes (
docs/releases/vX.Y.Z.md) — for the humans who operate the deployed app. Readable without the source. - Library upgrade guide (
docs/releases/upgrade-to-X.Y.Z.md) — an AI-executable prompt that lets an agent upgrade this dependency inside a downstream project. Not a passive description — it is a prompt to be executed.
Both types share the docs/releases/ directory. Worked, gold-standard examples live in examples/ next to this skill — these are filled-in templates. Read the one matching your document type and mirror its structure; examples/README.md indexes them and links the live canonical docs.
Core principles
- Derive from reality, not memory. Content must come from the actual git history, diffs, tags, merged PRs, and the code — never from recollection of "what probably changed." A release note that misses a breaking change, or an upgrade guide with the wrong signature, is worse than none. Verify every claim against the diff.
- One file per version, immutable. Each released version gets its own file. Never rewrite a previously published release/upgrade doc — add a new file. Upgrading across several versions means running the relevant files in sequence; never collapse multiple version jumps into one document.
- Match the document to its reader. Operator-facing notes stay user-centered; library guides stay concrete enough to act on without opening the library's source.
Instructions
1. Determine the document type
Decide whether this repository ships an application or a library (or both):
- Application — a deployable product (web app, service, container). → Release notes for operators.
- Library — a published artifact consumed by other projects (Maven/Gradle coordinate, npm package, shared module). → Upgrade guide for consumers.
Detect this from the project: look at the build file (is it published with coordinates / a package name, or deployed as an app?), the README, and the existing docs/ directory. If it is genuinely ambiguous, or the repo ships both, ask the user which document to produce.
2. Establish the version delta
Pin down exactly which two points you are documenting:
- Target version — the version being released/published (from the user, the build file, or the planned tag).
- Previous version — the last documented version. Find it from existing tags (
git tag --sort=-v:refname), the previous file indocs/releases/, or ask.
Then gather the real changes between them — do not rely on memory:
- Ignore changes to the
.claude/directory (andCLAUDE.md). These are AI/tooling configuration — skills, conventions, hooks, settings — not product changes, and they have no place in release notes or upgrade guides. Exclude them from every command and from the summary, e.g.git log <previous>..<target> --oneline -- . ':(exclude).claude' ':(exclude)CLAUDE.md'. git log <previous>..<target> --onelinefor the change set.- Inspect merged PRs / commit messages for intent and grouping.
- For anything that looks structural, read the actual diff. In particular, for libraries, diff the public API surface and contracts:
git diff <previous>..<target> -- <public source paths>for changed/removed/added public signatures.- Database schema / migration files for schema changes.
- Configuration keys, default values, validation messages, enums, and exported types.
Summarize the delta back to the user grouped into: breaking changes, new/optional capabilities, fixes/internal changes. Confirm nothing significant is missing before writing.
3a. Application release notes
Create docs/releases/vX.Y.Z.md using examples/application-release-notes.md as the template. The structure is: a header block (released date, GitHub release link, previous version), a one-paragraph intro naming the theme, then ## Highlights for Admins and Users, ## Other changes under the hood, ## Upgrade notes, and ## Full commit history. Rules:
- Frame each highlighted change in user-facing terms and explain why it matters, not just that it happened.
- Flag every removal or destructive change loudly, with the action required before upgrading (e.g. export data first).
- In Upgrade notes, be explicit even about the absence of work ("No database migrations are required"). Cover migrations, data-loss risks, and config/integration compatibility.
- Keep deep technical detail under "Other changes under the hood."
3b. Library upgrade guide
Create docs/releases/upgrade-to-X.Y.Z.md. This is the high-stakes path. The bar is the defining requirement:
Given only this file and access to a consumer project's codebase, a competent AI agent must be able to perform the upgrade correctly, completely, and without touching anything out of scope.
If a human would have to open the library's source to know what to do, the guide has failed. Use examples/library-upgrade-breaking.md as the template when there are breaking changes, or examples/library-upgrade-additive.md for a purely additive release. The structure is: ## Prompt, then ### What changed (with #### Dependencies and one #### per change), ### Steps, ### Guard rails, ### Don't do this.
Work the changes systematically:
- Walk the full public contract delta from step 2 — every changed/removed public method, type, annotation, schema column, config key, default, and message string. Each one is a potential consumer break.
- Classify each change with a severity tag in its heading:
- Breaking — the consumer's code won't compile or run until changed.
- Breaking-light — it still compiles, but behavior or test assertions change (message strings, defaults, side effects). Call these out explicitly.
- Additive — a new optional capability; defaults preserve old behavior. State that skipping it is safe and what the unchanged behavior is.
- Write concrete before/after for each — real signatures, column definitions, and literals the agent can match against a consumer's code. No "see the source," no "adjust as needed."
- Write ordered Steps the agent runs top to bottom: which coordinate to bump and to what version, migrations in the correct order (e.g. backfill before applying a
NOT NULLconstraint), call-site edits, test fixes, and a verification step. - Write Guard rails and "Don't do this" — forbid the predictable wrong moves: bumping unrelated/peer dependencies, leaving constraints off, passing
nullfor new required args, shimming the old API to avoid the migration, bundling unrelated refactors. Enforce scope: the guide drives only the changes this version requires.
Before finishing, run this self-check — if any item fails, the guide is incomplete:
- The exact coordinate and target version to bump are stated, and what must not change is listed.
- Every breaking change has concrete before/after the agent can match against a consumer codebase.
- Optional changes are clearly marked optional, with the safe default behavior stated.
- Migration steps are ordered, and ordering-sensitive steps have matching guard rails.
- Guard rails and "Don't do this" close off the predictable wrong moves.
- An agent with only this file and a consumer repo could finish the upgrade and verify it.
4. Place and link the document
- Put the file in
docs/releases/with the exact naming (vX.Y.Zfor release notes,upgrade-to-X.Y.Zfor library upgrade guides). - Always use the full three-part semver
X.Y.Zin the filename and the document title, even when the patch is0(e.g.upgrade-to-1.1.0.md, notupgrade-to-1.1.md). A missing patch component breaks alphabetical sorting —upgrade-to-1.1.mdsorts afterupgrade-to-1.1.1.mdandupgrade-to-1.1.2.md, so the listing no longer reflects version order. Padding every version to three components keeps the directory sorted correctly. - If a previous version's document exists, do not edit it — these are an immutable record. Only add the new file.
- If the project keeps an index/listing of releases or upgrade guides, add the new entry.
5. Summary
Provide:
- A link to the created document and the version delta it covers.
- For libraries: the list of breaking changes captured and confirmation that the self-check passes (or which items remain open).
- For applications: a reminder to attach the notes to the GitHub release for the matching tag.