← スキル一覧に戻る

figma-to-page
by okgoogle13
⭐ 1🍴 0📅 2026年1月22日
SKILL.md
name: figma-to-page description: "Generates React code for a full page based on pasted Figma 'Inspect' details. Uses the page scaffolder."
Figma to Page Workflow
- Ask for the page name in
PascalCase(e.g.,UserProfile). - Ask the user to paste all details from the Figma 'Inspect' panel for the entire page.
- Execute scaffolder:
- Run
chmod +x .claude/skills/react-page-scaffolder/scripts/create-page.sh - Run
.claude/skills/react-page-scaffolder/scripts/create-page.sh {{PAGE_NAME}} - Report the output (the new file paths). Let
{{PAGE_DIR}}be the new directory (e.g.,src/pages/userprofile).
- Run
- Generate Code:
- Read the user-pasted Figma details.
- Generate the TSX code for
{{PAGE_DIR}}/{{PAGE_NAME}}.tsx. - Generate the corresponding CSS for
{{PAGE_DIR}}/{{PAGE_NAME}}.module.css.
- Write Files:
- Write the new TSX content, overwriting the template.
- Write the new CSS content, overwriting the template.
- Lint: Run
yarn lint:fix {{PAGE_DIR}}to clean up the new files. - Report that the page has been created and populated from Figma details.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です