Lint fix

From berkcangumusisik/claude-code-practices · View interactive version

Lint fix is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Fixes all auto-fixable lint errors and explains the non-auto-fixable ones

How to use this skill

Skill file

Fix Lint Errors

  1. Run linter to see all issues:
npx eslint . --ext .ts,.tsx,.js,.jsx 2>&1 | head -80
# or
npx biome check . 2>&1 | head -80
# or
golangci-lint run 2>&1 | head -80
  1. Apply auto-fix:
npx eslint . --ext .ts,.tsx,.js,.jsx --fix 2>&1
  1. For remaining errors (non-auto-fixable):
  1. If a rule keeps firing and seems wrong for the project: note it but do NOT add eslint-disable comments - flag it for review instead.
  1. Report: N auto-fixed, N manually fixed, N flagged for team review.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.