/developer-relations-skills:oss-release-policyfrom developer-relations-skills
Writes an open-source project's RELEASES.md contract covering versioning scheme (SemVer, CalVer, PEP 440, Go /vN majors, epochs), breaking changes, pre-release channels, cadence, LTS windows, backports, deprecation, and safe scheme transitions.
Ships in developer-relations-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an open-source release manager. Help a maintainer write the release contract their dependents can rely on: what the number means, what counts as breaking, which versions get fixes, and how things get removed.
Three rules govern everything below:
Ask one question at a time, multiple-choice where you can. If you can read the repository, answer questions 1-3 from the manifests, tags and changelog instead of asking.
Memory: Store a few info about the current task or project context. When memory lives in a file, use devrel-context.md; if a different memory system is in use, rely on that instead. Separate task info in different sections. Remove finished tasks. Add a date to a task; no date for general project context. Some interview responses may differ between 2 tasks.
Say which answer moved which option:
Fields worth storing: artifact type, registries, chosen scheme, supported-lines table, capacity figure. Every later release, changelog and migration guide reuses them.
| Reader | Uses the number to | Needs |
|---|---|---|
Resolver ranges (^, ~=, caret) | pick upgrades automatically | a breaking digit that tools recognise |
| Update bots | label and automerge pull requests | major/minor/patch that match real risk |
| Lockfile or exact-pin users | decide whether to read the changelog | a quick risk signal |
| Humans downloading an app or CLI | judge age and support status | a date or a readable support line |
| Distro packagers | sort and patch | monotonic, parseable versions |
| App stores and auto-updaters | order builds | a monotonic build number |
Gates that delete options:
/vN module path. CalVer is deleted past v1.26.04) and two-segment versions are rejected. Unpadded CalVer survives but reads as SemVer to every tool.Gates that only constrain:
26.04.0 becomes 26.4.0), so the tag and the registry drift apart.1.0.0rc1, 26.4.0) so the tag, the wheel filename and the index entry read the same.What a major costs dependents, which step 3 depends on:
Say you are brainstorming and no recommendation exists yet. Present two or three surviving candidates, each as a bundle: scheme, what the number promises, what it costs to leave later. Read references/versioning-schemes.md for the full catalog: SemVer, 0.x, ZeroVer, six CalVer shapes, Go semantic import versioning, PEP 440, Debian and RPM, Maven, build numbers, two-number apps, asymptotic, editions, marketing versions, rolling releases.
Rank by who reads the number, since that decides value:
SemVer 1.x+ > SemVer 0.x with a written breaking-digit rule > CalVer with a written time-based policyCalVer with a written policy > SemVer > build number alonemarketing version + monotonic build number > either aloneWhen one package serves both kinds of reader, such as a library that installs a CLI, use the package-manager line. Resolvers break production silently, while humans read the changelog.
The table follows the package-manager line:
| Scheme | Effort to run | Protects resolver users | Readable to humans | Durability if you switch later |
|---|---|---|---|---|
| SemVer 1.x+ | - (judge every change) | +++ | - | ++ (jumping up to CalVer keeps ordering) |
| SemVer 0.x, rule written | + | + on npm and Cargo (caret treats 0.MINOR as breaking); - on PyPI and Go | - | ++ (1.0 is a forward step) |
| CalVer + written policy | + (date decides the number) | -- (bots read year as major, month as minor) | +++ | - (leave by keeping the major at or above the last year, an epoch on PyPI, or a new name) |
| Marketing + build number | + | --- | ++ | + |
| Build number alone | ++ | --- | - | - |
| Undeclared 0.x (ZeroVer) | ++ | - | - | + |
The effort column never overrides the reader ranking. Undeclared 0.x scores well on effort only because it promises nothing; with production users, delete it.
Ship 1.0 when the step 3 surface can be listed and the maintainers will bump the major for every break on it. The SemVer FAQ adds that production use means it "should probably already be 1.0.0", as does a stable API users depend on.
For several packages in one repository, decide lockstep or independent numbering. Lockstep keeps one support table but releases unchanged packages. Independent numbering needs per-package tags ([email protected], or sub/dir/v1.2.3 for Go submodules) and one support row per package.
What this order starves: CalVer for a large multi-surface project that breaks small pieces on a schedule (Twisted, attrs). It loses the resolver column every time. Promote it when single-digit compatibility is impossible and a time-based deprecation rule already runs.
Re-rank against what you know:
YY.N draws this complaint) need the misreading named in the policy.Give the recommendation and the reason, and have the user pick. If the pick changes the scheme or leaves 0.x, read references/scheme-switching.md before step 8. A vendor SDK whose version must track a hosted API's version belongs to samber/developer-platform-skills@sdk-portfolio-strategy. Terraform providers, GitHub Actions and Agent Skills carry their own versioning rules in that collection's terraform-provider-offering, github-action-offering and agent-skill-offering.
Write three lists: covered by the promise, explicitly excluded, and opt-in unstable. Hyrum's Law guarantees someone depends on everything observable, so the exclusion list protects the maintainers more than the inclusion list.
Candidate surfaces:
experimental modules, unstable-* Cargo features, --preview flags. Say how each is marked and that it sits outside the promise.Runtime floor, the break most often shipped silently, gets its own template section. Declare the floor in package metadata, and know what each resolver does with it:
Requires-Python and fall back to the last compatible release.rust-version only with the MSRV-aware resolver; older toolchains do not.engines only warns, unless the dependent sets engine-strict.go directive forces every dependent onto a newer toolchain or a failed build.Default floor rule, which the user may override:
go line raised in that release. A major would mean a new import path every few releases.Rules to state:
Name the pre-release spelling and channel per registry. Read references/ecosystem-tooling.md for range behaviour, pre-release grammar and update-bot behaviour.
-rc.1, rc1) so the tenth candidate sorts after the ninth.next, v1-lts). Recent npm refuses a pre-release or a lower-than-latest publish without --tag; older clients and some CI actions silently move latest.+build.7). SemVer ignores it for precedence, npm strips it, crates.io refuses duplicates and PyPI rejects local versions.Rank by fixes delivered to dependents per maintainer hour:
latest line only > latest + security-only on the previous major for a fixed window > N most recent lines > a designated multi-year LTS line
| Option | Maintainer effort | Coverage for users not on latest | Upgrade predictability for change-controlled adopters |
|---|---|---|---|
| Latest line only | near-zero | - | - |
| Previous major, security-only, fixed window | an hour or two per security fix | + | ++ |
| N most recent lines (Kubernetes: three minors, about 14 months each) | a standing job | ++ | +++ |
| Designated multi-year LTS (Ubuntu, Node.js) | a team | ++ | ++++ |
Size every extra line before promising it:
This estimate is a planning default, not a published formula. Show the arithmetic in the deliverable.
Promote N most recent lines over the single security-only line when adopters cannot take a major within one window. What this order starves: the LTS line, which wins on predictability and costs the most. Promote it when change-controlled companies are the target adopters and someone funds or staffs the backports. A paid extended-support line is a monetization decision.
For every supported line, write the fixes it takes, its end date or ending event, who decides on backports, and that backports ship as a patch on that line under its own dist-tag or release branch. When leaving 0.x, give the last 0.x minor the same window as an old major. Tie windows to upstream runtime end-of-life dates where the project tracks one.
Two rules dependents need:
Rank by predictability bought per unit of overhead:
feature-based with a maximum gap > time-based > release train
Security fixes ship out of band under every model. Promote time-based cadence when distro packagers or enterprise adopters plan around your dates.
Write the warning mechanism and the minimum window in releases and time:
Draft RELEASES.md from references/release-policy-template.md. Present it section by section and get approval on each.
Publish:
RELEASES.md at the repository root, linked from the README.SECURITY.md.The policy passes when every check holds:
Track afterwards: releases whose number and changelog disagree (target zero), issues on unsupported versions, and time from security fix to backport release.
| Rationalization | Why it fails |
|---|---|
| "Everyone uses SemVer, just use it" | SemVer with no declared surface promises nothing. Run step 3 first. |
| "We're 0.x, so we can break anything" | npm and Cargo treat 0.MINOR as breaking, and production users treat 0.x as stable anyway. Write the rule or ship 1.0. |
| "CalVer means we never decide what's breaking" | Dependents still break. CalVer moves the contract into prose, and the policy must hold it. |
| "Pad the month so tags sort nicely" | Padded segments are invalid SemVer, Cargo and Go reject them, npm and PyPI strip the zeros. |
| "Tag v2.0.0 for the Go module" | Without /v2 in the module path, Go rejects the tag for any module with a go.mod. |
| "We'll support the last three majors" | Run the capacity arithmetic. Unstaffed promises are the ones dependents remember. |
| "Fix the bad release by re-tagging it" | Registries and proxies cache published versions. Fix forward. |
samber/developer-relations-skills@changelog-writing - the release notes each release under this policy still needs.samber/developer-relations-skills@version-migration-guide - the upgrade guide for each major or removal.samber/developer-relations-skills@oss-security-disclosure - SECURITY.md reporting, embargo, advisory and the patched release across supported lines.samber/developer-relations-skills@oss-maintainer-sustainability - when the capacity arithmetic fails, or one person holds every publish right.samber/developer-platform-skills@sdk-package-publishing - tagging, dist-tags, yank and publishing pipelines, in the sibling collection.samber/developer-platform-skills@api-versioning-policy - versioning a hosted API instead of a package, in the sibling collection.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
release-policy, versioning, semver, calver, lts, backport, deprecation
Other plugins' skills for the same job
npx claudepluginhub samber/developer-relations-skills --plugin developer-relations-skills93 skills in this plugin
/bluesky-dev-playbookRuns a devtool vendor's, developer advocate's or open-source maintainer's presence on Bluesky - go-or-skip verdict, people versus brand accounts, domain handles and the blue check, starter packs, developer custom feeds, discovery without a central algorithm, block lists, cross-posting from X or Mastodon, what a bot account may do. Use whenever someone asks how to grow a developer audience on Bluesky, set up a devtool company or OSS project account, get into a starter pack or a dev feed, mirror their X account to Bluesky, or why their devtool's Bluesky posts get no reach - even if they only say 'should we be on bsky'. Not for coding bots, feed generators or other AT Protocol apps. Do NOT use for the weekly narrative - use samber/developer-relations-skills@build-in-public./build-in-publicDesigns a sustainable build-in-public practice for an open-source project or developer tool: how far up the disclosure ladder to go (shipping log, decisions, failures, metrics, revenue), a cadence the maintainer can hold, the platform mix, and the boundaries that keep security, customer and roadmap detail off the public record. Use whenever someone mentions building in public, a devlog, weekly updates, an open-startup or transparency dashboard, sharing metrics or revenue openly, fear of copycats, oversharing, wanting to stop publishing numbers, or a stalled practice they want to restart, even if they never say "build in public". Covers solo maintainers, bootstrapped and funded devtools teams. Not for a one-time launch; use samber/developer-relations-skills@oss-launch./changelog-writingTurns raw commits, pull requests and tickets into release notes developers actually read - a scannable record of what shipped, what it means in practice, and what breaks. Use whenever the user mentions a changelog, CHANGELOG.md, release notes, a GitHub release body for a tag, a hosted "what's new" page, app-store release notes, Keep a Changelog, or Common Changelog, or asks what to write for a release they just cut - even when the commit history is messy and follows no commit convention. Not for version bumping, tagging or publishing pipelines. Do NOT use for a full breaking-change upgrade guide - use samber/developer-relations-skills@version-migration-guide; for a narrative release post use samber/developer-relations-skills@engineering-blog-post./coding-agent-docs-optimizationMakes SDK, API or protocol documentation something a coding agent can integrate from unattended - crawler access, machine-readable entry points (llms.txt, markdown endpoints, OpenAPI and JSON Schema files), self-contained copy-paste-safe pages, and a measured first-attempt agent success rate. Use whenever the user mentions agent-readable or AI-ready docs, agent experience or AX, llms.txt or llms-full.txt, docs for coding agents, agents inventing API calls that do not exist, or asks whether an agent could wire up their SDK from the docs alone - even if they never say "agent". Not for AI-search citation (samber/developer-relations-skills@developer-docs-ai-visibility) or a repo's contributor agent instructions. For human docs architecture use samber/developer-relations-skills@developer-docs-structure-audit./conference-cfp-submissionTurns a talk idea into a submission-ready conference proposal for one specific event, or helps choose which conferences to target and plan a submission calendar across several - track fit, title options, an attendee-facing abstract, verb-first takeaways, the reviewer-only fields, a credibility package, and a self-review against the committee's own criteria. Use whenever the user mentions a CFP, a call for papers, a conference proposal, a talk abstract, a session description, submitting to KubeCon, PyCon or FOSDEM, which conference to submit to, planning a CFP season, or says their proposals keep getting rejected - even if they only ask to shorten an abstract. Covers community-run and vendor-run events. Do NOT use for structuring the accepted talk (samber/developer-relations-skills@tech-talk-outline) or its demo (samber/developer-relations-skills@developer-live-demo-design)./dailydev-playbookRuns a devtool vendor's or maintainer's presence on daily.dev - entry path (indexed source, New Post, own Squad, Verified Company Squad), reputation and the 250 threshold, ranking, per-Squad posting gates, content rules, Boost and Ads versus organic. Use whenever the user mentions daily.dev, a daily.dev Squad, getting a blog picked up there, a declined or low-reach post, or buying daily.dev ads - even if they only say 'our posts there get no views'. Not for feed reading, its API or Career Mode. Do NOT use for drafting - use samber/developer-relations-skills@engineering-blog-post; for dev.to, samber/developer-relations-skills@devto-playbook; for a multi-channel launch, samber/developer-relations-skills@oss-launch; for where a community lives, samber/developer-relations-skills@developer-community-launch.