/sdlc-toolkit:finish-taskfrom sdlc-toolkit
Finalize an implementation for a ticket by preparing a branch, drafting a commit message from the actual changes, committing, pushing, and preparing or creating a PR. Use when the user says "finish task", "wrap up ticket", "prepare branch and PR", or asks to finish work for a ticket.
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.
Use this workflow when the user wants to wrap up completed changes for a ticket.
This skill reads pm_tool from config. Currently supported: linear.
Default outcome:
<prefix>/<ticket-id>-<short-slug>originRead <workspace>/.cursor/skills-config.yaml before acting. If missing, tell the user to run bootstrap-config first.
Required config keys:
pm_tool — which PM tool to use (default: linear)git.branch_prefixes — prefix rules for feature/bugfix/hotfixgit.commit_prefix_pattern — commit message formatslack.channels.review — Slack channel for PR notificationsslack.reviewers[] — list of reviewers with pre-resolved Slack IDsslack.notify_on_pr — whether to send Slack notificationslack.custom_input — any overridestesting.runner — "docker", "host", or "ci-only"testing.prefer_makefile — whether to prefer Makefile targetstesting.custom_input — per-repo test/lint/migration commandsCollect these before acting:
ENG-123If the user provides only the ticket ID or URL and the title is not available, ask for the title before creating the branch name and PR title.
Choose the prefix from the ticket context, using git.branch_prefixes from config:
feature/ for new functionality, enhancements, and general product workbugfix/ for bug fixes that are not urgent production incidentshotfix/ only for urgent production fixes or explicitly urgent user requestsIf the correct prefix is unclear, ask the user before creating the branch.
Run the git inspection commands in parallel first:
git status --short
git diff --stat && git diff
git log --oneline -5
Use the inspection output to confirm:
If the branch already matches <prefix>/<ticket-id>-<short-slug>, keep it.
If the current branch does not match, create a branch with:
git checkout -b <prefix>/<ticket-id>-<short-slug>
Create the slug from the ticket title:
-Add only files that belong to the task. If there are unrelated files in the worktree, ask before staging anything else.
Before committing, run the most relevant validation for the change set.
Read testing.runner from config:
testing.prefer_makefile is true.Read testing.custom_input for the current repo's specific commands (e.g., test command, lint command, migration command).
If runner is docker and Docker is not running, stop and ask the user to enable it manually.
Reflect the actual verification status in the commit and PR summary.
Base the message on:
git.commit_prefix_pattern from configWrite a concise message focused on why the change exists, not a file-by-file changelog.
Commit using a heredoc message:
git add <relevant files>
git commit -m "$(cat <<'EOF'
<commit subject>
<commit body>
EOF
)"
If hooks modify files, stage the hook changes and create a new commit only if needed under the git safety rules.
git push -u origin HEAD
Use the ticket ID and title in the PR title.
Default PR body:
## Summary
- <main change 1>
- <main change 2>
## Testing
- [x] <test or verification step>
## Ticket
- <ticket-id>
In the Testing section:
testing.runner.Create the PR with:
gh pr create --title "<ticket-id>: <ticket title>" --body "$(cat <<'EOF'
<pr-body>
EOF
)"
After the PR is created, check that the PM issue has moved to the appropriate review state:
list_issue_statuses for the issue's team.In Review or closest equivalent, fix with save_issue.If no clear review status exists, tell the user which statuses are available.
Skip if slack.notify_on_pr is false.
Post a message to slack.channels.review.
Mention each reviewer from slack.reviewers[] using their pre-resolved slack_id:
<@SLACK_ID_1> <@SLACK_ID_2> PR ready for review
<ticket-id>: <ticket title>
PR: <pr-url>
Summary:
- <main change 1>
- <main change 2>
Testing:
- <test status>
Read slack.custom_input for any overrides.
If Slack access is not available, stop after PR creation and tell the user.
When finished, report:
If you could not finish one of the steps, say exactly where the workflow stopped and why.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub vecten/sdlc-toolkit --plugin sdlc-toolkit13 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.
/create-releasePrepares 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.
/create-ticketCreate a structured issue in the configured PM tool with required metadata prompts, defaults, cached IDs from skills-config.yaml, and fallback ID refresh. Use when user says "create ticket", "open ticket", "log request", or similar.
/debug-sentryInvestigate a Sentry issue from a provided Sentry URL, explain the likely root cause, propose a mitigation plan, create a ticket in the configured PM tool, then hand off implementation start to the start-task skill and wrap-up to the finish-task skill when appropriate. Use when the user says "debug sentry", "sentry", "fix sentry issue", or provides a Sentry issue link.
/finish-releaseWrap up a production release by updating tickets to Done in the configured PM tool and drafting a client-facing release email. Use when the user says "finish release", "close release", "release done", "post-release", "release deployed", or asks to prepare a release email or mark released tickets as done.