oiloil-ui-ux-guide
Modern, clean UI/UX guidance + review skill. Use when you need actionable UX/UI recommendations, design principles, or a design review checklist for new features or existing systems (web/app). Focus on CRAP (Contrast/Repetition/Alignment/Proximity) plus task-first UX, information architecture, feedback & system status, consistency, affordances, error prevention/recovery, and cognitive load. Enforce a modern minimal style (clean, spacious, typography-led), reduce unnecessary copy, forbid emoji as icons, and recommend intuitive refined icons from a consistent icon set.
- License 许可
- MIT
- 最近更新
- 2026-04-16
- Stars
- ★ 52
- Forks
- 13
01 前言 Front Matter
- name
- oiloil-ui-ux-guide
- description
- Modern, clean UI/UX guidance + review skill. Use when you need actionable UX/UI recommendations, design principles, or a design review checklist for new features or existing systems (web/app). Focus on CRAP (Contrast/Repetition/Alignment/Proximity) plus task-first UX, information architecture, feedback & system status, consistency, affordances, error prevention/recovery, and cognitive load. Enforce a modern minimal style (clean, spacious, typography-led), reduce unnecessary copy, forbid emoji as icons, and recommend intuitive refined icons from a consistent icon set.
02 资源文件 6
- 参考文档references/checklists.md4.5 KB
- 参考文档references/design-psych.md3.6 KB
- 参考文档references/icons.md1.6 KB
- 参考文档references/interaction-psychology.md7.6 KB
- 参考文档references/review-template.md1.8 KB
- 参考文档references/system-principles.md5.2 KB
03 SKILL.md 正文
OilOil UI/UX Guide (Modern Minimal)
Use this skill in two modes:
guide: Provide compact principles and concrete do/don't rules for modern clean UI/UX.review: Review an existing UI (screenshot / mock / HTML / PR) and output prioritized, actionable fixes.
Keep outputs concise. Prefer bullets, not long paragraphs.
Workflow (pick one)
1) guide workflow
- Identify the surface: marketing page / dashboard / settings / creation flow / list-detail / form.
- Identify the primary user task and primary CTA.
- Apply the system-level guiding principles first (mental model and interaction logic).
- Then apply the core principles below (start from UX, then refine with CRAP).
- If icons are involved: apply
references/icons.md.
2) review workflow
- State assumptions (platform, target user, primary task).
- List findings as
P0/P1/P2(blocker / important / polish) with short evidence. - For each major issue, label the diagnosis: execution vs evaluation gulf; slip vs mistake (see
references/design-psych.md). - Propose fixes that are implementable (layout, hierarchy, components, copy, states).
- End with a short checklist to verify changes.
Use references/review-template.md when you need a stable output format.
Non-negotiables (hard rules)
- No emoji used as icons (or as UI decoration). If an emoji appears, replace it with a proper icon.
- Icons must be intuitive and refined. Use a single consistent icon set for the product (avoid mixing styles).
- Minimize copy by default. Add explanatory text only when it prevents errors, reduces ambiguity, or improves trust.
System-Level Guiding Principles
Apply these as first-order constraints before choosing components or page patterns.
Full definitions and review questions: references/system-principles.md.
Key principles: concept constancy · primary task focus · UI copy source discipline · state perceptibility · help text layering (L0–L3) · feedback loop closure · prevention + recoverability · progressive complexity · action perceptibility · cognitive load budget · evolution with semantic continuity.
Core Principles (minimal set)
A) Task-first UX
- Make the primary task obvious in <3 seconds.
- Allow exactly one primary CTA per screen/section.
- Optimize the happy path; hide advanced controls behind progressive disclosure.
B) Information architecture (grouping & findability)
- Group by user mental model (goal/object/time/status), not by backend fields.
- Use clear section titles; keep navigation patterns stable across similar screens.
- When item count grows: add search/filter/sort early, not late.
C) Feedback & system status
- Cover all states: loading, empty, error, success, permission. Details in
references/checklists.md. - After any action, answer: "did it work?" + "what changed?" + "what can I do next?"
- Prefer inline, contextual feedback over global toasts (except for cross-page actions).
D) Consistency & predictability
- Same interaction = same component + same wording + same placement.
- Use a small, stable set of component variants; avoid one-off styles.
E) Affordance + Signifiers (make actions obvious)
- Clickable things must look clickable (button/link styling + hover/focus + cursor). On web, custom clickable elements need
cursor: pointerand focus styles. - Primary actions need a label; icon-only is reserved for universally-known actions.
- Show constraints before submit (format, units, required), not only after errors.
- For deeper theory (affordances, signifiers, mapping, constraints): see
references/design-psych.md.
F) Error prevention & recovery
- Prevent errors with constraints, defaults, and inline validation.
- Make destructive actions reversible when possible; otherwise require deliberate confirmation.
- Error messages must be actionable (what happened + how to fix).
G) Cognitive load control
- Reduce choices: sensible defaults, presets, and progressive disclosure.
- Break long tasks into steps only when it reduces thinking (not just to look "enterprise").
- Keep visual noise low: fewer borders, fewer colors, fewer competing highlights.
H) CRAP (visual hierarchy & layout)
- Contrast: emphasize the few things that matter (CTA, current state, key numbers).
- Repetition: tokens/components/spacing follow a scale; avoid “almost the same” styles.
- Alignment: align to a clear grid; fix 2px drift; align baselines where text matters.
- Proximity: tight within a group, loose between groups; spacing is the primary grouping tool.
Spacing & layout discipline (compact rule set)
Use this when implementing or reviewing layouts. Keep it short, but enforce it strictly.
- Rule 1 - One spacing scale:
- Base unit: 4px.
- Allowed spacing set (recommended): 4 / 8 / 12 / 16 / 24 / 32 / 40 / 48.
- New gaps/padding should use this set; off-scale values need a clear reason.
- Rule 2 - Repetition first:
- Same component type keeps the same internal spacing (cards, list rows, form groups, section blocks).
- Components with the same visual role should not have different spacing patterns.
- Rule 3 - Alignment + grouping:
- Align to one grid and fix 1-2px drift.
- Tight spacing within a group, looser spacing between groups.
- Rule 4 - No decorative nesting:
- Extra wrappers must add real function (grouping, state, scroll, affordance).
- If a wrapper only adds border/background, remove it and group with spacing instead.
- Quick review pass:
- Any off-scale spacing values?
- Any baseline/edge misalignment?
- Any wrapper layer removable without losing meaning?
Modern minimal style guidance (taste with rules)
- Use whitespace + typography to create hierarchy; avoid decoration-first design.
- Prefer subtle surfaces (light elevation, low-contrast borders). Avoid heavy shadows.
- Keep color palette small; use one accent color for primary actions and key states.
- Copy: short, direct labels; add helper text only when it reduces mistakes or increases trust.
Motion (animation) guidance (content/creator-friendly, not flashy)
- Motion explains hierarchy (what is a layer/panel) and state change (what just happened). Avoid motion as decoration.
- Default motion vocabulary: fade; then small translate+fade; allow tiny scale+fade for overlays. Avoid big bouncy motion.
- Keep the canvas/content area stable. Panels/overlays can move; the work surface should not “float.”
- Prefer consistency over variety: same component type uses the same motion pattern.
- Avoid layout jumps. Use placeholders/skeletons to keep layout stable while loading.
Anti-AI Self-Check (run after generating UI)
Before finalizing any generated UI, verify these items. Violating any one is a mandatory fix.
- Gradient restraint — Gradients must convey meaning (progress, depth, state distinction). Purely decorative gradients: at most one per page. If background, buttons, and borders all use gradients simultaneously, that is overuse — pick one and flatten the rest.
- No emoji as UI — Already a non-negotiable. Re-check: no emoji slipped in as section icons, status indicators, or button labels.
- Copy necessity — For every piece of text, ask: if I remove this, can the user still understand through layout, icons, and position alone? If yes, remove it. Text is the last resort, not the default.
- Decoration justification — Every purely visual effect (blur, glow, animated entrance, layered shadows) must answer: "what does this help the user understand?" No answer → remove.
References
- System-level guiding principles (concept constancy, copy discipline, state perceptibility, etc.):
references/system-principles.md - Interaction psychology (Fitts/Hick/Miller, cognitive biases, flow, attention):
references/interaction-psychology.md - Design psychology (affordances, signifiers, mapping, constraints, gulfs, slips vs mistakes):
references/design-psych.md - Icon rules and "intuitive refined" guidance:
references/icons.md - Review output template and scoring:
references/review-template.md - Expanded checklists (states, affordance, lists, forms, settings, motion, dashboards, copy):
references/checklists.md
04 同仓库更多 Skills
what-if-oracle
Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like "what if...", "what would happen if...", "what are the possibilities", "explore scenarios", "scenario analysis", "possibility space", "what could go wrong", "best case / worst case", "risk analysis", "contingency planning", "strategic options", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.
venue-templates
Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
the-fool
Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.
scientific-writing
Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), for research papers and journal submissions.
scientific-brainstorming
Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.
research-lookup
Look up current research information using the Parallel Chat API (primary) or Perplexity sonar-pro-search (academic paper searches). Automatically routes queries to the best backend. Use for finding papers, gathering research data, and verifying scientific information.