design-component
Empathy Ledger 的设计组件技能。用于故事讲述者卡、故事卡、个人资料显示以及任何需要文化敏感性的 UI 组件。提供数据映射、AI 丰富模式和设计系统指南。
📖 中文导读:Empathy Ledger 的设计组件技能。用于故事讲述者卡、故事卡、个人资料显示以及任何需要文化敏感性的 UI 组件。提供数据映射、AI 丰富模式和设计系统指南。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: design-component description: Design components for Empathy Ledger - storyteller cards, story cards, and culturally sensitive UI patterns.
Design Component
UI component patterns for Empathy Ledger with cultural sensitivity.
When to Use
- Building storyteller/story cards
- Implementing data displays
- Adding AI content enrichment
- Creating profile components
Quick Reference
Card Data Hierarchy
- Always show: name, avatar, cultural_background, story_count
- On card: badges, top specialties, location
- On hover: bio, all specialties, themes
- Profile only: contact, full stories, connections
Badge Priority
- Elder (gold crown)
- Featured (star)
- Knowledge Keeper (book)
- Verified (check)
Cultural Colors
| Color | Meaning | Usage |
|---|---|---|
| Amber | Wisdom | Elder badges |
| Emerald | Growth | Story counts |
| Purple | Sacred | Knowledge keeper |
| Terracotta | Connection | Cultural affiliation |
Reference Files
| Topic | File |
|---|---|
| Storyteller card data model | refs/storyteller-card.md |
| AI enrichment patterns | refs/ai-enrichment.md |
| Component patterns | refs/component-patterns.md |
Key Patterns
// Avatar with fallback
<Avatar>
<AvatarImage src={url} alt={name} />
<AvatarFallback>{initials}</AvatarFallback>
</Avatar>
// Badge
<Badge variant="elder">Elder</Badge>
// Card structure
<Card>
<CardHeader>Avatar + Badges</CardHeader>
<CardContent>Info + Metrics</CardContent>
<CardFooter>Actions</CardFooter>
</Card>
Anti-Patterns
❌ Auto-publish AI content ❌ Suggest connections without consent ❌ Skip cultural context display ❌ Use disrespectful terminology
Related Skills
design-system-guardian- Design tokenscultural-review- Cultural sensitivityempathy-ledger-codebase- Architecture