Push
Prerequisites
Load claudius:git-and-github skill first — all commit, push, PR, and attribution conventions come from there.
Steps
Ensure feature branch
- Base branch: read from
gitStatuscontext (Main branch: ...). Fallback:git remote show origin - If ON the base branch: fetch, create a feature branch (
feat/...,fix/...,chore/...from context), switch to it
- Base branch: read from
Version bump (if applicable)
- Check project's
CLAUDE.mdfor versioning policy (SemVer, changelog, version file locations) - If policy exists, this PR MUST carry a version bump before it's done — bump version and update changelog before committing (or before marking the PR ready, if bumping later once full scope is known).
- Exactly once per unmerged PR, not per commit: if this branch already carries a bump from an earlier commit and hasn't merged, don't bump again — amend the existing changelog entry. Re-bump only if the change's SemVer category grows (e.g. patch → minor). Never conclude "not merged yet" or "already bumped once elsewhere" means the bump can be skipped for this PR itself.
- Same reasoning covers backward compatibility: nothing in an unmerged PR is released yet, so its own earlier commits don't constrain later ones on the same branch.
- Check project's
Stage and commit
- Review changes, check for secrets — warn and exclude if found
- Stage and commit per
git-and-githubconventions
Push to remote
PR
- PR body MUST follow the TL;DR → User story → Scenario → Detailed discussion skeleton per
git-and-github§Creating a PR - If PR exists for this branch: update its title and description to reflect current changes
- If no PR: create a draft PR with summary + test plan per
git-and-github
- PR body MUST follow the TL;DR → User story → Scenario → Detailed discussion skeleton per
Notes
- Push per
git-and-github§ Safety Rules — coordinator-only, no confirmation needed for a feature-branch push - After completing, do NOT push again without a new explicit
/pushor user request — one invocation = one push