agentsclimarketplace

Swiftui core

Skill fusengine/agents/plugins/swift-apple-expert/skills/swiftui-core

Use when building SwiftUI views, navigation, persistence, or state management — shared across iOS, macOS, watchOS, visionOS.From its SKILL.md

Install
npx -y skills add fusengine/agents --skill swiftui-core

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.5 KB, 692 tokens by cl100k_base, as published. Nobody here has run it

<objective> Covers SwiftUI fundamentals shared across all Apple platforms: composable views and modifiers, navigation (NavigationStack for stack-based flows, NavigationSplitView for multi-column layouts), data persistence with SwiftData (@Model, replacing Core Data for most cases), state management (@State for local, @Observable for shared, @Environment for injection), Liquid Glass styling, and App Intents for Siri/Shortcuts integration.

References cover views/modifiers, navigation, SwiftData, state management, Liquid Glass across platforms, and App Intents in depth.

Best practices: extract subviews once a view body exceeds ~30 lines, compose with ViewBuilder and modifiers, always include #Preview, use semantic colors (.primary/.secondary), add accessibility labels to icons, and adapt layout by size class. </objective>

SwiftUI Core

SwiftUI fundamentals shared across all Apple platforms.

Agent Workflow (MANDATORY)

Before ANY implementation, use TeamCreate to spawn 3 agents:

  1. fuse-ai-pilot:explore-codebase - Analyze existing SwiftUI patterns
  2. fuse-ai-pilot:research-expert - Verify latest SwiftUI docs via Context7/Exa
  3. mcp__apple-docs__search_apple_docs - Check SwiftUI view patterns

After implementation, run fuse-ai-pilot:sniper for validation.


Overview

When to Use

  • Building SwiftUI views and components
  • Implementing navigation (NavigationStack, SplitView)
  • Data persistence with SwiftData
  • State management (@State, @Observable)
  • Custom view modifiers and layouts

Why SwiftUI Core

FeatureBenefit
Declarative UILess code, automatic updates
Cross-platformSame code for iOS/macOS/watchOS/visionOS
@ObservableSimple reactive state
SwiftDataModern persistence with minimal code

Key Concepts

Views & Modifiers

Composable UI building blocks. Extract subviews at 30+ lines.

Navigation

NavigationStack for stack-based, NavigationSplitView for multi-column.

SwiftData

Modern persistence with @Model. Replaces Core Data for most use cases.

State Management

@State for local, @Observable for shared, @Environment for injection.


Reference Guide

NeedReference
Views, modifiers, layoutsviews-modifiers.md
NavigationStack, deep linkingnavigation.md
SwiftData, @Query, CloudKitdata-swiftdata.md
@State, @Observable, Environmentstate-management.md
Liquid Glass all platformsliquid-glass.md
Siri, Shortcuts, App Intentsapp-intents.md

Best Practices

  1. Small views - Extract at 30+ lines
  2. Composition - Use ViewBuilder and modifiers
  3. Preview-driven - Always include #Preview
  4. Semantic colors - Use .primary, .secondary
  5. Accessibility - Add labels to icons
  6. Platform adaptation - Check sizeClass for responsive layouts

What ships with it: 6 files

17.7 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.