Logotipo de Release Openspec

Release Openspec

OrganizaciónPopular
Fission-AI
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.

Descripción general

EditorFission-AI
RepositorioOpenSpec
Nombre de la habilidadrelease-openspec
Estrellas
70.8K
Forks
4.9K
Archivos incluidos
2
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 2 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Fission-AI en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Release Openspec en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Fission-AI/OpenSpec/tree/main/.agents/skills/release-openspec
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fission-AI/OpenSpec.git /tmp/OpenSpec
mkdir -p .claude/skills
cp -r /tmp/OpenSpec/.agents/skills/release-openspec .claude/skills/release-openspec
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Release Openspec en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Release Openspec automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Release Openspec no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Release Openspec en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Release Openspec está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Release Openspec en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Fission-AI/OpenSpec/tree/main/.agents/skills/release-openspec. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Release Openspec?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Release Openspec?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Release Openspec con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Release Openspec?

Sí. Fission-AI la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