agentsclimarketplace

Commit and push

Skill ProstDev/skills/plugins/dev/skills/commit-and-push

Agent skills for Claude Code and 80+ other AI coding agents — content authoring, dev workflow, and general session helpers. Install via /plugin or npx skills add.

Install
npx -y skills add ProstDev/skills --skill commit-and-push

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 12 days oldThe repository was created 12 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Commit whatever is currently staged (if anything) and push. Use when the user says "commit and push", "ship it", or similar. Pushes even when there's nothing new to commit, so it also ships already-made local commits. Does not stage anything. For commit-only, use commit.

SKILL.md

1.2 KB, as published. Nobody here has run it

Commit and Push

Commit the currently staged changes (if any), then push. Do not git add, do not stage untracked or unstaged files.

Steps

  1. git diff --cached --stat — check what's staged.
    • Something staged: commit it, following the message rules in the commit skill (type: summary, staged only, no -a).
    • Nothing staged: skip committing — do NOT stage anything. Continue to push anyway (there may be earlier local commits to ship).
  2. git push. If the branch has no upstream, git push -u origin HEAD.
  3. Report what happened: the commit hash + message if one was made (or "nothing to commit"), and the push result — including "already up to date" if nothing was pushed.

Don't

  • Don't stage anything (git add, git commit -a, git commit <path>).
  • Don't amend, rebase, or force-push.
  • Don't touch other branches or open a PR.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.