google-gemini avatar

Pr Creator

If you've ever had a teammate push directly to main or submit a PR that ignores your carefully crafted template, this is the guardrail you need. It walks through the entire PR creation flow with multiple safety checks to prevent main branch commits, enforces your repository's PR templates (including checklists that actually get filled out honestly), and runs preflight checks before pushing. It even handles the annoying escaping issues with multiline markdown by writing to a temp file first. The workflow is opinionated but in a good way. It treats PR templates as mandatory documentation rather than suggestions, which honestly is how they should work.

skills.sh installs
2.4K
GitHub stars
108.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add google-gemini/gemini-cli --skill pr-creator --agent claude-code

Installs into .claude/skills of the current project.

Files

Pull Request Creator

This skill guides the creation of high-quality Pull Requests that adhere to the repository's standards.

Workflow

Follow these steps to create a Pull Request:

  1. Branch Management: CRITICAL: Ensure you are NOT working on the main branch.

    • Run git branch --show-current.
    • If the current branch is main, you MUST create and switch to a new descriptive branch:
      git checkout -b <new-branch-name>
      
  2. Commit Changes: Verify that all intended changes are committed.

    • Run git status to check for unstaged or uncommitted changes.
    • If there are uncommitted changes, stage and commit them with a descriptive message before proceeding. NEVER commit directly to main.
      git add .
      git commit -m "type(scope): description"
      

Sponsors

Details

Repository
github.com/google-gemini/gemini-cli
Categories
Git & Pull Requests, CLI & Terminal

More from google-gemini/gemini-cli

All 12
1paulrberg avatarcode-reviewpaulrberg/agent-skillsUse for code/PR review, audits, bug/security checks, reviewing diffs or changes, and finding issues in code.2Kskills.sh installs
2cxuu avatargo-code-reviewcxuu/golang-skillsUse when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code chan1.8Kskills.sh installs
3xtone avatarpr-triagextone/ai_development_toolsPRの変更内容をトリアージし、変更カテゴリ分類・表層チェック・必要リファレンス判定を行います。結果を`.pr-triage.json`に出力し、後続のコードレビューフェーズで活用します。CI環境でのコスト最適化に使用してください。1.7Kskills.sh installs
4daymade avatargithub-opsdaymade/claude-code-skillsProvides comprehensive GitHub operations using gh CLI and GitHub API. Activates when working with pull requests, issues, repositories, workflows, or GitHub API 1.6Kskills.sh installs
5github avatarthreat-model-analystgithub/awesome-copilotFull STRIDE-A threat model analysis and incremental update skill for repositories and systems. Supports two modes: (1) Single analysis — full STRIDE-A threat mo1.5Kskills.sh installs
6code-yeongyu avatargithub-triagecode-yeongyu/oh-my-opencodegithub triage1.5Kskills.sh installs