swiftui-expert-skill

swiftui-expert-skill is a skill for Claude Code, Codex from xxxxxccc/devops-bot. It costs 45 tokens per session (1,026 once invoked), scanned A, original, MIT.

A set of guidelines for building and reviewing SwiftUI interfaces, Apple's framework for creating app screens with Swift code. It covers state, modern APIs, concurrency, and iOS 26 styling.

In plain words
What is it for?
It is for creating, reviewing, and improving SwiftUI features for iPhone and other Apple platforms.
Why use it?
It helps developers avoid common state-management and concurrency mistakes while keeping SwiftUI code aligned with current platform practices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/xxxxxccc/devops-bot/swiftui-expert-skill
Any agent
npx skills add xxxxxccc/devops-bot --skill swiftui-expert-skill
Clone the repo
git clone --depth 1 https://github.com/xxxxxccc/devops-bot

Made for: Claude Code, 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-expert-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/xxxxxccc/devops-bot/swiftui-expert-skill.svg)](https://agentmods.dev/skills/xxxxxccc/devops-bot/swiftui-expert-skill)
Your own site
<a href="https://agentmods.dev/skills/xxxxxccc/devops-bot/swiftui-expert-skill"><img src="https://agentmods.dev/badge/skills/xxxxxccc/devops-bot/swiftui-expert-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00045 $0.01026
Opus 5 $0.00023 $0.00513
Sonnet 5 $0.00009 $0.00205
Haiku 4.5 $0.00005 $0.00103

Measured 6d ago against content hash 84abc358709f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

swiftui-expert-skill 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 6d 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-expert-skill/SKILL.md · 105 lines

How it starts

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

SwiftUI Expert Skill

Overview

Use this skill to build, review, or improve SwiftUI features with correct state management, modern API usage, Swift concurrency best practices, optimal view composition, and iOS 26+ Liquid Glass styling. Prioritize native APIs, Apple design guidance, and performance-conscious patterns.

Core Guidelines

State Management

  • Always prefer @Observable over ObservableObject for new code
  • Mark @Observable classes with @MainActor unless using default actor isolation
  • Always mark @State and @StateObject as private
  • Never declare passed values as @State or @StateObject
  • Use @State with @Observable classes (not @StateObject)
  • @Binding only when child needs to modify parent state
  • @Bindable for injected @Observable objects needing bindings
  • Use let for read-only values; var + .onChange() for reactive reads

Property Wrapper Selection (Modern)

Wrapper Use When
@State Internal view state (must be private), or owned @Observable class
@Binding Child modifies parent's state
@Bindable Injected @Observable needing bindings
let Read-only value from parent
var Read-only value watched via .onChange()

Modern APIs

  • Use foregroundStyle() instead of foregroundColor()
  • Use clipShape(.rect(cornerRadius:)) instead of cornerRadius()
  • Use Tab API instead of tabItem()
  • Use Button instead of onTapGesture() (unless need location/count)
  • Use NavigationStack instead of NavigationView
  • Use navigationDestination(for:) for type-safe navigation
  • Use .sheet(item:) instead of .sheet(isPresented:) for model-based content
  • Avoid UIScreen.main.bounds for sizing
  • Avoid GeometryReader when alternatives exist (e.g., containerRelativeFrame())

Read the full file on GitHub · 105 lines

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. 6d ago First seen · 105 lines · 45 tokens per session scan A 84abc358709f

Subscribe to this mod's changes

swiftui-expert-skill is a skill published in the GitHub repository xxxxxccc/devops-bot (47 stars, last pushed 4mo ago), licensed MIT. It adds 45 tokens to every session and 1,026 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

wear-compose-m3

Expert guidance for working with Wear OS Compose Material3. Use this skill when creating, updating, or migrating Wear OS projects. This includes the androidx.wear.compose.material3, androidx.wear.compose.foundation, and androidx.wear.compose.navigation3 libraries. Also working with core components such as AppScaffold…

android/skills · 101 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens

swiftui-dev

Use this skill for SwiftUI development, architecture, structure, performance, and Apple native app profiling. It combines.

Orkas-AI/Orkas · 3 tokens

android-navigation-3

Install and migrate to Jetpack Navigation 3. Use when implementing Navigation 3 patterns including NavDisplay, NavKey routes, deep links, multiple backstacks, scenes (dialogs, bottom sheets), or migrating from Navigation 2.

HoangNguyen0403/agent-skills-standard · 52 tokens

mobiai-kmp

Use when working on a Kotlin Multiplatform project — shared code, expect/actual declarations, platform-specific implementations, building and testing.

ArisGuimera/MobiAI-Core · 32 tokens

kotlin-concurrency-expert

Kotlin Coroutines review and remediation for Android. Use when asked to review concurrency usage, fix coroutine-related bugs, improve thread safety, or resolve lifecycle issues in Kotlin/Android code.

new-silvermoon/awesome-android-agent-skills · 44 tokens