所有 Skills

找到 3965 个 Skills

Skills 列表

widgetkit

widgetkit

932design-ui

实现、审查或改进 WidgetKit 小组件和控件。适用于构建主屏幕、锁屏、待机或 CarPlay 小组件(使用时间线提供者);可配置小组件(使用 AppIntentTimelineProvider);交互式小组件或控制中心控件(使用 Button/Toggle 连接);WidgetKit 推送刷新、刷新预算、深度链接、智能叠放相关性、Liquid Glass/强调色渲染、小组件扩展设置、WidgetBundle、App Groups 和授权。

dpearson2699 avatardpearson2699
获取
swift-charts

swift-charts

932productivity

使用 Swift Charts 实现、审查或改进数据可视化。适用于构建柱状图、折线图、面积图、散点图、饼图、环形图或 iOS 26 的 3D 图表;添加图表选择、滚动、标注、坐标轴、比例尺、图例或 foregroundStyle 分组;使用 BarPlot、LinePlot、AreaPlot、PointPlot、Chart3D 或 SurfacePlot 绘制函数;或创建热力图、甘特图、分组柱状图、迷你图、阈值线或空间可视化。

dpearson2699 avatardpearson2699
获取
debugging-instruments

debugging-instruments

932testing-qa

使用 LLDB、交互式内存图调试器和 Instruments 调试 iOS 应用并分析性能。适用于崩溃、循环引用检查、卡顿、构建失败以及通用的 CPU、内存、能耗或网络分析。如需 .memgraph 捕获、leaks CLI 所有权路径或持久堆增长,请使用 ios-memgraph-analysis;如需 ETTrace 捕获和 JSON,请使用 ios-ettrace-performance。

dpearson2699 avatardpearson2699
获取
app-intents

app-intents

932design-ui

Implement App Intents for Siri, Shortcuts, Spotlight, widgets, Control Center, and Apple Intelligence on iOS. Covers AppIntent actions, AppEntity and EntityQuery models, AppShortcutsProvider phrases, IndexedEntity Spotlight indexing, WidgetConfigurationIntent, SnippetIntent, and assistant schemas. Use when exposing app actions or entities to system surfaces.

dpearson2699 avatardpearson2699
获取
swift-language

swift-language

932testing-qa

应用现代 Swift 语言模式与惯用法,适用于非并发、非 SwiftUI 的代码。涵盖 if/switch 表达式(Swift 5.9+)、类型化 throws(Swift 6+)、结果构建器、属性包装器、不透明类型与存在类型(some vs any)、guard 模式、Never 类型、正则构建器(Swift 5.7+)、基本 Codable 塑形(CodingKeys、自定义解码、嵌套容器)、现代集合 API(count(where:)、contains(where:)、replacing())、基本 FormatStyle 用法以及字符串插值模式。在编写涉及泛型、协议、枚举、闭包或现代语言特性的核心 Swift 代码时使用;深度 Codable 路由至 swift-codable,详细格式化/本地化路由至 swift-formatstyle,API 命名路由至 swift-api-design-guidelines。

dpearson2699 avatardpearson2699
获取
swiftui-gestures

swiftui-gestures

932design-ui

Implement, review, or improve SwiftUI gesture handling. Use when adding tap, long press, drag, magnify, or rotate gestures, composing gestures with simultaneously/sequenced/exclusively, managing transient state with @GestureState, resolving parent/child gesture conflicts with highPriorityGesture or simultaneousGesture, building custom Gesture protocol conformances, or migrating from deprecated MagnificationGesture to MagnifyGesture or using the newer RotateGesture.

dpearson2699 avatardpearson2699
获取
healthkit

healthkit

932security

使用 HealthKit 读取、写入和查询 Apple 健康数据。涵盖 HKHealthStore 授权、样本查询、统计查询、用于图表的统计集合查询、保存 HKQuantitySample 数据、后台投递、使用 HKWorkoutSession 和 HKLiveWorkoutBuilder 的锻炼会话、HKUnit 以及 HKQuantityTypeIdentifier 值。在集成 Apple 健康、显示健康指标、记录锻炼或启用后台健康数据投递时使用。

dpearson2699 avatardpearson2699
获取
authentication

authentication

932security

Implement iOS authentication flows with AuthenticationServices and LocalAuthentication. Use when building Sign in with Apple, passkey/WebAuthn registration or sign-in with ASAuthorizationPlatformPublicKeyCredentialProvider, ASAuthorizationController credential state and revocation handling, ASWebAuthenticationSession OAuth or third-party login, Password AutoFill, identity-token server validation, or local biometric re-authentication with LAContext.

