Skip to content
AI & Agents
Command

/build-fix

增量修复 TypeScript 和构建错误:

BOOST
From plugin
ai-max
33610 skills9 agents10 commands
Install
$ npx -y skills add zhukunpenglinyutong/ai-max --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/build-fix

Context preview

What this command does when you run it.

增量修复 TypeScript 和构建错误:

Command definition

build-fix.md

构建与修复

增量修复 TypeScript 和构建错误:

1. 运行构建:npm run build 或 pnpm build

2. 解析错误输出:

  • 按文件分组
  • 按严重程度排序

3. 对于每个错误:

  • 显示错误上下文(前后各 5 行)
  • 解释问题所在
  • 提出修复方案
  • 应用修复
  • 重新运行构建
  • 验证错误已解决

4. 在以下情况时停止:

  • 修复引入了新错误
  • 同一错误在 3 次尝试后仍然存在
  • 用户请求暂停

5. 显示摘要:

  • 已修复的错误
  • 剩余的错误
  • 新引入的错误

为了安全起见,每次只修复一个错误!

Ships withai-max

这是基于 everything-claude-code 进行二次开发,提供npm一键安装方式,协议沿用MIT Claude Code 增强配置,开箱即用。 本仓库包含生产级 agents(代理)、skills(技能)、hooks(钩子)、commands(命令)、rules(规则)和 MCP 配置,帮助你快速提升 Claude Code 的使用体验。

Get the whole plugin

Other commands on ai-max.

tdd
Command

tdd

强制执行测试驱动开发工作流程。先搭建接口,先生成测试,然后实现最小代码使其通过。确保 80% 以上的覆盖率。