migrate-component — community migrate-component, webx, plaenen, community, ai agent skill, ide skills, agent automation, AI agent skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing DaisyUI to WebX templ component migration capabilities. Migrate a DaisyUI component into a WebX templ component following the migration guide

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

Quality Score

Top 5%
39
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add plaenen/webx/migrate-component
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

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.

Ideal Agent Persona

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

Core Value

Empowers agents to migrate DaisyUI components to WebX templ components using a detailed migration guide, following a step-by-step process that involves understanding HTML structure, CSS classes, and interactivity, and provides compatibility with AI coding assistants like Claude Code and Cursor, utilizing WebX templ components and DaisyUI documentation.

Capabilities Granted for migrate-component

Migrating existing DaisyUI components to WebX templ components
Generating WebX templ components from DaisyUI components using a migration guide
Debugging migrated WebX templ components for compatibility issues

! Prerequisites & Limits

  • Requires access to DaisyUI component documentation
  • Needs a detailed migration guide at `docs/component-migration-guide.md`
  • Compatibility limited to WebX templ components and DaisyUI components
Project
SKILL.md
1.7 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
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 DaisyUI to WebX templ component migration capabilities. Migrate a DaisyUI component into a WebX templ component following the migration 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 existing DaisyUI components to WebX templ components, Generating WebX templ components from DaisyUI components using a migration guide, Debugging migrated WebX templ components for compatibility issues.

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 DaisyUI component documentation. Needs a detailed migration guide at `docs/component-migration-guide.md`. Compatibility limited to WebX templ components and DaisyUI components.

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

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
AI

antd-commit-msg

Logo of ant-design
ant-design

Generate a single-line commit message for ant-design by reading the projects git staged area and recent commit style. Use when the user asks for a commit message, says msg, commit msg, 写提交信息, or wants

97.8k
0
Design