eslint-auto-fix-agent

Automatically detects and fixes JavaScript/TypeScript syntax issues using ESLint v9 flat configuration and the ESLint Node.js API; supports custom rule configuration and can work with lint-staged to process staged files.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "eslint-auto-fix-agent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9dcc60eac8ffaa593560ef45a8fbc15f9c2e0df1faaec0a90ae6bcd0a8324f0e. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/eslint-auto-fix-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Automatically detects and fixes JavaScript/TypeScript syntax issues using ESLint v9 flat configuration and the ESLint Node.js API; supports custom rule configuration and can work with lint-staged to process staged files.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "ESLint 自动修复代理"
slug: "eslint-auto-fix-agent"
version: "1.0.0"
displayName: "ESLint 自动修复代理"
summary: "使用 ESLint v9 flat 配置和 ESLint Node.js API 自动检测和修复 JavaScript/TypeScript 语法问题。支持自定义规则配置和使用 lint-staged 进行暂存文件处理。"
license: "MIT"
description: "使用 ESLint v9 flat 配置和 ESLint Node.js API 自动检测和修复 JavaScript/TypeScript 语法问题。支持自定义规则配置和使用 lint-staged 进行暂存文件处理。"
github_stars: 27188
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 27188
  npm_package: "eslint"
  npm_weekly_downloads: 120215107

ESLint 自动修复代理

Automatically detect and fix JavaScript/TypeScript linting issues using ESLint v9 flat config and the ESLint Node.js API. Supports custom rule configurations and staged file processing with lint-staged.

Installation

Use the upstream install or setup path that matches your environment:

  • npm init @eslint/config@latest
  • npx eslint yourfile.js

Requirements and caveats from upstream:

  • To use ESLint, you must have Node.js (^20.19.0, ^22.13.0, or >=24) installed and built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)
  • node-linker=hoisted
  • Which Node.js versions does ESLint support?

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供 ESLint 自动检测和修复 JavaScript/TypeScript 语法问题的能力,满足代码质量保障的高频刚需
  • 支持自定义规则配置和 lint-staged 暂存文件处理,适用场景广泛
Trigger Precision95/100

Highlights

  • description 明确描述了使用 ESLint v9 flat 配置和 Node.js API 自动检测和修复语法问题,触发词精准完整
Structure and Standards75/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档缺少完整的端到端使用示例,用户可能难以理解完整执行流程

    Recommendation: 建议添加一个完整的使用示例,展示从安装配置到执行修复的完整流程

  • 缺少明确的步骤划分 Reported severity: Minor

    文档缺少清晰的 Phase/步骤划分和出口条件说明

    Recommendation: 建议将使用流程划分为清晰的步骤,并说明每个步骤的出口条件

Highlights

  • frontmatter 完整,包含必要的元数据信息
  • Installation 章节提供了基本的使用说明和前置条件
Execution Reliability70/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Major

    未覆盖主要异常处理场景,如 ESLint 配置错误、文件权限问题等

    Recommendation: 建议添加常见异常情况的处理说明和错误排查指南

  • 缺少不可逆操作确认机制 Reported severity: Major

    文件修改属于不可逆操作,但未提及任何确认机制或备份建议

    Recommendation: 建议在执行文件修改前添加确认步骤,或提供备份原文件的选项

Highlights

  • 工具来源明确(ESLint 官方),参数正确
  • 列出了 Node.js 版本要求和 SSL 支持等必要前置条件
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 29
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • nodejs.org
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.