migrate-component — DaisyUI to WebX migration migrate-component, community, DaisyUI to WebX migration, ide skills, migrate-component install, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing seamless DaisyUI to WebX templ component migration capabilities. migrate-component is a skill that enables the migration of DaisyUI components into WebX templ components, utilizing a step-by-step guide.

Features

Migrates DaisyUI components to WebX templ components
Follows a detailed migration guide at docs/component-migration-guide.md
Determines component tier based on CSS usage and interactivity
Supports lookup of component HTML structure and CSS classes on https://daisyui.com/components/
Handles hidden input and details elements for interactivity

# Core Topics

plaenen plaenen
[2]
[0]
Updated: 2/24/2026

Agent Capability Analysis

The migrate-component skill by plaenen is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for DaisyUI to WebX migration, migrate-component install.

Ideal Agent Persona

Perfect for Frontend Agents needing seamless DaisyUI to WebX templ component migration capabilities.

Core Value

Empowers agents to migrate DaisyUI components into WebX templ components following a detailed migration guide, utilizing HTML structure analysis, CSS class mapping, and modifier handling, all while adhering to the protocol outlined in the component-migration-guide.md.

Capabilities Granted for migrate-component

Migrating DaisyUI components to WebX templ for enhanced compatibility
Automating the analysis of component HTML structures and CSS classes
Debugging migration issues based on the component's tier and interactivity

! Prerequisites & Limits

  • Requires access to the component-migration-guide.md
  • Limited to DaisyUI and WebX templ components
  • Needs internet connection for looking up components on https://daisyui.com/
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

migrate-component

Install migrate-component, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Migrate the DaisyUI component $ARGUMENTS into a WebX templ component.

Follow the migration guide at docs/component-migration-guide.md exactly. Read it first before writing any code.

Steps:

  1. Look up the component on https://daisyui.com/components/$ARGUMENTS/ to understand its HTML structure, CSS classes, modifiers, and whether it uses a hidden input (checkbox/radio) or <details> for interactivity.

  2. Determine the tier:

    • Tier 1 (CSS-only) if purely visual/structural
    • Tier 2 (Interactive) if it toggles, shows/hides, or changes state
  3. Create the package at ui/$ARGUMENTS/$ARGUMENTS.templ following the tier template from the migration guide.

  4. Map all DaisyUI modifiers to typed Go consts (Variant, Size, Position, etc.).

  5. For Tier 2 components: define a signals struct, use utils.Signals(), and use ds.* helpers for ALL Datastar attributes. Never write raw data-on-click or similar — always use ds.OnClick(), ds.Attr(), etc.

  6. Generate and build:

    sh
    1go tool templ generate 2go build ./cmd/showcase
  7. If the component introduces new DaisyUI classes not yet in the codebase, rebuild CSS:

    sh
    1go tool gotailwind -i static/css/input.css -o static/css/output.css
  8. Create a showcase page at cmd/showcase/internal/pages/$ARGUMENTS.templ demonstrating the component with multiple variants/sizes. Register the route in cmd/showcase/main.go and add a sidebar link in layouts/showcase.templ.

  9. Write an E2E test at tests/e2e/$ARGUMENTS_test.go. For CSS-only components, verify elements render with expected classes. For interactive components, verify toggle/state behavior using Playwright.

  10. Run E2E tests to verify:

    sh
    1go test ./tests/e2e/... -run $ARGUMENTS -v

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is migrate-component?

Perfect for Frontend Agents needing seamless DaisyUI to WebX templ component migration capabilities. migrate-component is a skill that enables the migration of DaisyUI components into WebX templ components, utilizing a step-by-step guide.

How do I install migrate-component?

Run the command: npx killer-skills add plaenen/webx/migrate-component. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for migrate-component?

Key use cases include: Migrating DaisyUI components to WebX templ for enhanced compatibility, Automating the analysis of component HTML structures and CSS classes, Debugging migration issues based on the component's tier and interactivity.

Which IDEs are compatible with migrate-component?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for migrate-component?

Requires access to the component-migration-guide.md. Limited to DaisyUI and WebX templ components. Needs internet connection for looking up components on https://daisyui.com/.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add plaenen/webx/migrate-component. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use migrate-component immediately in the current project.

Related Skills

Looking for an alternative to migrate-component or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI