Token导航 LogoToken导航

Agent Skill · 研究检索

migrate-lovable(迁徙可爱)

migrate-lovable 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

migrate-lovable 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 41,504。

总安装 1,164周安装 48GitHub Stars 14下载 380核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:migrate-lovable(迁徙可爱)
来源仓库:https://github.com/stahura/domo-ai-vibe-rules
仓库路径:skills/migrate-lovable
安装命令:
npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill migrate-lovable
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill migrate-lovable

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于需要根据关键词或任务场景进行信息检索的场景,支持多宿主环境。通过 npx skills add 命令从 GitHub 仓库安装,需确认权限和维护状态。

建议结合原始 README 核验用法,注意是否会触发联网或文件读写操作。migrate-lovable 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/migrate-lovable

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill migrate-lov…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

migrate-lovable 怎么安装?

在终端执行 npx skills add https://github.com/stahura/domo-ai-vibe-rules --skill migrate-lovable。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

migrate-lovable 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

migrate-lovable 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

migrate-lovable 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

migrate-lovable 用的人多吗?

公开数据是累计安装 1,164 次,近一周安装 48 次,下载 380 次,GitHub 14 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

migrate-lovable 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
migrate-lovable

迁徙可爱 · 本页

1,16414接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Migrating Lovable to Domo

Converting Generated Apps (Lovable/v0) to Domo

Many developers use AI tools like Lovable, v0, or similar LLM-based generators to create app prototypes. However, these tools typically generate apps with server-side rendering (SSR) that are incompatible with Domo's client-side-only architecture.

The Conversion Challenge

Generated apps often include:

  • Server-side rendering (Next.js, Remix, SvelteKit, Nuxt)
  • API routes (pages/api/ or app/api/ directories)
  • Server-side data fetching (getServerSideProps, loaders, etc.)
  • Framework-specific routing (Next.js App Router, Remix routes)

Domo apps must be:

  • Pure client-side React - No server rendering
  • Static file-based - Domo serves static files only
  • Domo API integration - Use domo.get(), Query, AppDBClient, etc. instead of backend endpoints

Recommended Conversion Pattern

DA CLI is NOT a conversion tool - it doesn't automatically convert apps. However, you can use it as a reference structure and starting point.

Step 1: Generate Reference Structure
# Create a fresh Domo app to use as reference
da new my-converted-app
cd my-converted-app

# This gives you the correct structure to compare against
Step 2: Detect and Remove SSR Code

Check for SSR indicators:

  • getServerSideProps, getStaticProps (Next.js)
  • loader, action functions (Remix)
  • +page.server.js, +server.js (SvelteKit)
  • pages/api/ or app/api/ directories
  • Server-side process.env usage
  • Database connections in components

Action: Remove all server-side code. Domo apps run entirely in the browser.

Step 3: Replace Data Fetching

Before (Next.js example):

// ❌ Server-side data fetching
export async function getServerSideProps() {
  const res = await fetch('https://api.example.com/data');
  const data = await res.json();
  return { props: { data } };
}

// ❌ API route
// pages/api/users.ts
export default async function handler(req, res) {
  const users = await db.users.findMany();
  res.json(users);
}

After (Domo):

// ✅ Client-side with Domo APIs
import domo from 'ryuu.js';
import Query from '@domoinc/query';
import { AppDBClient } from '@domoinc/toolkit';

// Fetch from Domo dataset
const data = await domo.get('/data/v1/sales');

// Or use Query API for filtered/aggregated data
const summary = await new Query()
  .select(['region', 'sales'])
  .groupBy('region', { sales: 'sum' })
  .fetch('sales-dataset');

// Or use AppDB for document storage
const tasksClient = new AppDBClient.DocumentsClient('Tasks');
const tasks = await tasksClient.get();
Step 4: Update Routing

Before (Next.js):

// ❌ Next.js routing
import Link from 'next/link';
<Link href="/dashboard">Dashboard</Link>

After (Domo):

// ✅ HashRouter for client-side routing
import { HashRouter, Routes, Route } from 'react-router-dom';
import domo from 'ryuu.js';

// Use HashRouter (works without server rewrites)
<HashRouter>
  <Routes>
    <Route path="/" element={<Home />} />
    <Route path="/dashboard" element={<Dashboard />} />
  </Routes>
</HashRouter>

// For Domo navigation, use domo.navigate()
domo.navigate('/page/123456789');
Step 5: Fix Build Configuration

Before (Next.js):

// next.config.js
module.exports = {
  // Next.js config
}

After (Domo - Vite):

// vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
  base: './',  // CRITICAL: Relative paths for Domo
  plugins: [react()],
});

Remove Lovable-specific Vite plugins like lovable-tagger:

// ❌ Remove this
import { componentTagger } from "lovable-tagger";
plugins: [react(), mode === "development" && componentTagger()].filter(Boolean),

// ✅ Replace with
plugins: [react()],
Step 6: Remove Lovable-Specific Dependencies

Lovable/v0 apps include tooling that must be removed:

Dependencies to remove:

  • next-themes — SSR theme provider; replace useTheme() with a hardcoded theme string (e.g. "light")
  • lovable-tagger — Lovable's dev-only component tagger

