agentleFS
GoogleKnown publishergoogle-gemini/gemini-cli/.gemini/skills/pr-creator/SKILL.md

pr-creator

Skill107k starsChanged 7 months agoApache-2.0View on GitHub

This skill guides the creation of high-quality Pull Requests that adhere to the repository's standards. 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: 2. Commit Changes: Verify that all intended changes are committed. - Run git status to check for unstaged or uncommitted changes. -…

  • Commits and pushes

15 other projects use a version of this, 4 of them edited.

Trending

More talk lately.about the whole repository

Dec 2025: 4 mentionsJan 2026: 6 mentionsFeb 2026: 4 mentionsMar 2026: 7 mentionsApr 2026: 3 mentionsMay 2026: 4 mentionsJun 2026: 2 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 1 mentionOct 2026: 3 mentionsNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the google-gemini/gemini-cli repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about google-gemini/gemini-cli

The biggest 5 of 93 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 93

Talked about on Bluesky, Hacker News and GitHub (93 times).

On Bluesky · 50

45 more on Bluesky

On Hacker News · 23

18 more on Hacker News

On GitHub · 20

15 more on GitHub

Used with

Projects with it also use cache-components, frontend-code-review and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mm-mazharSkill

    cache-components

    Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).

    Also in 3 projects that use this

  • DauQuangThanhSkill

    frontend-code-review

    Conducts comprehensive frontend code reviews including React/Vue/Angular component analysis, TypeScript/JavaScript quality assessment, CSS/styling review, performance optimization, accessibility compliance, security vulnerabilities, and best practices validation. Produces detailed review reports with specific issues, severity ratings, and actionable recommendations. Use when reviewing frontend code, analyzing React/Vue/Angular components, checking JavaScript/TypeScript quality, validating CSS/SCSS, assessing web performance, or when users mention "review frontend code", "check React components", "analyze JavaScript", "review TypeScript", "validate accessibility", or "frontend code quality".

    Also in 4 projects that use this

  • belokonmSkill

    fullstack-developer

    End-to-end feature expert specializing in frontend-backend integration, system architecture, and complete application development

    Also in 3 projects that use this

  • Hugging FaceSkill

    update-docs

    Update documentation across the repo after API changes. Finds stale references in docs, examples, docstrings, and fixes them.

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 3 projects that use this

  • JetBrainsSkill

    webapp-testing

    Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

    Also in 5 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 15 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 15

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Follow these steps to create a Pull Request:

    line 15
  2. Distinctive:

    If the current branch is main, you MUST create and switch to a new descriptive branch:

    line 20
  3. Distinctive:

    Commit Changes: Verify that all intended changes are committed.

    line 26
  4. Distinctive:

    Run git status to check for unstaged or uncommitted changes.

    line 27
  5. Distinctive:

    If there are uncommitted changes, stage and commit them with a descriptive message before proceeding.

    line 28
  6. Distinctive:

    Locate Template: Search for a pull request template in the repository.

    line 35
  7. Very specific:

    If multiple templates exist (e.g., in .github/PULL_REQUEST_TEMPLATE/), ask the user which one to use or select the most appropriate one …

    line 38
  8. Distinctive:

    Read Template: Read the content of the identified template file.

    line 42
  9. Distinctive:

    Draft Description: Create a PR description that strictly follows the template's structure.

    line 44
  10. Distinctive:

    Headings: Keep all headings from the template.

    line 46
  11. Distinctive:

    Preflight Check: Before creating the PR, run the workspace preflight script to ensure all build, lint, and test checks pass.

    line 56
  12. Distinctive:

    If any checks fail, address the issues before proceeding to create the PR.

    line 61
  13. Distinctive:

    NEVER push if the current branch is main.

    line 65
  14. Very specific:

    Create PR: Use the gh CLI to create the PR.

    line 73
  15. Very specific:

    Title: Ensure the title follows the Conventional Commits format if the repository uses it (e.g., feat(ui): add new button, fix(core): …

    line 83
  16. Distinctive:

    Safety First: NEVER push to main. This is your highest priority.

    line 90
  17. Distinctive:

    Compliance: Never ignore the PR template.

    line 91
  18. Distinctive:

    Accuracy: Don't check boxes for tasks you haven't done.

    line 93

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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"
  3. Locate Template: Search for a pull request template in the repository.
    • Check .github/pull_request_template.md
    • Check .github/PULL_REQUEST_TEMPLATE.md
    • If multiple templates exist (e.g., in .github/PULL_REQUEST_TEMPLATE/), ask the user which one to use or select the most appropriate one based on the context (e.g., bug_fix.md vs feature.md).
  4. Read Template: Read the content of the identified template file.
  5. Draft Description: Create a PR description that strictly follows the template's structure.
    • Headings: Keep all headings from the template.
    • Checklists: Review each item. Mark with [x] if completed. If an item is not applicable, leave it unchecked or mark as [ ] (depending on the template's instructions) or remove it if the template allows flexibility (but prefer keeping it unchecked for transparency).
    • Content: Fill in the sections with clear, concise summaries of your changes.
    • Related Issues: Link any issues fixed or related to this PR (e.g., "Fixes #123").
  6. Preflight Check: Before creating the PR, run the workspace preflight script to ensure all build, lint, and test checks pass.
    npm run preflight
    If any checks fail, address the issues before proceeding to create the PR.
  7. Push Branch: Push the current branch to the remote repository. CRITICAL SAFETY RAIL: Double-check your branch name before pushing. NEVER push if the current branch is main.
    # Verify current branch is NOT main
    git branch --show-current
    # Push non-interactively
    git push -u origin HEAD
  8. Create PR: Use the gh CLI to create the PR. To avoid shell escaping issues with multi-line Markdown, write the description to a temporary file first.
    # 1. Write the drafted description to a temporary file
    # 2. Create the PR using the --body-file flag
    gh pr create --title "type(scope): succinct description" --body-file <temp_file_path>
    # 3. Remove the temporary file
    rm <temp_file_path>
    • Title: Ensure the title follows the Conventional Commits format if the repository uses it (e.g., feat(ui): add new button, fix(core): resolve crash).

Principles

  • Safety First: NEVER push to main. This is your highest priority.
  • Compliance: Never ignore the PR template. It exists for a reason.
  • Completeness: Fill out all relevant sections.
  • Accuracy: Don't check boxes for tasks you haven't done.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.