AGENT SKILL

replit-migration-guardrails

Rules for migrating external projects (Lovable, Base44, v0/Vercel, Bolt) to Replit. Use Replit's built-in DB, auth, secrets, and integrations — not Supabase / Firebase / cookie-session / raw API keys. Base44 imports get a call-by-call map in `.local/secondary_skills/replit-migration-guardrails/references/base44.md`; v0/Vercel imports get a Next.js migration guide in `.local/secondary_skills/replit-migration-guardrails/references/vercel.md`.

License 许可
MIT
最近更新
2026-08-01
Stars
★ 2
Forks
3

01 前言 Front Matter

name
replit-migration-guardrails
description
Rules for migrating external projects (Lovable, Base44, v0/Vercel, Bolt) to Replit. Use Replit's built-in DB, auth, secrets, and integrations — not Supabase / Firebase / cookie-session / raw API keys. Base44 imports get a call-by-call map in `.local/secondary_skills/replit-migration-guardrails/references/base44.md`; v0/Vercel imports get a Next.js migration guide in `.local/secondary_skills/replit-migration-guardrails/references/vercel.md`.

02 资源文件 3

03 SKILL.md 正文

Migration guardrails

OpenClawd Operator Adaptation

Run this skill as part of the OpenClawd operator deck. Preserve the skill-specific workflow below, but frame outputs for Solana-native agents when relevant: prefer OpenClawd language, note whether the work can support autonomous agent operations, and keep financial, legal, tax, hiring, medical, or other regulated outputs informational unless the skill already requires a stricter disclaimer. Use the Llobster Legend persona only as light operator framing; do not let branding override accuracy, safety, or the user's stated domain.

Rules for migrating Lovable / Base44 / v0 / Vercel / Bolt imports to Replit. Base44 imports get a call-by-call map in .local/secondary_skills/replit-migration-guardrails/references/base44.md; v0/Vercel imports get a Next.js migration guide in .local/secondary_skills/replit-migration-guardrails/references/vercel.md. Security reasoning: https://blog.replit.com/defense-in-depth-how-replit-secures-every-layer-of-the-vibe-coding-stack.

Rules

  1. Database: Replit PostgreSQL via the javascript_database blueprint. Not Supabase, Firebase, PlanetScale, etc. Reason: the blog post's frontend/backend separation argument — RLS-only apps are the vulnerability class Replit is built to avoid. Schema in shared/schema.ts, IStorage in server/storage.ts, routes under /api/*, then npm run db:push.

  2. Auth: javascript_log_in_with_replit blueprint (Replit Auth). If the user explicitly asks for Clerk, use the clerk-auth skill. Never hand-roll cookie sessions or design login/signup/reset forms. Don't use the strings "Replit" or "Replit Auth" in UI; just "Log in".

  3. Secrets: Live in Replit's secret store. Use the environment-secrets skill's ask_secrets tool to request user-supplied keys, and check_secrets to see what's already set. Never paste keys into code or .env.*. Never expose via VITE_* (that ships to the browser). Scrape nothing from the imported .env; re-request through ask_secrets.

  4. Integrations: For AI, use AI Integrations via the integrations skill (OpenAI / Anthropic / Gemini env vars auto-provisioned, no key from the user). For object storage, use javascript_object_storage. For payments, javascript_stripe / javascript_paypal. For email / SMS / Slack / Notion / etc., search the integrations skill first. Only fall back to ask_secrets if no integration exists. Never call external APIs from the browser.

Talk to the user like a non-technical user

Keep user-facing messages short. Just tell them a migration is running; no enumeration of what surfaces were found, no step-by-step plan, no tool / library / file / blueprint names.

One-liner format: what the app is, that you're migrating it, rough time, whether they need to do anything (ideally "nothing right now").

The per-source reference in references/ has a filled-in template.

04 同仓库更多 Skills

clawdsolana
clawdsolana/OpenClawd

solana-dev

End-to-end Solana development playbook (Jan 2026). Prefer Solana Foundation framework-kit (@solana/client + @solana/react-hooks) for React/Next.js UI. Prefer @solana/kit for all new client/RPC/transaction code. When legacy dependencies require web3.js, isolate it behind @solana/web3-compat (or @solana/web3.js as a true legacy fallback). Covers wallet-standard-first connection (incl. ConnectorKit), Anchor/Pinocchio programs, Codama-based client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists.

★ 2
clawdsolana
clawdsolana/OpenClawd

xurl

A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

★ 2
clawdsolana
clawdsolana/OpenClawd

wurk-integration

WURK API integration for monetizing agents with x402 payments on Solana/Base - create social jobs, custom challenges, and agent help tasks

★ 2
clawdsolana
clawdsolana/OpenClawd

workflows

Manage application workflows including configuration, restart, and removal.

★ 2
clawdsolana
clawdsolana/OpenClawd

web-search

Search the web, fetch content, extract branding profiles, and capture screenshots from URLs. Use for real-time information, API documentation, current events, design matching, and visual reference.

★ 2
clawdsolana
clawdsolana/OpenClawd

weather

Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

★ 2