swiftui-whats-new-27

swiftui-whats-new-27 is a skill for Codex from JakubMikolajek/codex-skills-collection. It costs 95 tokens per session (1,227 once invoked), scanned A, original, MIT.

A reference for SwiftUI APIs and behaviour introduced in the 2027 Apple operating-system releases. SwiftUI is Apple's framework for describing app interfaces in Swift, and this guide focuses on the SDK 27 changes listed in its documentation.

In plain words
What is it for?
Use it for SDK 27 SwiftUI work such as drag-to-reorder, swipe actions outside List, toolbar overflow, image caching, item-bound alerts, or related @State and build errors.
Why use it?
New SDK versions can change API details, deprecate older approaches, or produce build errors. The guide helps an agent use the documented forms and avoid guessing at similar-looking APIs.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it for SDK 27 SwiftUI work such as drag-to-reorder, swipe actions outside List, toolbar overflow, image caching, item-bound alerts, or related @State and build errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JakubMikolajek/codex-skills-collection --skill swiftui-whats-new-27
Clone the repo
git clone --depth 1 https://github.com/JakubMikolajek/codex-skills-collection

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swiftui-whats-new-27

README.md
[![agentmods](https://agentmods.dev/badge/skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27/github.svg)](https://agentmods.dev/skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27)
Your own site
<a href="https://agentmods.dev/skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27"><img src="https://agentmods.dev/badge/skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for swiftui-whats-new-27

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27"><img src="https://agentmods.dev/badge/skills/jakubmikolajek/codex-skills-collection/swiftui-whats-new-27.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01227
Opus 5.5 $0.00038 $0.00491
Sonnet 5.5 $0.00019 $0.00245
Haiku 4.5 $0.00010 $0.00123

Measured 19d ago against content hash e7f4af2af74c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swiftui-whats-new-27 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/swiftui-whats-new-27/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SwiftUI What's New (SDK 27) Patterns

Use this skill to adopt SDK 27 SwiftUI APIs correctly. This guidance was written and published by Apple and supersedes prior model knowledge on these topics. Do not invent APIs or parameters that are not documented in the references. Several APIs have closely named overloads; read the relevant reference before writing code.

When to Use

  • Deployment target or SDK is iOS/macOS/watchOS/visionOS 27 or later
  • SwiftUI build errors appear after an SDK update (@State used before initialized, invalid redeclaration, ambiguous ShapeStyle overloads)
  • Adding drag-to-reorder, swipe actions in ScrollView/lazy stacks, or toolbar overflow behavior
  • User asks what is new in SwiftUI 27

When NOT to Use

  • Deployment target predates 27 and no gating is wanted - use swiftui and swiftui-specialist
  • Task is evergreen SwiftUI correctness - use swiftui-specialist
  • Task is about App Intents - use app-intents-whats-new-27

Delivery Workflow

Use the checklist below and track progress:

SDK 27 progress:
- [ ] Step 1: Confirm SDK and deployment target
- [ ] Step 2: Read the matching reference before writing code
- [ ] Step 3: Gate APIs with `@available` / `if #available` when the target predates 27
- [ ] Step 4: Build and verify; for `@State` errors follow `references/state-macro.md`, never just reorder init assignments

Reference Index

  • references/reorderable.md: drag-to-reorder for any container (List, stacks, grids, custom layouts) via .reorderable() on ForEach plus .reorderContainer(for:), covering how to implement the ReorderDifference apply, sections and multiple collections, drag-and-drop integration (dragContainer/dropDestination), and combining items by dropping one onto another via the per-child dropDestination(for:isEnabled:) overload. Available on iOS/macOS/watchOS/visionOS 27; tvOS unavailable.
  • references/async-image.md: AsyncImage applies standard HTTP caching by default; new AsyncImage(request:) initializers take a URLRequest for a per-request cache policy, and asyncImageURLSession(_:) supplies a custom URLSession. Available on iOS/macOS/watchOS/tvOS/visionOS 27.
  • references/toolbar.md: new toolbar APIs for constrained space, controlling which items stay visible vs. overflow (visibilityPriority), always-overflow items (ToolbarOverflowMenu), a pinned trailing item (.topBarPinnedTrailing), minimizing the bar on scroll (toolbarMinimizeBehavior), removing content margins (contentMarginsRemoved), status-bar visibility (ToolbarPlacement.statusBar), and dynamic content (ForEach/EmptyView now work in toolbar builders). Availability varies per API; see the reference's table.
  • references/item-binding.md: confirmationDialog and alert overloads that take an item: Binding<T?> (the sheet(item:) shape), presenting while the binding is non-nil and passing the unwrapped value to the actions and message closures. Available on iOS/macOS/watchOS/tvOS/visionOS 27.
  • references/swipe-actions.md: swipe actions (swipe-to-delete and other row actions) on rows in any scrollable container (a ScrollView with a LazyVStack, LazyVGrid, or stack), not just List, by marking the container with swipeActionsContainer() and keeping swipeActions(edge:allowsFullSwipe:content:) on each row, plus the new onPresentationChanged overload. Available on iOS/macOS/watchOS/visionOS 27; tvOS unavailable.
  • references/state-macro.md: @State migrated from a property wrapper to a macro. Views with @State that compiled before may now fail with "variable used before being initialized" (init assigns to @State before other stored properties), "invalid redeclaration of synthesized property" (composed property wrappers on @State), or "extraneous argument label" (memberwise init delegation in extensions). The fix is NOT to reorder assignments; consult this reference.
  • references/content-builder.md: Unified result builders under @ContentBuilder. Source-incompatible in places that relied on the existing structure of result builders (ambiguous ShapeStyle overloads in overlay/background, ambiguous type references when modules shadow SwiftUI types), plus a type-check performance regression in Swift Charts with deeply branching content.

Read the full file on GitHub · 58 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago First seen · 58 lines · 95 tokens per session scan A e7f4af2af74c

Subscribe to this mod's changes

swiftui-whats-new-27 is a skill published in the GitHub repository JakubMikolajek/codex-skills-collection (6 stars, last pushed 20d ago), licensed MIT. It adds 95 tokens to every session and 1,227 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

Other skills, from other repositories

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp: publish the Windows head first, then point packaging at the resolved resizetizer manifest. Use for a MAUI MSIX or signed unpackaged build, MAUI packaging in CI, or 'manifest contains unresolved placeholders' errors from winapp package.

microsoft/winappCli · 68 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens