View Refactor
robinebers/openusage
Refactor macOS SwiftUI views and scenes with strong defaults for small dedicated subviews, stable sidebar and selection structure, explicit command and toolbar ownership, scene-aware state, and…
Principal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles.
$ npx skills add pproenca/dot-skills --skill ios-ui-refactor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pproenca/dot-skills ios-ui-refactor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.experimental/ios-ui-refactor .claude/skills/ios-ui-refactor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ios-ui-refactor" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactor into .claude/skills/ios-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ios-ui-refactor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pproenca/dot-skills --skill ios-ui-refactor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pproenca/dot-skills ios-ui-refactor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/.experimental/ios-ui-refactor .agents/skills/ios-ui-refactor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ios-ui-refactor" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactor into .agents/skills/ios-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ios-ui-refactor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pproenca/dot-skills --skill ios-ui-refactor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pproenca/dot-skills ios-ui-refactor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/.experimental/ios-ui-refactor .cursor/skills/ios-ui-refactor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ios-ui-refactor" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactor into .cursor/skills/ios-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ios-ui-refactor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pproenca/dot-skills.git --path skills/.experimental/ios-ui-refactor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pproenca/dot-skills --skill ios-ui-refactor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pproenca/dot-skills ios-ui-refactor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/.experimental/ios-ui-refactor .gemini/skills/ios-ui-refactor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ios-ui-refactor" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactor into .gemini/skills/ios-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ios-ui-refactor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pproenca/dot-skills ios-ui-refactorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pproenca/dot-skills --skill ios-ui-refactor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/.experimental/ios-ui-refactor .github/skills/ios-ui-refactor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ios-ui-refactor" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactor into .github/skills/ios-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ios-ui-refactor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pproenca/dot-skills --skill ios-ui-refactor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pproenca/dot-skills ios-ui-refactor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pproenca/dot-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/.experimental/ios-ui-refactor .opencode/skills/ios-ui-refactor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ios-ui-refactor" agent skill from https://github.com/pproenca/dot-skills/tree/master/skills/.experimental/ios-ui-refactor into .opencode/skills/ios-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ios-ui-refactor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ios-ui-refactorPrincipal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles.
iOS UI Refactor is an agent skill from pproenca/dot-skills. Principal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles. Use when auditing or improving existing SwiftUI screens, transitions, animations, and visual systems while preserving brand identity and respecting clinic Domain/Data/App boundaries.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 57 other files, including reference files and assets (for example `assets/templates/_template.md`, `metadata.json` and `references/_sections.md`).
It sits in Mobile, covering iOS development, Refactoring and Brand strategy and identity. It works with iOS, SwiftUI and Swift. The repository describes itself as: A collection of AI agent skills following the Agent Skills open format. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cf93c57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
iOS UI Refactor loads about 3k tokens when it runs, and up to ~67k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 1,102 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from pproenca/dot-skills at commit cf93c57, republished under its MIT licence (© pproenca). 1,102 words, ~2,968 tokens.
.claude/skills/ios-ui-refactor/SKILL.md (or your agent's skills folder). This skill also uses 54 other files; get the full folder from GitHub.A principal designer's lens for evaluating and refactoring SwiftUI interfaces to Apple-quality standards, grounded in Rams, Segall, and Edson. Contains 51 rules across 8 categories, each grounded in specific principles from three foundational design texts:
Categories are ordered by a visual review process: start with what to remove, then what to clarify, then what to make honest, invisible, systematic, thorough, enduring, and finally what to refine.
This skill is the refactoring and review lens — it evaluates existing UI and identifies visual anti-patterns to fix. When loaded alongside ios-design (building new UI), ios-hig (HIG compliance), or swift-refactor (code-level refactoring), this skill supersedes overlapping rules with more detailed "incorrect -> correct" transformations and "When NOT to apply" guidance. Use this skill for auditing and improving existing screens; use the siblings for greenfield implementation.
All guidance in this skill assumes the clinic modular MVVM-C architecture:
Domain + DesignSystem only (never Data, never sibling features)DependencyContainer, concrete coordinators, and Route Shell wiringDomain stays pure Swift and defines models plus repository, *Coordinating, ErrorRouting, and AppError contractsData owns SwiftData/network/sync/retry/background I/O and implements Domain protocolsReference these guidelines when:
| Priority | Category | Principle | Impact | Prefix | Rules |
|---|---|---|---|---|---|
| 1 | Less, But Better | Rams #10 + Segall "Think Minimal" | CRITICAL | less- | 7 |
| 2 | Self-Evident Design | Rams #4 + Segall "Think Human" | CRITICAL | evident- | 6 |
| 3 | Honest Interfaces | Rams #6 + Segall "Think Brutal" | CRITICAL | honest- | 6 |
| 4 | Invisible Design | Rams #5 + Edson "Product Is Marketing" | HIGH | invisible- | 6 |
| 5 | Systems, Not Pieces | Edson "Systems Thinking" + Rams #8 | HIGH | system- | 6 |
| 6 | Thorough to the Last Detail | Rams #8 + Rams #2 | HIGH | thorough- | 7 |
| 7 | Enduring Over Trendy | Rams #7 + Edson "Design With Conviction" | MEDIUM-HIGH | enduring- | 5 |
| 8 | Refined Through Iteration | Edson "Design Out Loud" + Rams #1/#3 | MEDIUM | refined- | 8 |
Rams #10: "Good design is as little design as possible." Segall: Apple succeeded by saying no to a thousand things.
less-single-focal - One primary focal point per screenless-type-restraint - Limit to 3-4 distinct type treatments per screenless-one-typeface - One typeface per app, differentiate with weight and sizeless-color-restraint - Reserve saturated colors for small interactive elementsless-one-color-purpose - Each semantic color serves exactly one purposeless-purposeful-motion - Every animation must communicate state change or provide feedbackless-fewer-controls - Remove controls that do not serve the core taskRams #4: "Good design makes a product understandable." Segall: interfaces must speak in terms people understand.
evident-visual-weight - Combine size, weight, and contrast for hierarchyevident-whitespace-grouping - Use whitespace to separate conceptual groupsevident-progressive-disclosure - Use progressive disclosure for dense informationevident-reading-order - Align visual weight with logical reading orderevident-navigation-intent - Sheets for tasks and creation, push for drill-down hierarchyevident-label-clarity - Use clear labels over ambiguous iconsRams #6: "Good design is honest." Segall: clarity without sugar-coating.
honest-semantic-colors - Use semantic colors, never hard-coded black or whitehonest-contrast - Ensure WCAG AA contrast ratioshonest-dark-mode - Define light and dark variants for every custom colorhonest-foreground-style - Use foregroundStyle over foregroundColorhonest-depth-cues - Use materials for layering, not drop shadows for depthhonest-loading-states - Show real progress, not indefinite spinnersRams #5: "Good design is unobtrusive." Edson: the product itself is the marketing.
invisible-spring-physics - Default to spring animations for all UI transitionsinvisible-spring-presets - Use .smooth for routine, .snappy for interactive, .bouncy for delightinvisible-no-easing - Prefer springs over linear and easeInOut for UI elementsinvisible-system-materials - Use system materials, not custom semi-transparent backgroundsinvisible-symbol-effects - Use built-in symbolEffect, not manual symbol animationinvisible-content-transitions - Use contentTransition for changing text and numbersEdson: "Design is systems thinking." Rams #8: nothing must be arbitrary or left to chance.
system-spacing-grid - Use a 4pt base unit for all spacingsystem-consistent-padding - Use consistent padding across all screenssystem-corner-radii - Standardize corner radii per component typesystem-alignment - Consistent alignment per content type within a screensystem-color-naming - Name custom colors by role, not huesystem-brand-integration - Map brand palette onto iOS semantic color rolesRams #8: "Care and accuracy in the design process show respect for the user." Rams #2: if the user cannot reliably use it, the product has failed.
thorough-reduce-motion - Always provide reduce motion fallbackthorough-touch-targets - All interactive elements at least 44x44 pointsthorough-safe-areas - Always respect safe areasthorough-readable-weights - Avoid light font weights for body textthorough-vibrancy-levels - Match vibrancy level to content importancethorough-material-thickness - Choose material thickness by contrast needsthorough-background-interaction - Enable background interaction for peek-style sheetsRams #7: "Good design is long-lasting." Edson: commit to a voice that persists across product generations.
enduring-system-text-styles - Use Apple text styles, never fixed font sizesenduring-weight-not-caps - Use weight for emphasis, not ALL CAPSenduring-swipe-back - Never break the system back-swipe gestureenduring-zoom-navigation - Use zoom transitions for collection-to-detail navigationenduring-card-modularity - Use self-contained cards for dashboard layoutsEdson: "Design out loud" — prototype relentlessly until every interaction feels inevitable. Rams #1: innovation serves genuine purpose.
refined-scroll-transitions - Use scrollTransition for scroll-position visual effectsrefined-phase-animator - Use PhaseAnimator for multi-step animation sequencesrefined-mesh-gradients - Use MeshGradient for premium dynamic backgroundsrefined-text-renderer - Use TextRenderer for hero text animations onlyrefined-inspector - Use inspector for trailing-edge detail panelsrefined-multi-detent - Provide multiple sheet detents with drag indicatorrefined-matched-geometry - Use matchedGeometryEffect for contextual origin transitionsrefined-no-hard-cuts - Always animate between states, even minimallyRead individual reference files for detailed explanations and code examples:
| File | Description |
|---|---|
| references/_sections.md | Category definitions and principle grounding |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
© pproenca, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 54 other files (references, assets) in skills/.experimental/ios-ui-refactor of pproenca/dot-skills.
Open the folder on GitHubat commit cf93c57
iOS UI Refactor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| iOS UI Refactor this skillpproenca/dot-skills | 214 | — | ~3k | Automated safety check: Pass | MIT | |
| View Refactorrobinebers/openusage | 4.3k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Swiftui Expert SkillAFK-surf/OpenBridge | 430 | 2 repos | ~3.9k | Automated safety check: Pass | MIT | |
| Swiftui AnimationAstraFoundry/KumoApp | 290 | — | ~4.1k | Automated safety check: Pass | AGPL-3.0 | |
| Snapshot Testsmicrosoft/SwiftStreamingMarkdown | 377 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Bootstrap iOSRayFernando1337/rayfernando-skills | 130 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 |
robinebers/openusage
Refactor macOS SwiftUI views and scenes with strong defaults for small dedicated subviews, stable sidebar and selection structure, explicit command and toolbar ownership, scene-aware state, and…
AFK-surf/OpenBridge
Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption.
AstraFoundry/KumoApp
Implement, review, or improve SwiftUI animations and transitions.
microsoft/SwiftStreamingMarkdown
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
dpearson2699/swift-ios-skills
Implement, diagnose, or review SwiftUI motion using explicit and scoped implicit animations, springs, transitions, PhaseAnimator, KeyframeAnimator, matched geometry or navigation zoom, SF Symbol…
pproenca/dot-skills
Audio forensics and voice recovery guidelines for CSI-level audio analysis.
pproenca/dot-skills
Guided, scripted pipeline for running JSX/TSX/React codemods safely across large legacy codebases.
pproenca/dot-skills
Create well-structured RFCs and technical proposals for software projects.
pproenca/dot-skills
Developer-experience friction auditing and fixing — slow onboarding, repeated manual setup steps, missing bootstrap/reset/seed scripts, undiscoverable conventions.
pproenca/dot-skills
Turn a rough idea for a language into a complete, implementable specification — a DSL, query, config/data, template, or protocol language — by interviewing the author dimension by dimension until…
pproenca/dot-skills
Drafting Python Enhancement Proposals (PEPs) — proposing a Python language feature, a standard library change, an interoperability standard, or an informational/process document for the Python…
Categories
Principal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles. iOS UI Refactor is an agent skill from pproenca/dot-skills.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles.
iOS UI Refactor fits situations like: improving existing SwiftUI screens; visual systems while preserving brand identity and respecting clinic Domain/Data/App boundaries.
Run `npx skills add pproenca/dot-skills --skill ios-ui-refactor -a claude-code`. Or copy the skill folder (skills/.experimental/ios-ui-refactor in pproenca/dot-skills) into .claude/skills/ios-ui-refactor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pproenca/dot-skills --skill ios-ui-refactor -a codex`. Or copy the skill folder (skills/.experimental/ios-ui-refactor in pproenca/dot-skills) into .agents/skills/ios-ui-refactor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pproenca/dot-skills --skill ios-ui-refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ios-ui-refactor, .gemini/skills/ios-ui-refactor, .github/skills/ios-ui-refactor and .opencode/skills/ios-ui-refactor in your project.
SKILL.md names no scripts, command-line tools or credentials: iOS UI Refactor is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
iOS UI Refactor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 64k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with iOS UI Refactor: View Refactor (robinebers/openusage, 4.3k stars), Swiftui Expert Skill (AFK-surf/OpenBridge, 430 stars), Swiftui Animation (AstraFoundry/KumoApp, 290 stars) and Snapshot Tests (microsoft/SwiftStreamingMarkdown, 377 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pproenca (a GitHub user) maintains it in pproenca/dot-skills, which has 214 GitHub stars. The repository holds 182 skills in this directory. The repository was last updated on August 15, 2026.
Source: pproenca/dot-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.