Skill for writing iOS tests. Used when writing unit tests and UI tests for iOS apps, or when adding tests to existing code. Covers XCTest structure, Mock/Stub/Spy patterns, async testing, test naming conventions, and the XCUITest Page Object pattern. Provides Xcode/XCTest file structure and naming conventions (one test file per tested class, test_[method]_[condition]_[expected]), case coverage (happy path, error path, boundary conditions, asynchronous behavior), and test patterns for async/await and Combine. Explains choosing and implementing Mock/Stub/Spy (Mock to verify call counts and parameters, Stub to control return values, Spy to record call history), the XCUITest Page Object pattern and accessibilityIdentifier requirements, best practices for waiting for asynchronous loads, examples of test data factories, and common anti-patterns (do not test private methods, do not depend on network/files, keep tests independent, avoid using sleep). Suitable for adding tests to existing code, building reliable CI test suites, and improving test maintainability and observability. // skill-used: testing
Skill for writing iOS tests. Used when writing unit tests and UI tests for iOS apps, or when adding tests to existing code. Covers XCTest structure, Mock/Stub/Spy patterns, async testing, test naming conventions, and the XCUITest Page Object pattern. Provides Xcode/XCTest file structure and naming conventions (one test file per tested class, test_[method]_[condition]_[expected]), case coverage (happy path, error path, boundary conditions, asynchronous behavior), and test patterns for async/await and Combine. Explains choosing and implementing Mock/Stub/Spy (Mock to verify call counts and parameters, Stub to control return values, Spy to record call history), the XCUITest Page Object pattern and accessibilityIdentifier requirements, best practices for waiting for asynchronous loads, examples of test data factories, and common anti-patterns (do not test private methods, do not depend on network/files, keep tests independent, avoid using sleep). Suitable for adding tests to existing code, building reliable CI test suites, and improving test maintainability and observability. // skill-used: testing
iOS 测试编写技能。当为 iOS 应用编写单元测试、UI 测试、为现有代码补充测试时使用。覆盖 XCTest 结构、Mock/Stub/Spy 模式、async 测试、测试命名规范、Page Object 模式的 XCUITest。
Category: developer (开发工具) · Author: ChoshimWy · Version: @main
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer