Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ios-debugger-agent/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ Follow this sequence unless the user asks for a narrower action.
### 1) Discover the booted simulator
- Call `mcp__XcodeBuildMCP__list_sims` and select the simulator with state `Booted`.
- If none are booted, ask the user to boot one (do not boot automatically unless asked).
- If multiple are booted, ask the user which simulator to use unless there is an existing default that already matches.
- If booted list is stale, still call `mcp__XcodeBuildMCP__list_sims` again before launch.

### 2) Set session defaults
- Call `mcp__XcodeBuildMCP__session-set-defaults` with:
When context is unclear, re-run discovery (`mcp__XcodeBuildMCP__list_sims` and `mcp__XcodeBuildMCP__discover_projs`) then call `mcp__XcodeBuildMCP__session-set-defaults` with:
- `projectPath` or `workspacePath` (whichever the repo uses)
- `scheme` for the current app
- `simulatorId` from the booted device
- Optional: `configuration: "Debug"`, `useLatestOS: true`
- If the scheme is unknown, run `mcp__XcodeBuildMCP__discover_projs` and pick the current app scheme when possible.

### 3) Build + run (when requested)
- Call `mcp__XcodeBuildMCP__build_run_sim`.
Expand All @@ -44,6 +47,7 @@ Use these when asked to inspect or interact with the running app.
- Start logs: `mcp__XcodeBuildMCP__start_sim_log_cap` with the app bundle id.
- Stop logs: `mcp__XcodeBuildMCP__stop_sim_log_cap` and summarize important lines.
- For console output, set `captureConsole: true` and relaunch if required.
- Prefer restarting log capture after relaunch to avoid mixing pre/post-launch noise.

## Troubleshooting
- If build fails, ask whether to retry with `preferXcodebuild: true`.
Expand Down
2 changes: 1 addition & 1 deletion ios-debugger-agent/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
interface:
display_name: "iOS Debugger Agent"
short_description: "Debug iOS apps on Simulator"
default_prompt: "Use $ios-debugger-agent to build, launch, and inspect the current iOS app on the booted simulator."
default_prompt: "Use $ios-debugger-agent to build, launch, and debug the current iOS app on the booted simulator."