name: ship-feature description: Ship a feature end-to-end using the Superpowers workflow. Starts with a plugin check, then Brainstorm → Plan → Implement (subagent-driven) → Review → Finish branch. argument-hint: disable-model-invocation: true
Custom agents (this config):
Superpowers skills:
$ARGUMENTS
Load the BRANCH SETUP section from: .claude/agents/git-workflow.md
git branch --show-current
If on main, master, develop, or any protected branch:
Derive a branch slug from the feature request:
Prefix with feature/
git fetch origin
git pull origin <current> --ff-only 2>/dev/null || true
git checkout -b feature/<feature-slug>
Print: ✅ Working branch created: feature/<feature-slug>
If already on a feature/bugfix/hotfix branch: Run the CONFLICT-SAFE REBASE procedure from git-workflow.md to sync with the base branch before implementing.
Print: ✅ Branch: <current> (synced)
Special case — bugfix on a feature branch: If the user explicitly says "bugfix" or "fix" in the request AND the current branch is a feature branch:
git checkout -b bugfix/<bug-slug>
Creates the bugfix branch FROM the feature branch — correct hierarchy.
Do not proceed until the branch is clean.
Load and follow: .claude/agents/plugin-advisor.md
Feed it the feature request above as context for signal detection.
The advisor will:
If the advisor output says ACTION REQUIRED: YES:
Print this block and STOP COMPLETELY:
================================================================
⚠️ PLUGIN CHECK — ACTION REQUIRED
================================================================
[paste the full RECOMMENDATIONS block from the advisor]
----------------------------------------------------------------
Options:
A) Enable the recommended plugins, then re-run /ship-feature
B) Type "force" to proceed without the recommended plugins
(you will miss capabilities — see warnings above)
================================================================
Wait for user response.
/ship-feature → start from STEP 0a againIf the advisor output says ACTION REQUIRED: NO:
Print one line and continue immediately:
✅ Plugin check passed — [active plugins in one line]
Invoke skill: superpowers:brainstorming
Refine the feature request into a validated design through Socratic questioning. Do not proceed until the design is approved.
Invoke skill: superpowers:writing-plans
Break the approved design into granular tasks (2–5 min each). Each task must have: exact file paths, complete code, verification steps.
MANDATORY STOP — present the plan to the user.
================================================================
SHIP FEATURE — VALIDATION GATE
================================================================
FEATURE : <name>
TASKS : <count>
<numbered task list>
================================================================
Approve and execute? (yes / request changes)
================================================================
IF changes → return to STEP 2. IF approved → proceed.
Invoke skill: superpowers:subagent-driven-development
Execute each task with isolated subagents. Two-stage review per task: spec compliance → code quality.
Load and follow: .claude/agents/analyzer.md
Run the ANALYZER on the produced implementation. Verify no regressions, no stale code, no plan deviations.
Invoke skill: superpowers:requesting-code-review
Dispatch the code-reviewer agent on the full implementation. Fix any CRITICAL issues before proceeding.
Invoke skill: superpowers:finishing-a-development-branch
Verify all tests pass, cleanup, prepare for merge.
Load and follow: .claude/agents/readme-updater.md
Context: call with argument "sync".
SYNC mode — no stop required. The readme-updater:
## Recent changes entry with the shipped featureAsk the user:
================================================================
SHIP FEATURE — PR CREATION
================================================================
Feature is implemented, tested, and README is synced.
Create a PR/MR now?
yes → run /git-pr and open a draft PR
no → stop here, you can run /git-pr manually later
================================================================
STOP — wait for user response.
IF yes:
Load and follow: .claude/agents/git-workflow.md
The git-workflow agent will:
IF no:
Print: ✅ Feature shipped. Run /git-pr when ready to open a PR.
Stop.
================================================================
FEATURE SHIPPED: <name>
================================================================
TASKS COMPLETED : <N>/<N>
TESTS : ✅ passing / ❌ <detail>
REVIEW : APPROVED / CHANGES REQUIRED
REMAINING ISSUES (IMPORTANT/MINOR):
- <issue or "none">
================================================================