agf-running-apple-sit

Solid

Use when apple-dev has finished feature code + Unit tests (Swift Testing) and is about to enter code-review. Provides the Apple SIT scope (xcodebuild test + simulator per declared target), the AC-driven integration walk, APIProtocol-mock discipline, and evidence sink (progress/apple-dev.md). SIT is dev-owned; apple-code-reviewer audits the evidence.

Testing & QA 480 stars 14 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
89
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Running Apple SIT (xcodebuild + simulator) Use this skill when: - apple-dev finished feature code + Unit tests and is about to enter code-review - apple-dev needs to verify a fix doesn't regress integration(视图 ↔ AppCore ↔ 生成 client ↔ 后端契约) ## What Apple SIT is — and is not **SIT** verifies that **independently-developed components compose correctly** at the app-integration layer — SwiftUI 视图 ↔ AppCore 业务层 ↔ swift-openapi-generator 生成的 client ↔(mock 后端)。It is NOT: - Unit tests(Swift Testing,`swift test` 已在分支全绿) - E2E(XCUITest 对**签名分发包**——apple-qa-engineer 在发布构建后跑) - UAT(业务签字,product-lead 驱动) If a failure reproduces in plain `swift test` with mocks, it's a unit-level miss — fold it back into the unit suite, don't write it up as a SIT defect. ## Pre-conditions - [ ] Feature branch rebased onto `main` - [ ] Unit 全绿:`cd apple/AppCore && swift test`,strict concurrency 零 warning - [ ] AC 来源可达:`docs/changes/<change>/tasks.md`(AC↔scenario 映射,ADR-012;旧 feature fallback `docs/prd/[feature]-[date].md`),且每条 AC 的 **target 归属**清楚(macos / ios / universal) - [ ] **契约 mock 纪律**:后端 mock 一律实现生成的 `APIProtocol`(ADR-008),**禁手写 JSON fixture**;`openapi.json` 与 main 上后端导出一致 - [ ] 模拟器就位:`xcrun simctl list devices available` 有目标 destination If any precondition fails: SendMessage product-lead, do not proceed. ## Environment SIT 在**模拟器 / 本机**层执行(非签名分发包——那是 E2E 的事): ```bash # iOS target xcodebuild test -project apple/App.xcodeproj -scheme App \ -destination 'platform=iOS Simulator,name=iPho...

Details

Author
pcliangx
Repository
pcliangx/AppGenesisForge
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Solid

agf-running-sit-tests

Use when an execution-layer dev (frontend-dev / backend-dev / ai-agent-dev / ml-engineer / miniapp-dev) has finished feature code + Unit tests and is about to enter code-review. Provides the SIT scope, environment, AC-driven integration walk, and evidence sink (progress/<role>.md). SIT is now a dev-owned step, not a separate QA stage.

480 Updated 1 weeks ago
pcliangx
Testing & QA Solid

agf-releasing-apple

Use when apple-release-engineer is about to build the signed distributable (TestFlight build / notarized DMG / internal package) from merged-to-main code (after apple code review + SIT Audit pass and merge, before apple-qa-engineer runs E2E/UAT). Provides the applicability gate, pre-flight checks, lane execution per channel, notarization, real-output smoke test, hand-off, and the release-report skeleton. Pairs with deployment.md §7 "Apple 发布" contract and slash /agf-apple-release.

480 Updated 1 weeks ago
pcliangx
Web & Frontend Listed

interactive-simulator-ux-audit

Use when auditing an iOS/iPadOS app's live behavior in the Simulator — navigation, modals, back-stack, completion flows, safe-area/Dynamic-Island clipping, offline or signed-out states — bugs a fixed-size snapshot render structurally cannot show. Covers installing `idb` without Homebrew (direct GitHub release + an exec wrapper that preserves rpath), the describe-all → tap → screenshot drive loop, device-point vs screenshot-pixel coordinate spaces, and the "stale build" / "worktree launch crash" false-negative traps. Use when asked to "test the UI", "find UX problems", "drive the simulator", or verify an interactive flow end-to-end.

0 Updated 4 days ago
wei18