janekbaraniewski

Finalize Feature — Git skill for Claude Code

Git community

Finalize the feature "$ARGUMENTS" — create branch, commit, and open PR.

How to install Finalize Feature

Installs to ~/.claude/commands/janekbaraniewski-openusage-finalize-feature.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/janekbaraniewski/openusage/HEAD/.claude/commands/finalize-feature.md -o ~/.claude/commands/janekbaraniewski-openusage-finalize-feature.md

Restart Claude Code, or start a new session, for it to be picked up.

What Finalize Feature does

Finalize the feature "$ARGUMENTS" — create branch, commit, and open PR.

Read and follow the full skill specification in docs/skills/finalize-feature/SKILL.md.

Follow all phases:

  1. Phase 0 — Pre-flight: Build, vet, tests pass. Check for secrets.
  2. Phase 1 — Branch: Create feature branch.
  3. Phase 2 — Commit: Draft message, show to user, stage specific files, commit.
  4. Phase 3 — PR: Push and create PR via gh pr create.
  5. Phase 4 — Checklist: Report branch, commit, PR U

Alternatives in Git

  • OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
  • Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
  • Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★

Full documentation available on GitHub

View Source Repository