UIKit Expert Skill

An agent skill by Ivan Magda for writing correct, modern UIKit in Swift, covering lifecycle, memory, concurrency, collection views and APIs from iOS 13 to 26.

View on GitHub ↗
Stars
★ 9
Last commit
17 Nov 2026
Maintenance
Active
Licence
MIT
Category
Agent Skills
GitHub
ivan-magda/uikit-expert-skill

Overview

UIKit Expert Skill is an agent skill for writing correct, performant, modern UIKit code in Swift. It is aimed at the mistakes coding assistants often repeat: geometry work in viewDidLoad instead of viewIsAppearing, missing [weak self] in escaping closures, deprecated cell.textLabel instead of UIContentConfiguration, and navigation bar appearance set on the wrong object.

The skill teaches facts and best practices, not architecture. It uses "always" or "never" only for correctness, and "consider" or "suggest" for optimisations. It does not mandate MVVM, VIPER or Coordinators, and it does not dictate formatting or naming. The README says it follows Apple's documented APIs and the Human Interface Guidelines, and that it optimises for correctness first, then performance.

The entry point, SKILL.md, routes the agent through one of three workflows (review, improve, or implement) and points it at the matching reference file. This is a different project from the listed UIKit Agent Skill, and from SwiftUI Expert Skill.

UIKit Expert Skill is licensed under the MIT licence.

Features

  • Fourteen self-contained reference files, each with correct and incorrect Swift examples, a short "why" for every recommendation, and a checklist.
  • Coverage of view controller lifecycle (including viewIsAppearing), Auto Layout, modern collection views and diffable data sources, cell configuration, list performance, navigation (including Liquid Glass), animation, memory management, concurrency and @MainActor, SwiftUI interop, image loading, keyboard and scrolling, adaptive appearance, and modern UIKit APIs such as updateProperties() and .flushUpdates.
  • Guidance that spans iOS 13 through 26, with APIs tagged by the version they arrived in, including UIScene being mandatory on iOS 26.
  • A Claude Code plugin and marketplace entry, version 1.2.0, matching the latest git tag.
  • Works with any assistant that reads SKILL.md or AGENTS.md, including Claude Code, Cursor, Windsurf and Codex.

Requirements

  • An agent that reads SKILL.md or AGENTS.md.
  • A UIKit codebase to review or extend. No other runtime is required; the skill is documentation that the agent loads.

Install

  1. Pick the path that matches your assistant.

  2. Recommended: npx skills add https://github.com/ivan-magda/uikit-expert-skill --skill uikit-expert

  3. Claude Code plugin: /plugin marketplace add ivan-magda/uikit-expert-skill, then /plugin install uikit-expert@uikit-expert-skill. You can also enable it for a whole repository in .claude/settings.json.

  4. Manual: clone the repository and install or symlink the uikit-expert/ folder according to your agent's skills documentation.

Example

Ask your agent: use the uikit-expert skill to review the current UIKit code for lifecycle, memory management and performance issues. The agent should read SKILL.md, pick the review workflow, and open the relevant reference files. You can tell the skill has loaded when the agent cites those checklists rather than giving generic UIKit advice.

Works with

Claude CodeCursorCodexWindsurf

Listed in

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

Report a correction

More in this category