skills/eslint/SKILL.md
General rules for linting this project; use when handling lint errors or adding ESLint to a package.
npx skillsauth add morgs32/skills ESLintInstall 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.
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.
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.ts in the package root:
import { baseConfig, defineConfig } from '@zerospin/utils'
const eslintConfig = defineConfig({}, baseConfig)
export default eslintConfig
Script (if missing): "lint": "eslint ." in package.json scripts.
Optional overrides - pass more args to defineConfig (same pattern as apps/platform/eslint.config.ts): e.g. ignores, rules, settings.
development
Create and map ZerospinError instances for Effect-based code in zerospin. Use when defining error codes/messages, wrapping causes, mapping/catching errors in Effects, or returning structured errors from Effect.gen/Effect.fn or promise boundaries.
data-ai
Update agent skills in this repo or another.
development
TypeScript type-safety rules and guidance.
devops
Fix and update Turborepo (Turbo) configuration and task setup. Use for turbo.json errors, schema updates (pipeline -> tasks), and package-level config issues like missing extends.