AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Open Pr

skill-dkmqflx-git-workflow-plugin-open-pr · by dkmqflx

Push the current branch and open a pull request against the detected base branch, with an AI-drafted title and body confirmed by the user before creating. Use when the user wants to open, create, or submit a PR — phrases like "PR 올려줘", "PR 열어줘", "PR 만들어줘", "open a PR", "create a pull request", "submit for review", "/open-pr". Do NOT use to review, comment on, or update an existing PR.

No reviews yet
0 installs
42 views
0.0% view→install

Install

$ agentstack add skill-dkmqflx-git-workflow-plugin-open-pr

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dkmqflx-git-workflow-plugin-open-pr)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Open Pr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Open PR

Push the current branch and open a pull request via gh pr create.

Run this after committing your changes (see commit-each). Once the PR is merged, clean up with branch-done or worktree-done.

When to apply

Opening a new PR for the current branch. Do not apply to update, review, or comment on an existing PR.

Steps

  1. Determine the base branch:
  • Try git symbolic-ref refs/remotes/origin/HEAD and strip the refs/remotes/origin/ prefix.
  • If that fails, use the first of dev, main, master that exists locally (git show-ref --verify --quiet refs/heads/).
  • If none exist, stop and ask the user which branch is the base.
  1. Record the current branch: git rev-parse --abbrev-ref HEAD. If it equals the base branch, stop and notify the user — there's nothing to open a PR from.
  2. Check for uncommitted changes (git status --porcelain). If any exist, stop and tell the user to commit first.
  3. Check whether a PR already exists for this branch: gh pr view --json url 2>/dev/null. If one does, stop and report its URL instead of creating a duplicate.
  4. Push the branch: git push -u origin HEAD.
  5. Gather context for the PR description:

``bash git log ..HEAD --oneline git diff ...HEAD ``

  1. Draft a title (under 70 characters) and a body with a ## Summary (1–3 bullets) and ## Test plan (checklist) section, covering all commits on the branch — not just the latest.
  2. Show the drafted title and body to the user and get confirmation before creating.
  3. Create the PR:

``bash gh pr create --base --title "" --body "$(cat EOF )" ``

  1. Report the returned PR URL.

Guardrails

  • Always confirm the drafted title/body with the user before running gh pr create — opening a PR is visible to others and not easily undone.
  • If gh is not installed or not authenticated, stop and tell the user to run gh auth login.
  • Never force-push (git push -f) to publish the branch.
  • Do not create a second PR if one already exists for this branch.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.