Skip to content

About

Codex skill for aligning local GitHub Spec Kit installs to official stable GitHub releases.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spec-kit-stable-upgrade

English | 中文

A Codex skill for safely aligning both the persistent GitHub Spec Kit CLI and the managed files in an existing Spec Kit project with an official stable GitHub release.

What It Does

  • Resolves the latest stable tag from GitHub Releases instead of hardcoding a version
  • Audits the persistent specify executable, version, and installation method
  • Uses specify self check and specify self upgrade on current CLI versions
  • Falls back to the owning uv tool or pipx installer for older versions
  • Upgrades project integrations through manifest-aware specify integration upgrade
  • Refreshes installed extensions without silently overwriting customized managed files
  • Distinguishes optional third-party workflows, bundles, and presets from the routine core upgrade
  • Verifies the CLI and reviews the project diff after changes

The workflow follows GitHub's official Upgrade Guide and treats GitHub Releases as the stable-release source of truth.

Install

Copy the repository to your Codex skills directory:

mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills/spec-kit-stable-upgrade"
cp SKILL.md "${CODEX_HOME:-$HOME/.codex}/skills/spec-kit-stable-upgrade/"
cp -R agents scripts "${CODEX_HOME:-$HOME/.codex}/skills/spec-kit-stable-upgrade/"

Restart Codex after installing or replacing the skill.

Example Requests

Use $spec-kit-stable-upgrade to audit my local Spec Kit installation.
Use $spec-kit-stable-upgrade to upgrade the CLI and this project's Spec Kit files.
Use $spec-kit-stable-upgrade to pin Specify CLI to official release vX.Y.Z.

中文说明

这是一个 Codex skill,用于将持久安装的 GitHub Spec Kit CLI 和现有项目内由 Spec Kit 管理的文件,安全地对齐到 GitHub 官方稳定版。

主要能力

  • 从 GitHub Releases 动态确认最新稳定 tag,不再写死旧版本号
  • 检查 specify 的路径、版本和真实安装方式
  • 新版 CLI 优先使用 specify self check / specify self upgrade
  • 旧版 CLI 按实际安装来源回退到 uv tool 或 pipx
  • 使用 manifest-aware 的 specify integration upgrade 更新项目集成
  • 更新已安装 extensions,同时保护被本地修改过的托管文件
  • 将 workflows、bundles、presets 等可选第三方组件与常规核心升级分开处理
  • 升级后验证 CLI,并审查项目 diff

该流程遵循 GitHub 官方 Upgrade Guide,并以 GitHub Releases 作为稳定版本真源。

安装

将仓库复制到 Codex skills 目录:

mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills/spec-kit-stable-upgrade"
cp SKILL.md "${CODEX_HOME:-$HOME/.codex}/skills/spec-kit-stable-upgrade/"
cp -R agents scripts "${CODEX_HOME:-$HOME/.codex}/skills/spec-kit-stable-upgrade/"

安装或替换后重启 Codex。

About

Codex skill for aligning local GitHub Spec Kit installs to official stable GitHub releases.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages