Code Review

🌐Community
by srbhr · vlatest · Repository

Automates Python/Java backend code reviews, identifying potential bugs, style issues, and security vulnerabilities based on srbhr's standards.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add srbhr-code-review npx -- -y @trustedskills/srbhr-code-review
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "srbhr-code-review": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/srbhr-code-review"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill automates code reviews for Python/Java backend and Next.js/React frontend code, identifying potential bugs, style issues, and security vulnerabilities based on srbhr's established standards. It focuses on technical correctness over subjective opinions and emphasizes verification before implementation. The review process includes a structured feedback loop designed to ensure understanding and reasoned responses.

When to use it

  • Automate routine code reviews for Python/FastAPI backend projects.
  • Ensure Next.js/React frontend code adheres to Swiss International Style guidelines.
  • Identify potential security vulnerabilities, such as missing input validation or insecure API key handling.
  • Enforce consistent coding standards and best practices across a development team.
  • Get feedback on code before merging into the main codebase.

Key capabilities

  • Checks for type hints in Python functions.
  • Identifies improper use of copy.deepcopy() for mutable defaults.
  • Evaluates error handling implementation (server-side logging, client-friendly messages).
  • Verifies API key usage via parameters instead of environment variables.
  • Ensures asynchronous operations are handled correctly with asyncio.Lock().
  • Validates adherence to Swiss International Style for Next.js/React frontends.
  • Checks for security vulnerabilities like secrets in code and improper CORS configuration.

Example prompts

  • "Review this Python file: my_module.py."
  • "Perform a code review of the frontend component src/components/Button.jsx focusing on style compliance."
  • "Check this Java class for potential security vulnerabilities related to input validation."

Tips & gotchas

  • The skill prioritizes technical correctness and may push back against suggestions that break existing functionality or violate established architectural decisions.
  • Review feedback should be read, understood, verified, evaluated, and responded to technically before implementation.
  • Avoid performative responses like "You're absolutely right!" or premature commitments ("Let me implement that now").

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
srbhr
Installs
39

🌐 Community

Passed automated security scans.