SkillFeeder › 全部 Skill › 工程开发 › templ-to-gsx-migration

将 templ 组件自动迁移到 gsx 语法并保持功能等价

templ-to-gsx-migration

templ-to-gsx-migration 是 SkillFeeder 收录的Agent Skill,来自 GitHub 仓库 gsxhq/gsx,★ 67。将 templ 组件自动迁移到 gsx 语法并保持功能等价。适合正在从 templ 迁移至 gsx 的开发者。场景是工程开发 · 云与部署。能做的事包括转换组件声明和调用语法、注入 children 参数并规范边界规则、重写 class/JS/CSS/Props 等惯用模式。打开 GitHub 自行安装。

打开 GitHub

仓库
gsxhq/gsx
仓库星标
★ 67
场景
工程开发 · 云与部署
适合
正在从 templ 迁移至 gsx 的开发者
类型
Skill

能做什么

原文简介

Use when migrating templ components to gsx, or running templ and gsx side by side in one module — component declarations, children, cross-package calls, URL helpers, build coexistence, and the children-boundary rule that decides migration order.

同场景推荐