pr-review
Skill2 starsChanged 35 days agoApache-2.0View on GitHub
Review someone else's pull request. USE WHEN user asks 'review PR #N', 'look at this PR', or you need to give feedback on an existing PR. Applies Google Engineering Practices ordering (design > functionality > complexity > tests > naming > comments > style) plus Mazarbul-specific checks (event log, MCP, CLI, privacy). NOT FOR reviewing your OWN diff (use /critique) or fixing your own PR's CI (use /review).
198 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- aws-solutions-library-samples/accelerated-intelligent-document-processing-on-awstheir own version, first seen Nov 29, 2026
- assawalhy/awesome-agenttheir own version, first seen Nov 29, 2026
- ErikaAX08/erikas-skillstheir own version, first seen Nov 29, 2026
- hukusuke1007/agent-skillstheir own version, first seen Nov 29, 2026
- ccomkhj/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use expert-reset, updates and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jtenniswoodSkillexpert-reset
Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.
Also in 3 projects that use this
jtenniswoodSkillupdates
Summarize user-facing project updates from the last 7 days, ordered by importance and written as one-sentence "Feature: description" entries. Use when the user says "/updates", asks what changed recently, or wants a concise list of recent features, device support, fixes that users will notice, or other product value.
Also in 3 projects that use this
openchamberSkillclack-cli-patterns
Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.
Also in 3 projects that use this
openchamberSkilldrag-to-reorder
Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
- +6 more from openchamber
Other versions198 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 198
- Significant-Gravitas/AutoGPT★ 188ksame name
- pytorch/pytorch★ 106ksame name
- rtk-ai/rtk★ 88ksame name
- saadeghi/daisyui★ 43ksame name
- rustfs/rustfs★ 37ksame name
- dotnet/maui★ 23ksame name
- NVIDIA/Megatron-LM★ 19ksame name
- MiniMax-AI/skills★ 14ksame name
- btriapitsyn/openchamber★ 13ksame name
- openchamber/openchamber★ 13ksame name
188 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 12-principles-of-animationSkill
- aip-namingSkill
- architectSkill
- babysit-abortSkill
- babysit-prSkill
- babysit-tickSkill
- baseline-uiSkill
- commit-pushSkill
- complex-refactorSkill
- critiqueSkill
- deadSkill
- devstackSkill
- go-backendSkill
- goSkill
- go-strictSkill
- greptileSkill
- impl-checkSkill
- inspect-dbSkill
- inspect-deploySkill
- inspect-runtimeSkill
- interaction-designSkill
- issue-planSkill
- lessonsSkill
- mergeSkill
- new-resourceSkill
- plan-featureSkill
- preflightSkill
- review-fixSkill
- reviewSkill
- shipSkill
- simplifySkill
- task-execution-protocolSkill
- teamSkill
- tui-component-browserSkill
- tui-design-labSkill
- tui-designSkill
- verifySkill
- wrap-upSkill
- write-docsSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 181 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Follow Google Engineering Practices (https://google.github.io/eng-practices/review/).
- Distinctive: line 40
Use suggestion blocks for concrete code fixes.
- Very specific: line 56
When the PR claims to fix a runtime issue, reproduce it locally before and after rather than trusting the description.
- Distinctive: line 92
Use these prefixes to communicate the priority of a comment:
- Distinctive: line 124
APPROVE with LGTM: No substantive issues. Nits and optionals noted but not blocking.
“Common” is measured: kept by at least 6 in 10 of the 181 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Review Guide
Diff-size guard , switch to lens-reviewer mode for large PRs
For high-risk PRs, a single reviewer dilutes attention across security, perf, and tests. Switch to a 3-person Agent Team of lens specialists when:
gh pr diff $PR | wc -lexceeds 500 lines, OR- the diff touches three or more of
internal/kernel/,internal/mcp/,internal/cli/,internal/tui/, OR - the user says "deep review", "multi-angle review", or "high-risk PR".
In lens mode, spawn three teammates in parallel , each focused on one dimension. They post separate gh pr review comments with section headers; the Lead consolidates the APPROVE/REQUEST_CHANGES.
Spawn a 3-teammate Lens Review Team for PR #$PR:
- security-engineer (sec): owns privacy/scope/secret review. Walks scope boundaries, encryption and key handling, the ingest scrubber, and token/secret handling.
- qa-engineer (qa): owns test coverage review. Walks new code's matching test files (*_test.go, teatest snapshots), checks if tests fail when the bug is induced, identifies coverage gaps.
- backend-engineer (be): owns perf + Go style review, OR tui-developer (tui) for UX review when internal/tui/ dominates. Pick one based on which surface has more LoC.
Each posts findings as a separate `gh pr review --body "..."` comment with their dimension as a section header:
## Security (security-engineer)
## Test coverage (qa-engineer)
## Performance / Style (backend-engineer) OR ## TUI / UX (tui-developer)
Lead consolidates after all three finish. APPROVE only if no teammate flags a blocker; REQUEST_CHANGES otherwise. Lead Delegate Mode (Shift+Tab) , coordinate, don't review yourself.For smaller / single-surface PRs, proceed solo using the priority order + checklist below.
Review philosophy
Follow Google Engineering Practices (https://google.github.io/eng-practices/review/). Key principles:
- Critique the code, not the author. "This function should wrap the error with context" not "You forgot to..."
- Be direct. "Change X to Y" is better than "Consider changing X to Y maybe?"
- Use suggestion blocks for concrete code fixes.
- Accept the author's approach when it is equally valid to yours , this is not about preference.
- Stay focused. No praise, no summary paragraph. If the code is fine, say LGTM and move on.
Priority order
Review in this order. Stop at the first blocker , do not request style changes on fundamentally broken logic.
- Design , Does the approach make sense? Is it solving the right problem?
- Functionality , Does it work correctly for all cases (including error paths)?
- Complexity , Is it simpler than it needs to be? Can it be deleted and replaced with an existing helper?
- Tests , Are the tests testing the right behavior? Do they actually fail when the code is broken?
- Naming , Are names accurate and unambiguous?
- Comments , Are there comments that explain why (not what)? Are there misleading comments?
- Style , Does it follow the project style guide?
When the PR claims to fix a runtime issue, reproduce it locally before and after rather than trusting the description. /inspect-runtime walks the daemon logs and maz doctor output.
Checklist: what Claude checks on every PR
Event log and storage
- Events are only appended or superseded, never rewritten or deleted
- New event kinds have a JSON Schema and replay correctly under
maz rebuild - New derived state is rebuildable from the log
- Every new fact, entity, or relation carries source, confidence, and timestamp
Public surfaces (MCP tools, CLI, config, env vars, error codes)
- AIP naming:
createTimenotcreatedAt, plural lowercase resource paths,Create/Get/List/Update/Deleteverbs - Timestamps are UTC
time.Time, RFC 3339 on the wire - CLI commands support
--json/ scripted mode, and theming followsagent-docs/lifecycle-theming.md - User-facing change updates
agent-docs/andagent-docs/mintlify-backlog.md
Go style
- Error strings: lowercase, no trailing punctuation
- Log messages: Capitalized
- No
_ = err(blank identifier error discard) - Context is the first parameter on all functions that need it
- No
panicin library code , errors are returned - No global state introduced
- No new
util,common,helperspackages
Security and privacy
- No credentials, tokens, API keys, or user content in log fields
- SQL uses placeholders (no string concatenation)
- Scope boundaries respected (personal, draft, team); no cross-scope leaks
- Ingested text passes through the scrubber before it is stored or sent to a provider
Hot paths
- Hot-path changes include a benchmark with the baseline in the PR description
Comment labels
Use these prefixes to communicate the priority of a comment:
| Label | Meaning | Must fix? |
| (no label) | Should fix , correctness, compliance, or significant quality issue | Yes |
Nit: | Optional style preference | No |
Optional: | An improvement to consider but take or leave | No |
Question: | Asking for clarification, not requesting a change | No |
Examples:
This should wrap the error with `fmt.Errorf("get entity: %w", err)` so the caller sees where it failed.
Nit: variable name `d` could be `deadline` for clarity.
Optional: Consider extracting this into a helper if the same pattern appears in more than 2 places.Suggestion blocks
For concrete code fixes, use GitHub suggestion blocks:
```suggestion
return nil, fmt.Errorf("get entity %s: %w", uid, err)
```Suggestion blocks let the author apply the fix with a single click. Use them for specific, localized changes.
Approval guidance
APPROVE with LGTM: No substantive issues. Nits and optionals noted but not blocking.
APPROVE with comments: Minor issues that the author can address without re-review. Add "No re-review needed" to make this clear.
REQUEST_CHANGES: One or more of the following:
- Security or correctness bug
- Event-log invariant violated (rewrite/delete instead of append/supersede)
- Privacy or scope leak
- Breaking change to a public surface without an explicit decision
- Missing test for critical business logic
Never REQUEST_CHANGES for:
- Pure style preferences when both approaches are valid
- Performance micro-optimizations that are not causing real problems
- Requesting additional features that were not in scope
Gotchas
Concrete pitfalls encountered when using this skill. Add new ones as you hit them , this is the compounding-engineering log (see agent-docs/lessons.md for the broader pattern).
- (empty , add the first real entry the next time you hit a non-obvious pitfall)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