dpearson2699 avatardpearson2699
获取
vision-framework

vision-framework

932research-knowledge

在 iOS 应用中实现计算机视觉功能,包括文本识别(OCR)、人脸检测、条码扫描、图像分割、对象跟踪和文档扫描。涵盖现代 Swift 原生 Vision API(iOS 18+)和传统 VNRequest 模式、VisionKit 的 DataScannerViewController 用于实时摄像头扫描,以及 CoreMLRequest/VNCoreMLRequest 用于自定义模型推理。适用于添加 OCR、条码扫描、人脸检测或自定义 Core ML 模型推理与 Vision 结合的场景。

dpearson2699 avatardpearson2699
获取
background-processing

background-processing

932testing-qa

使用 BGTaskScheduler 在 iOS 上调度和执行后台工作。适用于注册 BGAppRefreshTask 进行短时后台获取、BGProcessingTask 进行长时间维护、BGContinuedProcessingTask(iOS 26+)进行前台启动并在后台继续的工作、后台 URLSession 下载或后台推送通知。涵盖 Info.plist 配置、过期处理、任务完成以及使用模拟启动进行调试。

dpearson2699 avatardpearson2699
获取
ios-localization

ios-localization

931testing-qa

在 iOS/macOS 应用中实现、审查或改进本地化和国际化——字符串目录 (.xcstrings)、生成的本地化符号、稳定的键命名、LocalizedStringKey、LocalizedStringResource、复数规则、数字/日期/测量的 FormatStyle、从右到左布局、动态类型以及区域感知格式化。适用于添加多语言支持、设置字符串目录、启用编译时安全的本地化键生成符号、处理复数形式、为不同区域格式化日期/数字/货币、测试本地化或使 UI 在阿拉伯语和希伯来语等 RTL 语言中正确显示。

dpearson2699 avatardpearson2699
获取
swiftui-navigation

swiftui-navigation

931research-knowledge

实现 SwiftUI 导航模式,包括 NavigationStack、NavigationSplitView、sheet 呈现、标签导航和深度链接。适用于构建推送导航、程序化路由、多列布局、模态 sheet、标签栏、通用链接或自定义 URL 方案处理。

dpearson2699 avatardpearson2699
获取
swift-testing

swift-testing

931testing-qa

Writes and migrates Swift Testing framework tests with @Test, @Suite, #expect, #require, confirmation, traits, withKnownIssue, Attachment.record, processExitsWith exit tests and capture lists, Test.cancel, Issue.record warnings/manual failures, XCTest-to-Swift Testing migration, Xcode 27 interoperability modes, XCUITest UI-test boundaries, performance/snapshot boundaries, mocking, async patterns, and test organization. Use when writing tests, converting XCTest assertions such as XCTUnwrap or XCTFail, reviewing advanced Swift Testing API availability, or deciding when to keep XCTest/XCUITest.

dpearson2699 avatardpearson2699
获取
push-notifications

push-notifications

931security

在 iOS/macOS 应用中实现、审查或调试推送通知——本地通知、远程(APNs)通知、富通知、通知操作、静默推送以及通知服务/内容扩展。适用于使用 UNUserNotificationCenter、注册远程通知、处理通知负载、设置通知类别和操作、创建富通知内容或调试通知投递。也适用于在 Swift 应用中处理提醒、角标、声音、后台推送或用户通知权限。

dpearson2699 avatardpearson2699
获取
swiftdata

swiftdata

931database

Implement, review, or improve data persistence using SwiftData. Use when defining @Model classes with @Attribute, @Relationship, @Transient, #Unique, or #Index; when querying with @Query, #Predicate, FetchDescriptor, or SortDescriptor; when configuring ModelContainer and ModelContext for SwiftUI or background work with @ModelActor; when planning schema migrations with VersionedSchema and SchemaMigrationPlan; when setting up CloudKit sync with ModelConfiguration; or when coexisting with or migrating from Core Data.

dpearson2699 avatardpearson2699
获取
swift-concurrency

swift-concurrency

931agent-workflows

Resolve Swift concurrency compiler errors, adopt approachable concurrency (SE-0466), and write data-race-safe async code. Use when fixing Sendable conformance errors, actor isolation warnings, or strict concurrency diagnostics; when adopting default MainActor isolation, @concurrent, nonisolated(nonsending), or Task.immediate; when designing actor-based architectures, structured concurrency with TaskGroup, or background work offloading; or when migrating from @preconcurrency to full Swift 6 strict concurrency.

