eslint-fix
安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。
Skill by laolaoshiren
Chalk Labs
Need help deploying eslint-fix?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/laolaoshiren-eslint-fix
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/eslint-fix
What's inside
- Skill name
eslint-fix- Description
- 安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。
- License
- MIT
- Instructions
- 80 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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: - 类型检查 / 测试 / 构建: - 未解决问题与原因: ```
From laolaoshiren/claude-code-skills-zh, MIT.
More from laolaoshiren/claude-code-skills-zh
- 0.710score
dep-auditor
laolaoshiren
审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用
SkillCFreshness: C★ 893Claude Code +9 - 0.710score
skill-curator
laolaoshiren
中文 Skill 收录评估器。用于核验 GitHub 上的 Claude Code、Codex、Agent Skills、Plugin、MCP、CLI 或 Agent 工作流是否值得加入精选列表;检查真实资产、安装方式、活跃度、重复项和安全边界,并生成分类、中文描述与可追溯证据。
SkillCFreshness: C★ 893Claude Code +9 - 0.710score
api-tester
laolaoshiren
依据真实 OpenAPI、路由实现和现有测试生成并验证 API 测试。用于用户要求测试接口、补集成测试、验证 API 契约、生成回归用例或排查接口兼容性时;区分“生成测试”和“执行请求”的授权,不猜测状态码、响应结构或 SLA,不在未确认环境中发送写请求。
SkillCFreshness: C★ 893Claude Code +9 - 0.707score
git-workflow
laolaoshiren
安全处理 Git 状态检查、提交信息、commit、分支、push、PR 和 rebase。用于用户要求检查改动、生成或创建提交、管理分支、推送、发起 PR 或整理历史时;严格区分每个动作的授权,并保护工作树中已有和无关的修改。
SkillCFreshness: C★ 893Claude Code +9 - 0.707score
perf-profiler
laolaoshiren
基于可复现基线和 profiler 证据分析性能问题。用于用户要求定位慢接口、慢任务、慢查询、内存或网络瓶颈,制定优化方案,或验证优化收益时;区分实测结论与静态推断,不虚构耗时和提升比例,生产环境操作需明确授权。
SkillCFreshness: C★ 893Claude Code +9 - 0.707score
github-actions-gen
laolaoshiren
分析真实项目并生成或修订安全、可验证的 GitHub Actions workflow;当用户要求创建 CI、测试矩阵、构建、Release、部署、缓存、Secrets、OIDC、PR 自动化或排查 workflow 配置时使用
SkillCFreshness: C★ 893Claude Code +9 - 0.703score
changelog-gen
laolaoshiren
Changelog 生成器 - 从 Git 历史自动生成 CHANGELOG
SkillCFreshness: C★ 893Claude Code +9 - 0.703score
env-manager
laolaoshiren
环境变量管理器:扫描、校验、同步 .env 文件,生成安全配置模板
SkillCFreshness: C★ 893Claude Code +9 - 0.700score
db-migrator
laolaoshiren
数据库迁移助手 - Schema 对比、迁移脚本生成
SkillCFreshness: C★ 893Claude Code +9 - 0.700score
refactor-advisor
laolaoshiren
重构顾问 - 识别代码坏味道并提供重构方案
SkillCFreshness: C★ 893Claude Code +9 - 0.585score
test-generator
laolaoshiren
依据真实代码契约生成并验证单元测试或集成测试。用于用户要求为函数、类、接口或缺陷补测试、提高覆盖率、生成回归用例或完善测试策略时;先读取现有测试与调用方,不猜测空值、异常或超时行为,不自动安装框架或访问生产依赖。
SkillCFreshness: C★ 893Claude Code +9 - 0.546score
ds-mapper
laolaoshiren
项目目录结构地图 - 生成带说明的可视化目录树,快速理解任意代码库
SkillDFreshness: D★ 893Claude Code +9
Signals
- Stars
- 893
- Forks
- 108
- Open issues
- 1
- Last commit (this folder)
- Jul 15, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- claude-skills.bt199.com/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from laolaoshiren
- 0.710score
api-tester
laolaoshiren
依据真实 OpenAPI、路由实现和现有测试生成并验证 API 测试。用于用户要求测试接口、补集成测试、验证 API 契约、生成回归用例或排查接口兼容性时;区分“生成测试”和“执行请求”的授权,不猜测状态码、响应结构或 SLA,不在未确认环境中发送写请求。
SkillCFreshness: C★ 893Claude Code +9 - 0.710score
dep-auditor
laolaoshiren
审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用
SkillCFreshness: C★ 893Claude Code +9 - 0.710score
skill-curator
laolaoshiren
中文 Skill 收录评估器。用于核验 GitHub 上的 Claude Code、Codex、Agent Skills、Plugin、MCP、CLI 或 Agent 工作流是否值得加入精选列表;检查真实资产、安装方式、活跃度、重复项和安全边界,并生成分类、中文描述与可追溯证据。
SkillCFreshness: C★ 893Claude Code +9 - 0.707score
perf-profiler
laolaoshiren
基于可复现基线和 profiler 证据分析性能问题。用于用户要求定位慢接口、慢任务、慢查询、内存或网络瓶颈,制定优化方案,或验证优化收益时;区分实测结论与静态推断,不虚构耗时和提升比例,生产环境操作需明确授权。
SkillCFreshness: C★ 893Claude Code +9 - 0.707score
git-workflow
laolaoshiren
安全处理 Git 状态检查、提交信息、commit、分支、push、PR 和 rebase。用于用户要求检查改动、生成或创建提交、管理分支、推送、发起 PR 或整理历史时;严格区分每个动作的授权,并保护工作树中已有和无关的修改。
SkillCFreshness: C★ 893Claude Code +9 - 0.707score
github-actions-gen
laolaoshiren
分析真实项目并生成或修订安全、可验证的 GitHub Actions workflow;当用户要求创建 CI、测试矩阵、构建、Release、部署、缓存、Secrets、OIDC、PR 自动化或排查 workflow 配置时使用
SkillCFreshness: C★ 893Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get eslint-fix running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
eslint-fix skill. Agent Mart. https://agentmart.dev/skills/laolaoshiren-eslint-fix (last updated 2026-10-24)