Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Release?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sebastianluser-release)
---
name: release
description: "Pre-release checklist and patch notes generation for web projects"
category: "operations"
argument-hint: "[checklist|patch-notes|both]"
user-invocable: true
allowed-tools: ["Read", "Bash", "Glob", "Grep", "Write"]
---
## Route
| Argument / Intent | Mode | What it does |
|----------------------|------|----------|
| `checklist` / "are we ready to release?", "go/no-go" | CHECKLIST | Runs the full Pre-Release Checklist |
| `patch-notes` / "generate notes", "release notes", "changelog" | PATCH-NOTES | Generates patch notes from git log / changelog.md |
| `both` / (no argument) | BOTH | Checklist first → patch notes at the end |
**Rule:** if CHECKLIST has blockers, report them before moving on to PATCH-NOTES.
## Checklist
**Codebase Health** — Scan for `TODO`/`FIXME`/`HACK`. Report counts and locations. FIXMEs are potential blockers.
**Build Verification**
- [ ] Clean build succeeds (no warnings), reproducible from tag
- [ ] Build version matches tagged commit
- [ ] Environment configs verified per target (staging, production)
- [ ] All env vars and secrets documented and set
**Quality Gates**
- [ ] Zero S1/S2 bugs (or documented exceptions with owner approval)
- [ ] All critical-path features tested, no regressions
- [ ] Performance budgets met (response times, memory, CPU)
**Data and Infrastructure**
- [ ] DB migrations tested forward and backward, rollback verified on staging
- [ ] Cache invalidation strategy confirmed
- [ ] API versioning and deprecation notices in place
**Monitoring and Rollback**
- [ ] Health checks and alerting configured
- [ ] Crash/error reporting active, dashboard accessible
- [ ] Rollback plan documented and tested
- [ ] On-call schedule set for first 72 hours post-deploy
**Compliance**
- [ ] Third-party license attributions complete
- [ ] Privacy policy and legal notices current
- [ ] Analytics/telemetry verified and receiving data
**Go / No-Go** — Summarize readiness, list blockers, require sign-offs from tech lead, QA, and product owner.
---
## Version Bump Criteria
| Bump | When |
|-------|-------------------------------------------------------------|
| Major | Breaking API changes, incompatible schema migrations, removed endpoints |
| Minor | New features, new endpoints, backward-compatible additions |
| Patch | Bug fixes, performance improvements, dependency updates |
Default to the **higher** bump when uncertain.
## Automated Versioning
When commits follow Conventional Commits, the bump can come from them instead of a person:
| Commit | Bump |
|---|---|
| `fix:` | Patch |
| `feat:` | Minor |
| `feat!:` / `BREAKING CHANGE:` footer | Major |
| `docs:`, `chore:`, `refactor:`, `test:` | No release |
| Tool | Fits |
|---|---|
| **semantic-release** | One package, release on every merge to `main` |
| **release-please** | A release PR you merge when ready, instead of releasing on every merge |
| **Changesets** | Monorepos with several packages versioned independently |
`standard-version` is deprecated; do not start new setups with it.
A working semantic-release setup (`.releaserc.json`):
```json
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" }],
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}],
"@semantic-release/github"
]
}
```
In the workflow: `actions/checkout` with `fetch-depth: 0` (it needs the tags and history) and `persist-credentials: false`; `permissions: contents: write` plus `issues: write` and `pull-requests: write` for the release comments; `id-token: write` only when publishing to npm with provenance. Never edit `version` or `CHANGELOG.md` by hand once it runs: the next release would compute from a wrong base. Workflow hardening: `/ci-cd-setup`.
---
## Patch Notes Generation
**Data sources** (priority order):
1. `production/releases/[version]/changelog.md` or `docs/CHANGELOG.md`
2. `git log` between previous release tag and current tag/HEAD
3. If none found: **BLOCKED** — instruct user to run `/changelog [version]` first.
**Categories**: Features | Improvements | Fixes (grouped by area) | Breaking Changes
**Writing rules**:
- Describe user/consumer impact, not implementation details
- Include before/after values for behavioral changes
- Strip internal jargon, ticket numbers, and sprint references
- Check for tone guide at `docs/PATCH-NOTES-STYLE.md` or project CLAUDE.md
Present notes with change count per category. Ask before writing to `docs/patch-notes/[version].md`.
---
## Release Process
1. **Tag** — annotated git tag from verified commit
2. **Deploy** — staging first, smoke tests, then promote to production
3. **Verify** — health checks, monitor error rates for 30 min
4. **Communicate** — publish patch notes, notify stakeholders
**Anti-patterns** (reject these): no rollback plan; skipping staging; undocumented breaking changes; missing migration rollback path; no monitoring before deploy; patch notes exposing internal system names or ticket IDs.