lint

SKILL.md

Linting

Linter detection

Check package.json devDependencies:

  • @biomejs/biomenpm run check / fix: npm run check --write
  • oxlintnpm run lint / fix: npm run lint --fix
  • eslint (default) → npm run lint / fix: npm run lint:fix

Workflow

  1. Detect linter from devDependencies
  2. Run lint command
  3. For fixes: run fix variant (only when requested)
  4. Report file:line references for all errors

Rules

  • Use project's package.json scripts
  • Never use npx directly
  • Don't auto-fix unless requested

Error Handling

  • If no lint script found in package.json → check scripts for alternative names (check, lint:check); report if none exist
  • If linter exits with parse errors → report each file-level parse error separately with file:line
  • If linter config file is missing → report which config file is expected and stop
Weekly Installs
14
First Seen
Feb 13, 2026
Installed on
gemini-cli14
claude-code14
codex14
opencode14
trae-cn13
replit13