Agent Skills
› Shape-Machine/tusk-macos
› tusk-make-run
tusk-make-run
GitHub用于在 Tusk macOS 项目中执行 make run 以构建并启动应用,同时捕获输出并诊断编译、链接或签名等构建失败原因。
Trigger Scenarios
用户要求运行 make run
需要构建和启动 Tusk 应用
诊断构建或启动失败
Install
npx skills add Shape-Machine/tusk-macos --skill tusk-make-run -g -y
SKILL.md
Frontmatter
{
"name": "tusk-make-run",
"description": "Use when the user asks to run `make run` for the Tusk macOS project, build and launch the app, or diagnose build and launch failures."
}
Tusk Make Run
Run make run to build and launch the Tusk app. This kills any running Tusk instance, builds the project, and opens 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.
If the command fails or produces errors:
- Read the error output carefully.
- Identify the root cause.
- Present the user with a one-line summary, the specific error line or lines, and concrete recommended actions.
Common failure categories:
- Compile errors: pinpoint the Swift or Objective-C file and line.
- Linker errors: identify missing frameworks or libraries.
- Code signing or provisioning errors: call out expired certificates, missing entitlements, or provisioning issues.
- Missing generated files:
project.ymlmay be out of sync andxcodegen generatemay be needed. - Missing
xcodebuild: Xcode may be absent orxcode-selectmay point to the wrong path. - App launch failure: the build succeeded but
openfailed due to the app path or sandbox state.
Do not auto-fix run failures unless the user explicitly asks for repairs.
Version History
- c3e7592 Current 2026-08-16 15:43


