审查 WidgetKit 代码,包括时间线管理、视图组合、可配置 intents 及性能。适用于审查包含 import WidgetKit 的代码。
Issue TypeReferenceTimelineProvider, entries, reload policiesreferences/timeline.mdWidget families, containerBackground, deep linkingreferences/views.mdAppIntentConfiguration, EntityQuery, @Parameterreferences/intents.mdRefresh budget, memory limits, cachingreferences/performance.md
placeholder(in:) returns immediately without async workgetSnapshot checks context.isPreview for gallery previewscontainerBackground(for:) used for iOS 17+ compatibilitywidgetURL used for systemSmall (not Link)defaultResult() for non-optional parametersreloadTimelines called strategically (not on every data change)Complete in order for each finding you intend to report. Do not advance until the pass condition is satisfied.
[FILE:LINE] (or a line range) copied from the current file contents; the path resolves in this repo.TimelineProvider (including placeholder, getSnapshot, and getTimeline when relevant), the @main Widget / widget bundle, or the configurable widget’s AppIntentConfiguration / intent types—not only a diff hunk or snippet.containerBackground, App Groups data sharing, or migration from IntentConfiguration to AppIntentConfiguration) — You name one concrete artifact you inspected (for example .entitlements / App Group id in project, WidgetFamily handling in source, IPHONEOS_DEPLOYMENT_TARGET, or the exact reference subsection you used) or you drop or downgrade the finding to an open question.Use the issue format [FILE:LINE] ISSUE_TITLE for each reported finding. Hard gate 4 is the full pre-report checklist for this skill’s review type.