From cascade-mcp
Posts generated design behavior questions as pinned comments on Figma frames using node IDs, file keys, and positioning from manifest.json. Used after generate-behavior-questions when user confirms posting.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cascade-mcp:cascade-post-design-questions-to-figmaThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Post behavior questions as comments on Figma frames. Each question is posted as a comment pinned to the specific frame it belongs to.
Post behavior questions as comments on Figma frames. Each question is posted as a comment pinned to the specific frame it belongs to.
Use after generate-behavior-questions has produced frame-specific questions and the user confirms they want to post them to Figma.
Typical trigger: User says "yes, post to Figma" after reviewing generated questions.
generate-behavior-questions)From the generated questions output, extract:
nodeId: 123:456)Read manifest.json from .temp/cascade/figma/{fileKey}/ to get frame dimensions (width, height) for each frame. These are needed for comment positioning.
For each frame with questions:
Combine all questions for that frame into a single comment body:
Cascade🤖 ❓ Behavior Questions:
1. What is the expected behavior when the user clicks "Submit" with invalid data?
2. Should the filter panel persist its state across page navigation?
Call MCP tool figma-post-comment with:
fileKey: The Figma file key (from the URL path)message: The combined questions text (prefixed with Cascade🤖 ❓)nodeId: The frame node ID (e.g., 123:456)nodeOffset: Position the comment on the left edge of the frame:
x: -50 (left edge, slightly outside the frame boundary)y: frameHeight / 2 (centered vertically — since it's one comment per frame)frameHeight is not available, omit nodeOffset (defaults to top-left)After posting all comments, report to the user:
Given this questions output:
## [Frame: Login Screen (nodeId: 1:234)](https://www.figma.com/design/abc123?node-id=1-234)
1. Should the "Remember me" checkbox be checked by default?
2. What error message appears for invalid credentials?
## [Frame: Dashboard (nodeId: 5:678)](https://www.figma.com/design/abc123?node-id=5-678)
1. Is the widget layout user-configurable?
This posts 2 comments:
1:234 with questions 1-25:678 with question 1fileKey + nodeId — extract the file key from the URL path and node ID from the frame headingCascade🤖: so it's identifiable as bot-generatedcontext.md files for existing comments before posting.nodeOffset to place comments on the left edge of the frame. This prevents comments from piling up at the top-left corner.npx claudepluginhub bitovi/cascade-mcp --plugin cascade-mcpInteractively walks through frame-specific design behavior questions, collects user answers one-by-one, and posts Q&A pairs as pinned Figma comments with vertical spacing.
Read, post, reply to, and delete comments on a Figma file via the REST API, including pinning to a node and threading replies. Requires a personal access token.
Automates Figma design file inspection, component extraction, asset export, and image rendering via Composio's Figma toolkit over MCP.