跳到正文
Skillpedia
移动应用26k · #10050

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-test-xcode/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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, or PARTIAL plus project, scheme, simulator, build result, per-surface PASS / FAIL / SKIP, console errors, human checks, and residual failures.
  • Per-surface status is derived from evidence, not the user's routing choice. PASS requires completed passing evidence. FAIL records observed failing evidence until a completed retest replaces it. SKIP means the check has no completed outcome.
  • The overall result is FAIL while any failure remains, PARTIAL when no failure remains but a scoped check is skipped, and otherwise PASS.
  • 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

  1. 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.
  2. 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.

repo: EveryInc/compound-engineering-plugin

热度

GitHub 星标
26k
排名
#10050
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能