Agent Skillsrobinebers/openusage › test-macos-app

test-macos-app

GitHub

针对 macOS 应用的测试技能,优先运行最小测试范围并分类解释失败原因。支持指定 scheme、target 等参数,自动检测构建工具,将失败归类为编译、断言、崩溃等类型,并提供修复建议。

.agents/skills/test-macos-app/SKILL.md robinebers/openusage

Trigger Scenarios

用户请求测试 macOS 应用 用户询问测试失败原因 需要缩小测试范围以快速定位问题

Install

npx skills add robinebers/openusage --skill test-macos-app -g -y
More Options

Non-standard path

npx skills add https://github.com/robinebers/openusage/tree/main/.agents/skills/test-macos-app -g -y

Use without installing

npx skills use robinebers/openusage@test-macos-app

指定 Agent (Claude Code)

npx skills add robinebers/openusage --skill test-macos-app -a claude-code -g -y

安装 repo 全部 skill

npx skills add robinebers/openusage --all -g -y

预览 repo 内 skill

npx skills add robinebers/openusage --list

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: Debug or Release (optional, default: Debug)

Workflow

  1. Detect whether the repo uses xcodebuild test or swift test.
  2. Prefer focused test execution when a target or filter is provided.
  3. Classify failures as compile, assertion, crash, env/setup, or flake.
  4. 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

Same Skill Collection

.agents/skills/appkit-interop/SKILL.md
.agents/skills/build-and-run-macos-app/SKILL.md
.agents/skills/build-run-debug/SKILL.md
.agents/skills/fix-codesign-error/SKILL.md
.agents/skills/liquid-glass/SKILL.md
.agents/skills/macos-appkit-interop/SKILL.md
.agents/skills/macos-build-run-debug/SKILL.md
.agents/skills/macos-liquid-glass/SKILL.md
.agents/skills/macos-packaging-notarization/SKILL.md
.agents/skills/macos-signing-entitlements/SKILL.md
.agents/skills/macos-swiftpm/SKILL.md
.agents/skills/macos-swiftui-patterns/SKILL.md
.agents/skills/macos-telemetry/SKILL.md
.agents/skills/macos-test-triage/SKILL.md
.agents/skills/macos-view-refactor/SKILL.md
.agents/skills/macos-window-management/SKILL.md
.agents/skills/packaging-notarization/SKILL.md
.agents/skills/pricing-update/SKILL.md
.agents/skills/signing-entitlements/SKILL.md
.agents/skills/swiftpm-macos/SKILL.md
.agents/skills/swiftui-patterns/SKILL.md
.agents/skills/telemetry/SKILL.md
.agents/skills/test-triage/SKILL.md
.agents/skills/view-refactor/SKILL.md
.agents/skills/window-management/SKILL.md

Metadata

Files
0
Version
70acd4f
Hash
ec899c58
Indexed
2026-08-20 09:02

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 07:35
浙ICP备14020137号-1 $방문자$