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
- 其他.fingerprint32 B
- 参考文档references/base44.md1.7 KB
- 参考文档references/vercel.md3.3 KB
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
-
Database: Replit PostgreSQL via the
javascript_databaseblueprint. 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 inshared/schema.ts,IStorageinserver/storage.ts, routes under/api/*, thennpm run db:push. -
Auth:
javascript_log_in_with_replitblueprint (Replit Auth). If the user explicitly asks for Clerk, use theclerk-authskill. 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". -
Secrets: Live in Replit's secret store. Use the
environment-secretsskill'sask_secretstool to request user-supplied keys, andcheck_secretsto see what's already set. Never paste keys into code or.env.*. Never expose viaVITE_*(that ships to the browser). Scrape nothing from the imported.env; re-request throughask_secrets. -
Integrations: For AI, use AI Integrations via the
integrationsskill (OpenAI / Anthropic / Gemini env vars auto-provisioned, no key from the user). For object storage, usejavascript_object_storage. For payments,javascript_stripe/javascript_paypal. For email / SMS / Slack / Notion / etc., search theintegrationsskill first. Only fall back toask_secretsif 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
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.
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.
wurk-integration
WURK API integration for monetizing agents with x402 payments on Solana/Base - create social jobs, custom challenges, and agent help tasks
workflows
Manage application workflows including configuration, restart, and removal.
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.
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.