Agent SkillsShape-Machine/tusk-macos › tusk-make-clean

tusk-make-clean

GitHub

执行 Tusk 项目的 make clean 命令清理 Xcode 构建产物,并诊断错误。成功时报告结果,失败时分析根因并提供修复建议,不自动修复。

.claude/skills/tusk-make-clean/SKILL.md Shape-Machine/tusk-macos

触发场景

用户请求清理项目构建缓存 Xcode 构建或清理报错需要诊断

安装

npx skills add Shape-Machine/tusk-macos --skill tusk-make-clean -g -y
更多选项

非标准路径

npx skills add https://github.com/Shape-Machine/tusk-macos/tree/main/.claude/skills/tusk-make-clean -g -y

不安装直接使用

npx skills use Shape-Machine/tusk-macos@tusk-make-clean

指定 Agent (Claude Code)

npx skills add Shape-Machine/tusk-macos --skill tusk-make-clean -a claude-code -g -y

安装 repo 全部 skill

npx skills add Shape-Machine/tusk-macos --all -g -y

预览 repo 内 skill

npx skills add Shape-Machine/tusk-macos --list

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:
    1. A clear one-line summary of what went wrong.
    2. The specific error line(s) from the output.
    3. Concrete recommended actions to resolve it (e.g. run xcodegen generate first, check Xcode installation, fix permissions on DerivedData, etc.).
  • Do NOT attempt to auto-fix — just diagnose and recommend.

版本历史

  • c3e7592 当前 2026-08-16 15:43

同 Skill 集合

.claude/skills/tusk-make-run/SKILL.md
.claude/skills/tusk-release/SKILL.md
.codex/skills/tusk-make-clean/SKILL.md
.codex/skills/tusk-make-run/SKILL.md
.codex/skills/tusk-release/SKILL.md

元信息

文件数
0
版本
c3e7592
Hash
b66bb2f7
收录时间
2026-08-16 15:43

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 13:01
浙ICP备14020137号-1