Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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.

  1. 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?
  2. Which registries or channels publish it (npm, PyPI, crates.io, Go modules, Maven Central, distro packages, app stores, container registries)?
  3. Current version and scheme, and are people running it in production?
  4. Who depends on it: individual developers, companies with change control, distro packagers, other libraries that re-export it?
  5. What has broken users before? Ask for the last two complaints, since they show where the real public surface sits.
  6. How many hours a month can the maintainers spend on releases and backports, and who holds publish rights?
  7. Is there a date the policy must exist by (a 1.0 launch, a customer review, a foundation application)?
  8. Is a 1.0 or a scheme switch on the table, or only documenting the scheme already shipped?
  9. 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 /vN module 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.0 becomes 26.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

Полный SKILL.md на GitHub

Установить oss-release-policy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsonreferences/ecosystem-tooling.mdreferences/release-policy-template.mdreferences/scheme-switching.mdreferences/versioning-schemes.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить oss-release-policy с