Build Fix — Development skill for Claude Code
构建与修复 (Build and Fix).
How to install Build Fix
Installs to ~/.claude/skills/xu-xiang-everything-claude-code-zh-build-fix/SKILL.md
mkdir -p ~/.claude/skills/xu-xiang-everything-claude-code-zh-build-fix && curl -fsSL https://raw.githubusercontent.com/xu-xiang/everything-claude-code-zh/HEAD/commands/build-fix.md -o ~/.claude/skills/xu-xiang-everything-claude-code-zh-build-fix/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Build Fix does
构建与修复 (Build and Fix)
通过最小化、安全的改动,逐步修复构建(Build)和类型(Type)错误。
第 1 步:检测构建系统 (Detect Build System)
识别项目的构建工具并运行构建:
| 标识物 | 构建命令 (Build Command) |
|---|---|
带有 build 脚本的 package.json |
npm run build 或 pnpm build |
tsconfig.json (仅限 TypeScript) |
npx tsc --noEmit |
Cargo.toml |
cargo build 2>&1 |
pom.xml |
mvn compile |
build.gradle |
./gradlew compileJava |
go.mod |
go build ./... |
pyproject.toml |
python -m py_compile 或 `myp |
Alternatives in Development
- Fix Py Line Too Long 71.9k ★
- Grammar Check — Identify grammar and flow errors with targeted fix suggestions 7.8k ★
- n8n Validation Expert — Fix n8n validation errors with error catalog 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fix Imports
Fix Broken Imports
04 Fix MCP Server
Prompt 04: Fix MCP Server Build
Fix Cookbook Recipe
Fix Cookbook Recipe Validation Failures
Investigate Performance
Investigate a Nimbalyst performance problem (freeze, lag, idle CPU, slow op, memory growth) with measured evid
Env Fix
テスト実行に必要な環境依存問題(パッケージ不足、環境変数未設定、設定ファイル不備、外部サービス未起動)を自動的に分析・修正します。auto-debugから委譲される他、ユーザが直接呼び出すことも可能です。
Timeout Fix
テスト実行のタイムアウト問題を分析し、テストの高速化または適切な分離を行います。auto-debugから委譲される他、ユーザが直接呼び出すことも可能です。
Related Agents
Systematic Debugger
Use this agent when you need to diagnose and fix bugs, errors, or unexpected behavior in code. This includes s
New Track
Create a new track (feature, bug fix, chore, or refactor) with a detailed specification and phased i... - wsho
Tend
Tend the Allium garden. Use when the user wants to write, edit, update, add to, improve, clarify, refine, rest