claude/skills/figma/SKILL.md
Figma design ingestion and fidelity enforcement. Use when extracting designs via Figma CLI, implementing UI components, or validating design compliance.
npx skillsauth add kazuph/dotfiles figmaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
fileKeyとnode-idを抽出し、figma CLIでレイアウトデータとアセットを取得figma auth --showfigma --versionnode-idは-区切りの場合、9614-2398 → 9614:2398へ変換が必要な場合ありhttps://www.figma.com/design/<fileKey>/...?...node-id=<nodeId>
nodeId省略時はfigma get-data <fileKey>でトップレベル構造を確認figma get-data <FILE_KEY> <NODE_ID> --format yaml > /tmp/figma_screen.yaml
--depthは情報欠落を招くため極力使わない--verboseで取得# 文言抽出
yq '.. | select(has("text")) | .text' /tmp/figma_screen.yaml
# 色一覧
yq '.. | select(has("fills")) | .fills[]' /tmp/figma_screen.yaml | sort -u
# 特定コンポーネントのレイアウト
yq '.. | select(.name? | test("(?i)button")) | .layout' /tmp/figma_screen.yaml
tmp_dir=$(mktemp -d)
figma download-images <FILE_KEY> "$tmp_dir" --nodes '[{"nodeId":"<NODE_ID>","fileName":"asset.png"}]'
Storybook Components = Figma Components
Figmaに存在しないUI要素は実装してはならない。
docs/reference/figma_screenshots/に保存.stories.tsxを同時作成プロジェクトのconstants/Colors.ts(または同等ファイル)でFigma指定の色のみを定義。
フレームワークデフォルトの色(Expoの紫 #6366F1 など)が残っていないか確認:
grep -r "#6366F1" components/
.stories.tsx必須node-id探索困難時はfigma get-data <FILE_KEY>で上位構造を確認figma download-images結果は/tmpで受け、必要ファイルのみワークスペースへ移動--verboseでAPIレスポンスを確認tools
X (Twitter) API read-only CLI. Bookmarks retrieval, tweet search, engagement analytics (likes/RT aggregation), mentions, user lookup. Use when: reading X bookmarks, searching tweets, aggregating likes/retweets, checking mentions, looking up users. Triggers: bookmark, bookmarks, X search, Twitter search, likes count, RT count, engagement, tweet analytics.
testing
単体テスト方針の要約。Kiro流で使うときは本文を必ず参照・展開する。
tools
Send prompts to other AI CLIs (Codex, Claude Code) running in sibling tmux panes and receive results back. Use this skill when the user asks to send a question or task to Codex or another Claude Code instance in a tmux pane. Handles pane discovery, CLI startup if needed, prompt delivery with proper Enter timing, delivery verification, and result return via tmux send-keys.
data-ai
TAKT ピースエンジン。Agent Team を使ったマルチエージェントオーケストレーション。ピースYAMLワークフローに従ってマルチエージェントを実行する。