gathering-ui

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Gathering UI 🌲🦎🦌

集结式UI设计 🌲🦎🦌

The drum echoes through the glade. The Chameleon shifts its colors, painting the forest with glass and light. The Deer senses what others cannot see, ensuring every path is clear. Together they create spaces that welcome all wanderers—beautiful to behold, accessible to all.
鼓声回荡在林间空地。Chameleon变换色彩,用玻璃质感与光影为森林着色。Deer能感知他人所未见的细节,确保每一条路径都清晰可及。它们携手打造的空间欢迎所有访客——赏心悦目,且人人可及。

When to Summon

何时发起集结

  • Designing new pages or interfaces
  • Implementing complete UI features
  • Ensuring visual design meets accessibility standards
  • Creating Grove-themed experiences
  • When beauty and inclusion must coexist

  • 设计新页面或界面
  • 实现完整UI功能
  • 确保视觉设计符合可访问性标准
  • 打造Grove主题体验
  • 需要兼顾美观与包容性的场景

Grove Tools for This Gathering

本次集结可用的Grove工具

Use
gw
and
gf
throughout. Quick reference for UI work:
bash
undefined
全程使用
gw
gf
命令。UI工作速查:
bash
undefined

Find existing UI patterns and components

查找现有UI模式与组件

gf --agent search "GlassCard|GlassButton" # Find glass component usage gf --agent glass # Find glassmorphism patterns gf --agent store # Find store usage (season, theme) gf --agent routes # Understand route structure
gf --agent search "GlassCard|GlassButton" # 查找玻璃质感组件的用法 gf --agent glass # 查找玻璃拟态设计模式 gf --agent store # 查找store的用法(季节、主题) gf --agent routes # 理解路由结构

Test UI changes

测试UI变更

gw ci --affected # Run CI on affected packages

---
gw ci --affected # 对受影响的包运行CI

---

The Gathering

集结流程

SUMMON → ORGANIZE → EXECUTE → VALIDATE → COMPLETE
   ↓         ↲          ↲          ↲          ↓
Receive  Dispatch   Animals    Verify   UI
Request  Animals    Work       Design   Complete
召唤 → 组织 → 执行 → 验证 → 完成
   ↓         ↲          ↲          ↲          ↓
接收请求  分派角色   开展工作    验证设计    UI完成

Animals Mobilized

参与角色

  1. 🦎 Chameleon — Design the UI with glassmorphism and seasonal themes
  2. 🦌 Deer — Audit accessibility and ensure inclusive design

  1. 🦎 Chameleon — 采用玻璃拟态与季节主题设计UI
  2. 🦌 Deer — 审核可访问性,确保设计具备包容性

Phase 1: SUMMON

阶段1:召唤

The drum sounds. The glade awaits...
Receive and parse the request:
Clarify the UI Work:
  • What page/component are we designing?
  • What's the emotional tone?
  • Which season should it reflect?
  • What's the content structure?
Scope Check:
"I'll mobilize a UI gathering for: [UI description]
This will involve:
  • 🦎 Chameleon designing with Grove aesthetics
    • Glassmorphism containers
    • Seasonal colors and themes
    • Randomized forests if appropriate
    • Lucide icons (no emojis)
  • 🦌 Deer auditing for accessibility
    • Keyboard navigation
    • Screen reader compatibility
    • Color contrast
    • Reduced motion support
Proceed with the gathering?"

鼓声响起,林间空地静候...
接收并解析需求:
明确UI工作内容:
  • 我们要设计哪个页面/组件?
  • 整体情感基调是什么?
  • 应体现哪个季节?
  • 内容结构是怎样的?
范围确认:
"我将为以下需求发起UI集结:[UI描述]
工作内容包括:
  • 🦎 Chameleon采用Grove美学设计
    • 玻璃拟态容器
    • 季节色彩与主题
    • 必要时添加随机森林元素
    • 使用Lucide图标(不使用emoji)
  • 🦌 Deer审核可访问性
    • 键盘导航
    • 屏幕阅读器兼容性
    • 色彩对比度
    • 支持减少动画效果
是否启动集结?"

Phase 2: ORGANIZE

阶段2:组织

The animals take their positions...
Dispatch in sequence:
Dispatch Order:
Chameleon ──→ Deer
     │            │
     │            │
Design         Audit
UI             Accessibility
Dependencies:
  • Chameleon must complete before Deer (needs UI to audit)
  • May iterate: Deer findings → Chameleon fixes → Deer re-audit

各角色各就各位...
按顺序分派任务:
分派顺序:
Chameleon ──→ Deer
     │            │
     │            │
