Automates a multi-dimensional security and code quality review for the MyClinicB app.

Install

mkdir -p .claude/skills/review-nivhazan && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13255" && unzip -o skill.zip -d .claude/skills/review-nivhazan && rm skill.zip

Installs to .claude/skills/review-nivhazan

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Perform a comprehensive code review of the MyClinicB clinic management app.
75 chars · catalog descriptionno explicit “when” trigger
Intermediate

Key capabilities

  • Check for exposed API keys or secrets
  • Verify input validation on Express endpoints
  • Ensure Prisma schema consistency with frontend entities
  • Verify API error handling and status codes
  • Detect duplicated validation between frontend and backend
  • Identify dead imports and unused files

How it works

The skill performs a complete code review across security, Prisma schema consistency, API error handling, frontend/backend logic, and code quality dimensions, organizing findings by severity.

Inputs & outputs

You give it
MyClinicB clinic management app codebase
You get back
A list of findings categorized by severity with suggested solutions

When to use review

  • Reviewing security vulnerabilities
  • Checking Prisma schema
  • Refactoring API routes

About this skill

Perform a comprehensive code review of the MyClinicB clinic management app.

Review Dimensions

1. Security

  • Check for API keys or secrets exposed in frontend code (VITE_ env vars, hardcoded tokens)
  • Verify input validation on Express endpoints
  • Check for XSS vectors in React components (dangerouslySetInnerHTML, unescaped user input)
  • Ensure Anthropic API key stays server-side only

2. Prisma Schema Consistency

  • Verify all entities used in frontend (base44.entities.X) exist in server/prisma/schema.prisma
  • Check that expressClient.js entity map matches the schema
  • Verify relations and constraints (unique, required fields)
  • Check base44Client.mock.js has matching entities

3. API & Error Handling

  • Verify all Express routes return proper status codes and error messages
  • Check that asyncHandler wraps all route handlers
  • Verify business logic guards in payment creation (duplicate, future appointment, billing model)
  • Check error messages are user-friendly (Hebrew)

4. Frontend/Backend Logic

  • Detect duplicated validation between frontend and backend
  • Verify frontend relies on backend for business rules (no client-side guards that bypass server)
  • Check React Query keys are consistent and invalidated properly

5. Code Quality

  • Find dead imports and unused files
  • Check for console.log statements that should be removed
  • Verify snake_case/camelCase mapping consistency

Output Format

Organize findings by severity:

Critical (must fix)

Security vulnerabilities, data loss risks, broken functionality.

Important (should fix)

Logic errors, missing validation, inconsistencies.

Minor (nice to fix)

Code quality, cleanup, naming.

For each finding include:

  • File: path/to/file.js:line
  • Issue: Description
  • Fix: Suggested solution

Action Rules

  • For minor and important issues: fix them directly and commit
  • For critical issues: describe them and wait for user approval before changing

When not to use it

  • When reviewing a project other than MyClinicB
  • When the review is not focused on security, Prisma, API, or code quality dimensions
  • When the user wants to fix critical issues without prior approval

Limitations

  • Limited to the MyClinicB clinic management app
  • Critical issues require user approval before changes are made
  • Review dimensions are fixed to Security, Prisma, API, Frontend/Backend Logic, and Code Quality

How it compares

This review is tailored specifically to the MyClinicB application, focusing on its particular tech stack and common issues, unlike a generic code quality check.

Compared to similar skills

review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
review (this skill)05moNo flagsIntermediate
lint-and-validate66moReviewBeginner
fullstack-guardian13moNo flagsAdvanced
vercel-known-pitfalls127dReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

Search skills

Search the agent skills registry