원클릭으로
ios-teardown
Tear down an iOS project created by /ios-kit. Removes local files, git hooks, and optionally deletes the GitHub repo.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Tear down an iOS project created by /ios-kit. Removes local files, git hooks, and optionally deletes the GitHub repo.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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.
SOC 직업 분류 기준
| name | ios-teardown |
| description | Tear down an iOS project created by /ios-kit. Removes local files, git hooks, and optionally deletes the GitHub repo. |
| argument-hint | [--keep-repo] [--keep-local] [--dry-run] |
| allowed-tools | Bash, Read, Glob, Grep |
Reverse the setup performed by /ios-kit (/ios-scaffold → /github-hooks → /github-secure). Removes local project files, git hooks, and optionally deletes the GitHub repo.
--keep-repo — Keep the GitHub repo (default: delete the repo)--keep-local — Keep local files, only clean up remote resources--dry-run — Show what would be deleted without doing itVerify the current directory is an ios-kit project:
project.yml, App/Sources/, and CLAUDE.mdproject.yml to extract the project namegit remote get-url originowner/repo from the remote URLIf any check fails, abort with a clear message about what's missing.
Before proceeding, check for uncommitted or unpushed work:
git status --porcelain. If output is non-empty, warn the user and list the changes. Require explicit confirmation to continue.git log @{upstream}..HEAD --oneline 2>/dev/null. If there are unpushed commits, warn the user and list them. Require explicit confirmation to continue.gh auth — Run gh auth status. If not authenticated and repo deletion is needed (no --keep-repo), abort and instruct the user to run gh auth login.Always display this report before any destructive action, regardless of --dry-run:
=== Teardown Plan ===
Project: <project-name>
GitHub: <owner/repo>
Will delete:
☐ GitHub repo: <owner/repo> (skip: --keep-repo)
☐ Branch protection on main (skip: --keep-repo)
☐ Local project directory: <path> (skip: --keep-local)
☐ Git hooks path config (skip: --keep-local)
Will keep:
☐ <anything skipped by flags>
--dry-run, print the report and stop here.--keep-repo)Execute in this order (protections must be removed before repo deletion):
gh api -X DELETE /repos/{owner}/{repo}/branches/main/protection
gh repo delete {owner}/{repo} --yes
If --keep-repo:
gh repo archive {owner}/{repo} --yes"--keep-local)git config --unset core.hooksPath
PROJECT_DIR=$(pwd)
cd ..
rm -rf "$PROJECT_DIR"
Print a summary of what was deleted:
=== Teardown Complete ===
Deleted:
✓ GitHub repo: <owner/repo>
✓ Local directory: <path>
✓ Git hooks config
Kept:
— <anything preserved by flags>
If the repo was kept, include: GitHub: https://github.com/<owner>/<repo>
gh auth before GitHub operations--force flag — destructive actions always require confirmationWrite tool — this skill only deletes, never creates files