设计UI        审核可访问性
依赖关系:
  • Chameleon必须先完成设计,Deer才能开展审核(需要UI内容作为审核对象)
  • 可能需要迭代:Deer发现问题 → Chameleon修复 → Deer重新审核

Phase 3: EXECUTE

阶段3:执行

The glade transforms...
Execute each phase:
🦎 CHAMELEON — ADAPT
"Reading the light, sketching the form..."

Phase: READ
- Determine season and emotional tone
- Choose decoration level (minimal/moderate/full)

Phase: SKETCH
- Build glassmorphism structure
- Layer: Background → Decorations → Glass → Content

Phase: COLOR
- Apply seasonal palette
- Import from @autumnsgrove/groveengine/ui/nature

Phase: TEXTURE
- Add randomized forests if appropriate
- Weather effects (snow, petals, leaves)
- Seasonal birds
- Lucide icons

Phase: ADAPT
- Mobile responsive
- Reduced motion support
- Touch targets 44px minimum
- Dark mode variants
- GroveTerm components for all Grove terminology
  (never hardcode — use GroveTerm, GroveSwap, GroveText)
  ([[term]] syntax for data-driven content strings)

Output:
- Complete Svelte components
- Styled with Tailwind
- Glass variants applied
- Seasonal decorations
- Grove terminology uses GroveTerm V2 components
🦌 DEER — SENSE
"Listening for barriers, scanning the path..."

Phase: LISTEN
- Understand user needs
- WCAG AA standard

Phase: SCAN
- Automated scan with axe-core
- Lighthouse accessibility audit

Phase: TEST
- Keyboard navigation test
- Screen reader test (VoiceOver/NVDA)
- Zoom to 200%
- Reduced motion check

Phase: GUIDE
- Fix any issues found
- Add ARIA labels where needed
- Ensure focus management
- Proper heading structure

Phase: PROTECT
- ESLint jsx-a11y plugin
- axe-core in CI

Output:
- Accessibility audit report
- Issues fixed
- Documentation of a11y features

林间空地焕然一新...
执行各阶段任务:
🦎 CHAMELEON — 适配
"捕捉光影,勾勒形态..."

阶段:感知
- 确定季节与情感基调
- 选择装饰级别(极简/适中/完整)

阶段:草图
- 搭建玻璃拟态结构
- 分层设计:背景 → 装饰 → 玻璃层 → 内容

阶段:配色
- 应用季节调色板
- 从@autumnsgrove/groveengine/ui/nature导入

阶段:纹理
- 必要时添加随机森林元素
- 天气效果(雪、花瓣、落叶)
- 季节性鸟类
- 使用Lucide图标

阶段:适配
- 移动端响应式设计
- 支持减少动画效果
- 触摸目标最小44px
- 深色模式变体
- 所有Grove术语使用GroveTerm组件
  (切勿硬编码——使用GroveTerm、GroveSwap、GroveText)
  (数据驱动的内容字符串使用[[term]]语法)

输出:
- 完整的Svelte组件
- 使用Tailwind样式
- 应用玻璃质感变体
- 季节装饰元素
- Grove术语使用GroveTerm V2组件
🦌 DEER — 感知
"排查障碍,审视路径..."

阶段:倾听
- 理解用户需求
- 遵循WCAG AA标准

阶段:扫描
- 使用axe-core进行自动化扫描
- Lighthouse可访问性审核

阶段:测试
- 键盘导航测试
- 屏幕阅读器测试(VoiceOver/NVDA)
- 缩放至200%测试
- 减少动画效果测试

阶段:指导
- 修复发现的问题
- 必要时添加ARIA标签
- 确保焦点管理正确
- 合理的标题层级结构

阶段:防护
- 使用ESLint jsx-a11y插件
- CI中集成axe-core

输出:
- 可访问性审核报告
- 已修复的问题列表
- 可访问性功能文档

Phase 4: VALIDATE

阶段4:验证

The design stands. Both animals verify...
Validation Checklist:
  • Chameleon: UI matches Grove aesthetic
  • Chameleon: Seasonal theme appropriate
  • Chameleon: Glassmorphism readable
  • Chameleon: Mobile responsive
  • Deer: Keyboard navigation works
  • Deer: Screen reader compatible
  • Deer: Color contrast passes (4.5:1)
  • Deer: Reduced motion respected
  • Deer: Touch targets adequate (44px)
  • Both: Grove terminology uses GroveTerm components (not hardcoded)
  • Both:
    [[term]]
    syntax used in data-driven content strings
Quality Gates:
Chameleon completes → Deer audits
               Issues found?
                  /        \
               Yes          No
                |            |
         Chameleon fixes     ↓
                |         Proceed
         Deer re-audit
                |
            Complete

