prs
Expertise in managing the Git and GitHub Pull Request lifecycle, including staging changes, generating PR descriptions, and branch management.
Works with
---
name: prs
description: Expertise in managing the Git and GitHub Pull Request lifecycle, including staging changes, generating PR descriptions, and branch management.
license: Apache-2.0
---
# 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.More Code Review skills
pr-to-video
heygen-com/hyperframes
Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.
receiving-code-review
obra/superpowers
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
public-relations
coreyhaines31/marketingskills
When the user wants help with public relations, earned media, press coverage, journalist outreach, or media strategy (not pull requests). Also use when the user mentions 'PR,' 'public relations,' 'press,' 'press release,' 'press coverage,' 'media outreach,' 'pitch a journalist,' 'get featured,' 'media list,' 'media kit,' 'press kit,' 'newsjacking,' 'news hijack,' 'HARO,' 'Qwoted,' 'Featured,' 'Help A Reporter,' 'reporter request,' 'tech press,' 'TechCrunch,' 'earned media,' 'thought leadership placement,' 'op-ed,' 'guest article,' 'press contacts,' 'podcast prep,' 'going on a podcast,' 'podcast guest,' 'prep me for this podcast,' or 'how do I get press.' Use this for earned media work — finding journalists, pitching stories, newsjacking, prepping podcast appearances, and responding to press requests. For startup/SaaS/AI directory submissions, see directory-submissions. For product launches, see launch. For social-media engagement, see social. For cold-email outreach to prospects, see cold-email.

