Agent Skills
› Shape-Machine/tusk-macos
› tusk-make-clean
tusk-make-clean
GitHub执行 Tusk 项目的 make clean 命令以清理 Xcode 构建产物,并诊断可能出现的错误。若成功则报告结果,若失败则分析根因并提供具体的修复建议,但不自动修复。
Trigger Scenarios
用户需要清理 Xcode 构建缓存或产物
构建流程出现错误需要诊断原因
Install
npx skills add Shape-Machine/tusk-macos --skill tusk-make-clean -g -y
SKILL.md
Frontmatter
{
"name": "tusk-make-clean",
"description": "Run `make clean` on the Tusk project and diagnose any errors",
"allowed-tools": "Bash, Read, Grep",
"disable-model-invocation": false
}
Tusk Make Clean
Run make clean to remove Xcode build artifacts for the Tusk project.
Steps
1. Run clean
make clean
Capture the full output.
2. Evaluate result
If the command exits successfully (** CLEAN SUCCEEDED ** appears in output):
- Report success concisely. No further action needed.
If the command fails or produces errors:
- Read the error output carefully.
- Identify the root cause (e.g. missing project file, xcodebuild not found, scheme mismatch, DerivedData permissions issue, etc.).
- Present the user with:
- A clear one-line summary of what went wrong.
- The specific error line(s) from the output.
- Concrete recommended actions to resolve it (e.g. run
xcodegen generatefirst, check Xcode installation, fix permissions on DerivedData, etc.).
- Do NOT attempt to auto-fix — just diagnose and recommend.
Version History
- c3e7592 Current 2026-08-16 15:43


