/superpowers-optimized:finishing-a-development-branchfrom superpowers-optimized
Guides the user through finishing a development branch with four explicit options: merge locally, open a PR, keep, or discard. Includes verification, base branch detection, and safe execution steps.
Ships in superpowers-optimized. 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.
Close development work with explicit integration choice.
Run full project verification before offering options — unless a full green run already covers the current state (see Reusing a full run in verification-before-completion). Then cite that run, with its command, commit and result, instead of repeating it.
If verification fails, stop and return to implementation. If the branch holds one commit per task and the output does not show which task broke it, let git find the commit rather than reading every diff:
git bisect start HEAD <base-branch>
git bisect run <command running only the failing test>
git bisect reset
This takes about log₂(N) runs of one test for N commits. It needs a clean working tree. If the failing test was added on this branch, wrap the command in a script that exits 125 (skip) at commits where the test file does not exist yet; otherwise those commits count as bad.
Detect merge base (main/master or repo default) and confirm if unclear.
<base-branch> locallygit merge-base --is-ancestor <base-branch> <feature-branch>. If it succeeds, the merge brings in no base commits: the merged tree is the one Step 1 verified, so skip the re-run and say so. If it fails, base moved on.session-log.md has [saved] entries written during this branch's lifetime, extract the Decisions and Rejected bullets from the most recent entry and include them here. This ensures PR reviewers see the "why" without needing to read the log.discardInclude:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/brainstormingUse when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no approved design exists yet. Produces a design before any code is written — in the conversation for small changes, as an approved spec document for larger work. Triggers on: "build this", "add a feature", "I want to change", "how should we", "design", "architect", "new project", "refactor", "we need to add/build/create", "implement a new". Routed by using-superpowers, or invoke directly via /brainstorming.
/claude-md-creatorCreates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command, "create CLAUDE.md", "update CLAUDE.md", "write AGENTS.md", or "set up Claude Code for this project". Also invoked by brainstorming when repo lacks a context file. tools: Read, Glob, Grep, Bash, Edit
/context-managementnpx claudepluginhub repozy/superpowers-optimized --plugin superpowers-optimizedOther plugins' skills for the same job