Git-ops agent: commit, push, and PR

VerifiedSafe

Lightweight agent to wrap up tasks: commit, push, and open PRs. For git/GitHub handoff at task end.

Sby Skills Guide Bot
DevelopmentBeginner
8/27/2026
Claude Code
#git#github#pull-request#commit#workflow

Recommended for

Automated summary

Hands off the end-of-task git wrap-up to a low-token git-ops agent that stages and commits the changes, pushes the branch, and opens a GitHub pull request.

Strengths

  • Minimal output: just the PR URL on success, or the exact error on failure
  • Enforces Conventional Commits messages and a concise PR title and body
  • Runs in a forked context, keeping the main conversation clean
  • Replaces the multi-step git add/commit/push/gh pr create sequence with one invocation

Limitations

  • Covers only commit, push, and PR creation — no review, merge, or conflict resolution
  • Assumes the gh CLI is installed and authenticated and that a remote exists
  • Must be invoked explicitly (disable-model-invocation), so it never triggers on its own
When to use it

Use it when a change set is ready and you want it committed, pushed, and turned into a PR in one step.

When not to use it

Avoid it for rebases, conflict resolution, history rewrites, or PR review and merge work.

Security analysis

Safe
Quality score82/100

The skill instructs standard git and GitHub operations (stage, commit, push, create PR) via a dedicated git-ops agent. There are no destructive, exfiltrating, or obfuscated commands; pushing code and opening PRs is the intended, legitimate purpose of the skill.

No concerns found

How this analysis is made

Examples

Ship it
Ship it — commit these changes and open a PR.
Open a PR
Push this branch and create the PR with a short what/why description.
Push and PR
git commit what belongs together with a Conventional Commits message, push, then run gh pr create and give me the URL.

name: gh description: Commit, push, and open a PR using the cheap low-token git-ops agent. Use for git/github wrap-up — git commit, git push, gh pr create, "ship it", "open a PR", "create the PR", "push and PR", end-of-task git handoff. disable-model-invocation: true context: fork agent: git-ops

gh: git handoff

Commit the relevant changes, push, and open a PR (follow user instructions exactly):

  1. Stage what belongs together, commit with a Conventional Commits message.
  2. Push the current branch (create one off the default branch first if needed).
  3. Open a PR with gh pr create — concise title, short what/why body.
  4. Print the PR URL.

Keep output minimal: the PR URL on success, the exact error on failure.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-ops-agent-commit-push-and-pr-mtb1e23v/download' --output '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md.part' && mv '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md.part' '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md' && test -s '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/gh' && cp -R '.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v' '.claude/skills/gh'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v'

openskills read 'git-ops-agent-commit-push-and-pr-mtb1e23v'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/git-ops-agent-commit-push-and-pr-mtb1e23v/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills