uikit-expert-skill AGENTS.md

Guidance for coding agents working with UIKit, Apple’s framework for building user interfaces in iOS and related apps.

In plain words
What is it for?
Answering UIKit implementation questions while avoiding SwiftUI-only patterns, backend code, Objective-C patterns, and mandatory project-structure or architecture choices.
Why use it?
It keeps the guidance focused on UIKit and avoids unrelated rules about architecture, formatting, linting, or other technologies.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/zinxj/uikit-expert-skill/agents-md
Clone the repo
git clone --depth 1 https://github.com/zinxj/uikit-expert-skill

Made for: Codex, OpenCode.

Per session 1,384 This file is loaded in full into every session.
When invoked 1,384 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01384 $0.01384
Opus 5 $0.00692 $0.00692
Sonnet 5 $0.00277 $0.00277
Haiku 4.5 $0.00138 $0.00138

Measured 2d ago against content hash 6656ca58c947, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

uikit-expert-skill AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to uikit-expert-skill AGENTS.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Guidelines for UIKit Expert Skill

This document provides guidance for AI agents working with this skill to ensure consistency and avoid common pitfalls.

Core Principles

1. UIKit Focus Only

This is a UIKit skill. Do not include:

  • SwiftUI-only patterns (except when bridging is necessary)
  • General Swift language features unrelated to UIKit
  • Backend or server-side Swift patterns
  • Objective-C patterns (use Swift equivalents)

2. No Code Formatting or Linting

Do not include formatting/linting rules. Avoid:

  • Property ordering requirements
  • Code organization mandates
  • Whitespace or indentation rules
  • Naming convention enforcement
  • File structure requirements

Exception: Mention organization patterns as optional suggestions for readability, never as requirements.

3. No Architectural Opinions

Stick to facts, not architectures. Avoid:

  • Enforcing MVVM, MVC, VIPER, or any specific architecture
  • Mandating view model patterns
  • Requiring specific folder structures
  • Dictating dependency injection patterns
  • Prescribing coordinator/router patterns

Exception: Suggest separating business logic for testability without enforcing how.

4. No Tool-Specific Instructions in Agent Output

Agents cannot use external tools. When responding to users, do not reproduce:

  • Xcode Instruments profiling step-by-step instructions
  • Debugging tool walkthroughs
  • IDE-specific feature instructions
  • Command-line tool usage beyond basic git

Reference files may contain detailed tool walkthroughs (Instruments, Memory Graph Debugger, LLDB) as developer documentation. Do not reproduce these step-by-step instructions in your responses. Instead, briefly mention that the user can use the relevant tool (e.g., "consider profiling with Instruments" or "use the Memory Graph Debugger to investigate retain cycles").

Content Guidelines

Suggestions vs Requirements

Use "suggest" or "consider" for optional optimizations:

  • ✅ "Consider downsampling images when loading from disk"
  • ✅ "Consider using UIViewPropertyAnimator for gesture-driven animations"
  • ❌ "Always downsample images"
  • ❌ "Always use UIViewPropertyAnimator"

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 151 lines · 1,384 tokens per session scan A 6656ca58c947

Subscribe to this mod's changes

uikit-expert-skill AGENTS.md is an instructions file published in the GitHub repository zinxj/uikit-expert-skill (4 stars, last pushed 2d ago), licensed MIT. It adds 1,384 tokens to every session, about $0.0069 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to uikit-expert-skill AGENTS.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

apple-dev-skills AGENTS.md

Instructions for markdavidgan/apple-dev-skills, covering apple dev skills — agent guide (codex / kimi / cross-cli), quick reference, repository rules, project-local consumer convention and checkpoint compaction protocol.

markdavidgan/apple-dev-skills · 2,489 tokens

bundles-forge AGENTS.md

Instructions for OdradekAI/bundles-forge, covering project knowledge base, structure, where to look, conventions and anti-patterns (this project).

OdradekAI/bundles-forge · 1,555 tokens

figma-ios-codegen AGENTS.md

Instructions for mythkiven/figma-ios-codegen, covering project agent rules, 必读规则文件, 何时启用本流程, 铁律(最高优先级) and 架构(1 → 2 → 4;阶段 3 仓外).

mythkiven/figma-ios-codegen · 1,739 tokens

kleosrules AGENTS.md

Instructions for kleosr/kleosrules, a project described as: Cursor harness pack: user rules, skills, Bash hooks, local HANDOFF memory. macOS, Linux, Windows (WSL).

kleosr/kleosrules · 417 tokens

syncai copilot-instructions.md

Instructions for dmtrkzntsv/syncai, covering claude.md, build & run, architecture, lifecycle and identify is the routing decision.

dmtrkzntsv/syncai · 1,229 tokens

ios-agent-skill CLAUDE.md

Instructions for Nagarjuna2997/ios-agent-skill, covering ios agent skill — claude ai expert ios/swift developer, when to load this skill, loading the right document, how these docs are structured and how you operate: delegation, loops, and verification.

Nagarjuna2997/ios-agent-skill · 15,145 tokens