/sdlc-toolkit:create-releasefrom sdlc-toolkit
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.
Ships in sdlc-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automates a full release cut flow:
release/YYYY-MM-DDRead <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 notesDetect 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.
Read from config — do not hardcode branch names:
git.branches.<repo>.devgit.branches.<repo>.release_targetIf 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.
origin.gh) is available for PR creation.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.
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:
linear.ticket_prefix (e.g., <PREFIX>-\d+).git.custom_input.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>
git push -u origin "$RELEASE_BRANCH"
Use gh pr create with the prepared markdown summary as body.
<TARGET_BRANCH>$RELEASE_BRANCHgh pr create --base <TARGET_BRANCH> --head "$RELEASE_BRANCH" --title "Release $(date +%Y-%m-%d)" --body "$(cat <<'EOF'
<release-summary-markdown>
EOF
)"
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).
Return:
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/analyse-taskAnalyse a ticket from the configured PM tool, gather context from the codebase, produce a tech or non-tech plan, update the ticket, prepare questions for PM/client, send a Slack notification, and draft a client email. Use when the user says "analyse task", "analyze ticket", "plan task", "review ticket", "what does this ticket need", or provides a ticket URL/ID with analysis intent.
/bootstrap-configAuto-generate or update the skills-config.yaml file for the current workspace. Scans repos, resolves PM tool and Slack IDs, asks structured questions for gaps. Use when the user says "bootstrap config", "setup skills config", "update skills config", "initialize workspace", or when any other skill detects that skills-config.yaml is missing.
/Other plugins' skills for the same job
npx claudepluginhub vecten/sdlc-toolkit --plugin sdlc-toolkit