Skip to content
Development
Command

/macos-test-diagnose

Run the smallest meaningful macOS test scope first and explain failures by category.

From plugin
plug-n-skills
93 skills3 commands
Install
$ npx -y skills add Xopoko/plug-n-skills --agent claude-code

How 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.
Ships withplug-n-skills

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.

Get the whole plugin, auto-invoked
Stats
9
Stars
0
Views
0
Forks
Active
Maintenance
Python
Language
MIT
License
12h ago
Last commit
2mo ago
Created

Repo: Xopoko/plug-n-skills