refactoring-ui-plugin
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
02 资源文件 5
- 参考文档adapters/multi-platform-skill-template.md7.7 KB
- 参考文档examples/visual-hierarchy/before-after.md1.8 KB
- 参考文档PLATFORM_GUIDE.md7.0 KB
- 参考文档README.md3.7 KB
- 参考文档skills.json7.3 KB
03 SKILL.md 正文
Refactoring UI Skills
Atomic UI/design decision-making skills extracted from the book Refactoring UI by Adam Wathan and Steve Schoger.
Overview
These skills represent atomic transformations that can be composed to improve any interface design. Each skill has:
- Clear input/output specifications
- Decision criteria and visual signals
- Common failure modes
- Prerequisites and dependencies
Core Skills (10)
1. Visual Hierarchy
| Skill | Purpose | Type |
|---|---|---|
01-establish-visual-hierarchy |
Determine what draws attention first, second, third | Evaluative + Generative |
2. Typography
| Skill | Purpose | Type |
|---|---|---|
02-apply-typography-scale |
Create hierarchy with limited font sizes | Generative + Evaluative |
3. Color
| Skill | Purpose | Type |
|---|---|---|
03-build-color-palette |
Create functional, limited color system | Generative + Evaluative |
09-manage-color-contrast |
Ensure accessibility and readability | Evaluative + Corrective |
4. Spacing & Layout
| Skill | Purpose | Type |
|---|---|---|
04-apply-consistent-spacing |
Use systematic spacing for rhythm | Generative + Evaluative |
10-group-related-elements |
Use proximity to show relationships | Generative + Evaluative |
5. Components
| Skill | Purpose | Type |
|---|---|---|
05-design-button-hierarchy |
Create clear action distinctions | Generative + Evaluative |
07-design-empty-states |
Create helpful zero-content states | Generative + Evaluative |
6. Polish & Details
| Skill | Purpose | Type |
|---|---|---|
06-eliminate-visual-clutter |
Remove unnecessary decorations | Corrective + Evaluative |
08-use-shadows-appropriately |
Add depth only when necessary | Corrective + Evaluative |
Usage
Apply these skills in sequence:
- Start with hierarchy (what matters most?)
- Establish layout structure and spacing
- Apply typography scale
- Build color palette
- Design components with proper hierarchy
- Polish details (eliminate clutter, appropriate shadows)
- Handle edge states (empty states, errors)
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.