Agent skill
eslint
ESLint JavaScript linter with plugins. Use for code quality.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/eslint
SKILL.md
ESLint
ESLint is the standard linter for JS/TS. v9 (2024/2025) moved to Flat Config (eslint.config.js), a major breaking change that simplifies configuration.
When to Use
- Enforcing Rules:
no-unused-vars,react-hooks/rules-of-hooks. - Code Quality: Catching bugs before they run.
Core Concepts
Flat Config (eslint.config.js)
An array of objects. No more extends string hell.
export default [js.configs.recommended, { rules: { semi: "error" } }];
Plugins
NPM packages that add rules. eslint-plugin-react.
Parsers
@typescript-eslint/parser allows ESLint to understand TS.
Best Practices (2025)
Do:
- Use Flat Config: Use the new format.
- Use
typescript-eslint: The typed linting rules are powerful (e.g.no-floating-promises).
Don't:
- Don't configure formatting rules: Disable all formatting rules (use Prettier or Biome for that). use
eslint-config-prettier.
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?