ce-test-xcode
它能做什么
它会构建你的 iPhone 或 iPad 应用,在模拟器中启动,并记录截图、日志和结果等证据。适合在交付 iOS 改动之前需要模拟器证明的开发者。
适用场景
- ✓当你修改了 iOS 应用,需要在交付前获得模拟器证据时。
- ✓当你想获取模拟器运行的截图和控制台日志时。
- ✓当测试运行失败,需要连同证据一起记录失败情况时。
技能链接
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-test-xcode/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在模拟器中构建我的 iOS 应用,测试我修改过的页面,并给我截图和所有错误。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查环境设置,找到项目和 scheme,构建并安装应用,启动应用,按你批准的流程逐步操作,并保存结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Xcode Simulator Test
Build and exercise an iOS app on a simulator, preserving screenshots, logs, human-verification results, and failures as evidence for the user.
Done:
- A completed run reports overall
PASS,FAIL, orPARTIALplus project, scheme, simulator, build result, per-surfacePASS/FAIL/SKIP, console errors, human checks, and residual failures. - Per-surface status is derived from evidence, not the user's routing choice.
PASSrequires completed passing evidence.FAILrecords observed failing evidence until a completed retest replaces it.SKIPmeans the check has no completed outcome. - The overall result is
FAILwhile any failure remains,PARTIALwhen no failure remains but a scoped check is skipped, and otherwisePASS. - Any failure before the app is launched with log capture running stops later stages and reports an actionable setup blocker with its evidence.
Boundaries: this skill tests and reports. Diagnosis and any user-approved product fix belong to ce-debug, invoked with its authority narrowed so it returns here without committing, pushing, or opening a PR. Keep simulator interaction within the app and flows the user placed in scope.
Run
- Prepare and launch. Read
references/setup-and-build.md. It defines the XcodeBuildMCP availability check, project and scheme discovery, simulator choice, build, install, launch, and log-capture start. - Exercise and report. After launch, read
references/test-and-report.md. It defines per-screen evidence, human-only flows, the SwiftUI inline-link automation limitation, what to do when a check fails, cleanup, and the fixed summary fields.
Do not replace either required read with remembered tool names. XcodeBuildMCP adapters differ by host, while their observable success conditions do not.
常见问题
测试失败时它会修复代码吗?
不会。它只报告失败,任何修复都需要你批准后单独处理。
最终结果是什么样的?
会给出总体结论(通过、失败或部分通过)、每个页面的状态,以及仍然存在的失败项。
它需要使用哪个工具?
它使用 XcodeBuildMCP,并在开始前检查该工具是否可用。
详情
作者的原始描述
Test iOS apps in a simulator with XcodeBuildMCP. Use when iOS changes need simulator evidence before handoff.
热度
- GitHub 星标
- 26k
- 排名
- #10050
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ce-babysit-pr
26k帮你的智能体通过处理评审意见、失败的检查和过时的分支,持续推动一个未合并的 GitHub 拉取请求走向合并。
ce-bakeoff
26k帮你的智能体为一个问题构建多个相互竞争的方案,进行比较,并把最强的部分组合成一个推荐方案。
ce-brainstorm
26k通过简短的引导式对话,帮你的智能体在任何工作开始前,把模糊的想法整理成清晰、规模合适的需求。
ce-code-review
26k帮你的智能体审查指定的代码改动或拉取请求,查找缺陷、回归、缺失的测试和规范问题,并报告清晰的发现。