Agent skill · Audited from source
Refactoring Ui
skill · wondelai/skillsMIT licenceAudited 10 Oct 2026 · source c502026d022a
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit c502026d022a and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 5 findings, 0 critical or high. What it does: 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",…
Cite
Cite this page
ModelsAtlas. “Refactoring Ui (wondelai/skills)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/wondelai/refactoring-ui
Trust audit
Audit 0.4.1 · source read 10 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 5 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (5)
MEDIUMInventory / provenanceinv.symlink · .agents/skills/37signals-way
.agents/skills/37signals-way
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/architecture-optimization
.agents/skills/architecture-optimization
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/blue-ocean-strategy
.agents/skills/blue-ocean-strategy
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/clean-architecture
.agents/skills/clean-architecture
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .agents/skills/clean-code
.agents/skills/clean-code
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha c502026d022a · 10 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherwondelai GitHub organizationOwner of the repository this skill is read from
- Source folderwondelai/skills/refactoring-uiThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdictc502026d022aA new audit runs when the source changes
- Repository statusNot archivedLast push 30 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 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",…
--- name: refactoring-ui description: '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 design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.' license: MIT metadata: author: wondelai version: "1.5.1" --- # Refactoring UI Design System A practical, opinionated approach to UI design. Apply these principles when generating frontend code, reviewing designs, or advising on visual improvements. ## Core Principle **Design in grayscale first. Add color last.** This forces proper hierarchy through spacing, contrast, and typography before relying on color as a crutch. **The foundation:** Great UI isn't about talent — it's about systems. Constrained scales for spacing, type, color, and shadows produce consistently professional results. Start with too much white space and remove; leave details (icons, shadows, micro-interactions) until layout and hierarchy work. ## Scoring **Goal: 10/10.** Score by counting satisfied rows in the [Quick Diagnostic](#quick-diagnostic) (8 yes/no checks): `score = round(satisfied / 8 × 10)`. Bands follow directly: **10** = all 8 pass (hierarchy reads blurred and in grayscale, every value on a scale); **9** = exactly 1 gap (usually weak hierarchy or thin white space); **6-8** = 2-3 gaps; **<=5** = 4+ gaps (arbitrary spacing, color doing the work hierarchy should, or failing contrast). Always state the current score and the specific diagnostic rows to fix to reach 10/10. ## The Refactoring UI Framework Seven principles for building professional interfaces without a designer: ### 1. Visual Hierarchy **Core concept:** Not everything can be important. Create hierarchy through three levers: size, weight, and color. **Why it works:** When every element competes for attention, nothing stands out; deliberately de-emphasizing secondary content makes primary content powerful by contrast. **Key insights:** - Combine levers, don't multiply — primary text = large OR bold OR dark, not all three; save "all three" for the single most important element - Labels are secondary — form labels, table headers, and metadata support the data, not compete with it; make them smaller, lighter, or uppercase-small - Semantic color ≠ visual weight — a muted secondary button often beats screaming red for routine destructive actions **Product applications:** | Context | Hierarchy Technique | Example | |---------|---------------------|---------| | **Form fields** | De-emphasize labels, emphasize values | Small uppercase label above large value | | **Dashboards** | Key metric large, context small | "$42,300" large, "vs last month" small | | **Tables** | De-emphasize headers, emphasize data | Headers uppercase small gray, data normal | **Design patterns:** - Three-level hierarchy: Size (large/base/small), Weight (bold/medium/normal), Color (dark/medium/light gray) - Button hierarchy: primary (filled), secondary (outlined or muted), tertiary (text only) **Ethical boundary:** Don't use hierarchy tricks to hide important information like pricing, terms, or cancellation options. See [references/advanced-patterns.md](references/advanced-patterns.md) when designing components beyond static layout — interaction/hover/focus states, form design, empty states, border-radius systems, text truncation, and responsive breakpoints. ### 2. Spacing & Sizing **Core concept:** Use a constrained spacing scale, not arbitrary values. Spacing defines relationships — closer elements read as more related. **Why it works:** Arbitrary spacing (padding: 13px) creates inconsistency; a fixed scale forces deliberate decisions and harmonious layouts. Generous spacing feels premium; dense feels overwhelming. **Key insights:** - Use the scale: 4, 8, 16, 24, 32, 48, 64px - Start with too much white space, then remove — you'll almost never remove enough - Spacing between groups must exceed spacing within groups - Constrain widths: text to 45-75 characters (`max-w-prose`), forms to 300-500px; full-width is almost never right **Product applications:** | Context | Spacing Strategy | Example | |---------|-----------------|---------| | **Icon + label** | Tight coupling (4px) | Small gap keeps them connected | | **Card sections** | Section separation (24px) | Title, content, footer blocks | | **Page sections** | Major sections (48-64px) | Hero, features, testimonials | **CSS patterns:** - `p-1`(4px) `p-2`(8px) `p-4`(16px) `p-6`(24px) `p-8`(32px) `p-12`(48px) `p-16`(64px) - `max-w-prose`(65ch) `max-w-md`(28rem) `max-w-lg`(32rem) `max-w-xl`(36rem) - `gap-2` for related items, `gap-6` for section separation ### 3. Typography **Core concept:** Use a modular type scale, constrain line heights by context, and limit to two font families maximum. **Why it works:** A modular scale (steps growing ~1.2× each) creates natural visual rhythm; tight line heights on headings and relaxed on body text improve readability in each context. **Key insights:** - Scale: 12, 14, 16, 18, 20, 24, 30, 36px (~1.2 modular, hand-tuned) - Headings: tight line height (1.0-1.25); body: relaxed (1.5-1.75); wider text needs more line height - Avoid weights below 400 for body text; use bold (600-700) for emphasis, not everything - Two fonts max: one for headings, one for body (or one family with weight variation) **Product applications:** | Context | Typography Rule | Example | |---------|----------------|---------| | **Hero headline** | 36px, line-height 1.1, bold | Large impactful statement | | **Body text** | 16px, line-height 1.75, normal | Comfor
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit c502026
git clone https://github.com/wondelai/skills git -C skills checkout c502026d022a
The author documents no install command, so this uses the repository directly. Our verdict covers commit c502026d022a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
c502026d022a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/wondelai/refactoring-ui/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →wondelai/skills
Create irresistible offers using the Value Equation, bonus stacking, risk-reversing guarantees, and ethical scarcity. Use when the user mentions "grand slam offer", "make my offer more compelling", "what bonuses should…
wondelai/skills
Diagnose and fix retention problems using behavior design (B=MAP). Use when the user mentions "users sign up but dont stick around", "activation rate", "onboarding friction", "retention metrics", "why users dont…
wondelai/skills
Apply the seven principles of ethical persuasion (reciprocity, commitment, social proof, authority, liking, scarcity, unity) to product design, copy, and sales. Use when the user mentions "social proof", "persuasive…
wondelai/skills
Build empowered product teams using discovery and delivery dual-track. Use when the user mentions "product discovery", "empowered teams", "feature factory", "opportunity assessment", "product vision", "product…
wondelai/skills
Design native iOS interfaces following Apple Human Interface Guidelines. Use when the user mentions "iPhone app", "iPad layout", "SwiftUI", "UIKit", "Dynamic Island", "safe areas", "HIG compliance", "SF Symbols",…
wondelai/skills
Discover what customers truly need by analyzing the "job" they hire your product to do. Use when the user mentions "customer discovery", "why customers churn", "what job does this solve", "competing against luck",…
Add this badge to your README
[](https://modelsatlas.com/skills/wondelai/refactoring-ui/)
<a href="https://modelsatlas.com/skills/wondelai/refactoring-ui/"><img src="https://modelsatlas.com/skills/wondelai/refactoring-ui/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Refactoring Ui
What does the Refactoring Ui skill do?
Is Refactoring Ui safe to install?
What can Refactoring Ui access on my machine?
Which assistants does Refactoring Ui work with?
How current is this page?
Sources
- github.com/wondelai/skills/tree/main/refactoring-ui — the audited source at commit c502026d022a and every finding aboveObserved · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Refactoring Ui skill do?
- Is Refactoring Ui safe to install?
- What can Refactoring Ui access on my machine?