Agent skill

Release Openspec

by goern in goern/forgejo-mcp

A skill your agent uses 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…

GPL-3.0Auto-check passedDevelopment

Install Release Openspec

skills CLI
$ npx skills add goern/forgejo-mcp --skill release-openspec -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install goern/forgejo-mcp release-openspec --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/goern/forgejo-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/release-openspec .claude/skills/release-openspec && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
release-openspec
GitHub stars
140
Used in
1 other repo
Token cost
~3.2k tokens
SKILL.md length
1,666 words
Files
3 (incl. references)
Skills in repo
15
Repo updated
First seen
Licence
GPL-3.0

At a glance

A skill your agent uses 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…

  • Works in 8 steps: Verify the repository and tools → Refresh without modifying the worktree → Find the latest stable GitHub release.… → …
  • Releasing OpenSpec: audit merged work and changeset coverage
  • SKILL.md covers Principles, Know the two PR types, Start with a release audit and Decide changeset coverage, plus 6 more sections
  • Calls gh, git and pnpm

What it does

Release Openspec is an agent skill from goern/forgejo-mcp. 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.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/release-notes.md`).

It sits in Development, covering Changelog and release notes. It works with GitHub. The repository describes itself as: MIRROR ONLY!! This Model Context Protocol (MCP) server provides tools and resources for interacting with the Forgejo (specifically Codeberg.org) REST API. The licence is GPL-3.0.

When your agent uses it

  • Releasing OpenSpec: audit merged work and changeset coverage
  • Decide whether a catch-up changeset PR is needed
  • Resume the Changesets Version Packages PR
  • Verify publishing

Example prompts

  • “/release-openspec”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Verify the repository and tools
  2. Refresh without modifying the worktree
  3. Find the latest stable GitHub release. Exclude drafts and prereleases; do not use git describe, because a beta tag may be newer than the…
  4. Find open release-related PRs
  5. Read the live release policy in .changeset/README.md, pending .changeset/*.md files on origin/main, and the Version Packages PR body/files…
  6. List first-parent commits since the latest stable tag
  7. Map release-worthy merged PRs to existing changesets. Use PR files and changeset history; do not infer coverage from similar wording alone.
  8. Classify the audit as

What it can do on your machine

Read from SKILL.md and the folder at commit 64a14bc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git
    • pnpm
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, git, pnpm and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Release Openspec loads about 3.2k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 1,666 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from goern/forgejo-mcp at commit 64a14bc, republished under its GPL-3.0 licence (© goern). 1,666 words, ~3,157 tokens.

Download SKILL.mdSave it as .claude/skills/release-openspec/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
release-openspec
description
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

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/OpenSpec and origin/main as 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/main for release-authored commits when the checkout is dirty or not on main.
  • 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 mergedAt and the commit is present on main.
  • 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/*.md files. 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/main PR titled chore(release): version packages. Merging or adding changesets to main updates 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

  1. Verify the repository and tools:

    • Resolve the GitHub repository with gh repo view --json nameWithOwner,url.
    • Require authenticated gh, git, and pnpm before write actions.
    • Stop before release mutations if the canonical repository is not Fission-AI/OpenSpec.
  2. Refresh without modifying the worktree:

    bash
    git fetch origin main

    Do not fetch every tag indiscriminately. This repository may contain a conflicting historical local tag, which can make git fetch --tags fail even though origin/main fetched successfully.

  3. 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.

    bash
    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 log boundary. 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.

  4. Find open release-related PRs:

    bash
    gh pr list --repo Fission-AI/OpenSpec --state open \
      --head changeset-release/main \
      --json number,title,headRefName,baseRefName,url,reviewDecision,statusCheckRollup

    Identify 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.

  5. Read the live release policy in .changeset/README.md, pending .changeset/*.md files on origin/main, and the Version Packages PR body/files when it exists.

  6. List first-parent commits since the latest stable tag:

    bash
    git log --first-parent --date=short \
      --pretty=format:'%h%x09%ad%x09%s' <stable-tag>..origin/main
  7. Map release-worthy merged PRs to existing changesets. Use PR files and changeset history; do not infer coverage from similar wording alone.

  8. 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 on main;
    • awaiting-version-update: required changesets are on main, 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;
    • publishing: the Version Packages PR merged but artifacts are incomplete;
    • needs-finalization: npm, tag, and GitHub Release exist but notes are still raw;
    • complete: package, tag, GitHub Release, and polished notes agree.

Present a compact audit with the stable baseline, proposed version, covered changes, possible omissions, intentionally skipped internal/docs work, open PRs, and next action.

Decide changeset coverage

Follow .changeset/README.md rather than assuming every merged PR needs a changeset.

Include work selected for release tracking, especially:

  • new user-facing features or commands;
  • notable fixes or hotfixes;
  • breaking changes or deprecations;
  • user-visible performance improvements.

Normally skip documentation-only work, tests, CI/tooling, and internal refactors. Flag ambiguous user-visible changes instead of silently excluding them. Ask the user only when the ambiguity materially changes release scope or the semantic version; otherwise use best judgment and let PR review be the approval gate.

Create or continue a changeset PR

Do this only for missing-tracking.

  1. If an open changeset PR already covers the missing work, reuse it. Inspect its headRefName, head repository, and maintainerCanModify; fetch that exact head branch from its owning repository into a temporary worktree, make the update there, and push back to the same PR head. Stop if the branch is not writable. Do not create a duplicate PR or replacement branch.

  2. Read .changeset/README.md immediately before authoring.

  3. Only when no suitable PR exists, create a short changeset-<scope> branch from current origin/main. Use a temporary worktree so the operator's checkout remains untouched.

  4. Prefer one changeset per coherent release unit. A single catch-up changeset may summarize several small items selected for the same release.

  5. Use the exact package name "@fission-ai/openspec", the highest required semantic bump, only relevant headings, and user-focused descriptions.

  6. Validate before pushing:

    bash
    pnpm exec changeset status
  7. Commit, push, and open a PR whose body lists the covered merged PRs and explains why the catch-up is needed.

  8. Stop after returning the PR URL and request human approval. Do not approve it yourself.

On a later invocation, if the PR is approved and checks are green, merge or enqueue it only when the user asked to continue or complete the release. If GitHub uses a merge queue, inspect mergeQueueEntry, queue checks, and mergedAt; remain in awaiting-merge-queue until the PR actually lands on main. Then wait for the Changesets action on main to update the existing Version Packages PR. Poll with concise progress updates; do not push an empty commit or another branch update, because that can dismiss approval and restart the queue.

Show full SKILL.md (618 more words)Show less

Validate the Version Packages PR

Before calling it ready:

  1. Confirm it targets main from changeset-release/main and is generated by the expected automation.
  2. Enumerate every pending .changeset/*.md file on current main, excluding .changeset/README.md. Verify the PR consumes every one and contains the corresponding changelog content. If any pending changeset should be deferred, stop: remove or revise it through a separately reviewed change and wait for automation to regenerate the Version Packages PR before continuing.
  3. Fetch baseRefOid and headRefOid with gh pr view, require baseRefOid to equal current origin/main, and create clean detached temporary worktrees for both revisions. If the head object is missing locally, fetch the immutable pull/<number>/head ref first. Never validate from the operator's current worktree.
  4. In the base worktree, run pnpm exec changeset status --output changeset-status.json and read the expected package/version from that file. Install locked dependencies in the temporary worktree first if the Changesets CLI is unavailable.
  5. Compare the base status and complete pending-changeset set against the head worktree: package.json, CHANGELOG.md, removed changeset files, PR body, and proposed version must all agree. This is a base-to-head comparison because the head has already consumed the changesets and cannot calculate the pending release itself.
  6. Remove the temporary worktrees after validation, then inspect all required checks and review state with gh pr view / gh pr checks.

If current but unapproved, return the URL and pause for human approval. If approved and green, merge or enqueue only when the user asked to release or continue. With merge queue enabled, do not treat approval, auto-merge enablement, or queue entry as the stable publish trigger; wait for mergedAt and confirmation that the merge reached main.

Verify stable publishing

After the Version Packages PR merges:

  1. Find the release workflow run for the merge commit and wait for completion.
  2. Verify all three artifacts independently:
    • npm view @fission-ai/openspec@<version> version
    • remote tag v<version> points at the expected commit;
    • gh release view v<version> exists and is not a prerelease.
  3. If only some artifacts exist, report partial state and resume verification before retrying any publish action. Never republish a version already on npm.
  4. Once all artifacts exist, read references/release-notes.md, polish the GitHub Release, and verify the saved title/body.

Cut a beta

Only enter this path when the user explicitly asks for a beta or prerelease.

  1. Run the same audit and confirm pending changesets produce a next stable version.
  2. Explain that beta publishing does not consume changesets or replace the stable Version Packages PR.
  3. Trigger the existing release-prepare.yml workflow on main; do not calculate or set the beta version locally.
  4. Verify the workflow-selected version, npm beta dist-tag, remote tag, and prerelease GitHub Release.
  5. Do not merge the stable Version Packages PR as part of a beta request.

Handle failures

  • For failed CI, inspect the failing check and logs before proposing a rerun or code change.
  • For a stale Version Packages PR, first confirm a successful push run of release-prepare.yml occurred after the latest changeset reached main.
  • For branch divergence, let the Changesets action update its branch. Do not force-push changeset-release/main.
  • For a queued PR, inspect merge-group checks and queue state. Do not re-enqueue, update the branch, or rerun unrelated checks while it is progressing normally.
  • For a version that already exists on npm, stop and reconcile the tag/GitHub Release rather than incrementing or republishing implicitly.
  • For missing GitHub permissions or required review, report the exact gate and URL; preserve the detected state so the next invocation can resume by inspection.

Completion report

Report:

  • released version and stable/beta channel;
  • changeset PR and Version Packages PR URLs, when applicable;
  • release workflow result;
  • npm package, tag, and GitHub Release verification;
  • release-notes finalization status;
  • any intentionally deferred changes.

© goern, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .agents/skills/release-openspec of goern/forgejo-mcp.

  • SKILL.md
  • agents/openai.yaml
  • references/release-notes.md

Open the folder on GitHubat commit 64a14bc

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in goern/forgejo-mcp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Release Openspec next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Release Openspec compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release Openspec this skillgoern/forgejo-mcp1401 repos~3.2kAutomated safety check: PassGPL-3.0
Cutting A ReleaseTriliumNext/Trilium38k—~3.2kAutomated safety check: PassAGPL-3.0
Mole CLI Release Flowtw93/Mole69k—~2.5kAutomated safety check: PassGPL-3.0
Draft Release Notesjamiepine/voicebox57k—~941Automated safety check: PassMIT
Mole Release Notes Publishertw93/Mole69k—~1.9kAutomated safety check: PassGPL-3.0
Release Bumpjamiepine/voicebox57k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Cutting A Release

    TriliumNext/Trilium

    A skill your agent uses when cutting, preparing, or debugging a Trilium release — bumping the monorepo version, tagging, or diagnosing a failed "Release" workflow run.

    38k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.

    69k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Draft Release Notes

    jamiepine/voicebox

    Writes or refreshes the Unreleased section of CHANGELOG.md as a themed narrative built from the commits, PRs and diff since the last version tag.

    57k GitHub stars~941 tokensUpdated today
    DevelopmentAuto-check passed
  • Publishes curated, bilingual release notes for an existing Mole version tag with gh release edit, including contributor thanks and reactions, after the release workflow finishes.

    69k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Release Bump

    jamiepine/voicebox

    Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.

    57k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Cut Release

    jfernandez/bpftop

    Cut a new versioned release of bpftop — pick the version, open a version-bump PR, sign-tag the merge commit on main, and draft GitHub release notes in the project's established format.

    2.7k GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from goern/forgejo-mcp

All 15 skills in this repo
  • Unified Notifications

    goern/forgejo-mcp

    Fetch and display notifications from both GitHub and Codeberg in a unified markdown view with clickable links.

    140 GitHub stars~802 tokensUpdated yesterday
    Auto-check passed
  • Caveman Compress

    goern/forgejo-mcp

    Compress a memory file such as CLAUDE.md or a todo list into caveman format to save input tokens, keeping a readable backup.

    140 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check: notes
  • Draft Openspec Docs

    goern/forgejo-mcp

    Collaborative page-drafting mode for the OpenSpec docs. An agent skill from goern/forgejo-mcp.

    140 GitHub starsUsed in 1 repo~815 tokens
    Auto-check passed
  • Verify Openspec Docs

    goern/forgejo-mcp

    Fact-checks OpenSpec user documentation with a fresh-context subagent that re-runs commands and checks claims against source.

    140 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Wt Switch Create

    goern/forgejo-mcp

    Create a new worktrunk worktree (optionally in another repo) and switch this session's working directory into it.

    140 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Caveman Help

    goern/forgejo-mcp

    Quick-reference card for caveman modes, skills and commands.

    140 GitHub stars~564 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Release Openspec

What does Release Openspec do?

A skill your agent uses 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…. Release Openspec is an agent skill from goern/forgejo-mcp. 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.

When should I use Release Openspec?

Release Openspec fits situations like: releasing OpenSpec: audit merged work and changeset coverage; decide whether a catch-up changeset PR is needed; resume the Changesets Version Packages PR; verify publishing.

How do I install Release Openspec in Claude Code?

Run `npx skills add goern/forgejo-mcp --skill release-openspec -a claude-code`. Or copy the skill folder (.agents/skills/release-openspec in goern/forgejo-mcp) into .claude/skills/release-openspec in your project. Claude Code loads it when a task matches its description.

How do I install Release Openspec in Codex?

Run `npx skills add goern/forgejo-mcp --skill release-openspec -a codex`. Or copy the skill folder (.agents/skills/release-openspec in goern/forgejo-mcp) into .agents/skills/release-openspec in your project. Codex loads it when a task matches its description.

Can I use Release Openspec in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add goern/forgejo-mcp --skill release-openspec -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release-openspec, .gemini/skills/release-openspec, .github/skills/release-openspec and .opencode/skills/release-openspec in your project.

What does Release Openspec need to run?

Going by SKILL.md and its folder, Release Openspec needs the command-line tools its instructions call (gh, git, pnpm and npm).

Does Release Openspec access the network?

SKILL.md contains no URLs. Its commands use gh, git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Release Openspec safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Release Openspec use?

Release Openspec is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Release Openspec use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 806 tokens, read only when the agent opens those files.

What are the alternatives to Release Openspec?

Skills that share tags, products or a category with Release Openspec: Cutting A Release (TriliumNext/Trilium, 38k stars), Mole CLI Release Flow (tw93/Mole, 69k stars), Draft Release Notes (jamiepine/voicebox, 57k stars) and Mole Release Notes Publisher (tw93/Mole, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release Openspec?

goern (a GitHub user) maintains it in goern/forgejo-mcp, which has 140 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 6, 2026.

Source: goern/forgejo-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.