设计成型,双角色共同验证...
验证清单:
  • Chameleon:UI符合Grove美学
  • Chameleon:季节主题适配恰当
  • Chameleon:玻璃质感清晰可读
  • Chameleon:移动端响应式正常
  • Deer:键盘导航可用
  • Deer:屏幕阅读器兼容
  • Deer:色彩对比度达标(4.5:1)
  • Deer:尊重减少动画效果设置
  • Deer:触摸目标大小达标(44px)
  • 双方确认:Grove术语使用GroveTerm组件(未硬编码)
  • 双方确认:数据驱动的内容字符串使用[[term]]语法
质量关卡:
Chameleon完成设计 → Deer开展审核
               是否发现问题?
                  /        \
               是          否
                |            |
         Chameleon修复问题     ↓
                |         进入下一环节
         Deer重新审核
                |
            完成验证

Phase 5: COMPLETE

阶段5:完成

The gathering ends. A welcoming space awaits...
Completion Report:
markdown
undefined
集结结束,一个友好的空间已就绪...
完成报告:
markdown
undefined

🌲 GATHERING UI COMPLETE

🌲 UI集结完成

UI: [Name]

UI名称: [名称]

Animals Mobilized

参与角色

🦎 Chameleon → 🦌 Deer
🦎 Chameleon → 🦌 Deer

Design Decisions

设计决策

  • Season: [spring/summer/autumn/winter/midnight]
  • Decoration Level: [minimal/moderate/full]
  • Glass Variants Used: [surface/tint/card/accent]
  • 季节: [spring/summer/autumn/winter/midnight]
  • 装饰级别: [minimal/moderate/full]
  • 使用的玻璃质感变体: [surface/tint/card/accent]

Visual Elements

视觉元素

  • Randomized forests: [count] trees
  • Weather effects: [snow/petals/leaves/none]
  • Seasonal birds: [species]
  • Icons: Lucide ([list])
  • 随机森林:[数量]棵树
  • 天气效果:[snow/petals/leaves/none]
  • 季节性鸟类:[物种]
  • 图标:Lucide ([列表])

Accessibility Features

可访问性功能

  • Keyboard navigation: ✅
  • Screen reader tested: [VoiceOver/NVDA]
  • Color contrast: ✅ [ratios]
  • Reduced motion: ✅
  • Touch targets: ✅ [44px minimum]
  • 键盘导航:✅
  • 屏幕阅读器测试:[VoiceOver/NVDA]
  • 色彩对比度:✅ [具体比值]
  • 减少动画效果:✅
  • 触摸目标:✅ [最小44px]

Files Created

创建的文件

  • [Component files]
  • [Style files]
  • [Accessibility documentation]
  • [组件文件]
  • [样式文件]
  • [可访问性文档]

Time Elapsed

耗时

[Duration]
The glade welcomes all wanderers. 🌲

---
[时长]
林间空地欢迎所有访客。 🌲

---

Example Gathering

集结示例

User: "/gathering-ui Create the user profile page"
Gathering execution:
  1. 🌲 SUMMON — "Mobilizing for: User profile page. Personal settings, avatar, bio. Emotional: reflection."
  2. 🌲 ORGANIZE — "Chameleon designs → Deer audits"
  3. 🌲 EXECUTE
    • 🦎 Chameleon: "Autumn theme, glass cards for settings, randomized birch trees, cardinals perched, Lucide icons"
    • 🦌 Deer: "Tab order logical, form labels associated, contrast passes, screen reader announces changes"
  4. 🌲 VALIDATE — "Visual design matches Grove, all accessibility checks pass"
  5. 🌲 COMPLETE — "Profile page complete, beautiful and accessible"

Beautiful and accessible—the forest welcomes all. 🌲
用户: "/gathering-ui 创建用户个人资料页面"
集结执行流程:
  1. 🌲 召唤 — "正在为以下需求集结:用户个人资料页面。包含个人设置、头像、简介。情感基调:温馨。"
  2. 🌲 组织 — "Chameleon负责设计 → Deer负责审核"
  3. 🌲 执行
    • 🦎 Chameleon: "采用秋季主题,设置项使用玻璃卡片,添加随机桦树,红雀栖息,使用Lucide图标"
    • 🦌 Deer: "Tab键顺序合理,表单标签关联正确,对比度达标,屏幕阅读器可播报变更"
  4. 🌲 验证 — "视觉设计符合Grove风格,所有可访问性检查通过"
  5. 🌲 完成 — "个人资料页面已完成,兼具美观性与可访问性"

赏心悦目,人人可及——森林欢迎每一位访客。 🌲