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.
npx skills add pproenca/dot-skills --skill ios-ui-refactorgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pproenca/dot-skills/ios-ui-refactor)<a href="https://agentmods.dev/skills/pproenca/dot-skills/ios-ui-refactor"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/ios-ui-refactor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/ios-ui-refactor"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/ios-ui-refactor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.02762 |
| Opus 5 | $0.00036 | $0.01381 |
| Sonnet 5 | $0.00014 | $0.00552 |
| Haiku 4.5 | $0.00007 | $0.00276 |
Grade A, and why
ios-ui-refactor 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apple HIG SwiftUI iOS 26 / Swift 6.2 Best Practices
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:
- Dieter Rams — Ten Principles for Good Design ("less, but better," "design should be honest")
- Ken Segall — Insanely Simple (simplicity as a core principle for intuitive, beautiful products)
- John Edson — Design Like Apple (design-focused culture, prototyping to perfection, the product is the marketing)
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.
Scope & Relationship to Sibling Skills
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.
Clinic Architecture Contract (iOS 26 / Swift 6.2)
All guidance in this skill assumes the clinic modular MVVM-C architecture:
- Feature modules import
Domain+DesignSystemonly (neverData, never sibling features) - App target is the convergence point and owns
DependencyContainer, concrete coordinators, and Route Shell wiring Domainstays pure Swift and defines models plus repository,*Coordinating,ErrorRouting, andAppErrorcontractsDataowns SwiftData/network/sync/retry/background I/O and implements Domain protocols- Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes
- ViewModels call repository protocols directly (no default use-case/interactor layer)
What ships with it
54 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/templates/_template.md 923 B
- metadata.json 2.3 KB
- references/_sections.md 6.0 KB
- references/enduring-card-modularity.md 4.6 KB
- references/enduring-swipe-back.md 4.8 KB
- references/enduring-system-text-styles.md 2.9 KB
- references/enduring-weight-not-caps.md 2.8 KB
- references/enduring-zoom-navigation.md 6.0 KB
- references/evident-label-clarity.md 4.1 KB
- references/evident-navigation-intent.md 4.2 KB
- references/evident-progressive-disclosure.md 6.9 KB
- references/evident-reading-order.md 5.8 KB
- references/evident-visual-weight.md 6.3 KB
- references/evident-whitespace-grouping.md 7.3 KB
- references/honest-contrast.md 4.5 KB
- references/honest-dark-mode.md 4.4 KB
- references/honest-depth-cues.md 7.6 KB
- references/honest-foreground-style.md 3.6 KB
- references/honest-loading-states.md 6.6 KB
- references/honest-semantic-colors.md 3.3 KB
- references/invisible-content-transitions.md 3.5 KB
- references/invisible-no-easing.md 4.3 KB
- references/invisible-spring-physics.md 5.3 KB
- references/invisible-spring-presets.md 4.5 KB
- references/invisible-symbol-effects.md 4.1 KB
- references/invisible-system-materials.md 3.5 KB
- references/less-color-restraint.md 6.6 KB
- references/less-fewer-controls.md 4.9 KB
- references/less-one-color-purpose.md 5.7 KB
- references/less-one-typeface.md 3.6 KB
- references/less-purposeful-motion.md 4.9 KB
- references/less-single-focal.md 6.2 KB
- references/less-type-restraint.md 4.1 KB
- references/refined-inspector.md 2.8 KB
- references/refined-matched-geometry.md 6.3 KB
- references/refined-mesh-gradients.md 5.1 KB
- references/refined-multi-detent.md 5.4 KB
- references/refined-no-hard-cuts.md 3.8 KB
- references/refined-phase-animator.md 6.6 KB
- references/refined-scroll-transitions.md 4.1 KB
- references/refined-text-renderer.md 3.4 KB
- references/system-alignment.md 5.4 KB
- references/system-brand-integration.md 4.7 KB
- references/system-color-naming.md 3.9 KB
- references/system-consistent-padding.md 4.2 KB
- references/system-corner-radii.md 5.1 KB
- references/system-spacing-grid.md 6.8 KB
- references/thorough-background-interaction.md 3.8 KB
- references/thorough-material-thickness.md 4.4 KB
- references/thorough-readable-weights.md 3.3 KB
- references/thorough-reduce-motion.md 3.8 KB
- references/thorough-safe-areas.md 4.9 KB
- references/thorough-touch-targets.md 5.4 KB
- references/thorough-vibrancy-levels.md 3.6 KB
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.
- 6d ago First seen · 164 lines · 72 tokens per session scan A 676541292380
ios-ui-refactor is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 25d ago), licensed MIT. It adds 72 tokens to every session and 2,762 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
animation-principles
Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.
refactoring-ui
Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…