About code-review-mitsuhiko
code-review-mitsuhiko is a code-review skill for agents. It first classifies code as product, library, or mixed, then applies the corresponding review criteria and orders findings by severity.
Key features
- 01Distinguishes product and library code
- 02Applies context-specific review lenses
- 03Orders findings by severity
- 04Checks errors, dependencies, and defaults
Use cases
- 01Review product abstractions against user needs
- 02Assess library API compatibility and extensibility
- 03Examine error handling and dependency costs
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ wilbeibi/ wilbeibi-skills --skill code-review-mitsuhikoAfter installing, type/code-review-mitsuhikoin Claude Code to confirm it loaded.
Bundled filesPRINCIPLES.md
Details
From the project READMEcode-review-mitsuhiko
First decide whether this is product code, library code, or mixed. The right review standard changes with that call.
Steps
- State
Context call: Product / Library / Mixed. - Apply the matching lens below, then the cross-cutting checks.
- Produce findings first, ordered by severity.
Product Lens
- Does this solve a real user problem now?
- Could a dumb working version ship faster and validate the need?
- Is this abstraction, dependency, or extension point justified by a second real use case?
- If debt is accepted, is there a concrete refactor trigger?
Flag: speculative flexibility, invisible elegance, non-bottleneck optimization, and generic frameworks for one feature.
Library Lens
- Will this API still make sense years from now?
- Does it break existing users? If yes, call out versioning and migration cost.
- Can users extend behavior without forking?
- Are errors, defaults, and extension points treated as stable public API?
Flag: breaking changes for minor improvements, string-matched errors, undocumented extension contracts, and "just fork it" design.
Cross-Cutting Checks
- Errors: typed/structured enough for callers and production diagnosis?
- Dependencies: worth the transitive tree, or implementable in 20-50 clear lines?
- Defaults: safe, unsurprising, and honest about cost?
- Product/library mismatch: library standards slowing a product, or product habits destabilizing a library?
Output Contract
- Findings first:
Must fix,Consider,Open questions; omit empty sections. - Each finding includes
[file:line], the context-specific reason, and a concrete next step. - Add a brief
Summaryafter findings. Do not add praise unless asked.
See PRINCIPLES.md for full philosophy and phrasing patterns.