/alexandru-skills:code-reviewingfrom alexandru-skills
Reviews code changes for bugs, structural problems, performance issues, and unintended behavior. Supports uncommitted changes, commits, branches, and pull requests.
Ships in alexandru-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
When doing a code review, follow these rules.
Note this document uses keywords from RFC 2119 (MUST, MUST NOT, SHOULD, SHOULD NOT, etc.).
AGENTS.md files and linked review instructions.Choose the review scope from the user's request:
If the requested target or provider metadata is unavailable, report that instead of choosing a different review scope.
Specification review is essential to assessing correctness.
If the repository does not prescribe a discovery process, search all of these sources in order:
If repository-directed discovery is blocked by unavailable tools, missing permissions, inaccessible sources, or unresolved required references:
If specifications are unavailable or discovery is blocked:
CODING_STANDARDS.md or CONTRIBUTING.md.AGENTS.md files and the conventions files found while gathering context.The review will look at two separate axes that are considered independently:
How to delegate:
Any sub-agent responsible for the "Spec" review MUST receive:
git diff <base>...HEAD)Any sub-agent responsible for the "Standards" review MUST receive:
git diff <base>...HEAD)Look for the following categories of issues:
Be certain. If you're going to call something a bug, you need to be confident it actually is one.
Rules:
General template:
## Standards
...
## Spec
...
## Spec sources
...
Present the two reports under ## Standards and ## Spec headings, verbatim or lightly cleaned. Do not merge or rerank findings, because the two axes are deliberately separate (see Why two axes).
End with a one-line summary: total findings per axis, and the worst issue within each axis (if any). Don't pick a single winner across axes: that's the reranking the separation exists to prevent.
Use Critical, High, Medium, or Low severity, based on your judgment and applicable repository documentation. Assess severity, not whether the PR should merge or a finding should block it.
Use a numbered level-three heading for each finding, containing its severity in square brackets and a short, specific title. Follow it with a Location: field containing the file and line range, then explain the finding and its impact. Coding standards findings also include a Standard: field citing the rule's file and lines when available. For unwritten conventions or structural concerns, identify the established pattern or explain the concern instead of inventing a standards citation.
Append ## Spec sources to every report, even when there are no findings:
A change can pass one axis and fail the other:
Reporting them separately stops one axis from masking the other.
What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/akka-streamsScala reactive streaming with Akka Streams and Pekko Streams. Use for dataflow and reactive programming patterns, testing stream components, and understanding when NOT to use streams (prefer plain functions for transformations and I/O)./arrow-resourceKotlin + Arrow Resource lifecycle discipline with `Resource`, `ResourceScope`, `resourceScope`, and context parameters. Use for safe acquisition/release of files, streams, DB pools/connections, HTTP clients, background scopes, or multipart parts; preventing resource leaks and use-after-close bugs; designing companion `Resource` builders; using `arrow-autoclose` when only synchronous `AutoCloseable` cleanup is possible; composing resources with typed errors, cancellation, or parallel acquisition./arrow-typed-errorsModels Kotlin logical failures with Arrow's context-parameter Raise DSL and wrappers such as Either, nullable, Option, and Ior. Use when implementing or simplifying typed-error flows, translating error types, replacing verbose Either handling, validating input with accumulation, or selecting an error wrapper./cats-effect-ioHelps agents write and review Scala Cats Effect IO code. Use for suspending side effects and non-determinism in IO or F[_], choosing Sync/Async/Temporal/Concurrent/Clock/Random, handling blocking I/O, testing with TestControl, and composing resources, fibers, races, and structured concurrency safely./cats-effect-resourceHelps agents write and review Scala Cats Effect Resource code. Use for preventing resource leaks and use-after-release bugs, modeling disposable values with Resource, designing Resource-returning factories and constructor-injected services, wrapping Java AutoCloseable values, composing resources, and handling cancellation-safe release./cats-mtl-typed-errorsScala typed errors with Cats MTL Raise/Handle and allow/rescue. Use for designing custom domain error types without EitherT, while keeping Cats Effect and ecosystem composition. Covers Scala 2/3 syntax and IO-only or F[_] usage.npx claudepluginhub alexandru/skills --plugin alexandru-skillsOther plugins' skills for the same job