一键导入
mern-teardown
Tear down a MERN project — delete local files and optionally delete the GitHub repo.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Tear down a MERN project — delete local files and optionally delete the GitHub repo.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | mern-teardown |
| description | Tear down a MERN project — delete local files and optionally delete the GitHub repo. |
| argument-hint | [--delete-repo] |
| allowed-tools | Bash, Read, Glob, Grep |
Completely tear down a MERN project created by /mern-kit. Deletes all local
files. By default, keeps the GitHub repo for reference — use --delete-repo to
remove it too.
--delete-repo — Also delete the GitHub repository (default: keep it)gh CLI authenticated (if --delete-repo)Confirm this is a MERN project by checking for:
turbo.jsonapps/web/packages/shared/If any are missing, warn and ask the user to confirm before proceeding.
Record the project root (absolute path) for later deletion.
git remote get-url origin 2>/dev/null
owner/repo from the URLDisplay exactly what will happen:
Project: /path/to/my-app
GitHub: owner/repo (will be DELETED | will be KEPT)
This will permanently delete:
- All local files in /path/to/my-app
[- GitHub repository owner/repo (if --delete-repo)]
Type the project name to confirm: _
Do NOT proceed without explicit confirmation.
gh repo delete owner/repo --yes
If this fails (permissions, network), stop and report — do not continue to local deletion so the user can retry.
cd ..
rm -rf /absolute/path/to/project
Use the absolute path recorded in step 1. Never use relative paths.
Report what was deleted:
Scaffold a pnpm + Turborepo MERN monorepo with Next.js, tooling, tests, CI, and optional GitHub repo creation.
Configure GitHub repository security with branch protection, Dependabot, security scanning, and CI workflows. Integrates with mern-scaffold, nean-scaffold, and iOS projects.
Harden a Vercel deployment with security headers, CSP, bot protection, and deployment configuration
Add authentication to an iOS app with Sign in with Apple, biometrics, and Keychain storage.
Scaffold a new feature with View, ViewModel, and tests following ios-std conventions.
Review iOS code for compliance with standards, NFRs, and security policy.