swift-apps
Build, refactor, review, and debug native Apple-platform software in Swift. Use when working on `.swift` files, SwiftUI views, Observation-based state, `@Bindable` and binding flow, SwiftData-backed UI, scenes and windows, search/navigation structures, UIKit/AppKit interop, Liquid Glass adoption, macOS-native UX, or SwiftUI performance/accessibility. Trigger on requests to create or polish iOS, iPadOS, macOS, or visionOS features; clean up SwiftUI view structure; diagnose jank or invalidation storms; review app quality; or make a feature feel like a good Apple-platform citizen.
What this skill does
# Swift Apps Engineer native-feeling Apple-platform software with SwiftUI-first patterns, clear state ownership, platform fidelity, accessibility, and performance discipline. Default to direct, readable code that works with Apple frameworks instead of layering web-style abstractions onto SwiftUI. ## Choose The Track - **New feature or screen**: Define the target platform, app archetype, primary action, core states, navigation model, and data ownership before writing code. Then load [references/architecture-and-state.md](references/architecture-and-state.md) and [references/ui-patterns.md](references/ui-patterns.md). - **Refactor or cleanup**: Preserve behavior, simplify structure, reduce indirection, and make state ownership obvious. Then load [references/architecture-and-state.md](references/architecture-and-state.md). - **Bug fix**: Reproduce first with a failing test when the project has a workable test harness. Enumerate 2-3 hypotheses before changing code. Then load [references/performance-and-debugging.md](references/performance-and-debugging.md) and any domain-specific reference. - **Performance or jank**: Start code-first, then move to profiling if review is inconclusive. Load [references/performance-and-debugging.md](references/performance-and-debugging.md). - **Liquid Glass or new design-system APIs**: Use native materials and availability gating, not custom blur imitations. Load [references/liquid-glass.md](references/liquid-glass.md). - **macOS-specific work**: Treat menu commands, keyboard flows, windows, sidebars, toolbars, and text behavior as product requirements, not polish. Load [references/macos-quality-bar.md](references/macos-quality-bar.md). - **Version-sensitive API questions**: When the exact current API shape matters, load [references/official-docs-map.md](references/official-docs-map.md) first and trust Apple docs over memory. ## Apply The Core Rules 1. Prefer system structure before custom structure. Use `NavigationStack`, `NavigationSplitView`, `TabView`, `List`, `Form`, `Table`, `Commands`, and built-in materials before custom containers. 2. Design for states, not screenshots. Every feature should account for loading, empty, error, offline, partial, and permission-restricted states. 3. Keep state close to the view that owns it. Use `@State`, `@Binding`, `@Bindable`, `@Environment`, `@Observable`, `@Query`, and `.task` as the default toolset. Introduce a view model only when the existing codebase already relies on them or when non-view orchestration truly needs a reference type. 4. Keep `body` cheap and identity stable. Do not sort, filter, format, decode images, create UUIDs, or perform I/O in `body`. Precompute or cache expensive work, and use stable IDs. 5. Compose small views with explicit inputs. Prefer narrow data and bindings over passing large models everywhere. Split large bodies into focused subviews instead of piling more logic into one type. 6. Treat accessibility and motion as first-class constraints. Verify Dynamic Type, VoiceOver, reduced motion, reduced transparency, contrast, focus order, and touch target size. 7. Match the platform. iPhone, iPad, Mac, and Vision Pro have different interaction contracts. Preserve platform idioms unless the product has a measured reason to diverge. ## Load The Right Reference | Need | Load | |------|------| | State ownership, Observation, async flow, routing, dependency injection | [references/architecture-and-state.md](references/architecture-and-state.md) | | Container choice, component composition, sheets, navigation, app-shell wiring | [references/ui-patterns.md](references/ui-patterns.md) | | Jank, invalidation storms, layout thrash, profiling, bug triage, verification | [references/performance-and-debugging.md](references/performance-and-debugging.md) | | Menu bar, shortcuts, windows, sidebars, toolbars, Mac polish, AppKit escape hatches | [references/macos-quality-bar.md](references/macos-quality-bar.md) | | Liquid Glass placement, modifier order, containers, availability, transitions | [references/liquid-glass.md](references/liquid-glass.md) | | Official Apple docs and WWDC sessions for state, navigation, scenes, Liquid Glass, and performance | [references/official-docs-map.md](references/official-docs-map.md) | ## Deliver The Result - Start by naming the target platform, app archetype, and primary interaction model. - Call out the chosen state and data-flow approach whenever the architecture is non-obvious. - Use previews for fast iteration, but verify critical behavior in Simulator or on device when scenes, windows, focus, animation, or performance are involved. - When reviewing, report the highest-risk issues first: correctness, platform mismatch, accessibility gaps, performance risks, then style. - When debugging, share the leading hypotheses, the evidence that ruled them in or out, and the final root cause. - Finish with verification steps: tests, build or lint commands, profiling passes, and any manual checks still needed.
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.