AILANG Release Manager
Create a complete AILANG release with version bump, changelog update, git tag, and CI/CD verification.
Current State
- Current version: !'cat std/VERSION'
- Branch: !'git branch --show-current'
- Latest tag: !'git describe --tags --abbrev=0 2>/dev/null || echo "no tags"'
- Working directory: !'git status --short | head -5'
- Recent commits since last tag: !'git log $(git describe --tags --abbrev=0 2>/dev/null)..HEAD --oneline 2>/dev/null | head -10'
- GitHub auth: !'gh auth status 2>&1 | grep "Logged in" | head -1'
- Active changelog: !'ls changelogs/ | grep current 2>/dev/null'
Use the data above first. Only re-run these commands manually if the injected context is empty or you need to refresh after making changes.
Changelog Architecture
The changelog is split into themed files in changelogs/:
- Root
CHANGELOG.mdis an index file with links to archives - Active changelog entries go in the file matching the current major.minor version (e.g.,
changelogs/v0.32-current.md) - When releasing a new major version, create a new
changelogs/vX.Y-<theme>.mdfile - All changelog files are indexed by
ailang docs search
To find the active changelog file:
ls changelogs/ | grep current # Currently: v0.32-current.md
When writing changelog entries, write a fragment: changelogs/unreleased/YYYY-MM-DD-<slug>.md, one or more ### ... sections (format: changelogs/unreleased/README.md). Never edit root CHANGELOG.md; do not add new entries directly to the active file either. Every PR adding at the same line under ## [Unreleased] conflicted with every other open PR, and each rebase restarted a 25–45 min CI run. Step 1.5 folds the fragments into the active file.
Quick Start
Most common usage:
# User says: "Ready to release v0.3.14"
# This skill will:
# 1. Run pre-release checks (tests, lint, file sizes)
# 2. Update version in docs
# 3. Create git tag
# 4. Push to trigger CI/CD
# 5. Verify release artifacts
# 6. Broadcast release notification with changelog
When to Use This Skill
Invoke this skill when:
- User says "ready to release", "create release", "publish release"
- User mentions a specific version number (e.g., "v0.3.14")
- User asks about release process or workflow
- After completing a sprint and code is ready to ship
Available Scripts
`scripts/pre_release_checks.sh`
Run all pre-release verification checks before making any changes.
Usage:
.claude/skills/release-manager/scripts/pre_release_checks.sh
What it checks:
- Test suite passes (
make test) - Linting passes (
make lint) - No files exceed 800 lines (
make check-file-sizes)
Output:
Running pre-release checks...
1/3 Running test suite...
✓ Tests passed
2/3 Running linter...
✓ Linting passed
3/3 Checking file sizes...
✓ File sizes OK (all files ≤800 lines)
✓ All pre-release checks passed!
Ready to proceed with release.
Exit codes:
0- All checks passed1- One or more checks failed (see logs in /tmp/pre_release_*.log)
`scripts/check_implemented_docs.sh <version>`
Verify all implemented design docs are documented in CHANGELOG.
Usage:
.claude/skills/release-manager/scripts/check_implemented_docs.sh 0.5.10
What it checks:
- Finds all design docs in
design_docs/implemented/vX_Y_Z/ - Verifies each feature doc is referenced in CHANGELOG.md
- Skips sprint plans and analysis docs (implementation artifacts)
Exit codes:
0- All feature docs are in CHANGELOG1- Some docs are missing from CHANGELOG
`scripts/post_release_checks.sh <version>`
Verify release was created successfully on GitHub.
Usage:
.claude/skills/release-manager/scripts/post_release_checks.sh 0.3.14
What it checks:
- Git tag exists (
git tag -l v0.3.14) - GitHub release exists (
gh release view v0.3.14) - All platform binaries present (Darwin x64/ARM64, Linux, Windows)
- Latest CI run passed
`scripts/update_version_constants.sh <version>`
Update website version constants to the new release version.
Usage:
.claude/skills/release-manager/scripts/update_version_constants.sh 0.5.7
What it updates:
docs/src/constants/version.js- STABLE_RELEASE and ACTIVE_PROMPT
Output:
Updating docs/src/constants/version.js...
STABLE_RELEASE: v0.5.6 → v0.5.7
ACTIVE_PROMPT: v0.5.2 → v0.5.2
✓ Updated docs/src/constants/version.js
`scripts/collect_closable_issues.sh <version> [--close] [--json]`
Find GitHub issues that can be closed with this release.
Uses ailang messages GitHub integration for efficient issue discovery.
Usage:
.claude/skills/release-manager/scripts/collect_closable_issues.sh 0.5.9
.claude/skills/release-manager/scripts/collect_closable_issues.sh 0.5.9 --close
.claude/skills/release-manager/scripts/collect_closable_issues.sh 0.5.9 --json
What it scans:
- GitHub sync - Runs
ailang messages import-githubto sync latest issues - ailang messages - Queries local message database for GitHub-linked issues
- Commits since last tag for issue references (Fixes #123, Closes #456, etc.)
- CHANGELOG.md entry for the version
- Design docs in
design_docs/implemented/vX_Y_Z/anddesign_docs/planned/vX_Y_Z/ - Keyword matching between message content and CHANGELOG
Options:
--close- Actually close the issues viagh issue close--json- Output JSON format for including in release notes