MCPInstall

commit-push-pr

Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.

Installs
54
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/meleantonio/awesome-econ-ai-stuff --skill commit-push-pr
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads commit-push-pr automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Commit, Push, and Create PR

Automate the git workflow for completing a feature or fix.

Pre-computed Context

Before proceeding, gather this information:

  • Current branch: !git branch --show-current
  • Git status: !git status --short
  • Recent commits on this branch: !git log --oneline -5
  • Diff summary: !git diff --stat

Workflow

  1. Review Changes

    • Check git status for all modified/added files
    • Review the diff to understand what's being committed
    • Ensure no sensitive files are staged (.env, credentials, etc.)
  2. Run Pre-commit Checks

    • Format code: ruff format . (if Python files changed)
    • Lint code: ruff check . (if Python files changed)
    • Run tests: pytest (if tests exist)
  3. Stage and Commit

    • Stage relevant files: git add <files>
    • Create a commit with Conventional Commits format:
      • feat: for new features
      • fix: for bug fixes
      • docs: for documentation
      • refactor: for refactoring
      • test: for tests
      • chore: for maintenance
    • Write a clear, concise commit message focusing on "why"
  4. Push to Remote

    • Push the branch: git push -u origin HEAD
    • If branch doesn't exist on remote, create it
  5. Create Pull Request

    • Use GitHub CLI: gh pr create
    • Include:
      • Clear title summarizing the change
      • Description with summary and context
      • Reference any related issues
    • Add appropriate labels if applicable

Arguments

Pass a commit message or leave empty for auto-generated message based on changes.

Usage: /commit-push-pr [optional commit message]

Example: /commit-push-pr feat: add user authentication

Output

Return the PR URL when complete.

FAQ

What does the commit-push-pr skill do?

Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.

How do I install commit-push-pr?

Run npx skills add https://github.com/meleantonio/awesome-econ-ai-stuff --skill commit-push-pr in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/commit-push-pr/ (personal) or .claude/skills/commit-push-pr/ (project).

Which AI agents can use commit-push-pr?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is commit-push-pr safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains commit-push-pr?

It is published by meleantonio in meleantonio/awesome-econ-ai-stuff. It has 54 recorded installs.

More from meleantonio/awesome-econ-ai-stuff

View all →

academic-paper-writer

meleantonio/awesome-econ-ai-stuff

Draft economics papers with proper structure and academic style

stata-regression

meleantonio/awesome-econ-ai-stuff

Run regression analyses in Stata with publication-ready output tables.

Testing & QA420 installs

stata-data-cleaning

meleantonio/awesome-econ-ai-stuff

Clean and transform messy data in Stata with reproducible workflows

351 installs

r-econometrics

meleantonio/awesome-econ-ai-stuff

Run IV, DiD, and RDD analyses in R with proper diagnostics

332 installs

beamer-presentation

meleantonio/awesome-econ-ai-stuff

Create academic presentations in Beamer with professional themes

Docs & Writing278 installs

lit-review-assistant

meleantonio/awesome-econ-ai-stuff

Search, summarize, and synthesize economics literature

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.