| name | build-review-persona |
| description | Build a personalized PR review skill by mining GitHub review history. Extracts review patterns, communication style, priorities, and blind spots — generates a calibrated review-as-me skill that posts inline comments on PRs. Use for onboarding, cloning review style, or creating a reviewer persona. |
Build Review Persona
Generate a review-as-me.md skill at ~/.claude/commands/review-as-me.md that captures how a specific person reviews PRs. Mine their GitHub review history, extract patterns, and synthesize into a reusable review skill.
If no GitHub username is provided via $ARGUMENTS, discover it from git log or gh api user.
Log
Write all extracted data to /tmp/review-persona-{username}.md. Append after each collection batch. Read full log before synthesis.
What to Extract
Mine every available signal from the person's review history:
| Dimension | Signal |
|---|
| Comment themes | Recurring concerns — type safety, abstractions, naming, duplication, architecture, performance, etc. These become review lenses. |
| Silent approvals | PRs approved without comment. Categories never flagged. This becomes the suppression list. |
| Selectivity | Ratio of substantive comments to silent approvals. Calibrates confidence threshold. |
| Communication style | Register (casual/formal), framing (questions/directives/suggestions), hedging patterns, use of code references |
| Comment depth | One-liners vs multi-paragraph. When does depth increase? |