Agent skill
ESLint
General rules for linting this project; use when handling lint errors or adding ESLint to a package.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/eslint
SKILL.md
Always run eslint --fix instead of just eslint.
Consider this skill whenever linting or addressing lint errors.
Never disable an ESLint rule. Fix the code or types so the rule is satisfied (e.g. add proper types, narrow with type guards, or restructure). Do not use eslint-disable, eslint-disable-next-line, or inline comment disables.
Adding ESLint to a package (using @zerospin/utils)
Use the shared config from @zerospin/utils so new packages match the rest of the repo.
-
Dependencies (devDependencies in the package's
package.json):eslint:^9@zerospin/utils:workspace:*
-
Config file - add
eslint.config.tsin the package root:
import { baseConfig, defineConfig } from '@zerospin/utils'
const eslintConfig = defineConfig({}, baseConfig)
export default eslintConfig
-
Script (if missing):
"lint": "eslint ."inpackage.jsonscripts. -
Optional overrides - pass more args to
defineConfig(same pattern asapps/platform/eslint.config.ts): e.g.ignores,rules,settings.
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?