agni-kai
Zuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge…
Implements Figma designs 1:1 using OneKey component library (还原设计稿).
$ npx -y skills add tmcfarlane/team-avatar --skill implementing-figma-designs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/implementing-figma-designsContext preview
The summary Claude sees to decide when to auto-load this skill.
Implements Figma designs 1:1 using OneKey component library (还原设计稿).
name: implementing-figma-designs description: Implements Figma designs 1:1 using OneKey component library (还原设计稿). allowed-tools: Read, Grep, Glob, Bash, Write, Edit
This skill helps you implement Figma designs 1:1 using the OneKey component library.
When implementing Figma designs, prioritize **pixel-perfect UI** over data integration:
1. **Use mock data** - Hardcode data that matches the design exactly 2. **Skip i18n** - Use plain strings directly from the design, no `intl.formatMessage` 3. **Skip API calls** - No need to fetch real data at this stage 4. **Match the design** - Focus on visual accuracy, spacing, colors, and layout
When you need to use a component, look up its source and demo:
packages/components/src/{category}/{ComponentName}/Categories:
packages/kit/src/views/Developer/pages/Gallery/Components/stories/{ComponentName}.tsxNote: Some demos have different names (e.g., `AccordionGallery.tsx`, `NewTabsGallery.tsx`)
1. **Read the source** to understand props and structure:
Read: packages/components/src/{category}/{ComponentName}/index.tsx2. **Read the demo** for usage examples:
Glob: packages/kit/src/views/Developer/pages/Gallery/Components/stories/*{ComponentName}*.tsximport { Button, Stack, XStack, YStack, Icon, ... } from '@onekeyhq/components';Headings (large to small):
Body text (large to small):
With medium weight (append `Medium`):
Usage with SizableText:
<SizableText size="$bodyMd">Regular text</SizableText> <SizableText size="$bodyMdMedium">Medium weight text</SizableText> <SizableText size="$headingSm">Small heading</SizableText>
**Layout with Stack:**
<YStack gap="$4"> {/* Vertical */}
<XStack gap="$4"> {/* Horizontal */}
<Stack gap="$4"> {/* Default vertical */}**Mock Data:**
const mockItems = [
{ name: 'Bitcoin', symbol: 'BTC', value: '$21,432.50' },
{ name: 'Ethereum', symbol: 'ETH', value: '$5,892.30' },
];**Button Actions:**
<Button onPress={() => console.log('clicked')}>Action</Button>1. Analyze the Figma design using Figma MCP 2. Identify which components are needed 3. **Look up each component** - read source and demo on-demand 4. Create mock data matching the design 5. Implement the UI with hardcoded values
Team Avatar: a universal agent orchestrator for Claude Code, Codex, and Cursor. Nine Avatar characters, 58 engineering skills. pstack with Avatar characters on top.
Zuko's Agni Kai for bakeoffs. The formal firebending duel, where competing implementations fight under the same rules and a judge…
Aang showing a new friend around the team. Explains Team Avatar to a user, the roster and who owns what, how to invoke a skill on…
Aang's operating mode for Team Avatar, principal-level engineering where each task goes to the character who owns that…
Aang choosing which bender takes which fight. Configures which model each Team Avatar character runs on, the default reasoning…
Sokka's battle map, the decision trail he keeps so anyone can see how the campaign was won. Use for show-me-your-work,…
Appa's morning departure for picking up paused or handed-off work. The team breaks camp, reads the map they left, and flies on…