Skip to content
Back to skills

References

ASecurity

Expertise in managing the Git and GitHub Pull Request lifecycle, including staging changes, generating PR descriptions, and branch management.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 13, 2026
documentationgogitdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add joeblackwaslike/agent-skills --skill references --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of References?

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

Security grade badge for References
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joeblackwaslike-references-fee66f96/badge)](https://www.skillsdirectory.com/skills/joeblackwaslike-references-fee66f96)

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: prs
description: Expertise in managing the Git and GitHub Pull Request lifecycle, including staging changes, generating PR descriptions, and branch management.
source: "https://raw.githubusercontent.com/google-gemini/gemini-cli/main/tools/gemini-cli-bot/.gemini/skills/prs/SKILL.md"
fetched_at: "2026-06-15T05:55:14.234Z"
sha256: "dace221f16d4fd6de4d8cd863a18a774fe536ba36985f1d50b51638dc0cfab20"
---

# Skill: GitHub PR & Git Management

## Goal

Standardize how the Gemini CLI Bot stages its changes, generates Pull Request
descriptions, and manages the lifecycle of both new and existing PRs.

## Staging & Patch Preparation (MANDATORY)

If you are proposing fixes and PR creation is enabled (per the System Directive):

1.  **Surgical Changes**: Only propose a **single improvement or fix per PR**.
    - **No Bundling**: You are STRICTLY FORBIDDEN from bundling unrelated
      changes. Changes are unrelated if they address different root causes.
    - **Examples**: Do not combine a script fix with a documentation update, an
      unrelated refactor, or a metrics script update. Metrics and fixes MUST
      be in separate PRs.
2.  **Generate PR Description**: Use the `write_file` tool to create
    `pr-description.md`.
    - **Title**: The very first line MUST be a concise, conventional title.
    - **Body**: The rest should be the markdown body explaining the change, why
      it is recommended, and the expected impact.
3.  **Stage Fixes**: You MUST explicitly stage your fixes using the
    `git add <files>` command.
4.  **Internal File Protection (CRITICAL)**: You are STRICTLY FORBIDDEN from
    staging internal bot management files. If they are accidentally staged, you
    MUST unstage them using `git reset <file>`.
    - **NEVER STAGE**: `pr-description.md`, `lessons-learned.md`,
      `branch-name.txt`, `pr-comment.md`, `pr-number.txt`, `issue-comment.md`, or
      anything in `history/`.

## Unblocking & PR Updates (Recovery)

If you are continuing work on an existing Task or responding to a comment on an
existing bot PR:

1.  **Target Existing Branch**: Use `write_file` to generate `branch-name.txt`
    containing the current branch name (e.g., `bot/task-BT-01`).
2.  **Track PR ID**: Use `write_file` to generate `pr-number.txt` containing the
    numeric PR ID.
3.  **Respond to Maintainers**:
    - For general responses, write your markdown comment to `issue-comment.md`.
    - For specific PR feedback, write your markdown response to `pr-comment.md`.
4.  **Handle CI Failures**: Diagnose failing checks using `gh run view`. Your
    priority must be generating a new patch and staging it with `git add` to fix
    the failure.

Files in this skill

  • .gemini-triage_orchestrator.md2.2 KB
  • .github-pull_request_template.md1.3 KB
  • CONTRIBUTING.md20.1 KB
  • GEMINI.md4.7 KB
  • README.md4.7 KB
  • ROADMAP.md5.7 KB
  • SECURITY.md632 B
  • a2a-server-GEMINI.md909 B
  • a2a-server-README.md398 B
  • a2a-server-development-extension-rfc.md18.2 KB
  • acp-README.md3.7 KB
  • agent-tui-SKILL.md13 KB
  • agent_prompts-bug_fixer_prompt.md4.1 KB
  • agent_prompts-code_evaluator_prompt.md8.6 KB
  • agent_prompts-code_revision_prompt.md5.7 KB
  • agents-WORKER.md2.8 KB
  • antigravity-support-SKILL.md3.5 KB
  • async-pr-review-SKILL.md3.7 KB
  • behavioral-evals-SKILL.md2.7 KB

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 documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.