fix-errors
Fix Errors
Fix all ESLint and TypeScript errors by breaking them into areas and processing in parallel.
Workflow
-
DISCOVER COMMANDS: Check
package.jsonfor exact script names- Look for:
lint,typecheck,type-check,tsc,eslint,prettier,format
- Look for:
-
RUN DIAGNOSTICS:
- Run
pnpm run lint(or equivalent) - Run
pnpm run typecheckortsc --noEmit - Capture all error output
- Run
-
ANALYZE ERRORS:
- Extract file paths from error messages
- Group errors by file location
- Count total errors and affected files
-
CREATE ERROR AREAS:
- MAX 5 FILES PER AREA
- Group related files together (same directory/feature)
- Example:
Area 1: [file1, file2, file3, file4, file5]
-
PARALLEL PROCESSING: Launch snipper agents for each area
- Use Task tool with multiple agents simultaneously
- Each agent processes one area (max 5 files)
- Provide specific error details for each file
-
VERIFICATION: Re-run diagnostics after fixes
- Wait for all agents to complete
- Re-run lint and typecheck
- Report remaining errors
-
FORMAT CODE: Apply Prettier (if available)
- Run
pnpm run formator equivalent
- Run
Snipper Agent Instructions
Fix all ESLint and TypeScript errors in these files:
[list of files with their specific errors]
Focus only on these files. Make minimal changes to fix errors while preserving functionality.
Rules
- ALWAYS check package.json first for correct commands
- ONLY fix linting and TypeScript errors
- NO feature additions - minimal fixes only
- PARALLEL ONLY - use Task tool for concurrent processing
- Every error must be assigned to an area
User: $ARGUMENTS
More from melvynx/aiblueprint
claude-memory
Create and optimize CLAUDE.md memory files or .claude/rules/ modular rules for Claude Code projects. Comprehensive guidance on file hierarchy, content structure, path-scoped rules, best practices, and anti-patterns. Use when working with CLAUDE.md files, .claude/rules directories, setting up new projects, or improving Claude Code's context awareness.
124ultrathink
Deep thinking mode - approach problems like a craftsman, obsess over details, and create elegant solutions
23apex
Systematic implementation using APEX methodology (Analyze-Plan-Execute-Validate) with parallel agents and self-validation. Use when implementing features, fixing bugs, or making code changes that benefit from structured workflow.
18prompt-creator
Expert prompt engineering for creating effective prompts for Claude, GPT, and other LLMs. Use when writing system prompts, user prompts, few-shot examples, or optimizing existing prompts for better performance.
15oneshot
Ultra-fast feature implementation using Explore → Code → Test workflow. Use when implementing focused features, single tasks, or when speed over completeness is priority.
14commit
Quick commit and push with minimal, clean messages
13