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.
npx claudepluginhub bitovi/cascade-mcp --plugin cascade-mcpThis skill uses the workspace's default tool permissions.
Post behavior questions as comments on Figma frames. Each question is posted as a comment pinned to the specific frame it belongs to.
Interactively 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.
Mandatory prerequisite skill for `use_figma` tool calls to execute JS in Figma files. Enables node create/edit/delete, variables/tokens setup, component building, auto-layout changes, property binding, and programmatic file inspection.
Automates Figma tasks via Rube MCP (Composio): retrieves file data, lists components and sets, manages design tokens and comments, exports images. Requires tool schema search first.
Share bugs, ideas, or general feedback.
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.