push

star 340

Commit and push to the current branch. Use --fixup to also wait for CI and CodeRabbit, Greptile, Claude, and cubic review feedback, then fix issues.

kdlbs By kdlbs schedule Updated 6/7/2026

name: push description: Commit and push to the current branch. Use --fixup to also wait for CI and CodeRabbit, Greptile, Claude, OpenCode, and cubic review feedback, then fix issues.

Push

Available skills

  • /commit — Stage and commit changes using Conventional Commits. Runs /verify internally.
  • /pr-fixup — Wait for CI checks and CodeRabbit, Greptile, Claude, OpenCode, and cubic review feedback, fix any failures or valid comments, and push again.

Context

  • Current branch: !git branch --show-current
  • Current git status: !git status

Options

  • --fixup — after pushing, run /pr-fixup to wait for CI and CodeRabbit, Greptile, Claude, OpenCode, and cubic review feedback, fix issues, and push again.

Note: This skill only uses git push. GitHub CLI dependency is indirect via /pr-fixup.

Your task

Commit any pending changes and push to the remote branch.

Steps

Create a todo/task for each step below and mark them as completed as you go.

  1. Uncommitted changes: If there are dirty or staged changes, run /commit first (it runs /verify internally).

  2. Safety check: Verify the current branch is NOT main or master. If it is, stop and ask the user — direct pushes to the default branch should go through a PR.

  3. Push the current branch:

    git push
    

    If the branch has no upstream, use git push -u origin <branch>. If the branch was rebased or history was rewritten, first confirm the current branch is not main or master, then use git push --force-with-lease.

  4. Report the pushed commit hash and branch.

  5. If --fixup: Run /pr-fixup to wait for CI checks and CodeRabbit, Greptile, Claude, OpenCode, and cubic review feedback, fix any failures or valid comments, and push.

Install via CLI
npx skills add https://github.com/kdlbs/kandev --skill push
Repository Details
star Stars 340
call_split Forks 39
navigation Branch main
article Path SKILL.md
More from Creator