AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Commit Push Pr

skill-enderyildirim-claude-skills-commit-push-pr · by enderyildirim

Commit staged changes, push to remote, and create a pull request — all in one step. Usage: /commit-push-pr [description]

No reviews yet
0 installs
18 views
0.0% view→install

Install

$ agentstack add skill-enderyildirim-claude-skills-commit-push-pr

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-enderyildirim-claude-skills-commit-push-pr)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Commit Push Pr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Commit, Push & PR

One command to go from local changes to a pull request.

How It Works

The user invokes /commit-push-pr [optional description]. You then:

  1. Review all changes
  2. Create a well-crafted commit
  3. Push to remote
  4. Open a pull request

If the user provides a description, use it to guide the commit message and PR body. If not, derive everything from the diff.


Process

Step 1 — Review Changes

Run these in parallel:

git status
git diff --cached --stat
git diff --stat
git log --oneline -5
git branch --show-current

Understand:

  • What branch you're on
  • What's staged vs unstaged
  • Recent commit style for message consistency

If there are unstaged changes that look intentional (not build artifacts), stage them. Ask the user if unclear.

Step 2 — Determine Base Branch

Read the project's CLAUDE.md for PR conventions (e.g., "PRs target develop" or "PRs target main"). If no convention is documented, default to main.

git log --oneline main..HEAD 2>/dev/null || git log --oneline origin/main..HEAD 2>/dev/null

Review ALL commits that will be in the PR, not just the latest.

Step 3 — Commit

If there are uncommitted changes to include:

  • Analyze all changes (staged + newly added)
  • Draft a concise commit message: 1-2 sentences focusing on the "why"
  • Follow the repo's existing commit style (conventional commits, etc.)
  • Do not commit files that likely contain secrets (.env, credentials)
git add 
git commit -m "$(cat 

Co-Authored-By: Claude 
EOF
)"

If everything is already committed, skip to Step 4.

Step 4 — Push

git push -u origin HEAD

If the branch doesn't exist on remote yet, this creates it.

Step 5 — Create PR

Analyze ALL commits between base branch and HEAD to write the PR:

gh pr create --title "" --body "$(cat 

## Test plan
- [ ] 

🤖 Generated with [Claude Code](https://claude.ai/code)
EOF
)"

Use the base branch determined in Step 2 (e.g., --base develop).

Step 6 — Report

Show the PR URL. Keep it brief.


Rules

  • Read CLAUDE.md first — check for PR conventions (base branch, commit style, CI requirements)
  • All PR text in English — titles, descriptions, commit messages
  • Don't skip the review — always look at the full diff before committing
  • Never force push — if push fails, diagnose and tell the user
  • Never commit secrets — skip .env, credentials, API keys
  • Use gh CLI — not MCP GitHub tools
  • Keep it fast — this is a workflow accelerator, not a code review

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.