SYSTEM DOCUMENTATION & REQUIREMENTS
💡 This Skill requires vite, tailwindcss, postcss, autoprefixer, lucide-react, clsx, tailwindcss-animate, class-variance-authority, tailwind-merge, @radix-ui/react-accordion, @radix-ui/react-avatar, @radix-ui/react-checkbox, @radix-ui/react-dialog, @radix-ui/react-dropdown-menu, @radix-ui/react-hover-card, @radix-ui/react-label, @radix-ui/react-menubar, @radix-ui/react-navigation-menu, @radix-ui/react-popover, @radix-ui/react-progress, @radix-ui/react-radio-group, @radix-ui/react-scroll-area, @radix-ui/react-select, @radix-ui/react-separator, @radix-ui/react-slider, @radix-ui/react-slot, @radix-ui/react-switch, @radix-ui/react-tabs, @radix-ui/react-toast, @radix-ui/react-toggle, @radix-ui/react-toggle-group, @radix-ui/react-tooltip, sonner, cmdk, vaul, embla-carousel-react, react-day-picker, react-resizable-panels, date-fns, react-hook-form, @hookform/resolvers, zod, and includes scripts (resource) components.
What problem does it solve?
PayU teams need a fast, consistent way to produce high-fidelity frontend artifacts for docs, PRDs, and demos. This skill provides a turnkey workflow to initialize artifact projects, develop with React and Vite, and bundle everything into a single, portable HTML artifact.
Core Features & Use Cases
- Artifact project bootstrap: Initialize new artifact projects with a standardized structure.
- Local development & bundling: Develop with Vite + React and bundle into a single HTML file for offline usage.
- Documentation-ready outputs: Generate ready-to-share demos and PRDs that can be embedded in PayU docs.
Quick Start
From the root of your PayU project, run:
- bash .agent/skills/web-artifacts-builder/scripts/init-artifact.sh payment-flow-demo
- after development, run: bash ../scripts/bundle-artifact.sh