lean-code-reviewlisted
Install: claude install-skill ongkipro/dotfiles
# Lean Code Review
Find the smallest safe implementation without confusing fewer lines with better
code. Review the current diff by default. Scan the whole repository only when
the user explicitly requests a repo-wide audit.
## Workflow
1. Read the task and the changed flow end to end. Identify the behavior that
must remain true.
2. Search every caller before judging a helper, wrapper, or abstraction.
3. Check the codebase, standard library, native platform, and installed
dependencies before proposing new code or packages.
4. Separate measurable complexity from taste. Report only findings with a
concrete deletion or smaller replacement.
5. Rank findings by maintenance reduction, dependency removal, and blast radius.
6. If the replacement depends on a stack-specific native feature, consult
`native-first` for that stack.
## Finding tags
- `delete:` dead code, unused flexibility, or speculative functionality.
- `reuse:` logic already implemented elsewhere in the repository.
- `stdlib:` custom logic replaced by a standard-library feature.
- `native:` dependency or code replaced by a platform feature.
- `dependency:` package whose value does not justify its maintenance surface.
- `inline:` wrapper, interface, factory, or config layer with one real consumer.
- `shrink:` same behavior and edge-case correctness with materially less code.
## Output
Return one line per finding:
```text
<file>:<line> — <tag> <what to remove>. Replace with <specific smaller path>. <ca