Files to delete:

  • playwright.config.ts — Uses lovable-agent-playwright-config
  • playwright-fixture.ts — Re-exports Lovable test fixtures
  • bun.lock / bun.lockb — Lovable uses Bun; standardize on npm
  • App.css — Often unused in generated apps (verify first)

Fix next-themes usage in Sonner toaster:

// ❌ Before (depends on next-themes)
import { useTheme } from "next-themes";
const { theme = "system" } = useTheme();
<Sonner theme={theme as ToasterProps["theme"]} />

// ✅ After (hardcoded, no SSR dependency)
<Sonner theme="light" />
Step 7: Create Domo Manifest

Domo requires a manifest.json in the publish directory:

{
  "name": "My App Name",
  "version": "1.0.0",
  "size": {
    "width": 10,
    "height": 10
  },
  "mapping": [],
  "fileName": "index.html",
  "id": "",
  "proxyId": ""
}
  • name — Display name in Domo
  • size — Card dimensions (columns x rows on the Domo dashboard grid)
  • mapping — Dataset mappings (empty array if using mock data or AppDB)
  • fileName — Entry HTML file (always index.html)
  • id — Leave empty; domo publish fills this on first publish
Step 8: Create Thumbnail

REQUIRED — domo publish will fail without this.

Place a 300x300 PNG named thumbnail.png in the project root. This is used in the Domo Appstore and mobile app.

# Generate a simple thumbnail programmatically (Python + Pillow)
python3 -c "
from PIL import Image, ImageDraw, ImageFont
img = Image.new('RGB', (300, 300), color=(15, 23, 42))
draw = ImageDraw.Draw(img)
draw.rectangle([0, 0, 300, 6], fill=(99, 102, 241))
try:
    font = ImageFont.truetype('/System/Library/Fonts/Helvetica.ttc', 72)
except: font = ImageFont.load_default()
bbox = draw.textbbox((0, 0), 'EF', font=font)
draw.text(((300-(bbox[2]-bbox[0]))/2, 110), 'EF', fill='white', font=font)
img.save('thumbnail.png')
"

Or use any 300x300 PNG image.

Step 9: Publish from dist/ Directory

CRITICAL — Running domo publish from the project root causes a 400: Unable to parse form content error because the CLI tries to upload node_modules, source files, and config files, creating an oversized payload.

Solution: Copy manifest.json and thumbnail.png into dist/, then publish from there:

# Manual publish
npm run build
cp manifest.json thumbnail.png dist/
cd dist && domo publish

Automate it by updating package.json scripts:

{
  "scripts": {
    "build": "vite build && cp manifest.json thumbnail.png dist/",
    "publish": "npm run build && cd dist && domo publish"
  }
}

This ensures only built assets, the manifest, and thumbnail are uploaded.

Step 10: Port Components

Use DA CLI to generate new components with correct structure, then port logic:

# Generate component structure
da generate component SalesChart

# Copy component logic from generated app
# Replace data fetching with Domo APIs
# Update imports and dependencies

What DA CLI Helps With

✅ Reference structure - Shows correct Domo app organization ✅ Component generation - Creates properly structured components ✅ Pattern examples - Demonstrates Domo conventions ✅ Starting fresh - If conversion is too complex, start new and port logic

What DA CLI Doesn't Do

❌ No automatic conversion - Doesn't transform SSR to client-side ❌ No migration wizard - No step-by-step conversion tool ❌ No code transformation - Doesn't rewrite framework-specific code ❌ No API migration - Doesn't replace backend calls automatically

Complete Conversion Checklist

  • Detect and remove all SSR code
  • Remove API routes (pages/api/, app/api/)
  • Replace fetch() calls to backend with Domo APIs
  • Update routing from BrowserRouter to HashRouter
  • Configure Vite with base: './'
  • Remove Lovable-specific plugins (lovable-tagger) from Vite config
  • Remove next-themes and replace useTheme() with hardcoded theme
  • Delete Lovable files (playwright.config.ts, playwright-fixture.ts, bun.lock*)
  • Add ryuu.js dependency for Domo API integration
  • Replace environment variables (use Domo APIs instead)
  • Update imports (remove Next.js/Remix/Lovable specific)
  • Create manifest.json with app name, version, and size
  • Create thumbnail.png (300x300 PNG) in project root
  • Update build script to copy manifest.json + thumbnail.png into dist/
  • Test all data fetching works with Domo APIs
  • Verify app builds and runs locally (npm run build)
  • Publish from dist/ directory (cd dist && domo publish)

Example: Converting a Simple Dashboard

Original (Lovable/Next.js):

// pages/dashboard.tsx
export async function getServerSideProps() {
  const sales = await fetch('http://api.company.com/sales').then(r => r.json());
  return { props: { sales } };
}

export default function Dashboard({ sales }) {
  return <div>{/* Render sales data */}</div>;
}

Converted (Domo):

// src/components/Dashboard/Dashboard.tsx
import { useEffect, useState } from 'react';
import domo from 'ryuu.js';

export default function Dashboard() {
  const [sales, setSales] = useState([]);

  useEffect(() => {
    // Fetch from Domo dataset instead of backend
    domo.get('/data/v1/sales').then(setSales);
  }, []);

  return <div>{/* Render sales data */}</div>;
}

平台分布

Codex

34.72%
按下载量换算132

Claude

29.52%
按下载量换算112

Cursor

20.4%
按下载量换算78

Gemini CLI

10.15%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills