neo-swift-ui

neo-swift-ui is a skill for Claude Code, Codex from Benknightdark/neo-skills. It costs 57 tokens per session (1,045 once invoked), scanned B, original, MIT.

A set of guidelines for building and reviewing SwiftUI apps and views for iOS 16 and newer Apple platforms. SwiftUI is Apple’s framework for describing app screens and their state in Swift code.

In plain words
What is it for?
Use it to build, debug, refactor, or review SwiftUI screens, state handling, navigation, layouts, animations, and app architecture.
Why use it?
It helps organize navigation, changing data, reusable views, previews, accessibility, and performance using current SwiftUI patterns.

Skill for Claude CodeCodex

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

Good fit Use it to build, debug, refactor, or review SwiftUI screens, state handling, navigation, layouts, animations, and app architecture.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benknightdark/neo-skills/neo-swift-ui
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 Benknightdark/neo-skills --skill neo-swift-ui
Clone the repo
git clone --depth 1 https://github.com/Benknightdark/neo-skills

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 neo-swift-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-swift-ui/github.svg)](https://agentmods.dev/skills/benknightdark/neo-skills/neo-swift-ui)
Your own site
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-swift-ui"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-swift-ui/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 neo-swift-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-swift-ui"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-swift-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,045 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00057 $0.01045
Opus 5 $0.00028 $0.00522
Sonnet 5 $0.00011 $0.00209
Haiku 4.5 $0.00006 $0.00104

Measured 12d ago against content hash 78f9bf92f18d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

neo-swift-ui scanned grade B with 1 finding 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 12d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- Ensure code compiles without warnings and uses the best available APIs for the target version.
skills/neo-swift-ui/SKILL.md · 82 lines

How it starts

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

Modern SwiftUI (iOS 16+) Expert Skill

Trigger On

  • The user asks to write, debug, refactor, or review SwiftUI code.
  • The target project version is iOS 16 or higher (utilizing features like NavigationStack, Grid, etc.).
  • Development involves state management (@State, @Observable), custom layouts, or animations.

Workflow

  1. Perceive (Version and Environment Awareness):
    • Confirm if the deployment target is iOS 16+.
    • Identify the current state management paradigm (traditional ObservableObject vs. modern @Observable).
    • Assess the usage of navigation components (check if deprecated NavigationView is still in use).
  2. Reason (Planning Phase):
    • Plan the view hierarchy to maximize reusability and minimize redundant body computations.
    • Enforce the use of NavigationStack or NavigationSplitView for navigation needs.
    • Select the correct data flow tools based on data lifecycle (State, Binding, Environment).
  3. Act (Execution Phase):
    • Follow SwiftUI core principles to write concise, declarative Swift code.
    • Use Grid, ViewThatFits, or custom Layout protocols to implement complex layouts.
    • Leverage modern modifiers (e.g., .sheet with detents).
  4. Validate (Standard Validation):
    • Check for "God Views" (views with excessive logic or body content) and suggest splitting them.
    • Ensure @State and @Binding are used correctly to avoid unnecessary view refreshes.
    • Verify that the UI remains fluid and adheres to Apple's Human Interface Guidelines (HIG).

Feature Roadmap (SwiftUI Evolution)

iOS 13.0 - 15.0 (Foundation Era)

  • Declarative Syntax: Core View protocol and body property.
  • State Management: @State, @Binding, @ObservedObject, @EnvironmentObject.
  • Basic Containers: VStack, HStack, ZStack, List.
  • Legacy Navigation: NavigationView and NavigationLink.

iOS 16.0 - 17.0 (Modern Era)

  • NavigationStack: Decoupled and data-driven navigation pattern.
  • Observation Framework: @Observable macro (Swift 5.9+) replacing ObservableObject.
  • Advanced Layouts: Grid, ViewThatFits, and Layout protocol.
  • Swift Charts: Native data visualization framework.

Read the full file on GitHub · 82 lines

Files

What ships with it

3 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. 12d ago First seen · 82 lines · 57 tokens per session scan B 78f9bf92f18d

Subscribe to this mod's changes

neo-swift-ui is a skill published in the GitHub repository Benknightdark/neo-skills (7 stars, last pushed 6d ago), licensed MIT. It adds 57 tokens to every session and 1,045 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agent-flutter-expert

Expert Flutter specialist mastering Flutter 3+ with modern architecture patterns. Specializes in cross-platform development, custom animations, native integrations, and performance optimization with focus on creating beautiful, native-performance applications.

majiayu000/claude-skill-registry · 45 tokens

xcode-makefiles

Install strict Xcode Makefile tooling for iOS/macOS projects, including build/run/test scripts with AGENTNAME-based per-agent isolation under build/. Use when a project needs reproducible local CLI builds without full app scaffolding.

robertguss/claude-code-toolkit · 52 tokens

swift

Use when writing Swift for iOS, macOS, or server-side. Covers value semantics, optionals, protocol-oriented design, structured concurrency with async/await and actors, and SwiftUI state management.

nimadorostkar/Claude-Skills-collection · 43 tokens

kmp-mvi-setup

Interactive skill for scaffolding a complete Kotlin Multiplatform (KMP) project using MVI architecture. Covers State/Event/Effect pattern, Compose Multiplatform, DI, type-safe navigation, and image loading. Asks user for preferences before generating any code.

iammohdzaki/kmp-skills · 60 tokens

swift-project-setup

Bootstraps a new Swift/SwiftUI/UIKit project with MVVM architecture, standard folder structure, testing targets, and CLAUDE.md configuration. Use when user says "create a new project", "setup a new app", "start a new iOS project", "scaffold a Swift project", "initialize an Xcode project", or "new SwiftUI app".

jeremieb/swift-unit-test-instructions · 80 tokens

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