Add workflow tooling: claude2figma skills, Storybook addons, Figma permissions

Install @storybook/addon-designs for embedding Figma frames in stories
and claude2figma skills (preflight, component-rules, style-binding,
reference-interpreter) for enforcing design token compliance when
writing to Figma. Add PostToolUse hook for use_figma QA reminders and
pre-allow Figma MCP + Code Connect tools in settings.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 11:28:15 +10:00
parent b57aab01aa
commit 2205862c2f
9 changed files with 524 additions and 1 deletions

View File

@@ -36,7 +36,32 @@
"WebFetch(domain:figma.com)",
"WebFetch(domain:help.figma.com)",
"WebFetch(domain:developers.figma.com)",
"WebFetch(domain:developer.mozilla.org)"
"WebFetch(domain:developer.mozilla.org)",
"mcp__figma__whoami",
"mcp__figma__get_metadata",
"mcp__figma__get_libraries",
"mcp__figma__use_figma",
"mcp__figma__get_screenshot",
"mcp__figma__search_design_system",
"mcp__figma__get_variable_defs",
"mcp__figma__get_design_context",
"mcp__figma__get_code_connect_map",
"mcp__figma__add_code_connect_map",
"mcp__figma__get_code_connect_suggestions",
"mcp__figma__send_code_connect_mappings"
]
},
"hooks": {
"PostToolUse": [
{
"matcher": "mcp__figma__use_figma",
"hooks": [
{
"type": "command",
"command": "echo 'QA: Verify style/variable bindings on all returned node IDs.'"
}
]
}
]
}
}