1. Habit
  2. Skills
  3. SwiftUI Expert Skill skill
AvdLee · 35K installs

SwiftUI Expert Skill skill
Runs by itself, every time Swift code changes.

Every code change is checked for old and wrong code.

Install the SwiftUI Expert Skill skill and make it a habit: follow https://gethabit.dev/skills/avdlee/swiftui-expert-skill.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

35K installs4K starsMIT licenceSource on GitHub ↗

SwiftUI Expert Skill

by AvdLee · 35K installs

The skill

Helps write and check SwiftUI apps for Apple devices.

Only when you ask.

Fewer bugs

Every code change is checked for old and wrong code. Fewer bugs.

↻ Runs by itselfevery time Swift code changes

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pull request per run.

  1. 01

    Read the change

    Read the Swift files and pick the topics that apply.

  2. 02

    Route topics

    Open the matching reference from the topic router for each one.

  3. 03

    Check APIs

    Compare against latest-apis.md, replace hard-deprecated APIs and flag soft-deprecated ones.

  4. 04

    Check gating

    Make sure version-specific APIs use #available with fallbacks.

  5. 05

    Run the checklist

    Walk the correctness checklist for state, ForEach, environment and animation.

  6. 06

    Report

    List findings and give performance ideas as suggestions only.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the SwiftUI Expert Skill skill helps.

Use it when

  • ✓ You review or refactor SwiftUI code
  • ✓ You migrate deprecated SwiftUI APIs
  • ✓ You analyze an Instruments trace

Skip it when

  • – The app is UIKit only
  • – You need server-side Swift

Questions

SwiftUI Expert Skill skill, answered.

Will it force MVVM?

No. The skill focuses on correctness and performance and does not enforce an architecture.

Will it add Liquid Glass?

Only when you ask for it.

How do I install the SwiftUI Expert Skill skill?

Copy the prompt at the top into your agent. It installs the skill from AvdLee/SwiftUI-Agent-Skill and sets up the habit. Or run npx skills add AvdLee/SwiftUI-Agent-Skill --skill swiftui-expert-skill.

Is the SwiftUI Expert Skill skill free?

Yes. It is published under MIT. Habit is free too.

SwiftUI Expert Skill. Now as a habit.

Install the SwiftUI Expert Skill skill and make it a habit: follow https://gethabit.dev/skills/avdlee/swiftui-expert-skill.md

  • Free
  • No account
  • Undo in one line

All AvdLee skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by AvdLee, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.