/cascade-mcp:generate-behavior-questionsfrom cascade-mcp
Generates frame-specific clarifying questions about ambiguous UI behaviors from Jira, Figma, Confluence, and Google Docs. Use for feature review preparation.
Ships in cascade-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate frame-specific clarifying questions for a feature by gathering all context (Jira, Confluence, Google Docs, Figma designs) and analyzing them comprehensively.
Use when the user wants to:
Typical trigger: "Generate questions for PROJ-123" or "What questions do we have about this feature?"
PROJ-123) — the epic or story to analyzeCall MCP tool extract-linked-resources with the Jira issue URL (e.g., https://myco.atlassian.net/browse/PROJ-123).
This returns the issue content as markdown with YAML frontmatter — save it directly to .temp/cascade/context/jira-PROJ-123.md.
The frontmatter contains discoveredLinks grouped by type (figma, confluence, jira, googleDocs) with relationship info (parent, blocks, etc.). Parse these to build your initial .temp/cascade/context/to-load.md.
If hasMoreComments: true, call again with commentsStartAt to get additional comment pages.
For each non-Figma URL in to-load.md (prioritize parent and blocks relationships first):
extract-linked-resources with the URL.temp/cascade/context/{type}-{identifier}.mddiscoveredLinks from frontmatter — add any new URLs to to-load.mdImportant: Figma URLs are collected but NOT loaded here — they go in the ## Figma section of to-load.md for Phase 3.
For each Figma URL collected:
Call MCP tool figma-batch-zip with the Figma file URL
downloadUrl for a zip file and a manifestTry to download and extract the zip:
curl -sL "{downloadUrl}" -o /tmp/cascade-figma.zip && unzip -qo /tmp/cascade-figma.zip -d .temp/cascade/figma/ && rm /tmp/cascade-figma.zip
If curl succeeds (exit code 0), the extracted data is at:
.temp/cascade/figma/{fileKey}/
├── manifest.json ← frame list with metadata
├── prompts/
│ └── frame-analysis.md ← analysis prompt for frames
└── frames/
├── {nodeId}-{name}/
│ ├── image.png ← frame screenshot
│ ├── structure.xml ← semantic component tree
│ └── context.md ← annotations/connections
└── ...
→ Proceed to Phase 4 (filesystem path).
If curl fails (e.g., DNS resolution blocked in cloud environments):
figma-batch-cache with the same Figma URLsbatchToken and manifest from the response
→ Proceed to Phase 4 (MCP path).Choose the matching path based on Phase 3 outcome:
For each frame listed in manifest.json:
cascade-analyze-figma-frame sub-skill.temp/cascade/figma/{fileKey}/frames/{dirName}/) — the subagent reads the files itselfanalysis.md to their frame directoryDo NOT read context.md, structure.xml, or image.png yourself. The subagent handles all file reading. You only pass the path.
For each frame in the manifest from figma-batch-cache:
cascade-analyze-figma-frame-mcp sub-skillfigma-frame-data(url, batchToken) to retrieve its data via MCP, then returns its analysis as textRun all frame subagents in parallel — they are independent of each other.
Wait for all subagents to complete before proceeding.
Use sub-skill analyze-feature-scope to produce the scope analysis. This:
This produces .temp/cascade/scope-analysis.md.
Self-healing check: If the analyze-feature-scope sub-skill recommends CLARIFY (>5 unanswered ❓), present the scope analysis to the user and ask them to answer questions before generating behavior questions. Only proceed to Phase 6 if the user confirms or if ≤5 ❓ remain.
Using the scope analysis and all frame analyses, generate frame-specific clarifying questions.
context.md files)Present questions to the user in this format:
# Behavior Questions
## [Frame: Screen Name (nodeId: 123:456)](https://www.figma.com/design/{fileKey}?node-id=123-456)
1. ❓ What is the expected behavior when the user clicks the "Submit" button with invalid data?
2. ❓ Should the filter panel persist its state across page navigation?
## [Frame: Another Screen (nodeId: 789:012)](https://www.figma.com/design/{fileKey}?node-id=789-012)
1. ❓ Is the data table sortable by all columns or only specific ones?
Important formatting:
123:456 → node-id=123-456) but colons in heading textPresent the generated questions to the user.
After presenting, ask the user what they'd like to do next. Present these options clearly (use structured question UI if available — e.g., askQuestions in Copilot, AskUserQuestion in Claude Code):
post-design-questions-to-figma sub-skill)post-design-questions-to-jira sub-skill)answer-design-questions-post-to-figma sub-skill)answer-design-questions-post-to-jira sub-skill)Do NOT offer "modify questions" as an option — if the user wants to modify, they'll say so naturally.
.temp/cascade/figma/{fileKey}/ already has valid data, figma-batch-zip may return cached data — don't re-download unnecessarilyfigma-batch-zip — it always fetches fresh annotation data per framecascade-analyze-figma-frame for local files (zip path) and cascade-analyze-figma-frame-mcp for MCP cache path. The parent skill chooses based on whether the zip download succeededWhat SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/cascade-analyze-feature-scopeSub-skill: Produce a Scope Analysis from frame analyses and all gathered context. This is the critical step that takes per-frame analyses + epic context + Confluence/Google Docs + Figma comments and categorizes every feature by scope (☐/✅/⏬/❌/❓/💬). Groups features by user workflow, not by screen. Supports self-healing ❓→💬 flipping on re-runs. Output drives all downstream work (questions, shell stories, story writing)./cascade-analyze-figma-frameSub-skill: Analyze a single Figma design frame from local files. Reads image.png (vision), structure.xml (component tree), and context.md (comments/annotations) from .temp/cascade/figma/{fileKey}/frames/{name}/. Writes analysis.md. Designed to run as a subagent — no MCP tools needed, pure filesystem./cascade-analyze-figma-frame-mcpnpx claudepluginhub bitovi/cascade-mcp --plugin cascade-mcpOther plugins' skills for the same job