Release template

From 5throck/ai-workspace-standards · View interactive version

Release template is an AI agent skill from the GitHub repository 5throck/ai-workspace-standards. Automates template releases by bumping templates/VERSION, cutting templates/CHANGELOG.md, and creating the template git tag via tag-template.ts. Use when preparing or publishing a new template-vX.Y.Z release.

How to use this skill

Skill file

Release Template

Use this skill only from the workspace root when preparing a template release.

Procedure

  1. Review pending template changes and decide the next semantic version.
  2. Dry-run the atomic release helper:

```bash

bun scripts/release-template.ts --version X.Y.Z --dry-run

```

Use --bump patch|minor|major instead of --version when the current templates/VERSION should be incremented mechanically.

  1. Prepare the release without publishing the tag remotely:

```bash

bun scripts/release-template.ts --version X.Y.Z

```

This updates templates/VERSION, moves templates/CHANGELOG.md [Unreleased] content into ## [X.Y.Z] - YYYY-MM-DD, and creates the local template-vX.Y.Z tag through tag-template.ts --no-push.

  1. Verify:

```bash

bun scripts/validate-templates.ts

bun scripts/verify-scripts.ts --verify

```

  1. Publish only after the release commit is ready:

```bash

git push origin template-vX.Y.Z

```

Or run the helper with --push when remote publication should be part of the same operation.

Safety Rules

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.