skill-finish-branch

Featured

Wrap up a branch — run tests, create PR, merge or discard — use when implementation is done

AI & Automation 3,887 stars 365 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Finishing a Development Branch **Your first output line MUST be:** `🐙 **CLAUDE OCTOPUS ACTIVATED** - Branch Completion` ## Overview Full ship pipeline: tests → multi-provider review → version bump → changelog → commit → push → PR. **Core principle:** Verify tests → Review diff → Bump version → Update changelog → Present options → Execute choice → Clean up. --- ## The Process ### Step 1: Verify Tests Pass **Before anything else, verify tests pass:** ```bash # Detect and run project's test suite if [[ -f "package.json" ]]; then npm test elif [[ -f "pytest.ini" ]] || [[ -f "pyproject.toml" ]]; then pytest elif [[ -f "Cargo.toml" ]]; then cargo test elif [[ -f "go.mod" ]]; then go test ./... elif [[ -f "Makefile" ]] && grep -q '^test:' Makefile; then make test fi ``` **If tests fail:** STOP. Show failures. Do not proceed. **If tests pass:** Continue to Step 2. --- ### Step 2: Multi-Provider Diff Review **Run a quick multi-provider review of the changes before shipping.** This catches issues before they reach PR reviewers. ```bash # Get the diff summary DIFF_STAT=$(git diff --stat $(git merge-base HEAD main)..HEAD) DIFF_FILES=$(git diff --name-only $(git merge-base HEAD main)..HEAD) ``` **Always run a quick review — this is automatic, not optional:** ```bash # Quick review via orchestrate.sh (uses available providers) ${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh spawn reviewer "Review this diff for bugs, security issues, and code quality problems. Be c...

Details

Author
nyldn
Repository
nyldn/claude-octopus
Created
6 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category