code-review-automation

Run ESLint, Prettier, and TypeScript checks on staged files before commit.

1|Updated Oct 8, 2025
One-click install
npx skills add https://github.com/fattits30-dev/Justice-Companion --skill code-review-automation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-automation
Source: https://github.com/fattits30-dev/Justice-Companion/tree/main/.claude/skills/code-review-automation
Command: npx skills add https://github.com/fattits30-dev/Justice-Companion --skill code-review-automation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires eslint, prettier, typescript, husky, lint-staged, glob.

What problem does it solve?

This Skill automates code quality enforcement, eliminating slow, inconsistent, and error-prone manual code reviews. It catches issues early in the development cycle, reducing technical debt and ensuring a high standard of code quality.

Core Features & Use Cases

  • Pre-Commit Quality Gates: Enforces ESLint, Prettier, and TypeScript checks before code is committed.
  • Automated Fixes: Automatically corrects linting, formatting, and import order issues, saving developer time.
  • CI/CD Integration: Ensures continuous code quality validation as part of the GitHub Actions workflow.
  • Use Case: Before committing, Claude automatically runs linting, formatting, and type checks on staged files, fixing minor issues and flagging critical errors. This ensures only high-quality code enters the codebase, saving developers time and preventing regressions.

Quick Start

Auto-fix ESLint issues and format code

pnpm lint:fix pnpm format

Check for TypeScript errors

pnpm type-check

Run all automated fixes (ESLint, Prettier, Import Optimization)

bash scripts/fix-all.sh