pr-merge-cleanup

Installation
SKILL.md

PR Merge & Cleanup Workflow

Strict Git/GitHub PR workflow. Changes are CI-tested before entering main, local environment left clean.

Steps

Follow strictly in order:

1. Branch & Commit

  • git status to identify uncommitted changes.
  • Aggressively look for and remove unnecessary, temporary, and scratch files before staging. Unless brutally justified, they must be removed. Every single file being committed must be explicitly justified.
  • Never commit directly to main.
    • git checkout main && git pull
    • git checkout -b <type>/descriptive-branch-name — where <type> matches the conventional commit (fix, feat, chore, refactor, etc.)
  • Stage justified files and commit with a conventional commit message (e.g., fix(module): ..., feat(component): ...).
  • git push -u origin <branch-name>

2. Create PR

  • gh pr create --title "..." --body "..."
Related skills

More from jihunkim0/jk-skills

Installs
10
First Seen
Mar 23, 2026