← Back to list

figma
by rakibdev
System Backup & Personal Notes.
⭐ 1🍴 0📅 Jan 19, 2026
SKILL.md
name: figma description: Tool for fetching Figma design data and downloading images. pattern: figma.com/design/
Environment
FIGMA_ACCESS_TOKEN- Personal access token from Figma settings
Usage
Get Node Data
bun {dir}/scripts/get-node.ts "<figmaUrl>" [depth]
bun {dir}/scripts/get-node.ts "<fileKey>" [nodeId] [depth]
Examples
# Get node from URL (preferred)
bun {dir}/scripts/get-node.ts "https://www.figma.com/design/abc123/MyFile?node-id=825-17286"
# Limit depth for overview
bun {dir}/scripts/get-node.ts "https://www.figma.com/design/abc123/MyFile?node-id=825-17286" 2
# Get entire file (no node-id in URL)
bun {dir}/scripts/get-node.ts "https://www.figma.com/design/abc123/MyFile" 2
# Raw args (fileKey + nodeId)
bun {dir}/scripts/get-node.ts "abc123" "825-17286" 3
Download Image
bun {dir}/scripts/download-image.ts "<figmaUrl>" "<outputPath>" [format] [scale]
bun {dir}/scripts/download-image.ts "<fileKey>" "<nodeId>" "<outputPath>" [format] [scale]
Examples
# Download from URL (preferred)
bun {dir}/scripts/download-image.ts "https://www.figma.com/design/abc123/MyFile?node-id=825-17286" "./assets/card.png"
# Download as SVG
bun {dir}/scripts/download-image.ts "https://www.figma.com/design/abc123/MyFile?node-id=100-200" "./assets/icon.svg" svg
# PNG at 3x scale
bun {dir}/scripts/download-image.ts "https://www.figma.com/design/abc123/MyFile?node-id=100-200" "./assets/hero.png" png 3
Tips
- Use depth 1-2 for initial exploration to understand file structure
- Default depth: unlimited (fetches all nested children)
- File data cached in
~/.cache/figma/for 3 days to avoid rate limits - Use
IMAGE-SVGtype nodes for icons/vectors, download as SVG - For photos/complex images, download as PNG at 2x scale (default)
Score
Total Score
45/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon



