[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AXNATXTB8PV2G4AEAV2F3E":3,"skill-same:01M7AXNATXTB8PV2G4AEAV2F3E":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7AXNATXTB8PV2G4AEAV2F3E","design-to-code",null,"Pixel-perfect Figma to React conversion using coderio. Generates production-ready code (TypeScript, Vite, TailwindCSS V4) with high visual fidelity. Features robust error handling, checkpoint recovery, and streamlined execution via helper script.","SiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot","SiddhamShah972","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F98964854?v=4","01M7AWVFA8QBCFE7PRDT5XBB2E","Siddham Shah","01M7AWVFB82AN6H6BNQSWEF402",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fdesign-to-code\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fdesign-to-code\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Pixel-perfect Figma to React conversion using coderio. Generates production-ready code (TypeScript, Vite, TailwindCSS V4) with high visual fidelity. Features robust error handling, checkpoint recovery, and streamlined execution via helper script.\"\n---\n# Design to Code\n\nHigh-fidelity UI restoration from Figma designs to production-ready React + TypeScript components.\nThis SKILL uses a **robust helper script** to minimize manual errors and ensure pixel-perfect results.\n\n## Prerequisites\n\n1.  **Figma API Token**: Get from Figma → Settings → Personal Access Tokens\n2.  **Node.js**: Version 18+\n3.  **coderio**: Installed in `scripts\u002F` folder (handled by Setup phase)\n\n## Workflow Overview\n\n```\nPhase 0: SETUP    → Create helper script and script environment\nPhase 1: PROTOCOL → Generate design protocol (Structure & Props)\nPhase 2: CODE     → Generate components and assets\n```\n\n---\n\n# Phase 0: Setup\n\n## Step 0.1: Initialize Helper Script\n\n**User Action**: Run these commands to create the execution helper and isolate its dependencies.\n\n```bash\nmkdir -p scripts\n\n# 1. Copy script files\n# Note: Ensure you have the 'skills\u002Fdesign-to-code\u002Fscripts' directory available\ncp skills\u002Fdesign-to-code\u002Fscripts\u002Fpackage.json scripts\u002Fpackage.json\ncp skills\u002Fdesign-to-code\u002Fscripts\u002Fcoderio-skill.mjs scripts\u002Fcoderio-skill.mjs\n\n# 2. Install coderio in scripts directory (adjust version if needed)\ncd scripts && pnpm install && cd ..\n```\n\n## Step 0.2: Scaffold Project (Optional)\n\nIf starting a new project:\n\n1.  Run: `node scripts\u002Fcoderio-skill.mjs scaffold-prompt \"MyApp\"`\n2.  **AI Task**: Follow the instructions output by the command to create files.\n\n---\n\n# Phase 1: Protocol Generation\n\n## Step 1.1: Fetch Data\n\n```bash\n# Replace with your URL and Token\nnode scripts\u002Fcoderio-skill.mjs fetch-figma \"https:\u002F\u002Ffigma.com\u002Ffile\u002F...\" \"figd_...\"\n```\n\n**Verify**: `process\u002Fthumbnail.png` should exist.\n\n## Step 1.2: Generate Structure\n\n1.  **Generate Prompt**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs structure-prompt > scripts\u002Fstructure-prompt.md\n    ```\n\n2.  **AI Task (Structure)**:\n    - **ATTACH**: `process\u002Fthumbnail.png` (MANDATORY)\n    - **READ**: `scripts\u002Fstructure-prompt.md`\n    - **INSTRUCTION**: \"Generate the component structure JSON based on the prompt and the attached thumbnail. Focus on visual grouping. **Use text content to name components accurately (e.g. 'SafeProducts', not 'FAQ').**\"\n    - **SAVE**: Paste the JSON result into `scripts\u002Fstructure-output.json`.\n\n3.  **Process Result**:\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs save-structure\n    ```\n\n## Step 1.3: Extract Props (Iterative)\n\n1.  **List Components**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs list-components\n    ```\n\n2.  **For EACH component in the list**:\n\n    a. **Generate Prompt**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs props-prompt \"ComponentName\" > scripts\u002Fcurrent-props-prompt.md\n    ```\n\n    b. **AI Task (Props)**:\n    - **ATTACH**: `process\u002Fthumbnail.png` (MANDATORY)\n    - **READ**: `scripts\u002Fcurrent-props-prompt.md`\n    - **INSTRUCTION**: \"Extract props and state data. Be pixel-perfect with text and image paths.\"\n    - **SAVE**: Paste the JSON result into `scripts\u002FComponentName-props.json`.\n\n    c. **Save & Validate**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs save-props \"ComponentName\"\n    # If this fails, re-do step 'b' with better attention to the thumbnail\n    ```\n\n---\n\n# Phase 2: Code Generation\n\n## Step 2.1: Plan Tasks\n\n```bash\nnode scripts\u002Fcoderio-skill.mjs list-gen-tasks\n```\n\nThis outputs a list of tasks with indices (0, 1, 2...).\n\n## Step 2.2: Generate Components (Iterative)\n\n**For EACH task index (starting from 0)**:\n\n1.  **Generate Prompt**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs code-prompt 0 > scripts\u002Fcode-prompt.md\n    # Replace '0' with current task index\n    ```\n\n2.  **AI Task (Code)**:\n    - **ATTACH**: `process\u002Fthumbnail.png` (MANDATORY)\n    - **READ**: `scripts\u002Fcode-prompt.md`\n    - **INSTRUCTION**: \"Generate the React component code. Match the thumbnail EXACTLY. **Use STRICT text content from input data, do not hallucinate.**\"\n    - **SAVE**: Paste the code block into `scripts\u002Fcode-output.txt`.\n\n3.  **Save Code**:\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs save-code 0\n    # Replace '0' with current task index\n    ```\n\n## Step 2.3: Final Integration\n\nInject the root component into `App.tsx`. Use the path found in the last task of Phase 2.1.\n\n---\n\n# Troubleshooting\n\n- **\"Props validation failed\"**: The AI generated empty props. Check if `process\u002Fthumbnail.png` was attached and visible to the AI. Retry the props generation step.\n- **\"Module not found\"**: Ensure `node scripts\u002Fcoderio-skill.mjs save-code` was run for the child component before the parent component. Phase 2 must be done in order (0, 1, 2...).\n- **\"Visuals don't match\"**: Did you attach the thumbnail? The AI relies on it for spacing and layout nuances not present in the raw data.\n","# Design to Code\n\nHigh-fidelity UI restoration from Figma designs to production-ready React + TypeScript components.\nThis SKILL uses a **robust helper script** to minimize manual errors and ensure pixel-perfect results.\n\n## Prerequisites\n\n1.  **Figma API Token**: Get from Figma → Settings → Personal Access Tokens\n2.  **Node.js**: Version 18+\n3.  **coderio**: Installed in `scripts\u002F` folder (handled by Setup phase)\n\n## Workflow Overview\n\n```\nPhase 0: SETUP    → Create helper script and script environment\nPhase 1: PROTOCOL → Generate design protocol (Structure & Props)\nPhase 2: CODE     → Generate components and assets\n```\n\n---\n\n# Phase 0: Setup\n\n## Step 0.1: Initialize Helper Script\n\n**User Action**: Run these commands to create the execution helper and isolate its dependencies.\n\n```bash\nmkdir -p scripts\n\n# 1. Copy script files\n# Note: Ensure you have the 'skills\u002Fdesign-to-code\u002Fscripts' directory available\ncp skills\u002Fdesign-to-code\u002Fscripts\u002Fpackage.json scripts\u002Fpackage.json\ncp skills\u002Fdesign-to-code\u002Fscripts\u002Fcoderio-skill.mjs scripts\u002Fcoderio-skill.mjs\n\n# 2. Install coderio in scripts directory (adjust version if needed)\ncd scripts && pnpm install && cd ..\n```\n\n## Step 0.2: Scaffold Project (Optional)\n\nIf starting a new project:\n\n1.  Run: `node scripts\u002Fcoderio-skill.mjs scaffold-prompt \"MyApp\"`\n2.  **AI Task**: Follow the instructions output by the command to create files.\n\n---\n\n# Phase 1: Protocol Generation\n\n## Step 1.1: Fetch Data\n\n```bash\n# Replace with your URL and Token\nnode scripts\u002Fcoderio-skill.mjs fetch-figma \"https:\u002F\u002Ffigma.com\u002Ffile\u002F...\" \"figd_...\"\n```\n\n**Verify**: `process\u002Fthumbnail.png` should exist.\n\n## Step 1.2: Generate Structure\n\n1.  **Generate Prompt**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs structure-prompt > scripts\u002Fstructure-prompt.md\n    ```\n\n2.  **AI Task (Structure)**:\n    - **ATTACH**: `process\u002Fthumbnail.png` (MANDATORY)\n    - **READ**: `scripts\u002Fstructure-prompt.md`\n    - **INSTRUCTION**: \"Generate the component structure JSON based on the prompt and the attached thumbnail. Focus on visual grouping. **Use text content to name components accurately (e.g. 'SafeProducts', not 'FAQ').**\"\n    - **SAVE**: Paste the JSON result into `scripts\u002Fstructure-output.json`.\n\n3.  **Process Result**:\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs save-structure\n    ```\n\n## Step 1.3: Extract Props (Iterative)\n\n1.  **List Components**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs list-components\n    ```\n\n2.  **For EACH component in the list**:\n\n    a. **Generate Prompt**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs props-prompt \"ComponentName\" > scripts\u002Fcurrent-props-prompt.md\n    ```\n\n    b. **AI Task (Props)**:\n    - **ATTACH**: `process\u002Fthumbnail.png` (MANDATORY)\n    - **READ**: `scripts\u002Fcurrent-props-prompt.md`\n    - **INSTRUCTION**: \"Extract props and state data. Be pixel-perfect with text and image paths.\"\n    - **SAVE**: Paste the JSON result into `scripts\u002FComponentName-props.json`.\n\n    c. **Save & Validate**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs save-props \"ComponentName\"\n    # If this fails, re-do step 'b' with better attention to the thumbnail\n    ```\n\n---\n\n# Phase 2: Code Generation\n\n## Step 2.1: Plan Tasks\n\n```bash\nnode scripts\u002Fcoderio-skill.mjs list-gen-tasks\n```\n\nThis outputs a list of tasks with indices (0, 1, 2...).\n\n## Step 2.2: Generate Components (Iterative)\n\n**For EACH task index (starting from 0)**:\n\n1.  **Generate Prompt**:\n\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs code-prompt 0 > scripts\u002Fcode-prompt.md\n    # Replace '0' with current task index\n    ```\n\n2.  **AI Task (Code)**:\n    - **ATTACH**: `process\u002Fthumbnail.png` (MANDATORY)\n    - **READ**: `scripts\u002Fcode-prompt.md`\n    - **INSTRUCTION**: \"Generate the React component code. Match the thumbnail EXACTLY. **Use STRICT text content from input data, do not hallucinate.**\"\n    - **SAVE**: Paste the code block into `scripts\u002Fcode-output.txt`.\n\n3.  **Save Code**:\n    ```bash\n    node scripts\u002Fcoderio-skill.mjs save-code 0\n    # Replace '0' with current task index\n    ```\n\n## Step 2.3: Final Integration\n\nInject the root component into `App.tsx`. Use the path found in the last task of Phase 2.1.\n\n---\n\n# Troubleshooting\n\n- **\"Props validation failed\"**: The AI generated empty props. Check if `process\u002Fthumbnail.png` was attached and visible to the AI. Retry the props generation step.\n- **\"Module not found\"**: Ensure `node scripts\u002Fcoderio-skill.mjs save-code` was run for the child component before the parent component. Phase 2 must be done in order (0, 1, 2...).\n- **\"Visuals don't match\"**: Did you attach the thumbnail? The AI relies on it for spacing and layout nuances not present in the raw data.\n",{"description":7},"main","35cc2c5cb1f57477268c9f68a3a64363e68de836","agent\u002Fskills\u002Fdesign-to-code","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot","https:\u002F\u002Fgithub.com\u002FSiddhamShah972","2026-08-20 23:29:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot --skill design-to-code",{"tool":37,"command":38},"bunx","bunx skills add SiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot --skill design-to-code",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot --skill design-to-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fdesign-to-code\u002FSKILL.md",true,[45,50,56],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",10880,{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Fcoderio-skill.mjs","SCRIPT","脚本",13059,"https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fdesign-to-code\u002Fscripts\u002Fcoderio-skill.mjs",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fpackage.json",122,"https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fdesign-to-code\u002Fscripts\u002Fpackage.json",[61,70,77,84,92,100],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":20},"01M7AZQ1V61JHXWJ370V37AC6D","workorai","WorkorAI talent marketplace skill: candidate job search and employer hiring with white-box match explanations via the WorkorAI MCP server (https:\u002F\u002Fworkorai.com\u002Fmcp). Use when the user asks to find a job, apply to jobs, respond to employer invitations, or when an employer wants to post jobs, search and evaluate candidates, invite them, and review applicants.","MIT","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fworkorai\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fworkorai\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":20},"01M7AZP93C6FJ9EXT7QXFQ8HA6","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwhisper\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":20},"01M7AZP4RVG6DEBAS7TPJTRP55","weights-and-biases","Track ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collaborative MLOps platform","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fweights-and-biases\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":88,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M7AZNYG21QDFHN1CSGRJ9XJM","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M7AZNCEWCKPENGX0ZT274M4Q","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M7AZMQVK156KR60STTBGQGAK","vitest","Set up Vitest testing in any project — detects type (Cloudflare Workers, React, Node, library), generates vitest.config.ts, test setup, utilities, and a sample test. Covers mocking patterns, coverage config, workspace setup, Jest migration. Use whenever the user mentions adding tests, setting up Vitest, configuring tests, migrating from Jest, fixing testing infrastructure, or asks 'how do I test this'.","https:\u002F\u002Fgithub.com\u002FSiddhamShah972\u002FAgentic-Forecasting-Insight-Copilot\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fvitest\u002FSKILL.md",[],[]]