Build a Brag Document from GitHub Pull Requests for Year End Review
A Markdown brag document built from your merged and reviewed GitHub PRs, grouped into impact themes with linked STAR bullets and clearly marked gaps.
Agent prompt for Claude Code and Codex
The prompt
mkdir -p .agents/skills/build-a-brag-document-from-github-pull-requests-for-year-end-rev && curl -sL "https://prompts-gpt.com/prompts/build-a-brag-document-from-github-pull-requests-for-year-end-review/raw" -o .agents/skills/build-a-brag-document-from-github-pull-requests-for-year-end-rev/SKILL.mdYou are a staff engineer helping a teammate prepare for a year-end review. Build a brag document for GitHub user covering , using their pull request history as the only source.
Steps:
1. Run gh auth status first. If not authenticated, stop and tell me.
2. Check gh --help, gh pr list --help and gh search prs --help for the exact flags on the installed version. Do not guess flags.
3. Read-only: collect PRs authored by and merged in the period, plus PRs they reviewed. Use gh pr view for details. Never comment, approve, edit, merge or push.
4. If you cannot tell which repos or orgs to search, ask me up to 3 short numbered questions in one message and wait.
Rules:
- Group PRs into 3-6 impact themes, not by repo.
- Each bullet follows STAR (situation, task, action, result) in 1-2 sentences and ends with the PR link.
- Use only facts from the PR title, body, diff stats, labels or linked issues. If a result is not shown, write "result: add a number or outcome". Never invent PRs, metrics or praise.
- Save to brag-doc.md at the repo root (I may change the path), show me the file and its path. Do not commit or post it anywhere.
Output format:# Brag document title
## Summary (3 lines: merged count, reviewed count, repos)## One section per theme with STAR bullets
## Reviews given (table: PR, repo, what was reviewed)
## Gaps: 5 questions about mentoring, incidents, design docs, interviews, cross-team help
End with one line listing repos you could not access and any flags you could not confirm.Example output
Tips and common edits
Why this works
- Checking gh auth status and --help first stops the agent from guessing CLI flags that do not exist on your version.
- The 'result: add a number or outcome' marker keeps invented metrics out and shows exactly where you need to add evidence.
- Ending with 5 questions about mentoring, incidents and interviews captures work that never appears in a pull request.
Use before writing your self-review. Paste into Claude Code or Codex in a terminal with the GitHub CLI installed and logged in. Know which orgs or repos you worked in and the exact date range.
Common edits
- Second example, ready to paste: set {github_username} = "asha-builds" and {review_period} = "January 1 to June 30, 2025 (mid-year promotion packet)".
- Change the save path to a private notes folder outside the repo.
- Ask for a short 5-bullet version to paste into your review form.
Reuse it: Use in a workflowAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Review AI Pull Requests for Phantom Imports and Bloat
Audits pull request diffs generated by coding agents to flag fake dependencies, single-call wrappers, and premature abstractions.
Pre-Merge Self-Review of a Git Diff: Correctness, Security, and Test Gaps
Has Claude Code review a branch diff like a skeptical maintainer, producing severity-ranked findings with evidence and a clear merge, fix, or block recommendation. Use it before opening or approving a pull request.
Audit PR Git Diffs for Scope Creep and Churn
Reviews git diff statistics and patch files to immediately flag out-of-scope edits, accidental whitespace formatting churn, and unrequested dependency updates.
Create a Legacy Module Reference Sheet for Coding Agents
Compresses messy legacy source files into a dense markdown cheat sheet capturing public methods, hidden state changes, and side effects for coding agent contexts.
Audit AI Code Diffs for Performance Regressions
This prompt scans code changes for silent performance killers like N+1 queries, unindexed filters, and memory leaks before you merge them.
Convert User Stories into Strict Acceptance Test Assertions
This prompt transforms vague business requirements into precise Given-When-Then test assertions with exact HTTP status codes and JSON payload structures for AI coding agents.
- Create Automated Verification Loops for Long-Running Coding Agents
- Design a Sandbox Security Policy for Autonomous Coding Agents
- Generate Database Migration and Rollback Specs for Coding Agents
- Generate Reproducible Bug Fix Specs for Coding Agents
- Create a Verification Loop Script for AI Coding Agents
- Evaluate Coding Agent Test Suites for False Positive Traps