jmagly/aiwg/eslint-checker

Claude Code and agent skill by jmagly/aiwg

Trust tier 2
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Run ESLint for JavaScript/TypeScript code quality and style enforcement. Use for static analysis and auto-fixing.

Install

npx vskill@latest install jmagly/aiwg/eslint-checker

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

ESLint Checker Skill

Purpose

Single responsibility: Execute ESLint for static analysis, style enforcement, and auto-fixing of JavaScript/TypeScript code. (BP-4)

Grounding Checkpoint (Archetype 1 Mitigation)

Before executing, VERIFY:

  • [ ] Node.js and npm available
  • [ ] ESLint installed (local or global)
  • [ ] Configuration file exists (eslint.config.js, .eslintrc.*)
  • [ ] Target files/directories exist

DO NOT run ESLint without confirming configuration.

Uncertainty Escalation (Archetype 2 Mitigation)

ASK USER instead of guessing when:

  • Multiple ESLint configs found
  • Auto-fix scope unclear (all vs specific rules)
  • Conflicting rules with Prettier
  • Custom rule configuration needed

NEVER auto-fix without user confirmation on production code.

Context Scope (Archetype 3 Mitigation)

Context TypeIncludedExcluded
RELEVANTSource files, ESLint config, ignore patternsTest files (unless requested)
PERIPHERALPrettier config, tsconfigBuild outputs
DISTRACTORnode_modulesDeployment configs

Workflow Steps

Step 1: Environment Check (Grounding)
bash
# Verify ESLint installed
npx eslint --version || npm install -D eslint
# Check config exists
ls eslint.config.* .eslintrc.* 2>/dev/null || echo "No ESLint config found"
# List ignored patterns
cat .eslintignore 2>/dev/null || echo "No .eslintignore"
Step 2: Run Linting

Basic lint:

bash
npx eslint src/

With specific extensions:

bash
npx eslint . --ext .js,.ts,.tsx

JSON output for parsing:

bash
npx eslint src/ --format json > eslint_results.json

With auto-fix:

bash
npx eslint src/ --fix

Dry-run fix (preview):

bash
npx eslint src/ --fix-dry-run
Step 3: Analyze Results
bash
# Summary format
npx eslint src/ --format stylish
# Count by rule
npx eslint src/ --format json | jq '[.[].messages[].ruleId] | group_by(.) | map({rule: .[0], count: length}) | sort_by(.count) | reverse'
# Errors only (ignore warnings)
npx eslint src/ --quiet
Step 4: Generate Report
bash
# HTML report
npx eslint src/ --format html -o eslint_report.html
# Markdown summary
echo "# ESLint Report"
echo "## Summary"
npx eslint src/ --format compact 2>&1 | tail -5

Recovery Protocol (Archetype 4 Mitigation)

On error:

  1. PAUSE - Don't auto-fix on error
  2. DIAGNOSE - Check error type:
  • Parsing error → Check TypeScript config, syntax
  • Rule not found → Install missing plugin
  • Config error → Validate eslint.config.js
  • No files found → Check paths, ignore patterns
  1. ADAPT - Adjust scope or configuration
  2. RETRY - With corrected settings (max 3 attempts)
  3. ESCALATE - Report config issues to user

Checkpoint Support

State saved to: .aiwg/working/checkpoints/eslint-checker/

checkpoints/eslint-checker/
├── lint_results.json # Full results
├── error_summary.md # Error counts by rule
├── fix_preview.diff # Proposed fixes
└── config_validation.json # Config check results

Common ESLint Options

OptionPurpose
--fixAuto-fix fixable issues
--fix-dry-runPreview fixes
--quietErrors only
--max-warnings NFail if > N warnings
--cacheUse cache for speed
--format jsonJSON output
--ext .ts,.tsxFile extensions

Configuration Templates

eslint.config.js (flat config):

javascript
import js from '@eslint/js'
import typescript from '@typescript-eslint/eslint-plugin'
import tsParser from '@typescript-eslint/parser'
export default [
js.configs.recommended,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parser: tsParser,
parserOptions: {
project: './tsconfig.json'
}
},
plugins: {
'@typescript-eslint': typescript
},
rules: {
...typescript.configs.recommended.rules,
'@typescript-eslint/no-unused-vars': 'error'
}
},
{
ignores: ['node_modules/', 'dist/', '*.config.js']
}
]

References

  • ESLint documentation: https://eslint.org/docs/
  • TypeScript ESLint: https://typescript-eslint.io/
  • REF-001: Production-Grade Agentic Workflows (BP-4)
  • REF-002: LLM Failure Modes (Archetype 1 grounding)

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
96
Repository forks
12
Repository npm downloads, 7 days
2,424
7-day trend score
41

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 19 Mar 2026, 8 months ago.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jmagly/aiwg/eslint-checker/badge)](https://verified-skill.com/skills/jmagly/aiwg/eslint-checker)

Something wrong with this skill or its page? Tell us.