agentleFS
podopodo/design-agent-skills/skills/swiftui-patterns/SKILL.md

swiftui-patterns

Skill32 starsChanged 6 months agoMITView on GitHub

Best practices and example-driven guidance for SwiftUI views and components: tab architecture, navigation hierarchies, screen composition, custom view modifiers, and responsive layouts. Keeps SwiftUI code idiomatic and maintainable for Apple platform apps.

24 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use mcp-builder and skill-creator.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    mcp-builder

    Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

    Also in 3 projects that use this

  • SentrySkill

    skill-creator

    Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.

    Also in 3 projects that use this

The file

Files
SKILL.md

swiftui-patterns

Catalogue stub — full skill: Dimillian/Skills

<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->

Decision tree

  1. Is the full skill already installed? Upstream names this skill swiftui-ui-patterns, so it installs next to this pointer (the pointer is not replaced).
    • Global: f=~/.agents/skills/swiftui-ui-patterns/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"
    • Project: f=.agents/skills/swiftui-ui-patterns/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"
    • installed → the skill is installed as swiftui-ui-patterns, invoke it and proceed
    • pointer → go to step 2
  2. Detect scope, then install:

    [ -e ~/.agents/skills/swiftui-patterns ] && echo "global" || echo "project"

    Global:

    npx skills add Dimillian/Skills --skill swiftui-ui-patterns -g -y

    Project:

    npx skills add Dimillian/Skills --skill swiftui-ui-patterns -y

    Claude Code: send a command as a chat message starting with ! to run it without leaving the conversation.

Heads-up

  • License: MIT
  • Name collision: swiftui-ui-patterns is also written by swiftui-claude-skills (its install or its catalogue pointer); installing both overwrites the earlier one.
<!-- das:install:end -->

Invoke after install

  • Skill name: swiftui-ui-patterns
  • Trigger phrases: "SwiftUI patterns", "SwiftUI components", "SwiftUI tab architecture", "SwiftUI screen"

What it does

Provides best practices and example-driven guidance for building SwiftUI views and components on Apple platforms: tab-based navigation architecture with TabView, navigation hierarchies, screen composition with stacks and grids, custom view modifiers, @State and @Binding management, and component-specific patterns with reference examples. Keeps SwiftUI code idiomatic and avoids common architectural mistakes that cause layout or state-management issues.

When NOT to use

  • Liquid Glass (iOS 26) APIs → use liquid-glass-skill
  • Visual design direction for SwiftUI apps → use swiftui-design-skill
  • A broader SwiftUI skill set → use swiftui-claude-skills

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.