release-openspec
БесплатноБез исполняемых скриптовНе проверенUse this skill when releasing OpenSpec: audit merged work and changeset coverage, decide whether a catch-up changeset PR is needed, prepare or resume the…
от Fission-AI★ 76 179 звёзд на GitHubОб этом скилле
Release OpenSpec
Run the OpenSpec release workflow as a resumable state machine. Inspect live GitHub state on every invocation and take only the next safe action. Do not assume an earlier invocation completed.
Principles
- Treat
Fission-AI/OpenSpecandorigin/mainas the release source of truth. - Default to a read-only audit when the user asks for status, readiness, or advice.
- Treat a request to release, prepare a release, continue, or resume as authorization to perform the applicable release actions.
- Preserve the user's checkout. Never discard unrelated changes or switch their current branch just to prepare a changeset.
- Use a temporary worktree from current
origin/mainfor release-authored commits when the checkout is dirty or not onmain. - Never approve your own PR. Human review is a deliberate gate.
- Treat merge-queue entry as an intermediate state, not a merge. Advance only after GitHub reports
mergedAtand the commit is present onmain. - Never create the automated Version Packages PR manually. The Changesets action owns it.
- Never push an empty commit merely to retrigger CI. Diagnose the failed or missing run first.
- Report URLs, the state reached, and the exact human action needed whenever pausing.
Know the two PR types
Keep these distinct in output and decisions:
- Changeset PR: A normal human-authored PR that adds one or more
.changeset/*.mdfiles. Prefer adding a changeset to the feature/fix PR; create a catch-up changeset PR only for already-merged work that should be included. - Version Packages PR: The automated
changeset-release/mainPR titledchore(release): version packages. Merging or adding changesets tomainupdates this same PR. Merging it publishes the stable release.
An open Version Packages PR does not prohibit a catch-up changeset PR. It means a catch-up PR is useful only when the audit finds missing release-worthy work. Once that PR merges, wait for the existing Version Packages PR to update.
Start with a release audit
Verify the repository and tools:
- Resolve the GitHub repository with
gh repo view --json nameWithOwner,url. - Require authenticated
gh,git, andpnpmbefore write actions. - Stop before release mutations if the canonical repository is not
Fission-AI/OpenSpec.
- Resolve the GitHub repository with
Refresh without modifying the worktree:
git fetch origin mainDo not fetch every tag indiscriminately. This repository may contain a conflicting historical local tag, which can make
git fetch --tagsfail even thoughorigin/mainfetched successfully.Find the latest stable GitHub release. Exclude drafts and prereleases; do not use
git describe, because a beta tag may be newer than the stable baseline.gh release list --repo Fission-AI/OpenSpec \ --exclude-drafts --exclude-pre-releases --limit 100 \ --json tagName,publishedAt \ --jq 'max_by(.publishedAt) | {tagName, publishedAt}'Ensure that exact stable tag resolves locally before using it as a
git logboundary. Fetch only that tag if it is missing. If a same-named local tag disagrees with the canonical remote, report the mismatch and use a separately resolved canonical commit; never force-rewrite the user's tag as part of an audit.Find open release-related PRs:
gh pr list --repo Fission-AI/OpenSpec --state open \ --head changeset-release/main \ --json number,title,headRefName,baseRefName,url,reviewDecision,statusCheckRollupIdentify the Version Packages PR by
headRefName == "changeset-release/main", not title alone. Separately list likely changeset PRs and inspect their files; require positive additions to.changeset/*.md. Do not mistake the Version Packages PR's changeset deletions for authored changesets, and do not rely on titles because a feature/fix PR may add release tracking.Read the live release policy in
.changeset/README.md, pending.changeset/*.mdfiles onorigin/main, and the Version Packages PR body/files when it exists.List first-parent commits since the latest stable tag:
git log --first-parent --date=short \ --pretty=format:'%h%x09%ad%x09%s' <stable-tag>..origin/mainMap release-worthy merged PRs to existing changesets. Use PR files and changeset history; do not infer coverage from similar wording alone.
Classify the audit as:
missing-tracking: user-facing work intended for this release lacks a changeset;awaiting-changeset-review: a suitable changeset PR already exists;awaiting-merge-queue: an approved changeset or Version Packages PR is queued but has not landed onmain;awaiting-version-update: required changesets are onmain, but the Version Packages PR has not incorporated them;awaiting-version-review: the Version Packages PR is current but lacks approval;ready-to-publish: the Version Packages PR is current, approved, and green;- `publish
Установить release-openspec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release-openspec?
Use this skill when releasing OpenSpec: audit merged work and changeset coverage, decide whether a catch-up changeset PR is needed, prepare or resume the Changesets Version Packages PR, cut a beta or stable release, verify publishing, and polish GitHub release notes. Also use when asked whether an open release PR is complete, what the next release step is, or to continue a release paused for human approval.
Как установить скилл release-openspec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-openspec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic