skills/linter-loop-limits/SKILL.md
Enforces a 3-strike rule for linter error fixes. Prevents agents from entering infinite loops on persistent lint errors by requiring escalation to the user after three failed attempts.
npx skillsauth add adilkalam/orca linter-loop-limitsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
RULE: Do NOT loop more than 3 times fixing linter errors on the same file.
Agents can get stuck in infinite loops trying to fix linter errors, wasting tokens and time without making progress. Each failed attempt often introduces new issues or reverts previous fixes.
If the error persists after 3 attempts:
DO:
DON'T:
eslint-disable comments without permissionAfter 3 failed attempts, use this format:
I've attempted to fix this linter error 3 times without success:
**Error:** [exact error message]
**File:** [file path and line number]
**Rule:** [linter rule name if available]
**Attempts made:**
1. [First approach] - Result: [what happened]
2. [Second approach] - Result: [what happened]
3. [Third approach] - Result: [what happened]
**My analysis:** [why it might be failing]
How would you like me to proceed?
- Option A: Try a specific fix you suggest
- Option B: Disable this rule for this line (with eslint-disable)
- Option C: Investigate the root cause further
- Option D: Skip this for now and continue
Symptoms:
any type errorsResolution may need:
Symptoms:
Resolution may need:
Symptoms:
Resolution may need:
Symptoms:
Resolution may need:
Keep explicit count in your reasoning:
Linter attempt 1/3 on [file]:
Error: [error]
Approach: [what you tried]
Result: [outcome]
Linter attempt 2/3 on [file]:
Error: [same or new error]
Approach: [different approach]
Result: [outcome]
Linter attempt 3/3 on [file]:
Error: [error]
Approach: [final approach]
Result: [outcome]
-> 3 strikes reached on [file]. Stopping and asking user.
testing
Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.
tools
Improves typography by fixing font choices, hierarchy, sizing, weight, and readability so text feels intentional. Use when the user mentions fonts, type, readability, text hierarchy, sizing looks off, or wants more polished, intentional typography.
tools
Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.
development
Plan the UX and UI for a feature before writing code. Runs a structured discovery interview, then produces a design brief that guides implementation. Use during the planning phase to establish design direction, constraints, and strategy before any code is written.