skills/finishing-a-development-branch/SKILL.md
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work
npx skillsauth add kienbui1995/magic-powers finishing-a-development-branchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide completion of development work by presenting clear options and handling chosen workflow.
Core principle: Verify tests → Present options → Execute choice → Clean up.
# Run project's test suite
npm test / cargo test / pytest / go test ./...
If tests fail: fix before proceeding. Use magic-powers:systematic-debugging if needed.
"All tests pass. How would you like to integrate this work?
- Merge to main — squash merge, delete branch
- Create PR — push branch, open pull request
- Keep branch — leave as-is for now
- Other — describe your workflow"
Merge to main:
git checkout main
git merge --squash <feature-branch>
git commit -m "feat: <description>"
git branch -d <feature-branch>
Create PR:
git push -u origin <feature-branch>
# Provide PR description with: what changed, why, how to test
git worktree remove .worktrees/<name>content-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.