Skip to main content
skill CX Codex

uikit — Claude Code skill: what it does, how to install

UIKit API reference for iOS and iPadOS development. Helps the agent query views, controllers, and Auto Layout without browsing the web.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Prisma-Labs-Dev/apple-skills --skill uikit -a claude-code
Open on GitHub

What uikit does

This skill adds local Markdown documentation files covering the UIKit framework into the agent context. It includes references for UIView, UIViewController, controls, navigation controllers, and Auto Layout constraints. Because uikit-overview.md is a massive index file, the agent searches it with rg rather than reading the entire text.

When a query misses the local docs, the skill searches other installed Apple skills on the machine. If the documentation is still missing, it falls back to the sosumi.ai Markdown mirror using the framework doc path. Some connected APIs like UIHostingController live across framework boundaries, so SwiftUI docs might be needed as well.

What it helps with

  • inspect UIView and UIViewController lifecycle methods locally
  • configure Auto Layout constraints using NSLayoutConstraint syntax
  • integrate SwiftUI views into UIKit hierarchies using UIHostingController
  • look up table and collection view delegate APIs without internet access

Example prompts for the agent

  • Show the configuration options for UICollectionView from the UIKit reference
  • Check how to present a UIAlertController with destructive actions in UIKit
  • Find the syntax for embedding a SwiftUI view into UIHostingController

How to install uikit

1Skills CLI (Vercel)

npx skills add Prisma-Labs-Dev/apple-skills --skill uikit -a claude-code

2Manually: put the files in place

~/.claude/skills/uikit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/uikit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about uikit

How to install uikit in Claude Code?

Run npx skills add Prisma-Labs-Dev/apple-skills --skill uikit -a claude-code in your terminal. This saves the skill configuration to ~/.claude/skills/uikit/SKILL.md.

What does the uikit skill do?

It provides local documentation files for UIKit components on iOS and iPadOS. The agent references these files to write and verify Swift and Objective-C UI code.

Where does it fetch missing UIKit documentation?

It checks other installed Apple skill directories first. If the file is absent, it queries the sosumi.ai mirror using the framework documentation path.

Source text

SKILL.md · MIT
---
name: uikit
user-invocable: true
description: "API reference: UIKit. Query for UIView, UIViewController, controls, table and collection views, navigation controllers, scenes, Auto Layout, images, colors, gestures, presentation, and SwiftUI hosting."
context: fork
agent: Explore
---

# UIKit Reference

UIKit framework documentation for iOS and iPadOS apps.

## Downloaded Reference Files

Search the local files first. `uikit-overview.md` is the full framework index and is large, so prefer `rg` over opening it directly.

| File | Content |
|------|---------|
| [uikit-overview.md](uikit-overview.md) | Full UIKit framework index |
| [uikit-updates.md](uikit-updates.md) | UIKit updates |
| [uiapplication.md](uiapplication.md) | UIApplication |
| [uiapplicationdelegate.md](uiapplicationdelegate.md) | UIApplicationDelegate |
| [uiwindowscene.md](uiwindowscene.md) | UIWindowScene |
| [uiview.md](uiview.md) | UIView |
| [uiviewcontroller.md](uiviewcontroller.md) | UIViewController |
| [uicontrol.md](uicontrol.md) | UIControl |
| [uibutton.md](uibutton.md) | UIButton |
| [uilabel.md](uilabel.md) | UILabel |
| [uiimage.md](uiimage.md) | UIImage |
| [uiimageview.md](uiimageview.md) | UIImageView |
| [uicolor.md](uicolor.md) | UIColor |
| [uifont.md](uifont.md) | UIFont |
| [uiscrollview.md](uiscrollview.md) | UIScrollView |
| [uitableview.md](uitableview.md) | UITableView |
| [uicollectionview.md](uicollectionview.md) | UICollectionView |
| [uistackview.md](uistackview.md) | UIStackView |
| [nslayoutconstraint.md](nslayoutconstraint.md) | NSLayoutConstraint |
| [uinavigationcontroller.md](uinavigationcontroller.md) | UINavigationController |
| [uitabbarcontroller.md](uitabbarcontroller.md) | UITabBarController |
| [uisplitviewcontroller.md](uisplitviewcontroller.md) | UISplitViewController |
| [uigesturerecognizer.md](uigesturerecognizer.md) | UIGestureRecognizer |
| [uialertcontroller.md](uialertcontroller.md) | UIAlertController |
| [uiactivityviewcontroller.md](uiactivityviewcontroller.md) | UIActivityViewController |
| [uivisualeffectview.md](uivisualeffectview.md) | UIVisualEffectView |
| [uiblureffect.md](uiblureffect.md) | UIBlurEffect |
| [uihostingcontroller.md](uihostingcontroller.md) | UIHostingController bridge from SwiftUI |
| [using-swiftui-with-uikit.md](using-swiftui-with-uikit.md) | Using SwiftUI with UIKit |

## Fetching More Docs

1. Search this skill's local `.md` files first.
2. If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or `SKILL.md` frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet.
3. If no installed skill has the page, use the relevant documentation path from `uikit-overview.md` with the `sosumi.ai` Markdown mirror. For example, `/documentation/uikit/uiview` maps to `https://sosumi.ai/documentation/uikit/uiview`.

Some UIKit-adjacent APIs live in other frameworks. For example, `UIHostingController` is documented under SwiftUI.

© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills

Similar skills

Everything for Mobile →

From the same set22

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor