mcpField
C
commit-push

commit-push

github.com/sztadiiDevelopment014 installsUpdated today
Repository

About commit-push

commit-push is a skill for agents handling Git commits and pushes. It provides checks for repository scope, generated files, hooks, and remote state before reporting the result.

Key features

  1. 01Inspect changes, branch, and destination
  2. 02Respect hooks and repository rules
  3. 03Validate generated files and checks
  4. 04Recheck remote state before pushing
  5. 05Report revision, checks, and blockers

Use cases

  1. 01Prepare an authorized repository commit
  2. 02Verify generated files before committing
  3. 03Push a revision without overwriting remote work

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sztadii/agent-skills --skill commit-push

After installing, type/commit-pushin Claude Code to confirm it loaded.

Bundled filesagents/openai.yaml

Details

From the project README

Commit and Push

Scope

Use for every commit or push. Honor repository rules, authorized scope and blockers; commit-only does not authorize push, PR creation or merge. Preserve unrelated work.

Dependencies

No skill dependencies

Workflow

  • Inspect changes and outgoing commits; verify branch and push destination.
  • Never bypass hooks (--no-verify, commit -n, HUSKY=0 or equivalents). Fix failures or stop.
  • Inspect committed output and hook changes. Commit required generated files exactly as produced: ordering matters even when behavior is unchanged.
  • Run required regeneration and checks on the final revision until generation leaves no diff. Hooks alone are insufficient. Supplied results for identical content satisfy this; rerun after any change, including hook edits. Check existing commits before push too; stop if blocked, out of scope or generation does not stabilize.
  • Recheck remote head before push; never overwrite remote commits without authorization and a lease tied to that head. Confirm the pushed revision and follow PR-linking requirements. Inspect remote state before ambiguous retries.

Result

Report commits, confirmed push destination/head, checks, remaining changes and blockers.

Comments

Markdown supported