/macos-test-diagnose
Run the smallest meaningful macOS test scope first and explain failures by category.
$ npx -y skills add Xopoko/plug-n-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/macos-test-diagnose
Context preview
What this command does when you run it.
Run the smallest meaningful macOS test scope first and explain failures by category.
Command definition
macos-test-diagnose.md/macos-test-diagnose
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.
Ready-to-install skills and plugins that make coding agents better at real development work. Plug'n Skills is a library of plugin packs for Codex, Claude Code, Cursor, and other coding agents.
Repo: Xopoko/plug-n-skills
Other commands on plug-n-skills.
- /macos-runtime-debug
Create or update the project-local macOS `build_and_run.sh` script, wire the host run action when supported, then use that script as the default build/run entrypoint.
Open command - /macos-signing-inspect
Inspect a macOS signing or entitlement failure and explain the minimum fix path.
Open command

