ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

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

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/axelhu/superpowers-finishing-branch
Or

What 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

  1. "I've finished the authentication module, please help me wrap this up using the finishing-branch skill."
  2. "All my unit tests for the API integration passed. Can we look at the options for pushing this current branch?"
  3. "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

Author@axelhu
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-axelhu-superpowers-finishing-branch": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#git#workflow#developer-productivity#cicd#automation
Safety Score: 4/5

Flags: file-write, file-read, code-execution