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

Open Pr

skill-stella-skillguard-open-pr · by stella

Prepare the current worktree branch for a pull request: rebase, self-review, quality checks, and open a draft PR.

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

Install

$ agentstack add skill-stella-skillguard-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-stella-skillguard-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

Prepare the current worktree branch for a pull request: rebase, self-review, quality checks, and open a draft PR.

Instructions

  1. Verify you are on an isolated feature branch:

``bash CURRENT=$(git branch --show-current) if [ -z "$CURRENT" ] || [ "$CURRENT" = "main" ] || [ "$CURRENT" = "master" ]; then echo "Error: /open-pr must run from an active feature branch." exit 1 fi ``

If on a default branch or detached HEAD, abort and ask the user which feature branch to use.

Check whether the current checkout is safe to use for PR prep:

``bash git status --short ``

If the checkout is the user's shared root checkout, has unrelated local changes, or the work spans multiple repos or submodules, stop and move to clean worktree(s) before rebasing or committing. Create the worktree from the current feature branch and continue the rest of this skill there; do not rewrite history in the dirty root checkout.

  1. Bootstrap the worktree before trusting failures:

Before running lint, typecheck, tests, or hooks, verify that the worktree actually has the repo toolchain available (bun, workspace dependencies, turbo, oxlint, project bins, and env links if the repo expects them).

If the worktree is missing the toolchain, run the repo's normal install/setup flow first, then rerun the same command. Do not treat missing-bin or module-resolution failures as product-code regressions. Keep setup-only churn such as accidental lockfile changes out of the PR unless the task explicitly requires them.

  1. Rebase onto the remote default branch:

```bash DEFAULTBRANCH="$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's@^origin/@@')" if [ -z "$DEFAULTBRANCH" ]; then DEFAULTBRANCH="$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null)" fi if [ -z "$DEFAULTBRANCH" ]; then DEFAULT_BRANCH="main" fi

git fetch origin "$DEFAULTBRANCH" git rebase "origin/$DEFAULTBRANCH" ```

If conflicts arise, resolve them. After resolving, continue the rebase. If a conflict is ambiguous, ask the user.

  1. Self-review against CLAUDE.md conventions:

Get the full diff against the default branch:

``bash git diff "origin/$DEFAULT_BRANCH" --name-only ``

Read every changed file in full. Review against the conventions in CLAUDE.md (TypeScript strictness, error handling, security, naming, i18n, patterns). Fix any violations directly; don't just list them. Commit fixes separately with fix: address self-review findings.

  1. Run quality checks using the repo's actual commands:

Run the checks the repository already defines for linting, typechecking, tests, and non-mutating format verification. If the repo defines format:check, use it. If it only defines a mutating format script, do not run it as verification unless you also commit the formatter output. Prefer documenting a missing format check in the PR body over inventing a one-off command that is inconsistent with the repo.

If any check fails, fix the issue and re-run. Commit fixes with fix: lint/format/type errors.

  1. Security audit:

Run /security-audit. Fix any critical or high findings in files changed in this PR before opening it. Commit fixes with fix: address security audit findings.

  1. Open the PR as draft:

Push the branch and create the PR as a draft:

``bash git push --force-with-lease -u origin HEAD gh pr create --fill --draft ``

If --fill produces a poor title/body, write a proper one following Conventional Commits (feat:, fix:, etc.) with a very concise summary. Do not add a separate test plan unless the user explicitly asks for one. Do not mention deployment choices or attribute the motivation for the PR to a specific person's feedback, request, or experience.

This repository is public. Never include marketing language, internal business context, pricing, competitive analysis, user identities, conversation specifics, deployment specifics, or security architecture beyond what the diff obviously shows. Do not add details that would help a motivated attacker exploit the code, especially a vulnerable previous version being fixed. Assume the PR may be read by hostile adversaries, not only friendly collaborators. When sensitive context would improve readability, omit it by default; ask the user only if omission would make the PR hard to review.

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.