"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DEZRGktf.js"),a=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const o=[{name:"create-component",description:"Guided workflow to create a new component using tucu-ui primitives. Asks for name, category, props, and variants.",icon:e.jsx(a.PlusCircle,{className:"w-5 h-5"}),color:"blue"},{name:"create-form",description:"Interactive form builder. Collects field definitions, validation rules, and layout — outputs a complete Form with Zod schema.",icon:e.jsx(a.FileInput,{className:"w-5 h-5"}),color:"emerald"},{name:"create-page",description:"Page scaffolding wizard. Asks for layout type, sections, navigation needs — generates a routed page with layout integration.",icon:e.jsx(a.Layout,{className:"w-5 h-5"}),color:"violet"},{name:"debug-variant",description:"Diagnose variant errors. Given a component and the variant causing issues, explains valid options and provides corrected usage.",icon:e.jsx(a.Bug,{className:"w-5 h-5"}),color:"red"},{name:"migrate-component",description:"Migrate from external libraries (Material UI, Chakra, Ant Design) to tucu-ui equivalents. Maps props and patterns automatically.",icon:e.jsx(a.ArrowRightLeft,{className:"w-5 h-5"}),color:"amber"},{name:"theme-setup",description:"Configure theming from scratch. Sets up color preset, dark/light mode, token overrides, and the Zustand theme store.",icon:e.jsx(a.Palette,{className:"w-5 h-5"}),color:"pink"},{name:"accessibility-check",description:"Audit a component or page for WCAG 2.2 AA compliance. Reports contrast issues, missing ARIA, keyboard traps, and focus gaps.",icon:e.jsx(a.Accessibility,{className:"w-5 h-5"}),color:"cyan"},{name:"performance-review",description:"Review component usage for performance issues: unnecessary re-renders, missing memoization, bundle size impact.",icon:e.jsx(a.Gauge,{className:"w-5 h-5"}),color:"orange"}],s=()=>e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx(t.HeroCard,{title:"Prompts",description:"8 pre-built prompt templates that guide the agent through complex multi-step workflows.",icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 bg-linear-to-br from-amber-500 to-orange-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(a.MessageSquare,{className:"w-8 h-8 sm:w-10 sm:h-10 text-white"})})}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"What are Prompts?",children:e.jsx(t.Typography,{className:"text-sm text-foreground/70",children:"MCP Prompts are pre-defined conversation templates that guide the agent through a multi-step workflow. Unlike tools (single-shot execution), prompts structure an interactive dialogue — asking clarifying questions, making decisions, and producing comprehensive output."})})}),e.jsxs("section",{className:"space-y-6",children:[e.jsxs("div",{className:"text-center",children:[e.jsx(t.Typography,{tag:"h2",className:"mb-2",children:"Available Prompts"}),e.jsx(t.Typography,{tag:"p",className:"text-gray-500 dark:text-gray-400 max-w-2xl mx-auto",children:"Each prompt guides the agent through a structured multi-step workflow"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:o.map(r=>e.jsx(t.ColorCard,{icon:r.icon,title:r.name,description:r.description,color:r.color},r.name))})]}),e.jsx(t.CardContainer,{children:e.jsxs(t.CardTitle,{title:"Usage Example",children:[e.jsx(t.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Prompts are invoked by name. The agent then follows the template's guided flow:"}),e.jsx(t.CodeBlock,{code:`// In your AI assistant, invoke a prompt:
"Use the create-form prompt to build a registration form"

// The agent will:
// 1. Ask: What fields do you need?
// 2. Ask: What validation rules?
// 3. Ask: Any conditional logic?
// 4. Generate: Complete form with Zod + react-hook-form
// 5. Output: Ready-to-paste TSX code

// Another example:
"Run debug-variant for Button with variant='primary'"

// The agent will:
// 1. Identify: "primary" is not a valid Button variant
// 2. Explain: Valid variants are "solid" | "ghost" | "transparent"
// 3. Suggest: Use "solid" for primary button appearance
// 4. Provide: Corrected code snippet`})]})})]});exports.default=s;
