yigitkonur/plugin-swiftui/macos-app-patterns

Claude Code and agent skill by yigitkonur/plugin-swiftui

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Find production patterns for complete macOS SwiftUI features such as menu bar apps, settings, windows, and AppKit bridges.

Install

npx vskill@latest install yigitkonur/plugin-swiftui/macos-app-patterns

SKILL.md

The same SKILL.md was published earlier as yigitkonur/plugin-swiftui/macos-app-patterns.

Bundled resource root

Let <swiftui-plugin-root> be the absolute plugin directory two levels above this SKILL.md. Resolve that path before running commands or opening shared references. When these instructions say swiftui-ctx, invoke <swiftui-plugin-root>/scripts/swiftui-ctx; do not assume the command is on PATH.

macos-app-patterns — scaffold from real recipes

For building a whole feature, not one call. Each recipe is a canonical template plus real examples from shipping macOS apps, served by swiftui-ctx. (One API → swiftui-examples. Deprecated cleanup → swiftui-modernize.)

swiftui-ctx = <swiftui-plugin-root>/scripts/swiftui-ctx (or swiftui-ctx on PATH). It self-builds + self-locates the catalog.

The rule

Don't reconstruct a macOS pattern from memory (menu-bar lifecycle, Settings scene, NSViewRepresentable wiring are exactly where memory fails). Pull the recipe, then open a real example. Announce: "Using macos-app-patterns."

Workflow

  1. swiftui-ctx recipes — list the patterns (or go straight to the one you need).
  2. swiftui-ctx recipe <name> — the template skeleton + the APIs + real examples.
  3. swiftui-ctx file <example.id> --smart (or the printed file <permalink>) — read the real, compilable code.
  4. Adapt the template to the task; verify each API's current shape with swiftui-ctx lookup <api> if unsure.

Recipes (and when to use each)

RecipeUse for
menubar-appa status-bar/menu-bar app with a Settings window (MenuBarExtra + Settings)
settings-screen / settings-forma preferences window (TabView of panes) / a grouped Form of controls
master-detailsidebar + detail (NavigationSplitView) — the macOS standard
window-scenecustom window config (hidden title bar, fixed size, level)
observable-modelmodern state: @Observable model owned by a view
nsview-bridgewrap an AppKit NSView/NSViewController (the hardest thing to get right)
charts-bara Swift Charts bar chart with axes
searchable-lista list with a search field (+ scopes)
command-palettea ⌘K quick-open/command overlay
draggable-reorderreorderable rows (onMove / draggable+dropDestination(for:isEnabled:action:))
cached-async-imageremote image with placeholder (+ caching note)

Full index with the APIs each pulls in → references/recipes.md.

Errors → actions

3 not-found (bad recipe name) → swiftui-ctx recipes to list them. 5 no catalog → STOP, tell the user, don't fabricate.

References

FileRead when
references/recipes.mdYou want the recipe index with the APIs each one composes.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yigitkonur/plugin-swiftui/macos-app-patterns/badge)](https://verified-skill.com/skills/yigitkonur/plugin-swiftui/macos-app-patterns)

Something wrong with this skill or its page? Tell us.