_ctx-release

Run the full release process. Use when cutting a new version of ctx.

41 stars

Best use case

_ctx-release is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Run the full release process. Use when cutting a new version of ctx.

Teams using _ctx-release should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/_ctx-release/SKILL.md --create-dirs "https://raw.githubusercontent.com/ActiveMemory/ctx/main/.claude/skills/_ctx-release/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/_ctx-release/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How _ctx-release Compares

Feature / Agent_ctx-releaseStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Run the full release process. Use when cutting a new version of ctx.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

Execute the release process for Context CLI.

## Before Running

All three prerequisites must be true:

1. **VERSION** is updated to the new version number
2. **`dist/RELEASE_NOTES.md`** exists (generate with `/_ctx-release-notes`)
3. **Working tree is clean** (all changes committed)

If any prerequisite fails, stop. Running the release script with
missing notes or a dirty tree produces an incomplete or unsigned
tag that must be manually deleted.

## When to Use

- When cutting a tagged release of ctx
- When the user says "release", "ship it", or "cut a release"

## When NOT to Use

- When only generating release notes (use `/_ctx-release-notes`)
- When doing a dry run or preview

## Process

1. **Verify prerequisites**:
```bash
cat VERSION
test -f dist/RELEASE_NOTES.md && echo "Release notes: OK" || echo "MISSING"
git status --porcelain
```

2. **Run the release script**:
```bash
make release
```

This script:
- Updates version in 4 config files (plugin.json, marketplace.json, VS Code package.json + lock)
- Updates download URLs in 3 doc files (index.md, getting-started.md, integrations.md)
- Adds new row to versions.md
- Rebuilds the documentation site
- Commits the version and docs update
- Runs tests and smoke tests
- Builds binaries for all 6 platforms
- Creates and pushes a signed git tag
- Updates the `latest` tag

3. **After completion**, verify the GitHub release was created by CI
   at `https://github.com/ActiveMemory/ctx/releases`.

## Full Runbook

See [Cutting a Release](https://ctx.ist/operations/release/) for the
complete step-by-step guide including troubleshooting.

## Quality Checklist

- [ ] VERSION updated before running
- [ ] `dist/RELEASE_NOTES.md` exists
- [ ] Working tree is clean
- [ ] Tests and smoke tests pass
- [ ] Tag is pushed to origin
- [ ] GitHub release created by CI with all 6 binaries

Related Skills

_ctx-release-notes

41
from ActiveMemory/ctx

Generate release notes for dist/RELEASE_NOTES.md. Use when preparing a release or when hack/release.sh needs release notes.

ctx-verify

41
from ActiveMemory/ctx

Verify before claiming completion. Use before saying work is done, tests pass, or builds succeed.

ctx-skill-creator

41
from ActiveMemory/ctx

Create, improve, test, and deploy skills. Full skill lifecycle from intent to working skill file.

ctx-sanitize-permissions

41
from ActiveMemory/ctx

Audit tool permissions for dangerous or overly broad entries. Use to ensure safe agent configuration.

ctx-recall

41
from ActiveMemory/ctx

Browse session history. Use when referencing past discussions or finding context from previous work.

ctx-prompt

41
from ActiveMemory/ctx

Apply, list, and manage saved prompt templates from .context/prompts/. Use when the user asks to apply, list, or create a reusable template like code-review or refactor.

ctx-journal-normalize

41
from ActiveMemory/ctx

Normalize journal source markdown for clean rendering. Use after journal site shows rendering issues: fence nesting, metadata formatting, broken lists.

ctx-import-plans

41
from ActiveMemory/ctx

Import plan files into project specs directory. Use to convert external plans into project-tracked specs.

ctx-compact

41
from ActiveMemory/ctx

Archive completed tasks and trim context. Use when context files are growing large.

ctx-check-links

41
from ActiveMemory/ctx

Audit docs for dead links. Use before releases, after restructuring docs, or when running a documentation audit.

ctx-add-task

41
from ActiveMemory/ctx

Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.

ctx-add-learning

41
from ActiveMemory/ctx

Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.