swiftui-development

swiftui-development is a skill for Claude Code from ProjAnvil/MindForge. It costs 55 tokens per session (696 once invoked), scanned A, original, MIT.

A guide for building app interfaces with SwiftUI, Apple’s framework for describing screens in Swift. It covers navigation, screen state, animations, previews, and connecting views to stored data.

In plain words
What is it for?
Use it when writing SwiftUI views, designing app navigation, adding animations, creating previews, or connecting view models and SwiftData.
Why use it?
It helps structure changing interface data and navigation consistently while following Apple’s interface guidelines.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it when writing SwiftUI views, designing app navigation, adding animations, creating previews, or connecting view models and SwiftData.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/swiftui-development
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 ProjAnvil/MindForge --skill swiftui-development
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 agents.

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-development

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/swiftui-development"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/swiftui-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 696 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.00055 $0.00696
Opus 5.5 $0.00022 $0.00278
Sonnet 5.5 $0.00011 $0.00139
Haiku 4.5 $0.00006 $0.00070

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

Security

Grade A, and why

swiftui-development 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.

plugins/mindforge-en/skills/swiftui-development/SKILL.md · 103 lines

How it starts

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

SwiftUI Development Skill

Instructions

Use this skill to write declarative, reactive UI code. Always adhere to the iOS Human Interface Guidelines (HIG).

What This Skill Does

  • UI Construction: Build interfaces using Views, Modifiers, and Layout containers.
  • State Management: Manage data flow using the Observation framework (@Observable, @State, @Environment).
  • Navigation: Handle routing using NavigationStack and navigationDestination.
  • Previews: Rapidly iterate on UI using the #Preview macro.
  • Persistence Integration: Seamlessly integrate SwiftData (@Query) into views.

When to Use This Skill

Trigger scenarios:

  • When writing .swift view files.
  • When designing the App's navigation structure.
  • When handling animations and transitions.
  • When binding ViewModel data to the interface.

Examples

Example 1: Observation-based ViewModel and View

@Observable
class CounterModel {
    var count = 0
    
    func increment() {
        count += 1
    }
}

struct CounterView: View {
    @State private var model = CounterModel()
    
    var body: some View {
        VStack {
            Text("Count: \(model.count)")
                .font(.largeTitle)
            Button("Add") {
                model.increment()
            }
        }
    }
}

#Preview {
    CounterView()
}

Example 2: Type-Safe Navigation with NavigationStack

enum Route: Hashable {
    case profile(id: String)
    case settings
}

struct ContentView: View {
    @State private var path = NavigationPath()
    
    var body: some View {
        NavigationStack(path: $path) {
            List {
                NavigationLink("Go to Profile", value: Route.profile(id: "123"))
                NavigationLink("Settings", value: Route.settings)
            }
            .navigationDestination(for: Route.self) { route in
                switch route {
                case .profile(let id):
                    ProfileView(userId: id)
                case .settings:
                    SettingsView()
                }
            }
        }
    }
}

Read the full file on GitHub · 103 lines

Files

What ships with it

1 file 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. 6d ago Changed · +1 lines b4e716f3c503
  2. 1mo ago First seen · 102 lines · 55 tokens per session scan A b8b591f905c3

Subscribe to this mod's changes

swiftui-development is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 696 once invoked, about $0.0002 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-08-31.