Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

migrate-googleaimigrate googleai 命令行

Agent Skill

migrate-googleai 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,105

周安装

47

GitHub Stars

14

下载量

387
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,支持多宿主环境。

  • 适合围绕仓库状态、代码变更或协作事项进行整理和分析。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限和维护状态。
  • 建议结合原始 README 核验用法,注意是否会触发联网或文件读写操作。
  • migrate-googleai 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Rule: Migrate Google AI Studio prototype to Domo App Platform Custom App (static dist deploy)

You are converting a project that began in Google AI Studio (often Cloud Run / preview oriented) into a Domo App Platform Custom App deployed as static assets via the Domo CLI. The required deployment contract is:

  1. npm run build must produce a self-contained dist/ folder
  2. cd dist && domo publish must work (Domo serves the app from a subpath, not from site root)
  3. The app must load assets correctly and not break on refresh/navigation

Detect AI Studio origin

Treat the project as "AI Studio-origin" if you see any of:

  • README mentions Google AI Studio / Gemini API / "Build" mode / Cloud Run
  • cloudbuild.yaml, Dockerfile, or Cloud Run deploy instructions
  • use of process.env.GEMINI_API_KEY or placeholders described as "provided by AI Studio"
  • structure that runs via a server/container rather than static hosting

If detected, apply the steps below.


Primary objective

Make the project a conventional front-end that:

  • runs locally with npm run dev
  • produces production files with npm run build into dist/
  • can be hosted from a non-root subpath (Domo App Platform)
  • does NOT require any server runtime to render the UI

Step 1 — Ensure a standard build pipeline exists

Open package.json and ensure scripts exist and are correct for the chosen toolchain:

  • If it is Vite:

- dev: vite - build: vite build - preview: vite preview - Confirm output is dist/

  • If it is CRA:

- build outputs build/ by default (NOT acceptable for our contract) - Either: A) migrate to Vite (preferred for App Platform), OR B) update Domo publish docs/commands accordingly (only if user explicitly wants CRA)

Default to Vite if uncertain.

Acceptance criteria:

  • npm install succeeds
  • npm run build creates dist/ with index.html and assets/*

Step 2 — Fix base path so assets work in Domo (subpath hosting)

Domo App Platform does NOT host your app at /. It’s under a nested path. Therefore asset paths MUST be relative or explicitly configured.

  • If Vite: set base to relative

- in vite.config.*: base: './'

  • If other bundler: ensure the equivalent "public path" is relative.

Acceptance criteria:

  • Opening the built dist/index.html from a nested path still loads JS/CSS assets (no 404s).
  • No hardcoded absolute asset paths like /assets/... unless you know the host root.

Step 3 — Make routing robust for static hosting

If the app uses React Router (or any client router):

  • Prefer HashRouter for App Platform unless you know the platform provides SPA rewrites.
  • If switching to HashRouter is too invasive, document that refresh on deep routes will 404 unless Domo is configured with a rewrite rule.

Default action:

  • If router is present and no rewrite control is known: switch to HashRouter.

Acceptance criteria:

  • Built app can navigate and refresh without server rewrites.

Step 4 — Environment variables and secrets: remove AI Studio-only assumptions

AI Studio can "magically" provide placeholders (e.g., Gemini API key) during its hosted run. In Domo App Platform, the browser cannot safely hold secrets.

Rules:

  • Do NOT ship any raw API keys in client code.
  • If the UI needs Gemini/LLM calls:

- Prefer Domo AI APIs via domo.js if available/allowed, OR - Proxy through a backend (e.g., Domo Code Engine) that injects secrets server-side.

  • Replace process.env.* patterns with toolchain-native env usage:

- Vite: import.meta.env.VITE_*

  • Add .env.example documenting required variables (non-secret only).

Acceptance criteria:

  • No committed secrets.
  • No runtime crashes from missing AI Studio env injection.

Step 5 — Domo deploy contract

Ensure the final developer workflow is:

  • npm run build
  • cd dist
  • domo publish

If a Domo manifest/config file is required by the App Platform project (e.g., manifest.json), ensure it is located where Domo expects it OR copied into dist/ during build.

If the platform expects the manifest in the root but publishes dist/, implement one of:

  • Copy required config/manifest into dist/ as part of build (postbuild script)
  • Or adjust publish strategy if the user’s established standard differs

Default:

  • Add a postbuild script to copy required app platform files into dist/ if they are missing there.

Acceptance criteria:

  • dist/ contains everything needed to publish and run.
  • domo publish from inside dist/ works without manual file copying.

Output requirements (what you must deliver as the assistant)

After applying changes, provide:

  1. A short list of files changed
  2. The exact commands to run locally
  3. A "done checklist" confirming:

- build produces dist/ - assets load under subpath - routing works (hash router or documented rewrite need) - no secrets in client

Be decisive; implement changes rather than asking follow-up questions unless blocked by missing files.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.48%
按下载量换算141

Claude

31.21%
按下载量换算121

Cursor

19.82%
按下载量换算77

Gemini CLI

8.13%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills