superpowers-finishing-branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - presents structured options for merge, PR, or cleanup; adapted for OpenClaw git workflow without worktrees
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/axelhu/superpowers-finishing-branchWhat This Skill Does
The superpowers-finishing-branch skill is a structured workflow assistant designed for OpenClaw agents to finalize development tasks reliably. It enforces a strict "test-first" protocol before allowing any modifications to the repository structure. By guiding the agent through a logical progression—verification, branch identification, decision-making, and finalization—it prevents the common pitfalls of merging broken code or losing work. It is specifically optimized for the OpenClaw environment, replacing the traditional git worktree pattern with a native git branch approach, ensuring your local environment remains clean and organized.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/axelhu/superpowers-finishing-branch
Use Cases
This skill is indispensable when you have completed a feature or bug fix and are ready to merge into your main development stream. It is ideal for:
- Standardizing Workflow: Ensuring every contributor or agent follows the same testing and merging discipline.
- Risk Mitigation: Forcing an automated test run before pushing code to remote repositories, preventing "broken build" scenarios in CI/CD pipelines.
- Environmental Hygiene: Safely pruning stale feature branches after a successful merge, keeping the local repository clean.
- Intent Clarity: When working on complex tasks, it provides a clear set of choices (Merge, PR, Keep, or Discard), allowing the human operator to steer the process effortlessly.
Example Prompts
- "I've finished the authentication module, please help me wrap this up using the finishing-branch skill."
- "All my unit tests for the API integration passed. Can we look at the options for pushing this current branch?"
- "I want to discard the experimental layout changes I made on this branch as they didn't work out as expected."
Tips & Limitations
- Strict Sequencing: Do not attempt to bypass the testing phase. If tests fail, the agent is hardcoded to stop, which is a safety feature, not a bug.
- Git Integration: This skill assumes your environment is configured for standard git operations. Ensure your local branch is tracking the correct remote before starting.
- Safety First: Always use the 'discard' option with caution; the skill requires explicit keyword confirmation because the action is destructive and irreversible.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-axelhu-superpowers-finishing-branch": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Openclaw Sleep
Skill by axelhu
superpowers-overview
Use when starting any development work or when unsure which superpowers development skill to use - provides entry point and navigation to the full superpowers skill suite for OpenClaw agents
superpowers-subagent-dev
Use when executing implementation plans with independent tasks - coordinates task execution by dispatching subagents per task with verification checkpoints, adapted for OpenClaw's isolated session model
contacts
通讯录查询与维护技能。用于查找联系人信息(open_id、chat_id、account_id 等)、记录新联系人、或查询历史沟通偏好。触发时机:(1) 需要 @某人或向某渠道发消息时 (2) 认识新联系人后需要录入通讯录时 (3) 查询某人的联系方式或交流偏好时 (4) 询问"谁知道xxx的飞书ID"或"怎么联系xxx"时。
superpowers-executing-plans
Use when executing a written implementation plan in the current session with sequential task execution and review checkpoints - for when subagent-driven mode is not available