new-branch-pr

Installation
SKILL.md

new-branch-pr

Turn the pending changes into a reviewable PR against dev.

  1. Pre-flight — run the repo's cheap checks (lint, validators, fast tests — whatever exists); confirm git status shows only the expected changes. Abort and report if checks fail or something unexpected is dirty.
  2. Audit (only when --audit is passed; default off) — review every pending implementation for reliably clean code and current best practices: idiomatic and consistent with the surrounding codebase, current APIs and patterns verified against up-to-date docs or skills rather than memory, no dead code, leftover scaffolding, or drive-by complexity. Fix what the audit finds, then re-run pre-flight before continuing.
  3. Ensure dev exists — if the repo has no dev branch, create it from the current default branch and push it. Then ask the user whether to make dev the repository default (gh repo edit --default-branch dev); change it only on their confirmation — never unprompted.
  4. Branch — create a descriptive feature branch off dev (feat/<topic>, fix/<topic>, ...). If the changes build on an unmerged PR that touches the same files, stack on that branch instead and say so.
  5. Commit by conceptual group — one conventional commit (feat:, fix:, docs:, chore:, ...) per concept, not per file. Keep coupled changes atomic (a change and the registration/config it requires land together). Bodies explain why, not what.
  6. Open the PR — push with -u, then gh pr create --base dev with a summary of what and why per commit group. Report the PR URL and leave the working tree clean.
Installs
1
Repository
vichudo/skills
First Seen
3 days ago
new-branch-pr — vichudo/skills