skills/stitch-skills/stitch-mcp-get-screen/SKILL.md
Retrieve full details of a specific Stitch screen including HTML code, screenshot URL, and metadata. Use when you need to export screen code, analyze generated HTML structure, or feed screen data into a framework conversion skill. Requires projectId and screenId as numeric IDs.
npx skillsauth add partme-ai/full-stack-skills stitch-mcp-get-screenInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CRITICAL PREREQUISITE: You must ONLY use this skill when the user EXPLICITLY mentions "Stitch".
Retrieves the full details of a specific screen, including its HTML code and high-res screenshot.
Invoke this skill when the user wants to "export" the code, view the full design details, or when the Agent needs to analyze the generated HTML structure.
The skill expects you to extract the following information from the user request:
projectId (required): The project ID. Format: Pure ID (e.g., 37803...), no projects/ prefix.screenId (required): The screen ID. Format: Pure ID (e.g., 88805...), no screens/ prefix.CRITICAL: When projectId and screenId are both available, call stitch-mcp-get-screen directly. Do NOT call stitch-mcp-get-project.
If the user provides a resource path or URL, use the following rules to extract projectId and screenId:
Format: web application/stitch/projects/{projectId}/screens/{screenId}
projectId and screenId directly from the path segments.web application/stitch/projects/3492931393329678076/screens/2e22a9fb99ba49ddb6ce8907a1e74d60 -> projectId="3492931393329678076", screenId="2e22a9fb99ba49ddb6ce8907a1e74d60".Format: projects/{projectId}/screens/{screenId}
projectId and screenId from the path segments.Agent flow:
projectId and screenId.get_screen with {"projectId": "<extracted projectId>", "screenId": "<extracted screenId>"}.htmlCode.downloadUrl, screenshot.downloadUrl, and metadata for design-to-code (e.g. stitch-design-md or a framework conversion skill).Returns a Screen object:
htmlCode: The actual HTML/CSS code of the UI.screenshot: High-resolution image URL.figmaExport: Figma file asset.width, height, deviceType.After retrieving the screen details (HTML code), check if the user's request implies converting the design to a specific frontend framework.
Logic:
uViewPro / uni-app: If user mentions "uView", "uViewPro" or "UniApp", you MUST load and reference the complete context from the stitch-uviewpro-components skill to ensure accurate code generation.
skills/stitch-uviewpro-components/references/ (especially contract.md and tailwind-to-uviewpro.md) for core mapping rules.skills/stitch-uviewpro-components/api/component-api.md for component props and event definitions.skills/stitch-uviewpro-components/examples/usage.md for correct implementation patterns.skills/stitch-uviewpro-components/resources/architecture-checklist.md for design compliance.uView (Standard): If user mentions "uView" (without "Pro") or "uView 2.0", load stitch-uview-components.
references/ (contract, tailwind-to-uview), api/component-api.md, examples/usage.md, resources/architecture-checklist.md from stitch-uview-components.Element Plus: If user mentions "Element Plus", "Element", "Vue Desktop", load stitch-vue-element-components.
references/ (contract, tailwind-to-element-plus), api/component-api.md, examples/usage.md, resources/architecture-checklist.md from stitch-vue-element-components.Vant UI: If user mentions "Vant", "Vue Mobile", load stitch-vue-vant-components.
references/ (contract, tailwind-to-vant), api/component-api.md, examples/usage.md, resources/architecture-checklist.md from stitch-vue-vant-components.Layui Vue: If user mentions "Layui", load stitch-vue-layui-components.
references/ (contract, tailwind-to-layui), api/component-api.md, examples/usage.md, resources/architecture-checklist.md from stitch-vue-layui-components.Bootstrap Vue: If user mentions "Bootstrap", load stitch-vue-bootstrap-components.
references/ (contract, tailwind-to-bootstrap), api/component-api.md, examples/usage.md, resources/architecture-checklist.md from stitch-vue-bootstrap-components.React / Tailwind: If user mentions "React" (standard), load stitch-react-components.
references/tailwind-to-react.md, examples/usage.md, resources/architecture-checklist.md from stitch-react-components.Shadcn UI: If user mentions "Shadcn", "Next.js", "Radix", load stitch-shadcn-ui.
references/tailwind-to-shadcn.md, examples/usage.md from stitch-shadcn-ui.Other Frameworks: Search for matching stitch-*-components skills and load their respective api, examples, and references directories.
Example Flow:
get_screen to get HTML.contract.md, component-api.md, usage.md, and architecture-checklist.md from stitch-uviewpro-components.User Input: "Give me the code for the login screen we just made."
Agent Action:
get_screen tool with arguments {"projectId": "37803...", "screenId": "88805..."}.development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.