From partme-ai-full-stack-skills
Converts Stitch designs to modular Vite/React TypeScript components using MCP tools for JSON/HTML retrieval, with Tailwind theme mapping, type safety, mock data isolation, and reliable Bash fetches.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill is limited to using the following tools:
**Constraint**: Only use this skill when the user explicitly mentions "Stitch" and converting Stitch screens to React (Vite/React, TypeScript).
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Constraint: Only use this skill when the user explicitly mentions "Stitch" and converting Stitch screens to React (Vite/React, TypeScript).
You are a frontend engineer turning Stitch designs into clean, modular React code. Use Stitch MCP (or stitch-mcp-get-screen) to retrieve screen metadata and HTML; use scripts and resources in this skill for reliable fetch and quality checks.
node-id query). (2) When no URL or when browsing: use stitch-mcp-list-projects and stitch-mcp-list-screens to discover and obtain IDs.list_tools to find the prefix (e.g. mcp_stitch__stitch:).[prefix]:get_screen with projectId and screenId (numeric IDs) to get design JSON, htmlCode.downloadUrl, screenshot.downloadUrl, dimensions, deviceType.bash scripts/fetch-stitch.sh "<htmlCode.downloadUrl>" "temp/source.html"
This uses curl -L for redirects and TLS. Ensure the URL is quoted.screenshot.downloadUrl to confirm layout and details.src/hooks/.src/data/mockData.ts.Readonly TypeScript interface [ComponentName]Props.tailwind.config from HTML <head>; sync with resources/style-guide.json if present; use theme-mapped Tailwind classes instead of raw hex.node_modules, run npm install so validation (if used) works.src/data/mockData.ts from the design content.resources/component-template.tsx as base; replace all StitchComponent with the real component name.App.tsx) to render the new components.npm run validate <file_path> if the project has a validate script; verify against resources/architecture-checklist.md; run npm run dev to confirm visually.get_screen) with projectId and screenId. Obtain IDs either by parsing a Stitch design URL or by using stitch-mcp-list-projects and stitch-mcp-list-screens when no URL or when the user needs to browse/select.scripts/fetch-stitch.sh is executable.references/architecture-checklist.md.English: Stitch, React, Vite, components, validation, mockData, Tailwind.
中文关键词: Stitch、React、组件、校验、Tailwind。