Agent Skill
2/7/2026

swift-ui-best-practices

SwiftUI best practices for building Apple-quality iOS app UIs. This skill should be used when writing, reviewing, or refactoring SwiftUI code to achieve native app polish matching Apple's Weather, Calendar, Photos, and Notes apps. Triggers on tasks involving SwiftUI views, iOS app development, HIG compliance, animations, accessibility, or performance optimization.

P
pproenca
29GitHub Stars
1Views
npx skills add pproenca/dot-skills

SKILL.md

Nameswift-ui-best-practices
DescriptionSwiftUI best practices for building Apple-quality iOS app UIs. This skill should be used when writing, reviewing, or refactoring SwiftUI code to achieve native app polish matching Apple's Weather, Calendar, Photos, and Notes apps. Triggers on tasks involving SwiftUI views, iOS app development, HIG compliance, animations, accessibility, or performance optimization.

Agent Skills Collection

A collection of AI agent skills following the Agent Skills open format. These skills extend AI coding agents with specialized capabilities and domain knowledge.

Available Skills

<!-- SKILLS-TABLE:START -->

Curated Skills

SkillDescription
debugComprehensive debugging methodology for finding and fixing bugs
expo-uiLibrary reference for @expo/ui SwiftUI components on iOS — covers Host boundaries, modifier..
expoExpo React Native performance optimization guidelines
feature-archReact feature-based architecture guidelines for scalable applications
ios-tasteDesigns iOS 18+ SwiftUI experiences with real taste — starting from user goals, not pixels
mswMSW (Mock Service Worker) best practices for API mocking in tests
mui-baseMUI Base UI style guidelines for building headless React component libraries
nextjsNext.js 16 App Router performance, caching, server components, server actions, routing, and..
nuqs-codemod-runnerUse this skill whenever a codebase has nuqs code that may be stuck on pre-v2.5 patterns —..
nuqs-scaffolderUse this skill whenever you need to add URL-state filters to a Next.js page, build a typed..
nuqsnuqs (type-safe URL query state) best practices for Next.js and other React frameworks
playwrightPlaywright testing best practices for Next.js applications
pythonPython 3.11+ performance optimization guidelines
rails-devRuby on Rails performance and maintainability optimization guidelines for building backend APIs..
rails-testingRuby on Rails testing best practices for writing effective, maintainable test suites with RSpec
react-19-component-scaffolderUse this skill whenever scaffolding new React 19 / React 19.2 code in TypeScript — components,..
react-hook-form-auditUse this skill to audit a Next.js (App Router, 14/15+) codebase for React Hook Form..
react-hook-formReact Hook Form performance optimization for client-side form validation using useForm,..
reactReact 19/19.2 modern patterns for concurrent rendering, Server Components, actions, ref-as-prop,..
refactorCode refactoring best practices based on Martin Fowler's catalog and Clean Code principles
restful-hateoasRESTful API design guidelines following the Richardson Maturity Model through to Level 3..
ruby-optimiseRuby performance optimization guidelines
ruby-refactorRuby refactoring guidelines from community best practices
rust-implement"Write production-grade Rust code using a multi-pass approach
rust-refactorDecision frameworks for Rust refactoring, simplification, module decomposition, and incremental..
rust-write-testsSkill for writing expert-level Rust tests
shadcnshadcn/ui component library best practices and patterns
skill-authoringDesign and development best practices for Claude Code skills, MCP tools, and AI agent capabilities
tailwindTailwind CSS v4 performance optimization and best practices guidelines
tanstack-queryTanStack Query v5 performance optimization for data fetching, caching, mutations, and query patterns
tddTest-Driven Development methodology and red-green-refactor workflow
terminal-uiTerminal User Interface (TUI) performance and UX guidelines for TypeScript applications using..
thinkDeep strategic thinking mode that finds the single highest-leverage, most innovative action by..
typescriptThis skill should be used when the user asks to "optimize TypeScript performance", "speed up tsc..
ui-designUI/UX and frontend design best practices guidelines
vitestVitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots,..
web-tasteDesigns React 19 + Next.js 16 + Tailwind CSS experiences with real taste — starting from user..
zodZod schema validation best practices for type safety, parsing, and error handling

Experimental Skills

