Loading...
Loading...
A portable, reproducible UI/UX spec standard: scan a frontend repo for UI sources and scaffold a ui-ux-spec documentation bundle (tokens, global styles, components, patterns, pages, a11y). Also supports plan-driven UI-only refactors based on an existing ui-ux-spec. Excludes business logic and domain workflows.
npx skill4agent add okwinds/miscellany ui-ux-spec-genomebashrgscripts/scan_ui_sources.shgitui-ux-spec/ui-ux-spec/ui-ux-spec/ui-ux-spec/scripts/scan_ui_sources.shui-ux-spec/**--ignoredocs/ui-ux-spec/**scripts/scan_ui_sources.sh <repo_root> [out_file] [extra_glob ...]--root/--out/--force/--ignore./ui-ux-specscripts/generate_output_skeleton.shui-ux-spec/scripts/scan_ui_sources.shextra_glob--no-default-ignore--ignore ...--root**/design/****/*vars*.*--forceui-ux-spec/--ignore <your-output>/**scripts/generate_output_skeleton.sh [out_root]./ui-ux-specui-ux-spec/Please refactor the existing project based on this UI/UX spec:
- Project path: /path/to/target-project
- Spec path: /path/to/ui-ux-spec
- Goal: UI/UX only (tokens, styles, components, layout), do not change business logic/APIs
- Scope: start with global styles + base components
- Constraints: minimal changes, small-step commits, reversible
- Deliverables: refactor plan + actual code changes + list of impacted filesPlease refactor UI/UX in phases; only do Phase 1:
- Project path: /path/to/target-project
- Spec path: /path/to/ui-ux-spec
- Phase 1: align tokens + global styles (colors/typography/spacing/radius/shadows)
- Do not change: business logic/routing/APIs
- Deliverables: list of changed files + alignment diff notesPlease align the following components to the spec while keeping business logic unchanged:
- Project path: /path/to/target-project
- Spec path: /path/to/ui-ux-spec
- Component list: Button, Input, Modal, Table
- Goal: only change styling/structure/interaction details
- Deliverables: alignment notes per component + code changesui-ux-spec/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.shscripts/generate_output_skeleton.shreferences/design-extraction-checklist.md