Agent Skills
› Shape-Machine/tusk-macos
› tusk-make-run
tusk-make-run
GitHub执行Tusk项目的构建与启动命令,捕获输出并诊断编译、链接、签名或环境配置等错误,提供失败原因摘要和修复建议,不自动修复。
Trigger Scenarios
需要构建并运行Tusk应用时
构建或启动过程报错需诊断时
Install
npx skills add Shape-Machine/tusk-macos --skill tusk-make-run -g -y
SKILL.md
Frontmatter
{
"name": "tusk-make-run",
"description": "Run `make run` on the Tusk project (builds then launches the app) and diagnose any errors",
"allowed-tools": "Bash, Read, Grep",
"disable-model-invocation": false
}
Tusk Make Run
Run make run to build and launch the Tusk app. This will kill any running Tusk instance, build the project, and open the freshly built app.
Steps
1. Run
make run
Capture the full output.
2. Evaluate result
If the command succeeds (** BUILD SUCCEEDED ** appears and the app opens):
- Report success concisely. No further action needed.
If the command fails or produces errors:
- Read the error output carefully.
- Identify the root cause. Common failure categories for this project:
- Compile errors — Swift/ObjC syntax or type errors; pinpoint the file and line.
- Linker errors — missing frameworks or libraries.
- Code signing / provisioning — expired certificate, missing entitlement.
- Missing generated files — project.yml out of sync;
xcodegen generatemay be needed first. - xcodebuild not found — Xcode not installed or
xcode-selectnot pointing to the right path. - App launch failure — built OK but
openfailed (wrong APP path, sandbox issue).
- Present the user with:
- A clear one-line summary of what went wrong.
- The specific error line(s) from the output (file path and line number if available).
- Concrete recommended actions to resolve it.
- Do NOT attempt to auto-fix — just diagnose and recommend.
Version History
- c3e7592 Current 2026-08-16 15:43