SkillDescription
12-factor-appThe Twelve-Factor App methodology for building scalable, maintainable cloud-native applications
37signals-rails37signals Rails coding principles and conventions from DHH, Jorge Manrubia, and the..
acceptance-pipeline-catalogUse when implementing, reviewing, or debugging a Gherkin acceptance-test pipeline with mutation..
acceptance-pipeline-feature-designUse this skill when designing new features, extensions, or modifications to Uncle Bob's..
algorithmic-complexity-reviewUse this skill whenever writing, reviewing, or refactoring code where algorithmic complexity..
app-plannerProduces a design-plan (living document like an exec-plan) that maps an app domain to feature..
ast-grepast-grep rule writing and usage best practices
audio-voice-recoveryAudio forensics and voice recovery guidelines for CSI-level audio analysis
base-ui-migratorUse this skill whenever the user wants to migrate React UI code to Base UI (@base-ui/react) —..
better-auth-scaffoldUse this skill whenever scaffolding a Better Auth setup in a Next.js (App Router) + Drizzle..
better-authUse this skill whenever writing, reviewing, or migrating Better Auth code in TypeScript —..
bug-reviewUse this skill when a user asks to review a pull request for bugs, wants AI code review focused..
build-mcp-serverThis skill should be used when the user asks to "build an MCP server", "create an MCP", "make an..
chat-apps-ui-sdkUse this skill whenever building, reviewing, or designing apps that render interactive UI..
chrome-extension-uiChrome Extensions UX/UI design and implementation guidelines for popups, side panels, content..
chrome-extensionChrome Extensions (Manifest V3) performance and code quality guidelines
clean-architectureClean Architecture principles and best practices from Robert C
clean-code-ts-reactUse when writing, reviewing, or refactoring TypeScript or React code for craftsmanship — naming,..
clean-codeUse when writing, reviewing, or refactoring code for maintainability and readability
cli-for-agentsUse this skill whenever designing, building, or reviewing a command-line tool that AI agents or..
cli-review-runnerUse this skill whenever reviewing, auditing, or grading a command-line tool for..
code-map-visualizationUse this skill whenever rendering, styling, or making interactive a visualisation of a codebase..
code-simplifierCode simplification skill for improving clarity, consistency, and maintainability while..
codebase-comprehension-algorithmsUse this skill whenever mapping an unfamiliar codebase into feature/business domains — answering..
codemod-react-pipelineGuided, scripted pipeline for running JSX/TSX/React codemods safely across large legacy codebases
codemodCodemod (JSSG, ast-grep, workflows) best practices for writing efficient, safe, and maintainable..
codex-goalsPatterns and anti-patterns for using OpenAI Codex Goals — the persistent objectives feature..
complexity-optimizerAnalyze a software codebase for algorithmic complexity and performance hotspots, then propose or..
computer-science-algorithmsUse this skill whenever choosing or implementing an algorithm or data structure — covers..
design-to-react-algorithmsUse this skill whenever reverse-engineering a Sketch file (or Figma export with similar shape)..
deterministic-metric-designUse this skill whenever designing, reviewing, or validating a quantitative metric, score,..
dev-rfcCreate well-structured RFCs and technical proposals for software projects
diagram-qualityUse this skill whenever calling agent-uml MCP tools (design_create, diagram_upsert,..
diataxisUse whenever writing, editing, restructuring, or reviewing technical documentation — READMEs,..
django-recommender-search-backend-patternsUse this skill when building, reviewing, or refactoring a Django backend that fan-outs to..
dockerfile-optimiseDockerfile optimization guidelines from official Docker documentation
domain-architectDiscovers business domains in a Swift codebase by tracing what users can DO — not by reading..
drizzle-sqlite-scaffoldUse this skill whenever scaffolding Drizzle ORM + SQLite boilerplate — a new..
drizzle-sqliteUse this skill whenever writing, reviewing, or refactoring Drizzle ORM code targeting SQLite..
dx-harnessUse this skill whenever the user mentions developer-experience friction, slow onboarding,..
effect-tsUse this skill whenever writing, reviewing, debugging, or refactoring TypeScript code that uses..
emilkowal-animationsEmil Kowalski's animation best practices for web interfaces
eval-mcpUse this skill when the user asks to "evaluate MCP tools", "test tool selection", "improve tool..
exec-planManage the lifecycle of ExecPlans — self-contained, living specifications for multi-step work
expo-design-system-scaffolderUse this skill to scaffold new Expo / React Native design system components that obey the..
expo-design-systemAirbnb-DLS-aligned design system engineering for Expo / React Native apps targeting both web and..
expo-ios-hig-verifyUse this skill to verify that an Expo / React Native iOS app follows Apple Human Interface..
expo-ios-higUse this skill whenever building, reviewing, or refactoring an Expo / React Native app's iOS..
expo-ios-screen-scaffolderUse this skill to scaffold new Expo (React Native) iOS screens that follow Apple Human Interface..
expo-react-native-coderComprehensive Expo React Native feature development guide
expo-react-native-performanceExpo React Native performance optimization guidelines
feature-specFeature specification and planning guidelines for software engineers
fog-of-war-js-tsUse this skill whenever implementing, reviewing, or optimizing fog of war, field of view, line..
framer-motionFramer Motion performance optimization guidelines
geohash-spatial-code-mapsUse this skill whenever implementing, reviewing, or debugging geohash encoding/decoding in..
graph-schemaGraph database schema design and data modeling expert
harness-engineeringSet up or update the agent-first engineering harness for any repository
human-copywriteUse this skill whenever writing, editing, or reviewing user-facing copy — UI strings,..
humanizeRemove signs of AI-generated writing from text
implementation-design-patterns-pythonImplementation guide for the 22 Gang of Four design patterns in idiomatic modern Python (3.10+),..
implementation-design-patternsImplementation guide for the 22 Gang of Four design patterns in TypeScript, distilled from..
inngest-nextjs-patternsUse this skill whenever scaffolding Inngest event-driven functions in a Next.js (App Router)..
io-bound-data-processingUse this skill when processing, transforming, or moving datasets that may exceed RAM on a single..
ios-animationsClinic-architecture-aligned iOS animation craft guidelines for SwiftUI (iOS 26 / Swift 6.2)..
ios-chaos-monkeyCrash-hunter skill for iOS 26 / Swift 6.2 clinic-architecture codebases that finds and fixes..
ios-design-systemClinic-architecture-aligned iOS design system engineering for SwiftUI (iOS 26 / Swift 6.2)..
ios-designSwiftUI interface implementation patterns aligned with the iOS 26 / Swift 6.2 clinic modular..
ios-higApple Human Interface Guidelines for iOS 26 / Swift 6.2 clinic-architecture apps
ios-navigationOpinionated SwiftUI navigation enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps
ios-storyboardLegacy interoperability skill for Storyboard and Interface Builder maintenance in iOS 26 / Swift..
ios-testingTesting practices for iOS 26 / Swift 6.2 clinic modular MVVM-C applications
ios-ui-refactorPrincipal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2..
ios-xcodeXcode setup and tooling guidance for iOS 26 / Swift 6.2 clinic modular MVVM-C projects covering..
js-googleJavaScript style and best practices based on Google's official JavaScript Style Guide
jscodeshiftjscodeshift codemod development best practices from Facebook/Meta
knip-deadcodeKnip dead code detection best practices for JavaScript and TypeScript projects
linguistic-semantic-algorithmsUse this skill whenever mapping out an unfamiliar codebase, hunting bugs across many files,..
marketplace-personalisationUse this skill whenever designing, building, debugging, reviewing, or improving a..
marketplace-pre-member-personalisationUse this skill whenever designing, building, reviewing, or diagnosing the pre-member journey of..
marketplace-recsys-feature-engineeringUse this skill whenever deciding what features to extract from raw marketplace assets — listing..
marketplace-search-recsys-planningUse this skill whenever planning, designing, reviewing, or improving search and recommendation..
metric-validation-harnessUse this skill to empirically validate a software metric before trusting or optimizing it —..
migrate-js-to-modern-typescriptUse this skill whenever migrating a JavaScript codebase to TypeScript, converting .js files to..
nextjs-bundle-optimizerUse this skill whenever a Next.js 16 app needs smaller bundles or faster builds — even if the..
nextjs-supabase-saas-patternsUse this skill whenever writing, reviewing, or refactoring Next.js + Supabase SaaS code that..
nginx-c-module-debugnginx C module debugging guidelines based on the official nginx development guide
nginx-c-module-designnginx C module directive design guidelines for creating admin-friendly configuration interfaces
nginx-c-module-perfnginx C module performance optimization and reliability guidelines based on the official nginx..
nginx-c-modulesnginx C module development guidelines based on the official nginx development guide
openai-codex-rust-patternsOpenAI Codex Rust coding patterns distilled from the codex-rs workspace
opencode-tsWrite and refactor TypeScript code in repos that use Effect-TS services, Zod schemas,..
opensearch-function-scoring-algorithmsUse this skill when designing, tuning, reviewing, or evaluating search relevance and ranking for..
opensearch-personalize-caching-strategiesUse this skill when designing, tuning, reviewing, or debugging caching in front of AWS..
orvalOrval OpenAPI TypeScript client generation best practices
pt-irs-runbookUse this skill when navigating Portuguese personal income tax (IRS / Código do IRS) or filing a..
pulumiPulumi infrastructure as code performance and reliability guidelines
python-pep-authorUse this skill whenever the user wants to write, draft, or structure a Python Enhancement..
rails-application-ui-blocksCompose new Rails backend pages and refactor existing Rails UI to use premium blocks from..
rails-design-systemRuby on Rails design system guidelines for building consistent, maintainable UI with minimal..
rails-hotwireRuby on Rails Hotwire best practices for building interactive applications with Turbo Drive,..
react-fetch-cache-patternsUse this skill whenever building, reviewing, or refactoring React components that fetch data..
react-native-elementsReact Native Elements UI component library best practices for performance, theming, and proper..
react-optimiseApplication-level React performance optimization covering React Compiler mastery, bundle..
react-refactorArchitectural refactoring guide for React applications covering component architecture, state..
react-testing-libraryReact Testing Library best practices for writing maintainable, user-centric tests
same-results-less-codeUse this skill whenever reviewing, refactoring, or simplifying code with the goal of producing..
shellShell scripting best practices for writing safe, portable, and maintainable bash/sh scripts
storybookUse whenever creating, configuring, or extending Storybook for a TS/React component library —..
stripe-inspired-api-design-rulesUse this skill whenever designing, reviewing, or refactoring a JSON HTTP API — covers resource..
swift-dataSwiftData persistence and data-layer architecture for iOS 26 / Swift 6.2 clinic modular MVVM-C apps
swift-optimiseSwift 6.2 and SwiftUI performance optimization for iOS 26 clinic architecture codebases
swift-refactorSwift and SwiftUI refactoring patterns aligned with the iOS 26 / Swift 6.2 clinic modular MVVM-C..
swift-ui-architectOpinionated SwiftUI architecture enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps..
tailwind-refactorTailwind CSS code refactoring patterns for v4 migration and anti-pattern cleanup
tailwind-responsive-uiResponsive UI transformation patterns for Tailwind CSS applications
tailwind-ui-refactorRefactoring UI design patterns for Tailwind CSS applications
theory-of-constraintsApply the Theory of Constraints (Goldratt's Five Focusing Steps) to find and fix the single..
threat-modelUse this skill whenever performing security threat modeling, attack surface mapping, or trust..
threat-patchUse this skill to remediate security findings by producing minimal, surgical code patches
ts-googleGoogle TypeScript style guide for writing clean, consistent, type-safe code
typescript-advanced-patternsUse this skill when writing, reviewing, or designing advanced TypeScript code — type-level..
typescript-refactorTypeScript refactoring and modernization guidelines from a principal specialist perspective
uniwindUniwind best practices for React Native styling with Tailwind CSS
unix-cliUNIX command-line interface guidelines for building tools that follow POSIX conventions, proper..
vhsVHS terminal recording best practices from Charmbracelet
viteVite performance optimization guidelines
web-rulesStrict design and UX rules for React 19 + Next.js 16 (App Router) + Tailwind CSS 4
webpack-plugin-authoringUse this skill whenever writing, reviewing, or debugging webpack 5 plugins — covers hook..
webpack-plugin-recipesUse whenever you face a webpack-build problem that ends with needing to write a plugin — 26..
wxt-browser-extensionsWXT browser extension performance optimization guidelines
zustandZustand state management best practices for React applications
<!-- SKILLS-TABLE:END -->

Installation

Install skills using Vercel's add-skill CLI:

# Install all skills
npx add-skill pproenca/dot-skills

# List available skills
npx add-skill pproenca/dot-skills --list

# Install a specific skill
npx add-skill pproenca/dot-skills --skill <skill-name>

# Install globally (across all projects)
npx add-skill pproenca/dot-skills --global

Supported Agents

Skills are installed to agent-specific directories:

AgentInstallation Path
Claude Code.claude/skills/<name>/
Cursor.cursor/skills/<name>/
Codex.codex/skills/<name>/
OpenCode.opencode/skill/<name>/
Antigravity.agent/skills/<name>/

Creating Skills

See CONTRIBUTING.md for guidelines on creating new skills.

Quick Start

  1. Copy the template: cp -r skills/.template skills/my-skill
  2. Rename the template file: mv skills/my-skill/SKILL.md.template skills/my-skill/SKILL.md
  3. Edit SKILL.md with your skill's frontmatter and instructions
  4. Add scripts, references, or assets as needed
  5. Test with npx add-skill . --list

Skill Structure

skills/
├── my-skill/
│   ├── SKILL.md          # Required: Skill definition and instructions
│   ├── scripts/          # Optional: Executable scripts
│   ├── references/       # Optional: Additional documentation
│   └── assets/           # Optional: Static resources
├── .curated/             # Vetted, production-ready skills
├── .experimental/        # Work-in-progress skills
└── .template/            # Skill template (SKILL.md.template)

License

MIT

Skills Info
Original Name:swift-ui-best-practicesAuthor:pproenca