[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQDAVYQBR00YAPJNVDZBBY":3,"skill-same:01M6HQDAVYQBR00YAPJNVDZBBY":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":13,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":56},"01M6HQDAVYQBR00YAPJNVDZBBY","test-xcode",null,"Build and test iOS apps on simulator using XcodeBuildMCP","apollostreetcompany\u002Fcodex-compound","apollostreetcompany","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171311035?v=4","01M6HQ7K6QWS8PW86HHDJNTVQS","01M6HQ7KBDWSTW9HFJHC6S829D",0,"MIT","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Ftest-xcode\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"test","xcode","test xcode","build and test","ios","use","default","build","name","apps","xcodebuildmcp","scheme","true","2026-11-10 10:12:30",false,"---\nname: test-xcode\ndescription: Build and test iOS apps on simulator using XcodeBuildMCP\nargument-hint: \"[scheme name or 'current' to use default]\"\ndisable-model-invocation: true\n---\n\n# Xcode Test Skill\n\nBuild, install, and test iOS apps on the simulator using XcodeBuildMCP. Captures screenshots, logs, and verifies app behavior.\n\n## Prerequisites\n\n- Xcode installed with command-line tools\n- XcodeBuildMCP MCP server connected\n- Valid Xcode project or workspace\n- At least one iOS Simulator available\n\n## Workflow\n\n### 0. Verify XcodeBuildMCP is Available\n\nCheck that the XcodeBuildMCP MCP server is connected by calling its `list_simulators` tool.\n\nMCP tool names vary by platform:\n- Claude Code: `mcp__xcodebuildmcp__list_simulators`\n- Other platforms: use the equivalent MCP tool call for the `XcodeBuildMCP` server's `list_simulators` method\n\nIf the tool is not found or errors, inform the user they need to add the XcodeBuildMCP MCP server:\n\n```\nXcodeBuildMCP not installed\n\nInstall via Homebrew:\n  brew tap getsentry\u002Fxcodebuildmcp && brew install xcodebuildmcp\n\nOr via npx (no global install needed):\n  npx -y xcodebuildmcp@latest mcp\n\nThen add \"XcodeBuildMCP\" as an MCP server in your agent configuration\nand restart your agent.\n```\n\nDo NOT proceed until XcodeBuildMCP is confirmed working.\n\n### 1. Discover Project and Scheme\n\nCall XcodeBuildMCP's `discover_projs` tool to find available projects, then `list_schemes` with the project path to get available schemes.\n\nIf an argument was provided, use that scheme name. If \"current\", use the default\u002Flast-used scheme.\n\n### 2. Boot Simulator\n\nCall `list_simulators` to find available simulators. Boot the preferred simulator (iPhone 15 Pro recommended) using `boot_simulator` with the simulator's UUID.\n\nWait for the simulator to be ready before proceeding.\n\n### 3. Build the App\n\nCall `build_ios_sim_app` with the project path and scheme name.\n\n**On failure:**\n- Capture build errors\n- Create a P1 todo for each build error\n- Report to user with specific error details\n\n**On success:**\n- Note the built app path for installation\n- Proceed to step 4\n\n### 4. Install and Launch\n\n1. Call `install_app_on_simulator` with the built app path and simulator UUID\n2. Call `launch_app_on_simulator` with the bundle ID and simulator UUID\n3. Call `capture_sim_logs` with the simulator UUID and bundle ID to start log capture\n\n### 5. Test Key Screens\n\nFor each key screen in the app:\n\n**Take screenshot:**\nCall `take_screenshot` with the simulator UUID and a descriptive filename (e.g., `screen-home.png`).\n\n**Review screenshot for:**\n- UI elements rendered correctly\n- No error messages visible\n- Expected content displayed\n- Layout looks correct\n\n**Check logs for errors:**\nCall `get_sim_logs` with the simulator UUID. Look for:\n- Crashes\n- Exceptions\n- Error-level log messages\n- Failed network requests\n\n### 6. Human Verification (When Required)\n\nPause for human input when testing touches flows that require device interaction.\n\n| Flow Type | What to Ask |\n|-----------|-------------|\n| Sign in with Apple | \"Please complete Sign in with Apple on the simulator\" |\n| Push notifications | \"Send a test push and confirm it appears\" |\n| In-app purchases | \"Complete a sandbox purchase\" |\n| Camera\u002FPhotos | \"Grant permissions and verify camera works\" |\n| Location | \"Allow location access and verify map updates\" |\n\nAsk the user (using the platform's question tool — e.g., `AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini — or present numbered options and wait):\n\n```\nHuman Verification Needed\n\nThis test requires [flow type]. Please:\n1. [Action to take on simulator]\n2. [What to verify]\n\nDid it work correctly?\n1. Yes - continue testing\n2. No - describe the issue\n```\n\n### 7. Handle Failures\n\nWhen a test fails:\n\n1. **Document the failure:**\n   - Take screenshot of error state\n   - Capture console logs\n   - Note reproduction steps\n\n2. **Ask the user how to proceed:**\n\n   ```\n   Test Failed: [screen\u002Ffeature]\n\n   Issue: [description]\n   Logs: [relevant error messages]\n\n   How to proceed?\n   1. Fix now - I'll help debug and fix\n   2. Create todo - Add to todos\u002F for later\n   3. Skip - Continue testing other screens\n   ```\n\n3. **If \"Fix now\":** investigate, propose a fix, rebuild and retest\n4. **If \"Create todo\":** create `{id}-pending-p1-xcode-{description}.md`, continue\n5. **If \"Skip\":** log as skipped, continue\n\n### 8. Test Summary\n\nAfter all tests complete, present a summary:\n\n```markdown\n## Xcode Test Results\n\n**Project:** [project name]\n**Scheme:** [scheme name]\n**Simulator:** [simulator name]\n\n### Build: Success \u002F Failed\n\n### Screens Tested: [count]\n\n| Screen | Status | Notes |\n|--------|--------|-------|\n| Launch | Pass | |\n| Home | Pass | |\n| Settings | Fail | Crash on tap |\n| Profile | Skip | Requires login |\n\n### Console Errors: [count]\n- [List any errors found]\n\n### Human Verifications: [count]\n- Sign in with Apple: Confirmed\n- Push notifications: Confirmed\n\n### Failures: [count]\n- Settings screen - crash on navigation\n\n### Created Todos: [count]\n- `006-pending-p1-xcode-settings-crash.md`\n\n### Result: [PASS \u002F FAIL \u002F PARTIAL]\n```\n\n### 9. Cleanup\n\nAfter testing:\n\n1. Call `stop_log_capture` with the simulator UUID\n2. Optionally call `shutdown_simulator` with the simulator UUID\n\n## Quick Usage Examples\n\n```bash\n# Test with default scheme\n\u002Ftest-xcode\n\n# Test specific scheme\n\u002Ftest-xcode MyApp-Debug\n\n# Test after making changes\n\u002Ftest-xcode current\n```\n\n## Integration with ce:review\n\nWhen reviewing PRs that touch iOS code, the `ce:review` workflow can spawn an agent to run this skill, build on the simulator, test key screens, and check for crashes.\n","# Xcode Test Skill\n\nBuild, install, and test iOS apps on the simulator using XcodeBuildMCP. Captures screenshots, logs, and verifies app behavior.\n\n## Prerequisites\n\n- Xcode installed with command-line tools\n- XcodeBuildMCP MCP server connected\n- Valid Xcode project or workspace\n- At least one iOS Simulator available\n\n## Workflow\n\n### 0. Verify XcodeBuildMCP is Available\n\nCheck that the XcodeBuildMCP MCP server is connected by calling its `list_simulators` tool.\n\nMCP tool names vary by platform:\n- Claude Code: `mcp__xcodebuildmcp__list_simulators`\n- Other platforms: use the equivalent MCP tool call for the `XcodeBuildMCP` server's `list_simulators` method\n\nIf the tool is not found or errors, inform the user they need to add the XcodeBuildMCP MCP server:\n\n```\nXcodeBuildMCP not installed\n\nInstall via Homebrew:\n  brew tap getsentry\u002Fxcodebuildmcp && brew install xcodebuildmcp\n\nOr via npx (no global install needed):\n  npx -y xcodebuildmcp@latest mcp\n\nThen add \"XcodeBuildMCP\" as an MCP server in your agent configuration\nand restart your agent.\n```\n\nDo NOT proceed until XcodeBuildMCP is confirmed working.\n\n### 1. Discover Project and Scheme\n\nCall XcodeBuildMCP's `discover_projs` tool to find available projects, then `list_schemes` with the project path to get available schemes.\n\nIf an argument was provided, use that scheme name. If \"current\", use the default\u002Flast-used scheme.\n\n### 2. Boot Simulator\n\nCall `list_simulators` to find available simulators. Boot the preferred simulator (iPhone 15 Pro recommended) using `boot_simulator` with the simulator's UUID.\n\nWait for the simulator to be ready before proceeding.\n\n### 3. Build the App\n\nCall `build_ios_sim_app` with the project path and scheme name.\n\n**On failure:**\n- Capture build errors\n- Create a P1 todo for each build error\n- Report to user with specific error details\n\n**On success:**\n- Note the built app path for installation\n- Proceed to step 4\n\n### 4. Install and Launch\n\n1. Call `install_app_on_simulator` with the built app path and simulator UUID\n2. Call `launch_app_on_simulator` with the bundle ID and simulator UUID\n3. Call `capture_sim_logs` with the simulator UUID and bundle ID to start log capture\n\n### 5. Test Key Screens\n\nFor each key screen in the app:\n\n**Take screenshot:**\nCall `take_screenshot` with the simulator UUID and a descriptive filename (e.g., `screen-home.png`).\n\n**Review screenshot for:**\n- UI elements rendered correctly\n- No error messages visible\n- Expected content displayed\n- Layout looks correct\n\n**Check logs for errors:**\nCall `get_sim_logs` with the simulator UUID. Look for:\n- Crashes\n- Exceptions\n- Error-level log messages\n- Failed network requests\n\n### 6. Human Verification (When Required)\n\nPause for human input when testing touches flows that require device interaction.\n\n| Flow Type | What to Ask |\n|-----------|-------------|\n| Sign in with Apple | \"Please complete Sign in with Apple on the simulator\" |\n| Push notifications | \"Send a test push and confirm it appears\" |\n| In-app purchases | \"Complete a sandbox purchase\" |\n| Camera\u002FPhotos | \"Grant permissions and verify camera works\" |\n| Location | \"Allow location access and verify map updates\" |\n\nAsk the user (using the platform's question tool — e.g., `AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini — or present numbered options and wait):\n\n```\nHuman Verification Needed\n\nThis test requires [flow type]. Please:\n1. [Action to take on simulator]\n2. [What to verify]\n\nDid it work correctly?\n1. Yes - continue testing\n2. No - describe the issue\n```\n\n### 7. Handle Failures\n\nWhen a test fails:\n\n1. **Document the failure:**\n   - Take screenshot of error state\n   - Capture console logs\n   - Note reproduction steps\n\n2. **Ask the user how to proceed:**\n\n   ```\n   Test Failed: [screen\u002Ffeature]\n\n   Issue: [description]\n   Logs: [relevant error messages]\n\n   How to proceed?\n   1. Fix now - I'll help debug and fix\n   2. Create todo - Add to todos\u002F for later\n   3. Skip - Continue testing other screens\n   ```\n\n3. **If \"Fix now\":** investigate, propose a fix, rebuild and retest\n4. **If \"Create todo\":** create `{id}-pending-p1-xcode-{description}.md`, continue\n5. **If \"Skip\":** log as skipped, continue\n\n### 8. Test Summary\n\nAfter all tests complete, present a summary:\n\n```markdown\n## Xcode Test Results\n\n**Project:** [project name]\n**Scheme:** [scheme name]\n**Simulator:** [simulator name]\n\n### Build: Success \u002F Failed\n\n### Screens Tested: [count]\n\n| Screen | Status | Notes |\n|--------|--------|-------|\n| Launch | Pass | |\n| Home | Pass | |\n| Settings | Fail | Crash on tap |\n| Profile | Skip | Requires login |\n\n### Console Errors: [count]\n- [List any errors found]\n\n### Human Verifications: [count]\n- Sign in with Apple: Confirmed\n- Push notifications: Confirmed\n\n### Failures: [count]\n- Settings screen - crash on navigation\n\n### Created Todos: [count]\n- `006-pending-p1-xcode-settings-crash.md`\n\n### Result: [PASS \u002F FAIL \u002F PARTIAL]\n```\n\n### 9. Cleanup\n\nAfter testing:\n\n1. Call `stop_log_capture` with the simulator UUID\n2. Optionally call `shutdown_simulator` with the simulator UUID\n\n## Quick Usage Examples\n\n```bash\n# Test with default scheme\n\u002Ftest-xcode\n\n# Test specific scheme\n\u002Ftest-xcode MyApp-Debug\n\n# Test after making changes\n\u002Ftest-xcode current\n```\n\n## Integration with ce:review\n\nWhen reviewing PRs that touch iOS code, the `ce:review` workflow can spawn an agent to run this skill, build on the simulator, test key screens, and check for crashes.\n",{"name":5,"description":7,"argument-hint":36,"disable-model-invocation":37},"[scheme name or 'current' to use default]",true,"codex\u002Ffeat\u002Fbead-0-import-bootstrap","fcee358ce06652adf6e1dacc6351e05f12bc3988","plugins\u002Fcompound-engineering\u002Fskills\u002Ftest-xcode","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany","2026-03-25 18:12:52",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":37},[46,49,52],{"tool":47,"command":48},"npx","npx skills add apollostreetcompany\u002Fcodex-compound --skill test-xcode",{"tool":50,"command":51},"bunx","bunx skills add apollostreetcompany\u002Fcodex-compound --skill test-xcode",{"tool":53,"command":54},"pnpm","pnpm dlx skills add apollostreetcompany\u002Fcodex-compound --skill test-xcode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Ftest-xcode\u002FSKILL.md",[],[58,68,79,86,93,108],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":31},"01M6HQDNTAST86HTWY6DCK4RJY","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[],[65,66,67],"skill one","sample skill","sample",{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":31},"01M6HQDM8XEPF79WXCN031KDBD","disabled-skill","A skill with model invocation disabled","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[],[75,76,77,78,30],"disabled skill","model","with model","with",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":31},"01M6HQDK1PG3422YX8WRBTTW0G","default-skill","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[],[24,85],"default skill",{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":31},"01M6HQDHXC3SKTG1P2JHQ2GDF4","custom-skill","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[],[92],"custom skill",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":31},"01M6HQDFDD5DDBPW75D93H8KMN","triage","Triage and categorize findings for the CLI todo system","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Ftriage\u002FSKILL.md",[],[95,30,100,101,102,103,104,105,106,107],"categorize","for","source","type","todo","list","system","cli",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":31},"01M6HQD7S1EC7GNF6HZS6ZSSMK","test-browser","Run browser tests on pages affected by current PR or branch","https:\u002F\u002Fgithub.com\u002Fapollostreetcompany\u002Fcodex-compound\u002Fblob\u002Fcodex\u002Ffeat\u002Fbead-0-import-bootstrap\u002Fplugins\u002Fcompound-engineering\u002Fskills\u002Ftest-browser\u002FSKILL.md",[],[115,116,18,117,118,119,26,120,121,122,123,124],"browser","test browser","number","affected","port","pages","tests","branch","run","pr"]