Create release
Prepares and opens a release branch from the dev branch using release/YYYY-MM-DD, supports per-repo target branches from config, collects changes, enriches release notes with PM tool metadata, pushes branch, creates a PR, and optionally notifies Slack. Use when the user asks to create, cut, or prepare a release.From its SKILL.md
npx -y skills add vecten/sdlc-toolkit --skill create-releaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- skips confirmationTells the agent to proceed without asking first, 1 time: "proceed without asking for target branch confirmation when the config mapping is unambiguous".
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 5 commands, including `bash <plugin-path>/scripts/prepare-release-branch.sh <DEV_BRANCH> <TARGET_BRANCH> [YYYY-MM-DD]` and 4 more.
SKILL.md
5.2 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Create Release
Automates a full release cut flow:
- Sync the dev branch (per-repo from config)
- Sync the release target branch (per-repo from config)
- Create
release/YYYY-MM-DD - Bring dev changes into release branch
- Build a review-ready summary enriched with ticket context
- Push and create a PR
- Optionally notify Slack
Config dependency
Read <workspace>/.cursor/skills-config.yaml before acting. If missing, tell the user to run bootstrap-config first.
Required config keys:
repos— to detect current repo from CWDgit.branches.<repo>.dev— the dev branch for this repogit.branches.<repo>.release_target— the target branch for releaseslinear.ticket_prefix— for extracting ticket keys from commitsslack.channels.release— Slack channel for release notificationsslack.reviewers[]— list of reviewers with pre-resolved Slack IDsslack.notify_on_release— whether to send Slack notificationgit.custom_input— any repo-specific release notes
Repo detection
Detect the current repo by matching CWD against repos.<name>.path. If CWD doesn't match any configured repo, ask the user which repo this release is for.
Branch rules
Read from config — do not hardcode branch names:
- Dev branch:
git.branches.<repo>.dev - Release target:
git.branches.<repo>.release_target
If release_target is null for this repo, stop and tell the user this repo has no release branch workflow configured.
Auto-detect and proceed without asking for target branch confirmation when the config mapping is unambiguous. Ask only if the repo is not in config.
Prerequisites
- Current directory is a git repository.
- Remote is
origin. - Working tree is clean, or user explicitly approves proceeding with local changes.
- GitHub CLI (
gh) is available for PR creation. - PM tool MCP is available for issue metadata lookup.
Workflow
1) Prepare release branch
Run the script from this plugin's scripts/ directory:
bash <plugin-path>/scripts/prepare-release-branch.sh <DEV_BRANCH> <TARGET_BRANCH> [YYYY-MM-DD]
The script handles checkout, pull, branch creation (with automatic suffix if a branch already exists), and merging dev into the release branch.
If the script fails (merge conflicts, network errors, missing branches), read the error output, attempt to resolve the issue (e.g., resolve conflicts, retry fetch), and re-run. Only abort and ask the user if the problem requires a decision (e.g., conflicting files that need manual resolution).
Capture RELEASE_BRANCH from the script's last output line.
2) Prepare release review summary (with PM tool enrichment)
Generate commit list and changed-file stats:
git log <TARGET_BRANCH>..<DEV_BRANCH> --oneline --no-decorate
git diff <TARGET_BRANCH>..<DEV_BRANCH> --stat
Then enrich the release summary:
- Extract ticket keys from commits using
linear.ticket_prefix(e.g.,<PREFIX>-\d+). - Query the PM tool for each ticket key (title, status, priority, assignee, URL).
- Group tickets by status and call out risky/high-priority items.
- Include any notes from
git.custom_input. - Produce a concise markdown summary.
Suggested summary format:
## Summary
- Release branch: release/YYYY-MM-DD
- Source: <dev-branch>
- Target: <target-branch>
- Commit count: <n>
## Included changes
- <ticket-key> <title> — <short impact>
## Ticket context
- <ticket-key>: <status>, <priority>, <assignee>
## Risk notes
- <data migrations / breaking changes / infra dependencies / none>
## Commit list
<output of git log target..dev --oneline>
3) Push release branch
git push -u origin "$RELEASE_BRANCH"
4) Create PR
Use gh pr create with the prepared markdown summary as body.
- Base:
<TARGET_BRANCH> - Head:
$RELEASE_BRANCH
gh pr create --base <TARGET_BRANCH> --head "$RELEASE_BRANCH" --title "Release $(date +%Y-%m-%d)" --body "$(cat <<'EOF'
<release-summary-markdown>
EOF
)"
5) Send Slack notification (conditional)
Skip this step if slack.notify_on_release is false.
Post a short blocker-check message to the channel in slack.channels.release.
Mention each reviewer from slack.reviewers[] using their pre-resolved slack_id:
*Release branch is ready*
• Branch: `$RELEASE_BRANCH`
• PR: <$PR_URL|Release PR>
Please share any blockers, testing still in progress, or anything that should stop this release.
cc <@SLACK_ID_1> <@SLACK_ID_2>
Keep this message short (3-6 lines). Do not include the full release summary in Slack.
Read slack.custom_input for any overrides (e.g., different channel per repo, extra people to cc).
Final output to user
Return:
- Release branch name
- Target branch used
- Number of commits included
- PM-enriched summary
- PR URL
- Whether Slack notification was sent (and to which channel)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most ship operate skills give in ~1.2k tokens
Counted across 1,077 of the 1,713 authors here whose files we hold, read 2026-09-06
- Create GitHub releasein 44 of 1077, across 43 files
- Run the test suitein 30 of 1077, across 25 files
- Create and push git tagin 27 of 1077, across 26 files
- Push commits and tagsin 27 of 1077
- Create annotated tagin 25 of 1077, across 22 files
- Ensure working tree is cleanin 24 of 1077
- Check for product marketing context firstin 23 of 1077, across 6 files
- Commit version bump changesin 22 of 1077, across 21 files
- Update CHANGELOG.mdin 21 of 1077, across 20 files
- Structure launch marketing across three channel typesin 20 of 1077, across 5 files
- Commit and tag the releasein 20 of 1077, across 18 files
- Update the CHANGELOG for new releasesin 19 of 1077
Said here and by no other author read
- Read the skills config file before acting
- Fetch ticket details from the PM tool
- Create the release branch with date suffix
- Extract ticket keys from commits
- Send a Slack notification if enabled
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.