Skip to content
Back to skills

Open Pr

ASecurity

Use when the user asks to commit, push, open a PR or ship a change: branch off main, run /verify and the reviewer, clean commits, push, open a PR. Never merges.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 26, 2026
ai-agentsgitsecurity

Works with

  • claude code

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add Rasimoghlu/sarkhans-claude-starter --skill open-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Open Pr?

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

Security grade badge for Open Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rasimoghlu-open-pr/badge)](https://www.skillsdirectory.com/skills/rasimoghlu-open-pr)

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: open-pr
description: 'Use when the user asks to commit, push, open a PR or ship a change: branch off main, run /verify and the reviewer, clean commits, push, open a PR. Never merges.'
argument-hint: "[optional: short description of the change]"
---
# Open PR

Change: $ARGUMENTS

Follow every step in order. Stop and report if any step fails — never skip one.

## 1. Inspect
- `git status` and `git diff --stat`. Make sure no `.env*` (except `.env.example`), keys, build output, logs or unrelated files are in the change. If there are, stop and tell the user.
- `git branch --show-current`.

## 2. Branch
- If the current branch is `main` or `master`: create a branch now — `git switch -c <type>/<short-kebab-description>` (types: feat, fix, refactor, perf, security, chore, docs, test). The name describes the change, in English, with no mention of AI/Claude.
- If already on a feature branch, stay on it.

## 3. Quality gate
- Run `/verify` (full, without `--quick`). Everything must pass. Fix failures at the root cause — directly when small, otherwise through the owning specialist; never weaken checks.
- Run the `reviewer` agent in review mode on the whole diff. Fix every `blocker` and `major` finding (directly or through the owning specialist), then re-run `/verify`.

## 4. Commit
- Group changes into logical commits. Third-eye side-fixes get their own commit (`fix:` / `perf:` / `security:` / `refactor:`).
- Stage explicit paths (`git add <paths>`), never `git add -f`.
- Conventional Commits, English, imperative, subject ≤ 72 chars, optional body explaining *why*.
- **No** `Co-Authored-By`, no "Generated with", no 🤖, no mention of Claude/Claude Code/Anthropic/AI anywhere in the message.

## 5. Push
- `git push -u origin <current-branch>`. Never push to `main`/`master`, never force-push.

## 6. Pull request
- If `gh` is available and authenticated: `gh pr create --head <branch> --title "<conventional title>" --body "<body>"`.
  The base is the repository's default branch. Body sections: `## Summary`, `## Changes`, `## How to test`, `## Risks / notes`. No AI/tool mentions.
- If `gh` is not available, print the compare URL from the push output instead.
- Never merge the PR.

## 7. Report (in the response language)
Branch name, commits (hash + subject), PR link, verify summary, `### Agents` (if agents fixed anything) and `### Third eye`.

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.