eslint-fixes

eslint-fixes is a skill for Claude Code from gaia-react/gaia. It costs 44 tokens per session (663 once invoked), scanned A, original, MIT.

A set of project-specific instructions for fixing ESLint, a tool that reports problems in JavaScript and TypeScript code. It gives approved fixes for recurring lint rules and conflicts with formatting or type conventions.

In plain words
What is it for?
Use it when ESLint reports issues such as deprecated APIs, shadowed names, invalid event-handler patterns, or export and formatting conflicts.
Why use it?
It turns unclear lint messages and autofix conflicts into concrete repair patterns while avoiding temporary suppressions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it when ESLint reports issues such as deprecated APIs, shadowed names, invalid event-handler patterns, or export and formatting conflicts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gaia-react/gaia/eslint-fixes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gaia-react/gaia --skill eslint-fixes
Clone the repo
git clone --depth 1 https://github.com/gaia-react/gaia

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eslint-fixes

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaia-react/gaia/eslint-fixes/github.svg)](https://agentmods.dev/skills/gaia-react/gaia/eslint-fixes)
Your own site
<a href="https://agentmods.dev/skills/gaia-react/gaia/eslint-fixes"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/eslint-fixes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eslint-fixes

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaia-react/gaia/eslint-fixes"><img src="https://agentmods.dev/badge/skills/gaia-react/gaia/eslint-fixes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 663 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00663
Opus 5.5 $0.00018 $0.00265
Sonnet 5.5 $0.00009 $0.00133
Haiku 4.5 $0.00004 $0.00066

Measured 1mo ago against content hash 5556c119c616, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

eslint-fixes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

frontend/.claude/skills/eslint-fixes/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ESLint Fix Patterns

How to resolve specific ESLint errors in this project.

no-void

no-void reports void in expression position (an arrow body such as () => void navigate(...)); a void expr; statement is allowed. In an event handler, prefer an async handler that awaits the promise. Any other fire-and-forget statement (an effect body, a module-level call) uses void, never .catch(() => {}).

// BAD
const handleClickNavigate = () => void navigate('/path');

// GOOD
const handleClickNavigate = async () => {
  await navigate('/path');
};

canonical/export-specifier-newline vs prettier conflict

Use inline export const declarations instead of a grouped export { ... } statement to avoid circular fix warnings between these two rules.

// BAD, causes circular fix between prettier and canonical
export {DAYS, DURATIONS, FITNESS_GOALS};

// GOOD, declare with export directly
export const DAYS = ['mon', 'tue'] as const;
export const DURATIONS = [15, 30, 45] as const;
export const FITNESS_GOALS = ['weight_loss'] as const;

no-shadow trailing underscores

no-shadow has no autofix: rename the inner binding to a descriptive name, not a trailing _.

sonarjs/deprecation

Never suppress with eslint-disable. Always fix the underlying deprecation.

Common case: Zod v4 deprecated z.string().email() in favor of z.email().

// BAD, suppressing the warning
// eslint-disable-next-line sonarjs/deprecation
email: z.string().email(),

// GOOD, use the non-deprecated API
email: z.email(),

you-dont-need-lodash-underscore/*

Use native JavaScript instead of lodash/underscore equivalents.

// BAD
import _ from 'lodash';
const first = _.find(items, (item) => item.active);
const names = _.map(items, (item) => item.name);

// GOOD
const first = items.find((item) => item.active);
const names = items.map((item) => item.name);

Unawaited user-event calls

userEvent from storybook/test is async in a play function, always await it.

Read the full file on GitHub · 100 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -2 lines 5556c119c616
  2. 1mo ago Changed c3f78eb56a15
  3. 1mo ago Changed · -48 tokens per session f3b4cfbb0fb7
  4. 1mo ago Changed · -14 lines f2984759c631
  5. 3mo ago First seen · 116 lines · 92 tokens per session scan A 0481bb514e3f

Subscribe to this mod's changes

eslint-fixes is a skill published in the GitHub repository gaia-react/gaia (26 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 663 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

eslint-fixes compared with skills from other repositories

eslint-fixes next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eslint-fixesgaia-react/gaiaSkill261mo agoMITA44Claude Code
recipe-front-reviewshinpr/claude-code-workflowsSkill725todayMITA29Claude Code
review-system-designHoangNguyen0403/agent-skills-standardSkill598yesterdayMITA44Codex
review-ticketHoangNguyen0403/agent-skills-standardSkill598yesterdayMITA28Codex
common-feedback-reporterHoangNguyen0403/agent-skills-standardSkill598yesterdayMITA63Claude Code, Codex
qa-frontendPostHog/posthogSkill41ktodaynoneA216Claude Code
reviewing-personhog-protocolPostHog/posthogSkill41ktodaynoneA111Claude Code, Codex