AGENT SKILL

templatecentral:migrate

Use when adopting or upgrading a project, switching its DB access layer, or extracting a Next.js backend — FastAPI, NestJS, Next.js, Vite + React.

使用场景后端与接口
License 许可
MIT
最近更新
2026-11-12
Stars
★ 4
Forks
1

01 前言 Front Matter

name
templatecentral:migrate
description
Use when adopting or upgrading a project, switching its DB access layer, or extracting a Next.js backend — FastAPI, NestJS, Next.js, Vite + React.

02 资源文件 28

03 SKILL.md 正文

Step 1 — Pick the path (under <skill-dir>/):

Type Path
Adopt / upgrade — retrofit the harness, or upgrade a templateCentral project general/implementation.md
DB access layer — fastapi: SQLAlchemy password → AWS IAM auth; nestjs/nextjs: Drizzle → Kysely (vite-react has no database layer: tell the user and stop) database/<fastapi|nestjs|nextjs>.md
Backend extraction — Next.js API routes → NestJS or FastAPI service nextjs-backend-extraction.md
Portal framing — pre-6.2.0 app framed only by its appCentral portal (APPCENTRAL_PORTAL_ORIGIN) portal-frame-ancestors.md

Step 2 — Run:

<skill-dir> = this skill's directory ("Base directory for this skill"); substitute the absolute path — it is not a shell variable.

cat "<skill-dir>/<path>"

Step 3 — Follow the loaded guide exactly.

04 同仓库更多 Skills