Oma design

From gracefullight/docusaurus-plugins · View interactive version

Oma design is an AI agent skill from the GitHub repository gracefullight/docusaurus-plugins. AI design specialist skill with DESIGN.md management, anti-pattern enforcement, optional Stitch MCP integration, and component library guidance. Covers typography, color systems, motion design (motion/react, GSAP, Three.js), responsive-first layouts, and accessibility (WCAG 2.2).

How to use this skill

Skill file

oma-design

Scheduling

Goal

Design specialist that defines, creates, and validates project design systems.

DESIGN.md is the central artifact; all design work revolves around it.

Intent signature

When to use

When NOT to use

Expected inputs

Expected outputs

outputs:
  - name: design-doc
    description: Updated DESIGN.md when the run materially advances the design system
    artifact: "DESIGN.md"
    required: false
  - name: design-context
    description: Refreshed .design-context.md snapshot when a discovery pass runs
    artifact: ".design-context.md"
    required: false

Dependencies

Control-flow features

Structural Flow

Entry

  1. Check .design-context.md; if missing, run setup before design work.
  2. Identify target audience, platform, content language, and design artifact.
  3. Decide whether vendor inspiration or Stitch integration is relevant.

Scenes

  1. PREPARE: Load design context and constraints.
  2. ACQUIRE: Extract existing design signals, references, and anti-pattern risks.
  3. REASON: Propose directions, typography, color, layout, motion, and accessibility choices.
  4. ACT: Generate or revise DESIGN.md and related guidance.
  5. VERIFY: Audit responsive behavior, WCAG, Nielsen heuristics, and AI-slop patterns.
  6. FINALIZE: Handoff design decisions and attribution where required.

Transitions

Failure and recovery

Exit

Logical Operations

Actions

| Action | SSL primitive | Evidence |

|--------|---------------|----------|

| Read design context | READ | .design-context.md, DESIGN.md, references |

| Select design direction | SELECT | 2-3 directions and recommended option |

| Infer visual system | INFER | Typography, color, layout, motion |

| Call optional tooling | CALL_TOOL | Stitch/getdesign/shadcn when relevant |

| Write design artifact | WRITE | DESIGN.md or audit output |

| Validate design quality | VALIDATE | Checklist, WCAG, anti-patterns |

| Report handoff | NOTIFY | Final design summary |

Tools and instruments

Canonical workflow path

1. Check `.design-context.md`; create it if missing.
2. Produce 2-3 design directions and get confirmation.
3. Generate or revise `DESIGN.md`, then run the design checklist.

Optional vendor seed discovery:

bunx getdesign@latest list

Resource scope

| Scope | Resource target |

|-------|-----------------|

| LOCAL_FS | .design-context.md, DESIGN.md, design resources |

| CODEBASE | Existing UI and component patterns |

| NETWORK | Optional getdesign/vendor references |

| PROCESS | Optional CLI/tool invocations |

Preconditions

Effects and side effects

Guardrails

  1. Check .design-context.md before any design work. If missing, run Phase 1 (Setup) to create it.
  2. System font stack as default (system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif). Add custom fonts only with project justification.
  3. If the service supports CJK languages (ko/ja/zh): prioritize CJK-ready fonts (Pretendard Variable > Noto Sans CJK > system-ui fallback). If latin-only: choose fonts appropriate for the target audience.
  4. Enforce anti-patterns strictly; reject AI slop. See resources/anti-patterns.md.
  5. Name colors semantically with hex values: "Deep Ocean Navy (#1a2332)" not "dark blue".
  6. Recommend components with install commands (shadcn CLI).
  7. ALL output must be responsive-first (mobile layout as default, enhance upward).
  8. WCAG AA minimum for all designs. Respect prefers-reduced-motion.
  9. Stitch MCP is optional; all phases work without it.
  10. Present 2-3 design directions and get user confirmation before generating.

Anti-Pattern Quick Reference

Typography

Color & Gradient

Layout

Motion

Components

Workflow Summary

7 phases: Setup → Extract → Enhance → Propose → Generate → Audit → Handoff.

See resources/execution-protocol.md for full detail.

Vendor Inspiration (getdesign)

Phase 2 can optionally seed from the community

getdesign catalog

(VoltAgent/awesome-design-md,

MIT). Trigger it by listing a supported vendor domain in the

## Reference Sites section of your .design-context.md:

## Reference Sites
- [linear.app](https://linear.app): clean dark UI, minimal, professional
- [stripe.com](https://stripe.com): strong hierarchy, purposeful animation

Any domain that matches a brand in the getdesign manifest triggers an

automatic fetch + hash-verify + load during Phase 2. No new fields, no

extra config. Full vendor list: see bunx getdesign@latest list

(telemetry is always disabled by oma-design).

Seed, not final. oma-design treats vendor templates as inspiration

and synthesizes a project-specific DESIGN.md around them. Importantly:

stack default) and Rule #3 (Pretendard Variable / Noto Sans CJK for

ko/ja/zh) always win over the vendor's latin-only fonts.

heavy glassmorphism or purple gradients, Phase 4 will surface the

choice explicitly rather than copy the pattern silently.

(retry / continue without seed / abort). Default: continue.

Attribution is appended to the generated DESIGN.md in Phase 7 as a

required MIT compliance footer. Full fetcher rules, matching algorithm,

injection defenses, and multi-vendor merge policy live in

resources/getdesign-fetcher.md.

Resources

References

Examples

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.