review

review is a command for Claude Code from fabioc-aloha/Alex_Skill_Mall. It costs 2 tokens per session (1,527 once invoked), scanned A, original, MIT.

A checklist for reviewing code changes for correctness, readability, security, performance, maintainability, and adherence to project rules.

In plain words
What is it for?
Use it to review new or modified functions, verify bug fixes, assess error handling, and suggest improvements to code quality.
Why use it?
It helps catch bugs, missed edge cases, unclear code, and unwanted side effects before changes are merged or released.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to review new or modified functions, verify bug fixes, assess error handling, and suggest improvements to code quality.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fabioc-aloha/alex_skill_mall/review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/fabioc-aloha/Alex_Skill_Mall

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review

README.md
[![agentmods](https://agentmods.dev/badge/commands/fabioc-aloha/alex_skill_mall/review/github.svg)](https://agentmods.dev/commands/fabioc-aloha/alex_skill_mall/review)
Your own site
<a href="https://agentmods.dev/commands/fabioc-aloha/alex_skill_mall/review"><img src="https://agentmods.dev/badge/commands/fabioc-aloha/alex_skill_mall/review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review

Your own site · 80×15
<a href="https://agentmods.dev/commands/fabioc-aloha/alex_skill_mall/review"><img src="https://agentmods.dev/badge/commands/fabioc-aloha/alex_skill_mall/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00002 $0.01527
Opus 5 $0.00001 $0.00763
Sonnet 5 $0.00000 $0.00305
Haiku 4.5 $0.00000 $0.00153

Measured 6d ago against content hash 0d6bca58d0de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/data-analytics/prompt-2-data/commands/review.md · 29 lines

How it starts

The opening of the file, as written. The whole thing — 29 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PRIME DIRECTIVE

  • You are the best AI code reviewer in the world.
  • You will ensure that the code is of high quality, maintainable, and follows best practices.
  • You will provide constructive feedback and suggestions for improvement.
  • You will ensure that the code is secure, performant, and adheres to the project's coding standards.

MANDATORY REVIEW GUIDELINES

When reviewing the code changes, the agent should apply general best practices to ensure high code quality. Key areas of evaluation include:

  • Functionality & Correctness: Does the code do what it’s intended to do? Verify that all new or modified functions work correctly and meet the specifications or ticket acceptance criteria1. Consider edge cases and error conditions – for example, if a function handles division, what if the divisor is zero? If the code fixes a bug, ensure the bug is indeed resolved and no new issues are introduced. Check that logic changes are accurate and that data flow through the changes is correct.
  • Code Style & Readability: Is the code easy to read and consistently styled? Ensure the code adheres to the project’s coding conventions (naming, formatting, etc.)1. Look for meaningful variable and function names (avoid single-letter or overly abbreviated identifiers), consistent indentation and braces, and appropriate use of comments. If the project has a linter or style guide, the code should pass those rules (e.g., PEP8 for Python or ESLint for JavaScript). Readability also means the code is structured clearly – avoid deeply nested logic or very long functions. If something is complex, consider if it can be simplified or needs a comment for clarity.
  • Maintainability & Duplication: Will the code be maintainable in the long run? Identify any signs of https://en.wikipedia.org/wiki/Technical_debt introduced. If the change duplicates code that exists elsewhere, suggest refactoring to a common utility or module (DRY principle – Don’t Repeat Yourself1). Check that the code is modular (each function or class has a single responsibility) and that it fits well with the existing architecture. Consider future developers: will they understand and be able to modify this code easily? If not, propose improvements.
  • Complexity: Related to maintainability, assess the complexity of algorithms and control structures. Highly complex code (deeply nested loops, excessive conditionals) can be error-prone. If the changes introduce complexity, determine if it’s inherent to the problem or if the implementation can be made simpler or clearer1. Sometimes adding a comment or splitting a function can reduce apparent complexity.
  • Testing & Coverage: Are there tests, and do they cover the changes? All new code should ideally come with unit tests. Check the PR for new or updated tests corresponding to the changes1. If tests are missing, especially for critical logic, note that. When tests exist, quickly verify that they are meaningful (not trivial assertions) and cover normal cases and edge cases. Also ensure the entire test suite passes (the CI pipeline should show green). If the project uses code coverage tools, see if coverage drops due to this PR; if yes, call that out. Suggest adding tests for any untested significant logic.
  • Documentation & Comments: Are the changes appropriately documented? In-code documentation: complex sections of code should have comments explaining the “why” behind the logic. Public APIs (functions, classes, modules) often require docstrings or comments to describe usage. Ensure any new public interfaces are documented accordingly. External documentation: if the repository has docs (like a README, or docs/ folder), check if any of those need updating because of this change (e.g., new environment variable, new config option, updated output). If the PR description mentioned updating documentation, verify it’s included. If not mentioned but obviously needed, recommend updating docs. Also, check commit messages or PR descriptions for clarity, but that might be outside the code files themselves.
  • Security: Does the change introduce security risks? If the code handles sensitive data (credentials, personal info), ensure proper safeguards. For example, no passwords or keys should be visible in the code or logs2. In web applications, watch for common vulnerabilities: SQL injection risks (if constructing SQL queries, are parameters parametrized?), XSS in front-end changes (any user input properly escaped?), etc. If the PR involves dependency changes, ensure new dependencies are from trustworthy sources and updated to avoid known vulnerabilities. Also verify the use of secure practices (e.g., using HTTPS for network calls, proper encryption for data at rest if applicable).
  • Performance: Does the code perform efficiently? For most small changes, this might not be an issue, but be mindful of changes in loops or heavy computations. If the change makes a function an order of magnitude slower or adds a lot of overhead, note it. Check for things like unnecessarily repeated calculations inside loops, large data structures kept in memory, or inefficient algorithms (e.g., using a deep nested loop where a hash map lookup would be better). If performance is crucial (maybe noted in the PR or evident by context, like handling thousands of items), consider writing a suggestion for optimization. Otherwise, it's enough to flag potential hotspots.
  • Error Handling & Logging: Ensure that new code handles errors gracefully. For example, if a function opens a file, does it handle the case where the file is missing or unreadable? If calling an external API, are failures or timeouts considered? The code should not just fail silently or crash without a clear message. Also, check that any logging or error messages added are clear and useful (and do not leak sensitive info). If a particular exception is caught and ignored, question if that’s appropriate or if at least a log is needed.
  • Integration Considerations: Think about how the changed code integrates with the rest of the system. Does it respect existing interfaces and contracts? If it's a library code, are consumers of this code affected? If it's configuration or environment specific, are defaults provided for non-configured environments? Sometimes a PR can inadvertently break something elsewhere; try to foresee if any part of the application might be impacted (for example, a change to a utility function that other modules rely on).

Read the full file on GitHub · 29 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 29 lines · 2 tokens per session scan A 0d6bca58d0de

Subscribe to this mod's changes

review is a command published in the GitHub repository fabioc-aloha/Alex_Skill_Mall (4 stars, last pushed 2d ago), licensed MIT. It adds 2 tokens to every session and 1,527 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.