Repository navigation
docs(apple-dev-skills): phase-2 body improvements for batches A–C (13 skills) - #73
Merged
Merged
Conversation
- Align "When to invoke" trigger wording with the description (drop the stale "starting a new App" prefix). - Add an iOS 27 MetricManager forward note to the source table and the verification checklist (MXMetricManager family deprecates in iOS 27). Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Turn the actor-vs-struct facade decision into a two-row table. - Generalize project-private identifiers in the wiring-traps section (PersonalRecordSink/completedCount/placeMove -> generic sink/counter/ interactive-handler language); moving the section to references/ is deferred to the references-restructuring PR. - Generalize the example event name (puzzleCompleted -> sessionCompleted). - Add an iOS 27 MetricManager forward note to the MetricKitSink row. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Drop Sentry from the logging-library trigger list; it's a crash reporter, not a logging library (already handled under Deviation considerations). - Note that the OSLog backend for swift-log is a third-party package, not part of apple/swift-log's own distribution. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Front-load the three routing decisions (existential vs struct witness, constructor vs environment vs task-local, swift-dependencies vs Factory) into one "Inject via" table under Scope, ahead of the detailed prose sections. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Convert the build-number & version-automation decisions into a Need/Setting/Where/Action table. - Remove the unsourced "Merge with base branch before building" toggle wording (no such Apple UI control); describe the actual Pull Request Changes start condition instead. - Soften the scheduling-granularity caveat to what Apple's docs actually state (frequency/time/branch, no cron), instead of an unconfirmed hourly/daily/weekly enumeration. - Replace the project-private `meetings/` trigger with a generic one. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Replace private-project provenance ("four real ExportOptions.plist
files") with a doc-checkable claim (cross-checked against xcodebuild
-help's key list).
- Soften the app-store -> app-store-connect rename's Xcode-version
claim; only the current xcodebuild -help deprecation note is
confirmed.
- Turn the one-step vs two-step upload choice into a decision table.
- Note the --wait flag for xcrun altool --upload-package.
- War-stories section (:127-144) move to references/ is deferred to
the references-restructuring PR, per scope.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Convert the three pre-submission blockers into a Blocker/Symptom/ Fix/Where table. - Add the scoped GET-only token exception (up to 6 months) to the token-lifetime claim, Common Mistakes, and the Review Checklist. - Fix the reviewSubmissions model's introduction date: "App Store Connect API 1.7" (unconfirmed year) instead of "2022+". - Script (scripts/mint-asc-token.swift) and no-API-steps content staying inline pending the references-restructuring PR, per scope. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Note both .mise.toml and mise.toml are valid; keep the dotfile convention per catalog policy (D17), state mise.toml is the docs' primary spelling. - Describe the untrusted-config failure as the actual hard-error message instead of "silently doesn't apply". - Bump the SwiftLint pin to a current version with a dated comment. - Replace the vague "Xcode via a mise plugin" note with the actual xcodes installer caveat (it installs Xcode, it doesn't pin a version). - Convert the not-in-registry fallback chain into a decision table. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Drop the project-private NOTES.md.private example; *.private.md already covers the same intent. - Annotate the meetings/ incident-log step as a spec-phase-orchestration convention, not a universal one. - Soften "git filter-branch is deprecated" to Git's own "not recommended" wording, and note GitHub's filter-repo >= 2.47 + --sensitive-data-removal requirement. - Add build-time-secret-injection to Related skills (was a one-way reference from that skill). Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Add a 3-row triage table before "## The pattern" (which layer a new value belongs in, before the detailed walkthrough). - Reword the "A future PR should add..." TODO as a suggestion instead of a promise about this project's roadmap. - Multi-app ci_post_clone.sh move to references/ and merging the two checklists are deferred to the references-restructuring PR, per scope. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Annotate docs/foundations.md mentions as a spec-phase-orchestration convention, and merge the two near-duplicate documentation-pointer lists into one (Documentation pointers). - Elevate the AnyView cross-boundary rule from a war-story aside into a formal "Cross-boundary type invariant" in the isolation contract. - Move the AdMob v12.0.0 GAD-prefix rename fact out of the narrative "Real-world incidents" section into a generalized Anti-patterns entry (don't assume symbol names survive a major SDK upgrade). Co-Authored-By: Claude Sonnet 5 <[email protected]>
Note that Product.purchase(options:) is unavailable on visionOS (use purchase(confirmIn:options:) there instead), at both mentions in the bridge skeleton comment and the verified-symbols list. Co-Authored-By: Claude Sonnet 5 <[email protected]>
- Fix guideline-number attribution in the Overview: Apple's Transparency Report only breaks down to the top-level guideline (Guideline 2 Performance, Guideline 5 Legal), not to 2.1 / 5.1.x. - Complete the 4.3(b) enumerated-examples list (add dating, correct "timer" to "simple timers"). - Replace the project-private "ATT primer coordinator" term with a generic "pre-prompt explainer before the ATT system prompt". - Replace "user-owned" with "a human must answer it in ASC" for the export-compliance blocker. - Name interactive-simulator-ux-audit as the tool for the ATT sim-verify step instead of a generic idb/simctl mention. - :32's TestFlight prod-ad-ID guidance already matches the Release-reads-prod-ID + tester-registered-as-test-device wording from #72 and monetization-sdk-integration's #if DEBUG split; no change needed there. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Applies the CONSOLIDATED.md §3 SHOULD-list body improvements (wording fixes,
prose-to-table conversions, forward-looking notes, project-private-identifier
generalization, cross-reference fixes) for the 13 apple-dev-skills skills
covered by phase-2 review batches A, B, and C:
apple-three-piece-analytics, telemetry-facade-pattern, oslog-logger-defaults,
swift-dependency-injection, xcode-cloud-single-track-ci,
local-archive-export-upload, asc-api-automation, mise-tool-management,
apple-public-repo-security, build-time-secret-injection,
monetization-sdk-integration, storekit2-iap-defaults,
app-store-review-rejections.
Out of scope for this PR (per BRIEF):
description:frontmatter rewrites(already landed in #70), and moving content into
references//scripts/(separate PR) — those items are marked
N_A(done in #70)/SKIPPED(deferred to references PR)in the ledger below.One commit per skill:
fix(<skill>): apply phase-2 body improvements.Ledger A2 — phase-2 body improvements, batches A/B/C (13 skills)
Branch:
audit/p2-apple-body-abc. Base:origin/main@ 3e7295c.apple-dev-skills/skills/apple-three-piece-analytics/SKILL.md:33already reads "(hard App Store submission requirement since 2024-05-01 for any app using a required-reason API)"apple-three-piece-analytics/SKILL.md:34already has the full required-reason-API wordingapple-three-piece-analytics/SKILL.md:10— "Deciding on an analytics SDK."apple-three-piece-analytics/SKILL.md:27,67(source: developer.apple.com/documentation/metrickit/metricmanager, WWDC26 session 222 — cited in A-fact)telemetry-facade-pattern/SKILL.md:72,80,85(GameCenterSink/achievement-evaluation logic, persistence sink + counter, interactive input handler → completion event)telemetry-facade-pattern/SKILL.md:30(table header "Facade type | Use when | Cost")telemetry-facade-pattern/SKILL.md:51(MetricKitSink row; source: developer.apple.com/documentation/metrickit/metricmanager)oslog-logger-defaults/SKILL.md:13— "OSLog vs SwiftLog vs CocoaLumberjack"oslog-logger-defaults/SKILL.md:52swift-dependency-injection/SKILL.md:20-29("## Inject via" table)xcode-cloud-single-track-ci/SKILL.md:83— "Docs link checks, changelog/index generation, or any job that is cheaper on a Linux runner"xcode-cloud-single-track-ci/SKILL.md:43(table header "Need | Setting / source | Where it's set | Action")xcode-cloud-single-track-ci/SKILL.md:27,98— replaced with "Pull Request Changes start condition";grep -n "Merge with base branch" xcode-cloud-single-track-ci/SKILL.mdreturns zero hitsxcode-cloud-single-track-ci/SKILL.md:32— softened to Apple's actual example wording (frequency/time/branch, no cron), per B-fact B-XC-2/3 which marked the old hourly/daily/weekly enumeration "?" unconfirmedlocal-archive-export-upload/SKILL.md:60— "(cross-checked against the key list inxcodebuild -help)"local-archive-export-upload/SKILL.md:83(table header "`destination` | Artifact | Gate before upload | Use when")local-archive-export-upload/SKILL.md:43(--api-key/--api-issuer already matched help spelling from a prior PR; this PR adds--wait)local-archive-export-upload/SKILL.md:72— "Xcode 26.5'sxcodebuild -helpalready marks it ... (the exact Xcode version the rename landed in is unconfirmed)"asc-api-automation/SKILL.md:47-76asc-api-automation/SKILL.md:115(table header "Blocker | Symptom | Fix | Where")asc-api-automation/SKILL.md:43,171,184(source: developer.apple.com/documentation/appstoreconnectapi/generating-tokens-for-api-requests, cited in B-fact as [JWT])asc-api-automation/SKILL.md:109mise-tool-management/SKILL.md:22mise-tool-management/SKILL.md:19— kept.mise.tomlper BRIEF D17, added sentence that both spellings are valid andmise.tomlis the docs' primary spellingmise-tool-management/SKILL.md:44— replaced with theaqua:XcodesOrg/xcodesinstaller caveatmise-tool-management/SKILL.md:54(table header "Tool available via | Install with | Note")mise-tool-management/SKILL.md:35—swiftlint = "0.65" # pinned 2026-09(current release verified viagh api repos/realm/SwiftLint/releases/latest-> 0.65.1, 2026-08-21)apple-public-repo-security/SKILL.md:126apple-public-repo-security/SKILL.md:41(parenthetical removed);grep -n "NOTES.md.private" apple-public-repo-security/SKILL.mdreturns zero hitsapple-public-repo-security/SKILL.md:187; reciprocal confirmed atbuild-time-secret-injection/SKILL.md:175("REQUIRED background": apple-public-repo-security) — now two-wayapple-public-repo-security/SKILL.md:124build-time-secret-injection/SKILL.md:133grep -n "project memory" build-time-secret-injection/SKILL.mdreturns zero hits — already reads "Reference the out-of-repo vault entry ... by name" (SKILL.md:131) and "note which entry holds them" (:157)## The patterntriage tablebuild-time-secret-injection/SKILL.md:27(table header "Value's consumer | Layer | Storage")monetization-sdk-integration/SKILL.md:59,141annotated; the near-duplicate "Documentation references:" block (old :57-59) removed, folded into "## Documentation pointers" (SKILL.md:139)monetization-sdk-integration/SKILL.md:45(new "### Cross-boundary type invariant");monetization-sdk-integration/SKILL.md:118(Anti-patterns entry)monetization-sdk-integration/SKILL.md:118— "AdMob dropped theGADprefix from its Swift API at v12.0.0"storekit2-iap-defaults/SKILL.md:76,148app-store-review-rejections/SKILL.md:11app-store-review-rejections/SKILL.md:12app-store-review-rejections/SKILL.md:39app-store-review-rejections/SKILL.md:43,52app-store-review-rejections/SKILL.md:46app-store-review-rejections/SKILL.md:52app-store-review-rejections/SKILL.md:32already reads "Release" reads the production ad unit ID + "register each tester's device as a Google test device ... so it gets test ads on the prod ID" — matches monetization-sdk-integration's#if DEBUG/Release split (monetization-sdk-integration/SKILL.md:105)Statistics (from command output)
Baseline (before any edit, same command):
OK — 2 plugins,BLOCKER 0 · MAJOR 0 · MINOR 8(BRIEF's stated baseline of MINOR 10 had already drifted down to 8 by the time this worktree was created — PRs #70-#72 landed first; no MINOR regression introduced by this PR, all 8 remaining MINORs are the same pre-existing "description may summarize workflow" / reserved-name items, none of which are apple-public-repo-security, build-time-secret-injection, monetization-sdk-integration, storekit2-iap-defaults, app-store-review-rejections, telemetry-facade-pattern, oslog-logger-defaults, swift-dependency-injection, apple-three-piece-analytics, or local-archive-export-upload).Awaiting user review.
🤖 Generated with Claude Code