/plugin marketplace add gbasin/figma-to-react/plugin install figma-to-react@figma-to-reactDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-metadata.sh",
"timeout": 30
}
],
"matcher": "mcp__plugin_figma_figma__get_metadata"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-metadata.sh",
"timeout": 30
}
],
"matcher": "mcp__plugin_figma_figma-desktop__get_metadata"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-metadata.sh",
"timeout": 30
}
],
"matcher": "mcp__figma__get_metadata"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-response.sh",
"timeout": 30
}
],
"matcher": "mcp__plugin_figma_figma__get_design_context"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-response.sh",
"timeout": 30
}
],
"matcher": "mcp__plugin_figma_figma-desktop__get_design_context"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-response.sh",
"timeout": 30
}
],
"matcher": "mcp__figma__get_design_context"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-screenshot.sh",
"timeout": 30
}
],
"matcher": "mcp__plugin_figma_figma__get_screenshot"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-screenshot.sh",
"timeout": 30
}
],
"matcher": "mcp__plugin_figma_figma-desktop__get_screenshot"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/skills/figma-to-react/scripts/capture-figma-screenshot.sh",
"timeout": 30
}
],
"matcher": "mcp__figma__get_screenshot"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 9
},
"eventStats": {
"PostToolUse": 9
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 9,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}