Refactoring ui
Audit interface quality using Refactoring UI principles for hierarchy, spacing, color, and depth. Use when the UI feels off, when the user asks to fix visual hierarchy, refine spacing, improve color palette, or polish visual design before ship.From its SKILL.md
npx -y skills add talgacapri/pm-os --skill refactoring-uiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 396 tokens by cl100k_base, as published. Nobody here has run it
Refactoring UI
Use this skill when a screen looks "almost right" but feels visually weak.
What this skill does
This skill audits and improves:
- Visual hierarchy (what gets attention first)
- Spacing rhythm (consistent layout and grouping)
- Typography clarity and contrast
- Color and contrast consistency
- Shadows, borders, and depth usage
Best triggers
Activate for requests like:
- "my UI looks off"
- "fix the design"
- "visual hierarchy"
- "color palette"
- "polish this screen"
Workflow
- Identify the product goal and primary action on the screen.
- Run a hierarchy pass:
- Check headline prominence, CTA emphasis, and scan order.
- Reduce visual noise competing with the primary action.
- Run a spacing pass:
- Normalize spacing scale (tight, base, section gaps).
- Group related elements and separate unrelated ones.
- Run typography pass:
- Limit type styles and weights.
- Improve line length and readability.
- Run color pass:
- Reserve accent colors for important actions and status.
- Ensure sufficient contrast for text and controls.
- Run depth pass:
- Use shadows and borders intentionally, not everywhere.
- Remove decorative effects that do not convey structure.
- Return a prioritized fix list:
- Critical (must fix before ship)
- High impact polish
- Optional refinements
Output format
Return:
- A short diagnosis of why the screen feels off
- Top 5 changes by impact
- A concrete style recipe (spacing, type, color, depth rules)
- If asked, updated code or design-ready spec
Guardrails
- Prioritize clarity over decoration.
- Keep one clear primary action per view.
- Apply consistent systems (scale, tokens, reusable patterns).
- Explain changes in plain language tied to user outcomes.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.