Creator · laolaoshiren
Last updated · Sep 2, 2026
安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。
Creator · laolaoshiren
Last updated · Sep 2, 2026
安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。
Creator · laolaoshiren
Last updated · Sep 2, 2026
安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。
Creator · laolaoshiren
Last updated · Sep 2, 2026
安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。
Sandbox only
Install targets
Codex install prompt
Install the "eslint-fix" agent skill from https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/eslint-fix. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"laolaoshiren-eslint-fix","task":"Install eslint-fix","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Maintenance
fresh
7d since push
Risk
Safe to try
Quality score needs review
GitHub quality
812
76/100 Quality · 80/100 Trust
Coverage tags
Review notes
Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
812 GitHub stars
Repo activity
812 stars, 84 forks
Maintenance
7d since push
License
MIT
Install
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
Agent should check
Copy prompt
Task: Use eslint-fix in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install
Install command: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
LLM text format
/api/skills/laolaoshiren-eslint-fix/install?format=text
Find alternatives
/api/skills/search?q=eslint-fix&limit=3
Agent prompt
Use eslint-fix for this task. Review https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install, then install with: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/laolaoshiren-eslint-fix
LLM text
/api/registry/manifest/laolaoshiren-eslint-fix?format=text
Install alias
/api/registry/install/laolaoshiren-eslint-fix
Recommend
/api/registry/recommend?task=Use%20eslint-fix%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Browser automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO812 GitHub stars
Stars/forks activity
INFO812 stars, 84 forks; issue activity unavailable in current metadata
Recent maintenance
PASS7d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: eslint-fix description: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 ---
# ESLint 修复助手
## 工作流程
### 1. 识别项目工具链
读取:
- `package.json` 中的 scripts、`devDependencies` 和 `packageManager`。 - npm、pnpm、Yarn 或 Bun 的 lockfile。 - `eslint.config.*`、`.eslintrc.*`、`.eslintignore`、Prettier 和 TypeScript 配置。 - 适用的仓库规则、Git 状态和用户指定的文件范围。
优先运行仓库已有的 lint script。只有确认 ESLint 已被当前项目锁定并安装时,才使用对应包管理器的本地执行方式。若缺失依赖,先报告;安装包、更新 lockfile 或迁移配置需要单独授权。
### 2. 建立只读基线
先对用户指定或本轮相关范围运行不修改文件的检查,记录:
- 实际命令、ESLint 版本和退出状态。 - error / warning 数量、涉及文件和规则。 - 基线中已有的问题与本轮引入的问题。
不要默认扫描整个大型仓库,也不要用未锁定依赖、可能联网下载新版本的 `npx` 调用。
### 3. 预览可修复范围
- 使用项目现有命令支持的 `--fix-dry-run`、JSON 输出或等价能力判断预计改动。 - 检查当前 Git diff,确认目标文件没有与用户修改重叠。 - 区分可自动修复、需要理解代码语义、需要配置决策三类问题。 - 展示预计修改范围;可能产生大面积格式 diff 或改变逻辑时先取得确认。
### 4. 限定范围修复
- 只对已确认的文件执行 `--fix`,不自动扩大到整个仓库。 - 对 `no-explicit-any`、未处理 Promise、React Hooks 依赖等语义规则,结合类型、调用方和运行路径修改,不能机械替换。 - 不为消除报错而默认禁用规则、加入全局 ignore、修改 formatter 顺序或降低严重级别。 - Prettier 与 ESLint 的执行顺序以项目现有 scripts 和集成配置为准。
常见可自动修复规则包括 `semi`、`quotes`、`indent`、`no-trailing-spaces`、`comma-dangle`、`arrow-parens` 和 `prefer-const`;dry-run 和 diff 只能预览改动,最终仍需按风险运行类型检查、测试或构建。
### 5. 复验
实际修改后:
1. 重新运行目标范围 lint。 2. 按改动风险运行类型检查、相关测试或构建。 3. 查看 Git diff,确认没有 lockfile、生成物或无关格式变化。 4. 记录未解决规则、原因和建议下一步。
## 安全边界
- 未经明确授权,不安装或升级依赖,不修改 lockfile、ESLint 配置、Prettier 配置或项目脚本。 - 不覆盖工作树中已有修改;目标文件存在重叠时先报告。 - 不声称“已修复”或“可编译”,除非对应命令真实运行并成功。 - Windows 与 Linux 都优先使用项目已有 scripts 和路径,不硬编码 shell 专属命令。
## 输出
```markdown ## ESLint 检查结果
- 范围: - ESLint / 包管理器版本: - 基线:X error,Y warning - 实际命令与退出状态:
## 修改
| 文件 | 规则 | 处理方式 | |------|------|----------|
## 复验
- lint: - 类型检查 / 测试 / 构建: - 未解决问题与原因: ```
Source provenance
Decision snapshot
812 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for eslint-fix, ready for a manual X post.
eslint-fix: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目... 812 stars https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x
Listing + install path for eslint-fix: https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x Install: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to laolaoshiren but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix/audit)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)laolaoshiren
@laolaoshiren
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "eslint-fix" agent skill from https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/eslint-fix. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"laolaoshiren-eslint-fix","task":"Install eslint-fix","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Maintenance
fresh
7d since push
Risk
Safe to try
Quality score needs review
GitHub quality
812
76/100 Quality · 80/100 Trust
Coverage tags
Review notes
Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
812 GitHub stars
Repo activity
812 stars, 84 forks
Maintenance
7d since push
License
MIT
Install
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
Agent should check
Copy prompt
Task: Use eslint-fix in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install
Install command: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
LLM text format
/api/skills/laolaoshiren-eslint-fix/install?format=text
Find alternatives
/api/skills/search?q=eslint-fix&limit=3
Agent prompt
Use eslint-fix for this task. Review https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install, then install with: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/laolaoshiren-eslint-fix
LLM text
/api/registry/manifest/laolaoshiren-eslint-fix?format=text
Install alias
/api/registry/install/laolaoshiren-eslint-fix
Recommend
/api/registry/recommend?task=Use%20eslint-fix%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Browser automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO812 GitHub stars
Stars/forks activity
INFO812 stars, 84 forks; issue activity unavailable in current metadata
Recent maintenance
PASS7d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: eslint-fix description: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 ---
# ESLint 修复助手
## 工作流程
### 1. 识别项目工具链
读取:
- `package.json` 中的 scripts、`devDependencies` 和 `packageManager`。 - npm、pnpm、Yarn 或 Bun 的 lockfile。 - `eslint.config.*`、`.eslintrc.*`、`.eslintignore`、Prettier 和 TypeScript 配置。 - 适用的仓库规则、Git 状态和用户指定的文件范围。
优先运行仓库已有的 lint script。只有确认 ESLint 已被当前项目锁定并安装时,才使用对应包管理器的本地执行方式。若缺失依赖,先报告;安装包、更新 lockfile 或迁移配置需要单独授权。
### 2. 建立只读基线
先对用户指定或本轮相关范围运行不修改文件的检查,记录:
- 实际命令、ESLint 版本和退出状态。 - error / warning 数量、涉及文件和规则。 - 基线中已有的问题与本轮引入的问题。
不要默认扫描整个大型仓库,也不要用未锁定依赖、可能联网下载新版本的 `npx` 调用。
### 3. 预览可修复范围
- 使用项目现有命令支持的 `--fix-dry-run`、JSON 输出或等价能力判断预计改动。 - 检查当前 Git diff,确认目标文件没有与用户修改重叠。 - 区分可自动修复、需要理解代码语义、需要配置决策三类问题。 - 展示预计修改范围;可能产生大面积格式 diff 或改变逻辑时先取得确认。
### 4. 限定范围修复
- 只对已确认的文件执行 `--fix`,不自动扩大到整个仓库。 - 对 `no-explicit-any`、未处理 Promise、React Hooks 依赖等语义规则,结合类型、调用方和运行路径修改,不能机械替换。 - 不为消除报错而默认禁用规则、加入全局 ignore、修改 formatter 顺序或降低严重级别。 - Prettier 与 ESLint 的执行顺序以项目现有 scripts 和集成配置为准。
常见可自动修复规则包括 `semi`、`quotes`、`indent`、`no-trailing-spaces`、`comma-dangle`、`arrow-parens` 和 `prefer-const`;dry-run 和 diff 只能预览改动,最终仍需按风险运行类型检查、测试或构建。
### 5. 复验
实际修改后:
1. 重新运行目标范围 lint。 2. 按改动风险运行类型检查、相关测试或构建。 3. 查看 Git diff,确认没有 lockfile、生成物或无关格式变化。 4. 记录未解决规则、原因和建议下一步。
## 安全边界
- 未经明确授权,不安装或升级依赖,不修改 lockfile、ESLint 配置、Prettier 配置或项目脚本。 - 不覆盖工作树中已有修改;目标文件存在重叠时先报告。 - 不声称“已修复”或“可编译”,除非对应命令真实运行并成功。 - Windows 与 Linux 都优先使用项目已有 scripts 和路径,不硬编码 shell 专属命令。
## 输出
```markdown ## ESLint 检查结果
- 范围: - ESLint / 包管理器版本: - 基线:X error,Y warning - 实际命令与退出状态:
## 修改
| 文件 | 规则 | 处理方式 | |------|------|----------|
## 复验
- lint: - 类型检查 / 测试 / 构建: - 未解决问题与原因: ```
Source provenance
Decision snapshot
812 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for eslint-fix, ready for a manual X post.
eslint-fix: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目... 812 stars https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x
Listing + install path for eslint-fix: https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x Install: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to laolaoshiren but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix/audit)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)laolaoshiren
@laolaoshiren
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "eslint-fix" agent skill from https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/eslint-fix. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"laolaoshiren-eslint-fix","task":"Install eslint-fix","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Maintenance
fresh
7d since push
Risk
Safe to try
Quality score needs review
GitHub quality
812
76/100 Quality · 80/100 Trust
Coverage tags
Review notes
Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
812 GitHub stars
Repo activity
812 stars, 84 forks
Maintenance
7d since push
License
MIT
Install
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
Agent should check
Copy prompt
Task: Use eslint-fix in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install
Install command: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
LLM text format
/api/skills/laolaoshiren-eslint-fix/install?format=text
Find alternatives
/api/skills/search?q=eslint-fix&limit=3
Agent prompt
Use eslint-fix for this task. Review https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install, then install with: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/laolaoshiren-eslint-fix
LLM text
/api/registry/manifest/laolaoshiren-eslint-fix?format=text
Install alias
/api/registry/install/laolaoshiren-eslint-fix
Recommend
/api/registry/recommend?task=Use%20eslint-fix%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Browser automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO812 GitHub stars
Stars/forks activity
INFO812 stars, 84 forks; issue activity unavailable in current metadata
Recent maintenance
PASS7d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: eslint-fix description: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 ---
# ESLint 修复助手
## 工作流程
### 1. 识别项目工具链
读取:
- `package.json` 中的 scripts、`devDependencies` 和 `packageManager`。 - npm、pnpm、Yarn 或 Bun 的 lockfile。 - `eslint.config.*`、`.eslintrc.*`、`.eslintignore`、Prettier 和 TypeScript 配置。 - 适用的仓库规则、Git 状态和用户指定的文件范围。
优先运行仓库已有的 lint script。只有确认 ESLint 已被当前项目锁定并安装时,才使用对应包管理器的本地执行方式。若缺失依赖,先报告;安装包、更新 lockfile 或迁移配置需要单独授权。
### 2. 建立只读基线
先对用户指定或本轮相关范围运行不修改文件的检查,记录:
- 实际命令、ESLint 版本和退出状态。 - error / warning 数量、涉及文件和规则。 - 基线中已有的问题与本轮引入的问题。
不要默认扫描整个大型仓库,也不要用未锁定依赖、可能联网下载新版本的 `npx` 调用。
### 3. 预览可修复范围
- 使用项目现有命令支持的 `--fix-dry-run`、JSON 输出或等价能力判断预计改动。 - 检查当前 Git diff,确认目标文件没有与用户修改重叠。 - 区分可自动修复、需要理解代码语义、需要配置决策三类问题。 - 展示预计修改范围;可能产生大面积格式 diff 或改变逻辑时先取得确认。
### 4. 限定范围修复
- 只对已确认的文件执行 `--fix`,不自动扩大到整个仓库。 - 对 `no-explicit-any`、未处理 Promise、React Hooks 依赖等语义规则,结合类型、调用方和运行路径修改,不能机械替换。 - 不为消除报错而默认禁用规则、加入全局 ignore、修改 formatter 顺序或降低严重级别。 - Prettier 与 ESLint 的执行顺序以项目现有 scripts 和集成配置为准。
常见可自动修复规则包括 `semi`、`quotes`、`indent`、`no-trailing-spaces`、`comma-dangle`、`arrow-parens` 和 `prefer-const`;dry-run 和 diff 只能预览改动,最终仍需按风险运行类型检查、测试或构建。
### 5. 复验
实际修改后:
1. 重新运行目标范围 lint。 2. 按改动风险运行类型检查、相关测试或构建。 3. 查看 Git diff,确认没有 lockfile、生成物或无关格式变化。 4. 记录未解决规则、原因和建议下一步。
## 安全边界
- 未经明确授权,不安装或升级依赖,不修改 lockfile、ESLint 配置、Prettier 配置或项目脚本。 - 不覆盖工作树中已有修改;目标文件存在重叠时先报告。 - 不声称“已修复”或“可编译”,除非对应命令真实运行并成功。 - Windows 与 Linux 都优先使用项目已有 scripts 和路径,不硬编码 shell 专属命令。
## 输出
```markdown ## ESLint 检查结果
- 范围: - ESLint / 包管理器版本: - 基线:X error,Y warning - 实际命令与退出状态:
## 修改
| 文件 | 规则 | 处理方式 | |------|------|----------|
## 复验
- lint: - 类型检查 / 测试 / 构建: - 未解决问题与原因: ```
Source provenance
Decision snapshot
812 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for eslint-fix, ready for a manual X post.
eslint-fix: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目... 812 stars https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x
Listing + install path for eslint-fix: https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x Install: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to laolaoshiren but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix/audit)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)laolaoshiren
@laolaoshiren
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "eslint-fix" agent skill from https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/eslint-fix. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"laolaoshiren-eslint-fix","task":"Install eslint-fix","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
GitHub automation
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Maintenance
fresh
7d since push
Risk
Safe to try
Quality score needs review
GitHub quality
812
76/100 Quality · 80/100 Trust
Coverage tags
Review notes
Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
812 GitHub stars
Repo activity
812 stars, 84 forks
Maintenance
7d since push
License
MIT
Install
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixDo not use when
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
Agent should check
Copy prompt
Task: Use eslint-fix in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20eslint-fix%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install
Install command: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/laolaoshiren-eslint-fix/install
LLM text format
/api/skills/laolaoshiren-eslint-fix/install?format=text
Find alternatives
/api/skills/search?q=eslint-fix&limit=3
Agent prompt
Use eslint-fix for this task. Review https://www.openagentskill.com/api/skills/laolaoshiren-eslint-fix/install, then install with: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fixRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/laolaoshiren-eslint-fix
LLM text
/api/registry/manifest/laolaoshiren-eslint-fix?format=text
Install alias
/api/registry/install/laolaoshiren-eslint-fix
Recommend
/api/registry/recommend?task=Use%20eslint-fix%20in%20an%20agent%20workflow&limit=3
Agent fit
Browser automation
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Browser automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO812 GitHub stars
Stars/forks activity
INFO812 stars, 84 forks; issue activity unavailable in current metadata
Recent maintenance
PASS7d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: eslint-fix description: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。 ---
# ESLint 修复助手
## 工作流程
### 1. 识别项目工具链
读取:
- `package.json` 中的 scripts、`devDependencies` 和 `packageManager`。 - npm、pnpm、Yarn 或 Bun 的 lockfile。 - `eslint.config.*`、`.eslintrc.*`、`.eslintignore`、Prettier 和 TypeScript 配置。 - 适用的仓库规则、Git 状态和用户指定的文件范围。
优先运行仓库已有的 lint script。只有确认 ESLint 已被当前项目锁定并安装时,才使用对应包管理器的本地执行方式。若缺失依赖,先报告;安装包、更新 lockfile 或迁移配置需要单独授权。
### 2. 建立只读基线
先对用户指定或本轮相关范围运行不修改文件的检查,记录:
- 实际命令、ESLint 版本和退出状态。 - error / warning 数量、涉及文件和规则。 - 基线中已有的问题与本轮引入的问题。
不要默认扫描整个大型仓库,也不要用未锁定依赖、可能联网下载新版本的 `npx` 调用。
### 3. 预览可修复范围
- 使用项目现有命令支持的 `--fix-dry-run`、JSON 输出或等价能力判断预计改动。 - 检查当前 Git diff,确认目标文件没有与用户修改重叠。 - 区分可自动修复、需要理解代码语义、需要配置决策三类问题。 - 展示预计修改范围;可能产生大面积格式 diff 或改变逻辑时先取得确认。
### 4. 限定范围修复
- 只对已确认的文件执行 `--fix`,不自动扩大到整个仓库。 - 对 `no-explicit-any`、未处理 Promise、React Hooks 依赖等语义规则,结合类型、调用方和运行路径修改,不能机械替换。 - 不为消除报错而默认禁用规则、加入全局 ignore、修改 formatter 顺序或降低严重级别。 - Prettier 与 ESLint 的执行顺序以项目现有 scripts 和集成配置为准。
常见可自动修复规则包括 `semi`、`quotes`、`indent`、`no-trailing-spaces`、`comma-dangle`、`arrow-parens` 和 `prefer-const`;dry-run 和 diff 只能预览改动,最终仍需按风险运行类型检查、测试或构建。
### 5. 复验
实际修改后:
1. 重新运行目标范围 lint。 2. 按改动风险运行类型检查、相关测试或构建。 3. 查看 Git diff,确认没有 lockfile、生成物或无关格式变化。 4. 记录未解决规则、原因和建议下一步。
## 安全边界
- 未经明确授权,不安装或升级依赖,不修改 lockfile、ESLint 配置、Prettier 配置或项目脚本。 - 不覆盖工作树中已有修改;目标文件存在重叠时先报告。 - 不声称“已修复”或“可编译”,除非对应命令真实运行并成功。 - Windows 与 Linux 都优先使用项目已有 scripts 和路径,不硬编码 shell 专属命令。
## 输出
```markdown ## ESLint 检查结果
- 范围: - ESLint / 包管理器版本: - 基线:X error,Y warning - 实际命令与退出状态:
## 修改
| 文件 | 规则 | 处理方式 | |------|------|----------|
## 复验
- lint: - 类型检查 / 测试 / 构建: - 未解决问题与原因: ```
Source provenance
Decision snapshot
812 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for eslint-fix, ready for a manual X post.
eslint-fix: 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目... 812 stars https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x
Listing + install path for eslint-fix: https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=x Install: npx skills add laolaoshiren/claude-code-skills-zh --skill eslint-fix
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to laolaoshiren but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix/audit)
[](https://www.openagentskill.com/skills/laolaoshiren-eslint-fix?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)laolaoshiren
@laolaoshiren
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness