mcpField
C
code-review-mitsuhiko

code-review-mitsuhiko

github.com/wilbeibiTesting & quality243 installsUpdated 3d ago
Repository

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

  1. 01Distinguishes product and library code
  2. 02Applies context-specific review lenses
  3. 03Orders findings by severity
  4. 04Checks errors, dependencies, and defaults

Use cases

  1. 01Review product abstractions against user needs
  2. 02Assess library API compatibility and extensibility
  3. 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-mitsuhiko

After installing, type/code-review-mitsuhikoin Claude Code to confirm it loaded.

Bundled filesPRINCIPLES.md

Details

From the project README

code-review-mitsuhiko

First decide whether this is product code, library code, or mixed. The right review standard changes with that call.

Steps

  1. State Context call: Product / Library / Mixed.
  2. Apply the matching lens below, then the cross-cutting checks.
  3. 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 Summary after findings. Do not add praise unless asked.

See PRINCIPLES.md for full philosophy and phrasing patterns.

Comments

Markdown supported