oss-release-policy
БесплатноБез исполняемых скриптовНе проверенWrites an open-source project's release policy as a RELEASES.md contract: the versioning scheme (SemVer, 0.x, CalVer such as YY.N, Go /vN majors, PEP 440…
от samber★ 18 звёзд на GitHubОб этом скилле
OSS Release Policy
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:
- Write the contract, not just the number. A version number only compresses a policy. SemVer without a declared public surface promises nothing, and CalVer without a written compatibility rule is a date stamp.
- Let the ecosystem delete options before taste ranks them. Go, Cargo and npm refuse some spellings outright, and each ecosystem prices a major differently. Delete what a gate removes, never demote it.
- Promise only what the maintainers can staff. Every supported line costs backport hours, every month, until its end date. A window sized beyond capacity becomes a broken promise, and dependents trust the next one less.
Interview
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.
- What ships: a library or SDK, a plugin for a host, a CLI or app, a service image, a data bundle? Several packages in one repository?
- Which registries or channels publish it (npm, PyPI, crates.io, Go modules, Maven Central, distro packages, app stores, container registries)?
- Current version and scheme, and are people running it in production?
- Who depends on it: individual developers, companies with change control, distro packagers, other libraries that re-export it?
- What has broken users before? Ask for the last two complaints, since they show where the real public surface sits.
- How many hours a month can the maintainers spend on releases and backports, and who holds publish rights?
- Is there a date the policy must exist by (a 1.0 launch, a customer review, a foundation application)?
- Is a 1.0 or a scheme switch on the table, or only documenting the scheme already shipped?
- Which runtimes or hosts does it track, and do target adopters run distro-supported versions past upstream end-of-life?
Say which answer moved which option:
- Hours below the step 5 estimate for an extra supported line delete that line.
- A hard date promotes options that need no tooling or import-path change.
- "Only documenting" freezes the scheme and skips the switching reference.
Fields worth storing: artifact type, registries, chosen scheme, supported-lines table, capacity figure. Every later release, changelog and migration guide reuses them.
Step 1 - Map who reads the number and what a major costs
| 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:
- Go module: SemVer only, and v2+ needs a
/vNmodule path. CalVer is deleted past v1. - Go, Cargo: padded segments (
26.04) and two-segment versions are rejected. Unpadded CalVer survives but reads as SemVer to every tool. - npm: two-segment versions are rejected.
Gates that only constrain:
- npm: padded segments are silently normalized (
26.04.0becomes26.4.0), so the tag and the registry drift apart. - PyPI: every scheme fits PEP 440. Write the policy in normalized spelling (
1.0.0rc1,26.4.0) so the tag, the wheel filename and the index entry read the same. - Distro packages: the packager owns epochs and revisions. Upstream keeps versions monotonic and parseable.
What a major costs dependents, which step 3 depends on:
- npm, PyPI: a range edit and a review. Two majors can coexist only in npm's nested install.
- Cargo: two majors in one tree mean duplicate crates, and types from one do not match the other.
- Go: a new import path. Every dependent rewrites imports, and v1 and v2 types never mix.
Step 2 - Choose the scheme
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 ca
Установить oss-release-policy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл oss-release-policy?
Writes an open-source project's release policy as a RELEASES.md contract: the versioning scheme (SemVer, 0.x, CalVer such as YY.N, Go /vN majors, PEP 440, epochs, build numbers), what counts as breaking, pre-release channels, cadence, supported versions and LTS windows, backports, deprecation, and switching schemes safely. Use whenever a maintainer asks SemVer vs CalVer, when to ship 1.0, whether to stay on 0.x, how long to support old versions or whether to offer an LTS - even if they only say minor releases keep breaking users. Not for configuring your own dependency bots or closed-source product lifecycles. Not hosted API versioning - use samber/developer-platform-skills@api-versioning-policy. Not release notes - use samber/developer-relations-skills@changelog-writing.
Как установить скилл oss-release-policy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл oss-release-policy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic