Loading...
Loading...
Compare original and translation side by side
bashrgscripts/scan_ui_sources.shgitbashrgscripts/scan_ui_sources.shgitui-ux-spec/ui-ux-spec/ui-ux-spec/ui-ux-spec/ui-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.shscripts/scan_ui_sources.shui-ux-spec/**docs/ui-ux-spec/**--ignorescripts/scan_ui_sources.sh <repo_root> [out_file] [extra_glob ...]--root/--out/--force/--ignorescripts/generate_output_skeleton.sh./ui-ux-specui-ux-spec/ui-ux-spec/scripts/scan_ui_sources.shextra_glob--no-default-ignore--ignore ...scripts/scan_ui_sources.sh**/design/****/*vars*.*--no-default-ignore--ignore ...--root**/design/****/*vars*.*--forceui-ux-spec/--ignore <your-output>/**--root--forceui-ux-spec/--ignore <your-output>/**scripts/generate_output_skeleton.sh [out_root]./ui-ux-specscripts/generate_output_skeleton.sh [out_root]./ui-ux-specui-ux-spec/ui-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 files请基于此UI/UX规范重构现有项目:
- 项目路径:/path/to/target-project
- 规范路径:/path/to/ui-ux-spec
- 目标:仅修改UI/UX(令牌、样式、组件、布局),不要更改业务逻辑/API
- 范围:从全局样式 + 基础组件开始
- 约束:最小化变更、分步提交、可回滚
- 交付物:重构计划 + 实际代码变更 + 受影响文件列表Please 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 notes请分阶段重构UI/UX;仅执行第一阶段:
- 项目路径:/path/to/target-project
- 规范路径:/path/to/ui-ux-spec
- 第一阶段:对齐令牌 + 全局样式(颜色/排版/间距/圆角/阴影)
- 禁止修改:业务逻辑/路由/API
- 交付物:变更文件列表 + 对齐差异说明Please 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 changes请将以下组件与规范对齐,同时保持业务逻辑不变:
- 项目路径:/path/to/target-project
- 规范路径:/path/to/ui-ux-spec
- 组件列表:Button、Input、Modal、Table
- 目标:仅修改样式/结构/交互细节
- 交付物:逐个组件的对齐说明 + 代码变更ui-ux-spec/ui-ux-spec/docs/ui-ux-spec/ui-ux-spec/
01_Foundation/
02_Components/
03_Patterns/
04_Pages/
05_A11y/
06_Assets/
07_Engineering_Constraints/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.mdscripts/scan_ui_sources.shscripts/generate_output_skeleton.shreferences/design-extraction-checklist.md