Agent Skills
› robinebers/openusage
› test-macos-app
test-macos-app
GitHub针对 macOS 应用的测试技能,优先运行最小测试范围并分类解释失败原因。支持指定 scheme、target 等参数,自动检测构建工具,将失败归类为编译、断言、崩溃等类型,并提供修复建议。
Trigger Scenarios
用户请求测试 macOS 应用
用户询问测试失败原因
需要缩小测试范围以快速定位问题
Install
npx skills add robinebers/openusage --skill test-macos-app -g -y
SKILL.md
Frontmatter
{
"name": "test-macos-app",
"description": "Slash command that runs the smallest meaningful macOS test scope first and explains failures by category. Invoke explicitly with \/test-macos-app — this skill never self-triggers.",
"disable-model-invocation": true
}
Test macOS App
Run the smallest meaningful macOS test scope first and explain failures by category.
Arguments
scheme: Xcode scheme name (optional)target: test target or product name (optional)filter: test filter expression (optional)configuration:DebugorRelease(optional, default:Debug)
Workflow
- Detect whether the repo uses
xcodebuild testorswift test. - Prefer focused test execution when a target or filter is provided.
- Classify failures as compile, assertion, crash, env/setup, or flake.
- Summarize the top blocker and the narrowest sensible next step.
Guardrails
- Avoid rerunning the full suite if a focused rerun is possible.
- Distinguish build failures from actual failing tests.
- Note when host app setup or simulator-only test assumptions leak into a macOS run.
Version History
- 70acd4f Current 2026-08-20 09:02