dpearson2699 avatardpearson2699
获取
storekit

storekit

931testing-qa

使用 StoreKit 2 实现、审查或改进应用内购买和订阅。适用于使用 SubscriptionStoreView 或 ProductView 构建付费墙、使用 Product 和 Transaction API 处理交易、验证权益、处理购买流程(消耗型、非消耗型、自动续期)、实现优惠码或促销/赢回/ introductory 优惠、管理订阅状态和续期状态、使用配置文件设置 StoreKit 测试,或集成家庭共享、请求购买、退款处理和账单重试逻辑。

dpearson2699 avatardpearson2699
获取
swiftui-layout-components

swiftui-layout-components

931design-ui

使用堆栈、网格、列表、滚动视图、表单和控件构建 SwiftUI 布局。涵盖 VStack/HStack/ZStack、LazyVGrid/LazyHGrid、带分区和滑动操作的 List、带 ScrollPosition 和滚动驱动揭示表面的 ScrollView、带验证的表单、Toggle/Picker/Slider、.searchable 以及覆盖层模式。适用于构建数据驱动布局、集合视图、分页详情展示、设置界面、搜索界面或临时覆盖层 UI。

dpearson2699 avatardpearson2699
获取
apple-on-device-ai

apple-on-device-ai

931testing-qa

在 iPhone、iPad 和 Mac 上使用 Foundation Models、Core ML、MLX Swift 或 llama.cpp 构建私密、设备端 AI 功能。适用于选择 Apple 本地模型运行时、构建 Apple Intelligence 聊天机器人或工具调用功能、在 Apple Silicon 上运行 LLM、将 Python 模型转换或压缩为 Core ML,或比较设备端推理后端。对于 Swift Core ML 加载和预测代码,请使用 coreml 技能。

dpearson2699 avatardpearson2699
获取
swiftui-liquid-glass

swiftui-liquid-glass

931design-ui

Implement, review, or improve SwiftUI Liquid Glass effects for iOS 26+. Covers glassEffect modifier, GlassEffectContainer, glass button styles, glass toolbar/tab bar, static status badges vs interactive controls, morphing transitions, tinting, interactive glass, ToolbarSpacer, scrollEdgeEffectStyle, backgroundExtensionEffect, and availability gating. Use when asked about Liquid Glass, glass buttons, glassEffect, GlassEffectTransition, glassEffectID, glassEffectUnion, scroll edge effects, or adopting iOS 26 design.

dpearson2699 avatardpearson2699
获取
swiftui-uikit-interop

swiftui-uikit-interop

931research-knowledge

Bridges UIKit and SwiftUI with UIViewRepresentable, UIViewControllerRepresentable, UIHostingController, UIHostingConfiguration, coordinator delegates, and UIKit automatic observation tracking for shared @Observable state. Use when wrapping UIKit-only or third-party UIKit views/controllers in SwiftUI, embedding SwiftUI in UIKit, integrating mail/share/document/PDF/text-view surfaces, or migrating UIKit apps to SwiftUI incrementally.

dpearson2699 avatardpearson2699
获取
swiftui-performance

swiftui-performance

927design-ui

使用代码审查、Instruments 和可重复测量来剖析、诊断和修复 SwiftUI 运行时性能。当 SwiftUI 屏幕渲染缓慢、滚动或动画卡顿、视图 body 更新过多、列表标识混乱、布局工作激增或广泛的 Observation 依赖导致 CPU 开销时使用。涵盖基于证据的排查、SwiftUI Instruments 通道、懒加载容器防护、状态生命周期以及前后验证。

dpearson2699 avatardpearson2699
获取
app-store-review

app-store-review

927research-knowledge

审核 App Store 提交流程的合规性和被拒风险,涵盖当前审核指南、PrivacyInfo.xcprivacy 和必需理由 API、隐私标签、ATT、StoreKit 支付、元数据、授权、小组件和实时活动。适用于准备提交、应对拒绝、核对隐私证据或区分上传阻塞项与清理项时使用。

dpearson2699 avatardpearson2699
获取
ios-networking

ios-networking

927security

使用 async/await 和结构化并发,在 iOS/macOS 应用中构建、审查或改进基于 URLSession 的网络代码。适用于 REST API、文件下载、数据上传、WebSocket 连接、分页、重试逻辑、请求中间件、缓存、后台传输或网络可达性监控。也适用于处理 Swift 应用中的 HTTP 请求、API 客户端、网络错误处理或数据获取。

dpearson2699 avatardpearson2699
获取
想按分类查看?试试 /category/writing-content.