Skip to main content
skill CX Codex

uikit-ui-common-setup — Claude Code skill for UIKit

uikit-ui-common-setup is a Claude Code skill for writing and refactoring UIKit interfaces. It applies to work involving Workflow, ViewController, SnapKit, and UI state.

GPL-3.0 ★ 171 updated 2026-11-17

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add drawthingsai/local-code-community --skill uikit-ui-common-setup -a claude-code
Open on GitHub

What uikit-ui-common-setup does

The skill guides UIKit changes in the Draw Things / Local Code project. It has the agent look for nearby examples, separates the roles of Workflow, ViewController, and Controller, and describes how persisted state reaches the UI.

For layout, it favors lazy view properties and keeps hierarchy assembly and SnapKit constraints near screen initialization. A plain Swift controller uses a nested responder for Objective-C callbacks. App UI code must not use async / await, and UIKit state belongs on the main thread.

What it helps with

  • separate event handling between Workflow and ViewController
  • place shared logic in a Controller and its View
  • build UIKit view hierarchies with SnapKit constraints
  • route persisted state into UI properties
  • connect an Objective-C delegate to a plain Swift controller

Example prompts for the agent

  • Refactor this UIKit screen so Workflow handles events and ViewController renders the UI.
  • Lay out this screen with SnapKit using the project's existing patterns.
  • Connect the Objective-C delegate through a responder without putting business logic in it.

How to install uikit-ui-common-setup

1Skills CLI (Vercel)

npx skills add drawthingsai/local-code-community --skill uikit-ui-common-setup -a claude-code

2Manually: put the files in place

~/.claude/skills/uikit-ui-common-setup/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/uikit-ui-common-setup/

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

Questions about uikit-ui-common-setup

How do I install uikit-ui-common-setup in Claude Code?

Run npx skills add drawthingsai/local-code-community --skill uikit-ui-common-setup -a claude-code. The skill is placed at ~/.claude/skills/uikit-ui-common-setup/SKILL.md.

What does uikit-ui-common-setup do?

It sets conventions for UIKit screens, with Workflow managing the UIViewController and business logic kept in Workflow or Controller. It also covers view setup, state flow, and main-thread boundaries.

How does the skill handle UIKit threading?

Views and UIViewController subclasses should access UIKit state only on the main thread. Workflow and Controller are the places for background work, and existing shared queues should be reused where they fit.

Similar skills

All skills for Frontend and UI →

From the same set20

The whole set →
stat-bars-and-fills stat-bars-and-fills is a Claude Code rule for animating graphics paired with statistics: bars, progress indicators, or star ratings. It applies when an interface presents a value with a visual measure. CX Codex +1 ★ 171repo stars office The office skill for Claude Code creates and modifies Word documents, Excel workbooks, and PowerPoint decks. It runs when generating or inspecting office files via local scripts. CX Codex +1 ★ 171repo stars introduce-local-code introduce-local-code is a Claude Code skill that explains the assistant and the Local Code app. It activates for questions about the app’s purpose, features, or operation. CX Codex +1 ★ 171repo stars answers-charts answers-charts is a Claude Code skill that builds Matplotlib charts and embeds them directly into answers. It outputs verified PNG and SVG files strictly from supplied numbers. CX Codex +1 ★ 171repo stars check_lean-and-lean-tools check_lean-and-lean-tools is a Claude Code skill that verifies Lean proofs for universal claims involving induction or recursion. It joins coding, debugging, review, or design tasks when a claim needs machine-checked lemmas. CX Codex +1 ★ 171repo stars use-draw-things-cli use-draw-things-cli is a Claude Code skill that creates or edits images and generates videos through draw-things-cli. It selects a model and its task-specific guidance. CX Codex +1 ★ 171repo stars use-mcp-with-mcporter use-mcp-with-mcporter is a Claude Code skill that routes Model Context Protocol requests through the MCPorter CLI. It triggers when an agent connects to MCP servers, reads schemas, or runs tools. CX Codex +1 ★ 171repo stars use-web-browse-cli use-web-browse-cli is a Claude Code skill that controls a WebKit browser for website checks. It runs on pages that require JavaScript, user interaction, or sign-in. CX Codex +1 ★ 171repo stars

Project sponsors

Companies that keep this analytics open