Release

From cortex-tms/cortex-tms · View interactive version

Release is an AI agent skill from the GitHub repository cortex-tms/cortex-tms. Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval.

How to use this skill

Skill file

Release

Guide the user through a Cortex TMS release.

Pre-release Gate

Before starting, run the full quality gate:

  1. pnpm test — must pass
  2. pnpm run lint — must have 0 errors
  3. pnpm run build — must succeed
  4. node bin/cortex-tms.js validate --strict — must pass

If any step fails, STOP and report. Do not proceed with a broken release.

Release Steps (each requires user approval)

  1. Bump version — show the new version number and the command. Wait for approval.

```bash

npm version [patch|minor|major]

```

  1. Sync version tags — update all version markers across docs.

```bash

node scripts/sync-project.js

```

  1. Update CHANGELOG.md — draft release notes from commits since last tag. Show draft, wait for approval.
  1. Commit release — show commit message, wait for approval.
  1. Create git tag — show tag command, wait for approval.

```bash

git tag v[version]

```

  1. Push — show push command, wait for approval.

```bash

git push origin main --tags

```

  1. Publish to NPM — show publish command, wait for approval.

```bash

npm publish

```

  1. Create GitHub release — draft release notes, wait for approval.

Rules

Arguments

$ARGUMENTS

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.