release
/release
Ships completed work in the ai-agent-skills repository. Two phases depending on context: WRAP UP (on a feature branch with committed work — updates CHANGELOG, README, marketplace.json, commits, pushes, creates a PR) and CUT RELEASE (on main after a merge — determines semver bump, updates CHANGELOG version section, tags, pushes, creates a GitHub draft release). Use when the user says "ship this", "I'm done", "create a PR", "cut a release", "tag a release", "wrap this up", or "release it". Always checks GitHub auth first. Load the `conventions` skill for commit and PR formatting rules.
- Author
- psenger ↗
- Repository
- ai-agent-skills ↗
- Licence
- MIT
- Last repository change
- 24.05.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 24.05.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Ships completed work in the ai-agent-skills repository. Two phases depending on context: WRAP UP (on a feature branch with committed work — updates CHANGELOG, README, marketplace.json, commits, pushes, creates a PR) and CUT RELEASE (on main after a merge — determines semver bump, updates CHANGELOG version section, tags, pushes, creates a GitHub draft release). Use when the user says "ship this", "I'm done", "create a PR", "cut a release", "tag a release", "wrap this up", or "release it". Always checks GitHub auth first. Load the `conventions` skill for commit and PR formatting rules.
Triggers from the description
Original author description
Ships completed work in the ai-agent-skills repository. Two phases depending on context: WRAP UP (on a feature branch with committed work — updates CHANGELOG, README, marketplace.json, commits, pushes, creates a PR) and CUT RELEASE (on main after a merge — determines semver bump, updates CHANGELOG version section, tags, pushes, creates a GitHub draft release). Use when the user says "ship this", "I'm done", "create a PR", "cut a release", "tag a release", "wrap this up", or "release it". Always checks GitHub auth first. Load the `conventions` skill for commit and PR formatting rules.
How it works
- Step 0 — Auth & Identity (always)
- WRAP UP Phase
- CUT RELEASE Phase
SKILL.md preview
---
name: release
metadata:
internal: true
description: >
Ships completed work in the ai-agent-skills repository. Two phases depending on
context: WRAP UP (on a feature branch with committed work — updates CHANGELOG,
README, marketplace.json, commits, pushes, creates a PR) and CUT RELEASE (on main
after a merge — determines semver bump, updates CHANGELOG version section, tags,
pushes, creates a GitHub draft release). Use when the user says "ship this",
"I'm done", "create a PR", "cut a release", "tag a release", "wrap this up", or
"release it". Always checks GitHub auth first. Load the `conventions` skill
for commit and PR formatting rules.
allowed-tools: Read, Edit, Bash(git *), Bash(gh *), mcp__github__get_me, mcp__github__create_pull_request, mcp__github__pull_request_read, mcp__github__list_releases, mcp__github__get_latest_release
---
# Release
Ships completed work. The skill detects context and runs the right phase:
- **On a feature branch with committed work** → WRAP UP phase
- **On main after a merge** → CUT RELEASE phase
For all message formatting, follow the `conventions` skill.
---
## Step 0 — Auth & Identity (always)
Check for a GitHub MCP server in available tools. If none:
```bash
gh auth status
```
Stop if neither is available: *"I need the GitHub MCP server or `gh` CLI authenticated. Run `gh auth login`."*
Confirm identity — use `mcp__github__get_me` if the GitHub MCP server is available, otherwise:
```bash
gh api user --jq '"@\(.login) — \(.name)"'
```
Show the result and ask: *"I'll be acting as @username — is that right?"* Wait for confirmation.
---
## WRAP UP Phase
Triggered when on any non-main branch (`feature/`, `fix/`, `chore/`, `refactor/`, `test/`, etc.) with a clean working tree.
### Step 1 — Verify State
```bash
git branch --show-current # must not be main
git status --porcelain # must be empty — all work committed
```
If the tree is dirty, stop: *"You have uncommitted changes. Commit or stash them first."*
### Step 2 — Detect What Changed
```bash
git diff main...HEAD --name-only
```
Determine:
- Was a **new skill added**? Look for a new directory under `skills/` not present on main.
- Was an **existing skill modified**? Look for changes inside `skills/<name>/`.
- Is this a **bug fix, refactor, or docs change**? Look at changed files outside `skills/`.
Derive the issue number from the branch name (e.g. `feature/14-add-handoff-skill` → `#14`).
If none found, ask the user for the issue number.
### Step 3 — Update Admin Files
**CHANGELOG.md** — add a bullet to `## [Unreleased]` under the correct subsection:
- New skill → `### Added`
- Updated skill → `### Changed`
- Bug fix → `### Fixed`
Bullet format (see `conventions` skill):
```
- **skill-name** — <what changed and why>. ([#N](issue-url))
```
**README.md** — only if a new skill was added:
- Add a row to the skills table
- Add a `### skill-name` prose section following the existing pattern
**`.claude-plugin/marketplace.json`** — update whenever a skill was added or modified:
- New skill → add an entry with `"version": "1.0.0"`
- Existing skill enhanced (new feature, new behaviour) → bump `minor` (e.g. `1.0.0` → `1.1.0`)
- Existing skill bug fix or docs only → bump `patch` (e.g. `1.1.0` → `1.1.1`)
New skill entry format:
```json
{
"name": "<skill-name>",
"source": "./skills/<skill-name>",
"description": "<description from SKILL.md frontmatter>",
"version": "1.0.0"
}
```
### Step 4 — Commit Admin Updates
```bash
git add CHANGELOG.md README.md .claude-plugin/marketplace.json
git commit -m "chore(<skill-name>): update changelog, readme, and marketplace"
```
Only stage files that actually changed.
### Step 5 — Push and Create PR
```bash
git push -u origin <branch-name>
```
Create a PR using the repo's PR template (`.github/pull_request_template.md`):
```bash
gh pr create \
--draft \
--title "<type>(<scope>): <subject>" \
--body "$(cat <<'EOF'
## What
<brief description of the change>
## Why
<why this change is needed>
## Type of Change
- [x] <tick the correct box from the template>
## Skill Checklist
- [x] `SKILL.md` has valid YAML frontmatter (`name`, `description`, `allowed-tools`)
- [x] `name` is lowercase-hyphenated and matches the directory name
- [x] `description` is written in third person with trigger words
- [x] Reference files are in `references/` (one level deep)
- [x] `SKILL.md` is under 500 lines
- [x] No secrets, credentials, or PII committed
- [x] `.claude-plugin/marketplace.json` updated (if new skill)
- [x] `README.md` skills table updated (if new skill)
## Testing
- [ ] Tested locally by invoking the skill with a realistic prompt
- [ ] Verified the skill activates correctly (not confused with another skill)
Closes #<issue-number>
EOF
)"
```
Print the PR URL. Tell the user: *"Draft PR created: <URL>. Review it, mark it ready for review, and merge to main. Then run `/release` again on main to cut the release."*
---
## CUT RELEASE Phase
Triggered when on `main` with a clean working tree.
### Step 1 — Pre-flight
```bash
git branch --show-current # must be: main
git status --porcelain # must be empty
git fetch origin
git rev-list HEAD..origin/main --count # must be: 0
```
Abort clearly if any check fails.
### Step 2 — Determine Version
```bash
git describe --tags --abbrev=0 # last tag, e.g. v1.0.0
git log <last-tag>..HEAD --oneline # commits since last tag
```
Apply semver rules (from `conventions` skill):
- `BREAKING CHANGE` footer or `type!:` → **major**
- `feat` → **minor**
- `fix`, `chore`, `docs`, `refactor`, `test` → **patch**
Present the proposed version and the commits that drove the decision.
**Wait for explicit confirmation before proceeding.**
### Step 3 — Update CHANGELOG.md
Three edits in order:
1. Insert `## [Unreleased]\n\n` above the current `## [Unreleased]` heading
2. Rename the existing `## [Unreleased]` to `## [X.Y.Z] - YYYY-MM-DD` (today's date)
3. Update comparison links at the bottom:
- Add: `[X.Y.Z]: https://github.com/psenger/ai-agent-skills/compare/<last-tag>...vX.Y.Z`
- Update: `[Unreleased]: https://github.com/psenger/ai-agent-skills/compare/vX.Y.Z...HEAD`
### Step 4 — Commit and Tag
```bash
git add CHANGELOG.md
git commit -m "chore(release): cut vX.Y.Z release"
git tag -a vX.Y.Z -m "Release vX.Y.Z"
```
### Step 5 — Push
```bash
git push origin main
git push origin vX.Y.Z
```
### Step 6 — Create Draft Release
Extract the release body from the `## [X.Y.Z]` CHANGELOG section (down to the next `## [`):
```bash
gh release create vX.Y.Z \
--draft \
--title "vX.Y.Z" \
--notes "<extracted changelog section>"
```
### Step 7 — Done
Print:
```
Draft release created: <URL>
Review on GitHub and click Publish when ready.
Publishing triggers any CI release workflows.
```
Do **not** publish the release — the user does this manually.
Files in this package (5)
- README.md 4 KB
- SKILL.md 7 KB
- .workspace/evals/evals.json 3 KB
- .workspace/evals/trigger-evals.json 3 KB
- .workspace/evals/results/2026-04-25_105735/results.json 11 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · psenger/ai-agent-skills | 100 | MIT |
| josephfung/curia | 100 | MIT |
| max-sixty/worktrunk | 100 | MIT |
| gtapps/hermitd | 100 | MIT |
| gtapps/hermitd | 100 | MIT |
| anthony-chaudhary/fak | 100 | Apache-2.0 |
| tractorjuice/arc-kit | 100 | MIT |
| drvoss/everything-copilot-cli | 100 | MIT |
| sma1lboy/rove | 100 | MIT |
Database snapshot: 13.11.2026 · package version fdc564f05667 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100chamoji-release
Cut a release from git history in one command with the chamoji CLI. It picks the semver bump from the commits, adds the CHANGELOG.md section, bumps manifest versions, and makes the release commit and tag (and pushes plus a GitHub release on request). Use it whenever the user… - 100ac-release
Release workflow: branch, changelog, PR, tag, GH release. Triggers on keywords: release, create release, publish release, tag release - 100version
This skill should be used when the user wants to bump versions, create releases, or tag versions. Triggers include: "bump version", "bump the version", "version bump", "release version", "tag a release", "create release", "major/minor/patch bump", "update version", "new… - 90release-tag
Cut a release by determining the SemVer bump from history, updating version files across any stack, refreshing the changelog, creating an annotated (optionally signed) Git tag, and pushing the release safely after pre-flight checks. Use when tagging a version, bumping the… - 90cut-release
Cuts a new versioned release of claude-code-trace end-to-end without asking any questions. Detects commits since the last ancestral tag, classifies them with conventional-commit rules to pick the semver bump, bumps every version-bearing file in sync, writes the CHANGELOG entry,… - 100maintainer-release-notes
Prepares a release: reads git log since the last tag and the merged pull requests, writes a Keep a Changelog entry and human-friendly release notes, credits every contributor, flags breaking changes and suggests the semver bump. Works with conventional and plain commit messages.…