code-review

Detect hard-rule violations and quality issues in JavaScript/TypeScript code changes.

341|48|Updated Apr 4, 2025
One-click install
npx skills add https://github.com/WellApp-ai/Well --skill code-review-wellapp-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/WellApp-ai/Well/tree/main/cursor-rules/skills/code-review
Command: npx skills add https://github.com/WellApp-ai/Well --skill code-review-wellapp-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code Review Skill helps systematically enforce hard rules and conventions to improve code quality and consistency during changes.

Core Features & Use Cases

  • Hard Rules Enforcement: No any type usage, no console.log, components under 200 lines, no inline styles, no arbitrary values, and API follows a 3-layer pattern.
  • Code Quality & Conventions: Clear naming, no duplicates, proper error handling, specific types, imports organized, and file placement adherence.
  • Use Case: Use during pre-commit, pre-push, or PR reviews to ensure changes meet project standards before integration.

Quick Start

Run the pre-push validation to automatically check touched files with npm run typecheck && npm run lint, and review any failures before committing.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate hard-rule code reviews for JavaScript and TypeScript projects?

Automate hard-rule code reviews by enforcing naming conventions, security checks, and import organization during pre-commit or pre-push hooks. Run npm scripts for typecheck, lint, and tests to validate changed files before integration.

What hard rules should I enforce during a pre-commit code review?

Hard rules to enforce during pre-commit reviews include no any type usage, no console.log, components under 200 lines, no inline styles, and API following a 3-layer pattern to ensure consistent code quality.

Can I use this automated code review to run typecheck and lint on touched files?

Yes, you can run pre-push validation to automatically check touched files using npm run typecheck && npm run lint. Review any failures before committing to ensure changes meet project standards.

Does this static analysis code review work with pre-push hooks?

Yes, static analysis code review works with pre-push hooks. Apply it during pre-commit, pre-push, and pull-request reviews to enforce standards across JavaScript and TypeScript projects before integration.

What is the best way to enforce naming conventions and import organization in TypeScript?

The best way to enforce naming conventions and import organization is through automated hard-rule code reviews. This ensures clear naming, no duplicates, specific types, and proper file placement adherence across the project.

Why should I prevent any type usage in TypeScript code reviews?

Preventing any type usage in TypeScript code reviews enforces specific types for safer code. This hard rule, alongside checks for proper error handling and component size limits, maintains quality during pull-request reviews.