From superpowers-dex
Use when publishing a new version of superpowers-extended-cc - handles upstream sync, version bump, testing, tagging, and GitHub release creation
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-dex:releaseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Full release workflow for superpowers-extended-cc fork. Handles upstream sync, testing, version bumping, and publishing.
Full release workflow for superpowers-extended-cc fork. Handles upstream sync, testing, version bumping, and publishing.
Announce at start: "Using release skill to publish a new version."
./tests/claude-code/run-skill-tests.sh --verbose
If tests fail, use AskUserQuestion: "Tests failed (flaky due to LLM output variation). Proceed anyway or investigate?"
git fetch upstream
BEHIND=$(git rev-list HEAD..upstream/main --count)
echo "Upstream has $BEHIND new commits"
If BEHIND > 0: Must merge before release.
git merge upstream/main
For each merge conflict (except version numbers in .claude-plugin/*.json): Use AskUserQuestion to present the conflict and ask user how to resolve.
Standard resolutions:
git rm RELEASE-NOTES.md.claude-plugin/*.jsonAfter merge, verify our customizations survived:
grep -c "Step 0:\|Step 1b:" skills/executing-plans/SKILL.md # Should be 2
grep -c "Native Task" skills/writing-plans/SKILL.md skills/brainstorming/SKILL.md skills/dispatching-parallel-agents/SKILL.md
If content was lost, restore from pre-merge and commit separately:
git show HEAD~1:skills/[skill]/SKILL.md > skills/[skill]/SKILL.md
git add skills/[skill]/SKILL.md
git commit -m "feat: restore native task integration to [skill]"
Dispatch an Opus subagent to research the diff between our main and upstream:
Task(subagent_type="general-purpose", model="opus", prompt="""
Research the diff: git diff upstream/main..main -- skills/
Identify ALL references that need native task conversion:
- TodoWrite → TaskCreate
- TodoRead → TaskList/TaskGet
- Any other legacy task/todo patterns
Use our existing implementations as examples:
- skills/writing-plans/SKILL.md
- skills/executing-plans/SKILL.md
- skills/brainstorming/SKILL.md
- skills/dispatching-parallel-agents/SKILL.md
Report: which files need changes and what specifically to convert.
""")
If conversions needed: Make changes and commit separately:
git add skills/[modified-skill]/SKILL.md
git commit -m "feat: convert legacy task references to native tasks in [skill]"
OURS=$(jq -r .version .claude-plugin/plugin.json)
THEIRS=$(git show upstream/main:.claude-plugin/plugin.json 2>/dev/null | jq -r .version || echo "0.0.0")
echo "Ours: $OURS | Upstream: $THEIRS"
If upstream version >= ours: Use AskUserQuestion to confirm version jump (e.g., 5.0.0).
Determine new version (patch/minor/major based on changes).
Edit BOTH files with same version:
.claude-plugin/plugin.json.claude-plugin/marketplace.jsongit add .claude-plugin/plugin.json .claude-plugin/marketplace.json
git commit -m "chore: bump version to X.Y.Z"
git push origin main
git tag vX.Y.Z
git push origin vX.Y.Z
gh release create vX.Y.Z --repo pcvelz/superpowers --title "vX.Y.Z" --notes "Description of changes"
Tell user to verify locally:
To verify the release:
rm -rf ~/.claude/plugins/cache/superpowers-extended-cc-marketplace
/plugin marketplace add pcvelz/superpowers
/plugin install superpowers-extended-cc@superpowers-extended-cc-marketplace
Restart Claude Code to load the new version.
npx claudepluginhub abhishekray07/superpowers-dexCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.