gcampr · diff
git:20261014.c6c19d3 to git:20261014.9b23797
6 added, 5 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-repo current|parent] [--file <path>]... [--title "<PR title>"]
+ 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.
- Choose the PR destination from the user’s context: `current` (default) for this repository,
- `parent` for a contribution to its direct same-Forge fork source. Ask when the intended
- destination is unclear; being a fork alone does not imply parent. This option belongs only
- to PR creation; push stays on origin. See the [commit flow](../git-ops/references/commit-flow.md).
+ 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).