Docs
HomeClaude Code PRO
Blog

Getting Started

  • Documentation
  • Claude Code Setup
  • Claude Code Configuration
  • Claude Code Security

Claude Code PRO

  • guideCheatsheet
  • skill/apex
  • skill/brainstorm
  • skill/debug
  • skill/clean-code
  • skill/review-code
  • skill/ci-fixer
  • skill/claude-memory
  • skill/create-prompt
  • skill/create-slash-commands
  • skill/prompt-creator
  • skill/create-skills-workflow
  • skill/skill-creator
  • skill/hook-creator
  • skill/subagent-creator
  • scriptStatusline
  • scriptCommand Validator
  • scriptAuto-Rename Session
  • scriptClaude Code AI
  • agentSnipper
  • agentCode Reviewer
  • agentExplore Codebase
  • agentExplore Docs
  • agentAction
  • agentWeb Search
  • cmd/oneshot
  • cmd/refactor
  • cmd/ultrathink
  • cmd/commit
  • cmd/create-pr
  • cmd/fix-pr-comments
  • cmd/merge
  • cmd/fix-errors
  • cmd/utils/fix-grammar
  • cmd/copywriting

/fix-errors

Fix all ESLint and TypeScript errors with parallel processing using snipper agents

Overview

Automatically identifies and fixes all ESLint and TypeScript errors by breaking them into manageable areas and processing them in parallel using snipper agents.

Usage

BASH
/fix-errors

How It Works

  1. Discovers Commands - Checks package.json for lint, typecheck, and format scripts
  2. Runs Diagnostics - Executes linting and type-checking to capture all errors
  3. Analyzes Errors - Parses and categorizes errors by file location
  4. Creates Areas - Organizes files into groups (max 5 files per area)
  5. Parallel Processing - Launches snipper agents for each area concurrently
  6. Verification - Re-runs diagnostics after all fixes complete
  7. Formats Code - Applies Prettier formatting as final step

Key Features

  • Parallel Processing - Multiple areas fixed simultaneously for speed
  • Smart Grouping - Related files grouped together (max 5 per area)
  • Minimal Changes - Only fixes errors, preserves functionality
  • Complete Coverage - Every error-containing file gets fixed

Execution Rules

  • Always checks package.json for correct command names
  • Focuses only on linting and TypeScript errors
  • No feature additions, minimal fixes only
  • Uses Task tool for concurrent processing
  • All errors assigned to areas for systematic fixing

When to Use

  • Codebase has multiple ESLint or TypeScript errors
  • Need to fix all errors quickly and systematically
  • Want parallel processing for faster fixes
  • After major refactoring that introduced many errors
/merge/utils/fix-grammar