gcampr · diff
git:20261014.9b23797 to git:20261023.bbc2e64
2 added, 16 removed. Audit A to A.
---
name: gcampr
description: Commit current changes, push, and create/reuse a pull/merge request (GitHub PR or GitLab MR). Use when the user says "gcampr" or asks to commit + push + open/raise a PR / MR / pull request / merge request.
---
- Read the shared branch/mutation rules in [`git-ops`](../git-ops/SKILL.md) and the
- [commit flow](../git-ops/references/commit-flow.md). Select the commit-push-and-open/reuse-PR
- transaction:
-
- ```
- bash <PLUGIN_ROOT>/scripts/smart_gcampr.sh --message-file <repo>/.devloop/commit_msg [--repo <name|path>] [--branch <name>] [--target <branch>] [--target-repository <forge/path>] [--file <path>]... [--title "<PR title>"]
- ```
-
- Trust the `PLAN:` banner and surface the returned PR/MR URL.
- `<PLUGIN_ROOT>` → `${CLAUDE_PLUGIN_ROOT}` on Claude Code; `${PLUGIN_ROOT}` on Codex.
-
- Source is always the current repository. Resolve the target from the user’s context;
- pass its concrete Repository ID via `--target-repository` when contributing elsewhere.
- Omission targets the current repository. `forked_from` can identify a direct same-Forge
- parent; being a fork alone does not imply that destination. Ask when intent is unclear.
- Push stays on origin. See the [commit flow](../git-ops/references/commit-flow.md).
+ Follow [git-ops](../git-ops/SKILL.md) and its [commit flow](../git-ops/references/commit-flow.md).
+ Select the **commit, push, and create/reuse PR/MR** transaction: `smart_gcampr.sh`.