Skills Plugins MCP Prompt Model 博客 我的中心

heroui-migration

HeroUI v2 to v3 migration guide for agents. Use when migrating HeroUI v2 apps to v3, upgrading components, or accessing migration documentation. Keywords: HeroUI migration, v2 to v3, migration guide, upgrade HeroUI.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=heroui-inc-heroui-skills-heroui-migration-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name heroui-migration description HeroUI v2 to v3 migration guide for agents. Use when migrating HeroUI v2 apps to v3, upgrading components, or accessing migration documentation. Keywords: HeroUI migration, v2 to v3, migration guide, upgrade HeroUI. metadata {"author":"heroui","version":"2.0.0","status":"preview"} HeroUI v2 to v3 Migration Guide This skill helps agents migrate HeroUI v2 applications to v3. HeroUI v3 introduces breaking changes: compound components, no Provider, Tailwind v4, and removed hooks. Installation curl -fsSL https://heroui.com/install | bash -s heroui-migration CRITICAL: Always Fetch Migration Docs Before Applying Do NOT assume v2 patterns work in v3. Always fetch migration guides before implementing changes. Key v2 → v3 Changes Feature v2 (Migrate From) v3 (Migrate To) Provider <HeroUIProvider> required No Provider needed Component API Flat props: <Card title="x"> Compound: <Card><Card.Header> Event handlers onClick onPress Styling classNames prop className prop Hooks useSwitch , useDisclosure , etc. Compound components, useOverlayState Packages @heroui/system , @heroui/theme @heroui/react , @heroui/styles Accessing Migration Documentation For migration details, examples, and step-by-step guides, always fetch documentation: Using Scripts # List all available component migration guides node scripts/list_migration_guides.mjs # Get main migration workflow (full or incremental) node scripts/get_migration_guide.mjs full node scripts/get_migration_guide.mjs incremental # Get component-specific migration guides node scripts/get_component_migration_guides.mjs button node scripts/get_component_migration_guides.mjs button card modal # Get styling migration guide node scripts/get_styling_migration_guide.mjs # Get hooks migration guide node scripts/get_hooks_migration_guide.mjs Direct URLs Migration docs (preview): use a concrete guide URL from the examples below, and never fetch a URL that still contains a placeholder. Examples: Full migration: .../agent-guide-full.mdx Incremental: .../agent-guide-incremental.mdx Button: .../button.mdx Styling: .../styling.mdx Hooks: .../hooks.mdx Override base URL with HEROUI_MIGRATION_DOCS_BASE when docs are merged to production. MCP Alternative When using Cursor or other MCP clients, configure the Migration MCP server for tool-based access: { "mcpServers" : { "heroui-migration" : { "url" : "https://migration-mcp.heroui.com" } } } Migration Strategies Full Migration Best for: Projects that can dedicate focused time; teams comfortable with temporarily broken code Migrate all component code first (project broken during migration) Switch dependencies to v3 Complete styling migration Incremental Migration Best for: Projects that must stay functional; large codebases migrating gradually Set up coexistence (pnpm aliases or component packages) Migrate components one-by-one Both v2 and v3 coexist during migration Always fetch the agent guide before starting: node scripts/get_migration_guide.mjs full or incremental Core Principles Fetch first : Use scripts to get migration guides before applying changes Compound components : v3 uses Card.Header , Card.Title , Button with children—not flat props No Provider : Remove HeroUIProvider when migrating onPress not onClick : All interactive components use onPress Workflow : Analyze → Migrate components → Switch deps → Styling migration Migration Workflow Summary Create migration branch Analyze project (HeroUI imports, component usage) Fetch main guide: node scripts/get_migration_guide.mjs full Migrate components in batches (fetch component guides per batch) Switch dependencies to v3 Fetch styling guide: node scripts/get_styling_migration_guide.mjs Apply styling updates Preview Mode This skill targets the staging deployment of the docs/migration branch. Once docs are merged to main and live on heroui.com, set HEROUI_MIGRATION_DOCS_BASE=https://heroui.com/docs/react/migration or update the default in scripts.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。