Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Extract reusable UI/UX design systems from frontend codebases: design tokens, global styles, components, interaction patterns, and page templates. Use when analyzing any frontend repo (React/Vue/Angular/Next/Vite/etc.) to document or migrate UI/UX for reuse across projects. Focus on UI/UX only; explicitly ignore business logic and domain workflows.
Extract reusable UI/UX design systems from frontend codebases: design tokens, global styles, components, interaction patterns, and page templates. Use when analyzing any frontend repo (React/Vue/Angular/Next/Vite/etc.) to document or migrate UI/UX for reuse across projects. Focus on UI/UX only; explicitly ignore business logic and domain workflows.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Extract a reusable UI/UX design spec from a frontend codebase by inventorying UI sources, documenting foundations, cataloging components, and capturing page-level patterns and behaviors. Exclude business logic and domain-specific workflows. Framework-agnostic: adapt to the actual stack in the target repo.
Confirm mode: new project (greenfield) or refactor existing. Clarify that business logic is out of scope. If existing repo: run scripts/scan_ui_sources.sh to scan the repo root (no directory layout assumptions). It uses common globs + keyword hits, and ignores common build/cache dirs and extraction output folders by default. Optionally: scripts/scan_ui_sources.sh <repo_root> [out_file] [extra_glob ...] or --root/--out/--ignore for nonstandard layouts. Create the output folder (default ./ui-ux-spec) via scripts/generate_output_skeleton.sh and write all extraction results inside it. Produce outputs in the default structure (see "Output structure").
Goal: create a reusable UI/UX foundation and starter UI without business logic. Define foundations: tokens (color/typography/spacing/radius/shadow/motion), global styles, breakpoints, layout shell. Create a baseline component set: Button, Input, Select, Card, Modal, Table/List, Tabs, Toast, EmptyState. Create page templates: list/detail/form/dashboard skeletons with placeholder data. Provide implementation notes for the target framework (CSS architecture, theming mechanism, file structure). Optionally run scripts/generate_output_skeleton.sh [out_root] to scaffold folders and empty templates. Default output root is ./ui-ux-spec. Deliverables: Design tokens doc + global styles spec Component catalog with variants/states/a11y Page templates with layout rules Engineering constraints (naming, CSS approach, theming)
Goal: extract current UI/UX, normalize tokens, and plan safe, incremental improvements. Inventory UI sources (scan script + manual inspection). Normalize tokens and map existing styles to them. Identify high-impact components/patterns for first pass. Plan migration with minimal diffs (wrappers, theme adapters, gradual replacement). Document behavioral and a11y gaps to fix progressively. Deliverables: Extracted design spec (same as greenfield) Migration plan (phased, low-risk steps) Component-by-component mapping notes
Use this when applying an existing ui-ux-spec/ to a target project. Always work from a plan and execute step-by-step to avoid missing gaps.
Identify framework, styling system, component library usage, and entry points. Confirm constraints: UI/UX only, business logic untouched. Keep existing project structure unchanged unless explicitly requested.
Compare spec β current project and list differences by category: Tokens & global styles Components (priority order) Patterns & pages A11y gaps Do not assume the spec folder structure matches the target project. Map by content, not by paths. Produce a phased plan (Phase 1 tokens, Phase 2 base components, Phase 3 pages, etc.). Do not proceed to edits until the plan is accepted.
Apply changes for the current phase only. Re-check against the spec after each phase. Keep diffs minimal and reversible. Do not restructure folders or move files; update in place.
Provide a change list and remaining gaps. Suggest next phase only after current phase is done.
Use one of the templates below to keep requests precise and plan-driven.
Confirm repo root, frameworks, and any design system packages. Confirm desired output format (Markdown by default). Ask for constraints: must-keep brand rules, target platforms, and accessibility level. Reconfirm: exclude business logic, business rules, and domain workflows. Do not assume a specific frontend framework or language; adapt to the projectβs stack.
Do not assume a fixed directory structure; scan results should guide where to read. Run the scan script and inspect results for: tokens/themes, global styles, theme providers component libraries and local wrappers Storybook, docs, or visual regression tests assets and i18n sources
Document colors, typography, spacing, radius, shadows, z-index, and motion tokens. Capture reset/normalize, body defaults, link/form defaults, focus-visible, scrollbar.
Document breakpoints, containers, grid rules, navigation structure, and layout shells.
For each component, capture: purpose, structure/slots, variants, states, interactions, a11y, responsive behavior, motion, and theming hooks. If a third-party library is used, focus on local wrapper components and overrides.
Extract page skeletons (list/detail/form/dashboard/etc.) and module ordering. Capture combined states: loading/empty/error/permission/readonly.
Capture loading and error strategies, validation patterns, undo/optimistic updates. Capture microcopy conventions and i18n formatting constraints.
Produce at least: Design tokens doc Component catalog Page templates Ensure outputs are written under a dedicated folder (default ui-ux-spec/). Use the output structure below unless the user asks for another layout.
This structure is a recommended documentation layout. It does not need to match the target project's directory structure, and it can be renamed or relocated (e.g., docs/ui-ux-spec/). ui-ux-spec/ 01_Foundation/ 02_Components/ 03_Patterns/ 04_Pages/ 05_A11y/ 06_Assets/ 07_Engineering_Constraints/
scripts/scan_ui_sources.sh: find candidate UI sources in a repo. scripts/generate_output_skeleton.sh: create the standard output folders and placeholder templates. references/design-extraction-checklist.md: detailed checklist derived from README.
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.