Critical Code Reviewer

🌐Community
by posit-dev · vlatest · Repository

This skill analyzes your backend code for potential vulnerabilities and bugs, boosting security and reliability through automated reviews.

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 critical-code-reviewer npx -- -y @trustedskills/critical-code-reviewer
2

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

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

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

About This Skill

What it does

This skill acts as an automated, highly critical code reviewer for backend projects. It analyzes submitted code with a “zero tolerance” approach, identifying potential vulnerabilities, bugs, inefficiencies, and bad coding practices. The focus is on rigorous scrutiny and actionable feedback to improve code quality and protect the codebase from errors – not on providing positive or encouraging comments.

When to use it

  • During pull request reviews for backend projects.
  • To proactively identify potential security risks in new code.
  • When seeking a brutally honest assessment of code quality, beyond standard linting.

Key capabilities

  • Slop Detection: Identifies obvious comments, lazy naming conventions, copy-pasted code, and misused patterns (e.g., incorrect useEffect dependencies).
  • Structural Analysis: Flags issues with code organization like functions performing multiple tasks, disorganized files, inconsistent patterns, and excessive component sizes.
  • Adversarial Testing: Simulates worst-case scenarios such as unhandled Promise rejections, unexpected null values, malformed API responses, and malicious user input to identify potential failure points.
  • Language-Specific Checks: Includes specific red flags for Python code (e.g., bare except clauses).

Example prompts

  • "Review this pull request with a critical eye."
  • "Analyze this code for security vulnerabilities and inefficiencies."
  • "Conduct a thorough review of this Python script, assuming the worst possible coding practices."

Tips & gotchas

  • The skill operates under a "guilty until proven exceptional" mindset. Expect direct and potentially harsh feedback.
  • It ignores PR descriptions, commit messages, and comments – focusing solely on the code itself. Promises of future fixes or explanations are disregarded.
  • This is not intended to replace human review entirely but rather to provide an initial, rigorous assessment.

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
posit-dev
Installs
44

🌐 Community

Passed automated security scans.