---
name: build-a-brag-document-from-github-pull-requests-for-year-end-rev
description: "A Markdown brag document built from your merged and reviewed GitHub PRs, grouped into impact themes with linked STAR bullets and clearly marked gaps."
---

# Build a Brag Document from GitHub Pull Requests for Year End Review

Source: https://prompts-gpt.com/prompts/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.

## Prompt

```
You are a staff engineer helping a teammate prepare for a year-end review. Build a brag document for GitHub user {github_username} covering {review_period}, 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 {github_username} 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.
```

## Usage Notes

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.

## Variables

- `{{github_username}}`
- `{{review_period}}`
