Skip to content
Back to skills

Git Ops

ASecurity

Commit, push, rebase, manage GitHub PRs or GitLab MRs, create/resume branches and worktrees, or publish releases. Use for gcam / gcamp / gcampr / rebase / 解决冲突 / 提 PR / 提 MR / 看 PR / 看 MR / 关 PR / 关 MR / checkout / worktree / 切新分支 / 发版.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 4, 2026
ai-agentspythongitapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add compforge/devloop --skill git-ops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Ops?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Ops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/compforge-git-ops/badge)](https://www.skillsdirectory.com/skills/compforge-git-ops)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-ops
description: Commit, push, rebase, manage GitHub PRs or GitLab MRs, create/resume branches and worktrees, or publish releases. Use for gcam / gcamp / gcampr / rebase / 解决冲突 / 提 PR / 提 MR / 看 PR / 看 MR / 关 PR / 关 MR / checkout / worktree / 切新分支 / 发版.
---

Use devloop's managed scripts for commit transactions and rebase policy (RepoCLI owns rebase execution/recovery), `repocli worktree ensure` for checkout lifecycle and `repocli pr` for PR operations; read-only Git inspection is unrestricted.
Do not replace these workflows with raw Git mutations or provider-specific API calls.
Before invoking repocli, read [its result and recovery contract](../../references/repocli.md#command-results-and-recovery).

`<PLUGIN_ROOT>` is the installed plugin directory: `${CLAUDE_PLUGIN_ROOT}` on Claude Code,
`${PLUGIN_ROOT}` on Codex and OpenCode V2. Run Python entrypoints through
`<PLUGIN_ROOT>/scripts/python <PLUGIN_ROOT>/scripts/<name>.py` for their locked dependencies.

## Task boundaries

- Continue an active branch only when the task belongs to its proposal. For new writes, run the managed branch command and work in its returned checkout. It prefers the primary checkout and isolates concurrent writers. Read-only investigation uses the current checkout. A merged/closed branch is historical, not a new baseline.
- Preserve other work and session-owned checkouts. Rebase is a separate requested operation.
- Select the actual repository and task files explicitly when the workspace contains other work.
- Follow the script's `PLAN:` and live checks. Repair failures within the authorized task and retry
  the owning entrypoint; report any remaining blocker.
- Stop at the requested commit, push, PR/MR, or release outcome. Merge remains a human action.

## Routes

| Task | Read |
|---|---|
| Start a feature branch | [Branch](references/branch.md) |
| Create/resume an isolated checkout | [Worktree](references/worktree.md) |
| Commit, push, create/reuse PR/MR | [Commit flow](references/commit-flow.md) |
| Rebase an existing branch | [Rebase](references/rebase.md) |
| Show/list/update/close/reply on PR/MR | [PR management](references/pr-management.md) |
| Publish or inspect a release | [Release](references/release.md) |

Before committing or pushing code, or submitting its PR, run `repocli validate` using
[validate](../validate/SKILL.md). Inspect the result and fix failures relevant to the change;
report unavailable checks and unresolved failures accurately. Validation timing and acceptance
are your responsibility; neither commit scripts nor PR operations run validation automatically.
PR title/body/label-only updates do not need code validation. Repocli owns check scope and reuse. Configured commit-triggered review is advisory; after PR operations, check or launch review using
[review](../review/SKILL.md).

Files in this skill

  • SKILL.md3 KB
  • references/branch.md870 B
  • references/commit-flow.md1.8 KB
  • references/pr-management.md910 B
  • references/rebase.md911 B
  • references/release.md2.4 KB
  • references/worktree.md618 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.