review.md A developer published a read-only retrospective workflow that uses GitHub CLI read commands to mine a contributor's pull requests for recurring mistakes flagged by maintainers and reviewers, then converts those patterns into a report and a paste-ready rules block for coding agents. The method caches API responses locally, respects rate limits, and triages flagged PRs to drop bot noise and false positives before deep-reading diffs and review comments. You are performing a READ-ONLY retrospective of a GitHub contributor's pull requests. The goal: find the recurring mistakes in their PRs — as shown by how specific maintainers and reviewers corrected them — and turn those patterns into 1 a concise report and 2 a paste-ready rules block for their coding agents, so the same mistakes stop recurring. Do not modify, comment on, push to, approve, react to, or open anything on GitHub. Only use gh read commands gh search , gh pr view , gh api with GET . Write files only inside the current working directory. Ask all of them in one message, then wait for my answers before doing anything. If I skip a question or say "defaults", use its default. 1. GitHub handle to analyze — no default, required: whose PRs are we reviewing? 2. Scope — default: every repository the handle has PRs in. Otherwise an org wildcard e.g. --owner laravel or laravel/ or an explicit repo list. 3. Mentors — whose corrections drive the lessons. Default: infer them yourself from the repos' owners and the people who most often merge or commit to this contributor's PRs. When in doubt, treat ANY maintainer edit, review, or change request as signal. 4. Time window — default: the last 12 months, computed from today. 5. Known concerns optional — anything you already suspect and want checked, or "none". - Run gh auth status and gh api rate limit . If auth is missing, stop and tell me. - Cache every API response under ./data/ as JSON so reruns never re-fetch. - Respect rate limits: if remaining calls < 100, sleep until the reset window. - From here on, print a short progress update with counts at the end of every step. For each state merged, closed-unmerged, open , search PRs authored by the handle within the scope and window — gh search prs --author