Macos build run debug

From robinebers/skills · View interactive version

Macos build run debug is an AI agent skill from the GitHub repository robinebers/skills. Build, run, and debug macOS apps with shell-first Xcode and Swift workflows. Use when launching apps or diagnosing build, startup, or runtime failures.

How to use this skill

Skill file

Build / Run / Debug

Quick Start

Use this skill to set up one project-local script/build_and_run.sh entrypoint,

then use that script as the default build/run path.

Prefer shell-first workflows:

Do not assume simulators, touch interaction, or mobile-specific tooling.

If an Xcode-aware MCP surface is already available and the user explicitly wants

it, use it only where it fits. Keep that usage narrow and honest: prefer it for

Xcode-oriented discovery, logging, or debugging support, and do not force

simulator-specific workflows onto pure macOS tasks.

Workflow

  1. Discover the project shape.
  1. Resolve the runnable target and process name.
  1. Create or update script/build_and_run.sh.

1. stop the existing running app/process if present,

2. build the macOS target,

3. launch the freshly built app or executable.

script shape. Do not fork a second authoritative snippet in another

skill or command.

  1. Build and run through the script.
  1. Summarize failures correctly.
  1. Debug the right way.
  1. Use Xcode-aware MCP tooling only when it helps.

Preferred Commands

References

Guardrails

Output Expectations

Provide:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.