AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ios Teardown

skill-edfenton-claude-skills-ios-teardown · by edfenton

Tear down an iOS project created by /ios-kit. Removes local files, git hooks, and optionally deletes the GitHub repo.

No reviews yet
0 installs
22 views
0.0% view→install

Install

$ agentstack add skill-edfenton-claude-skills-ios-teardown

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-edfenton-claude-skills-ios-teardown)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ios Teardown? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Purpose

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.

Arguments

  • --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 it

Workflow

1. Detect project

Verify the current directory is an ios-kit project:

  1. Check for project.yml, App/Sources/, and CLAUDE.md
  2. Read project.yml to extract the project name
  3. Detect GitHub remote: git remote get-url origin
  4. Extract owner/repo from the remote URL

If any check fails, abort with a clear message about what's missing.

2. Pre-flight safety checks

Before proceeding, check for uncommitted or unpushed work:

  1. Uncommitted changes — Run git status --porcelain. If output is non-empty, warn the user and list the changes. Require explicit confirmation to continue.
  2. Unpushed commits — Run git log @{upstream}..HEAD --oneline 2>/dev/null. If there are unpushed commits, warn the user and list them. Require explicit confirmation to continue.
  3. 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.

3. Dry-run report

Always display this report before any destructive action, regardless of --dry-run:

=== Teardown Plan ===

Project: 
GitHub:  

Will delete:
  ☐ GitHub repo:           (skip: --keep-repo)
  ☐ Branch protection on main           (skip: --keep-repo)
  ☐ Local project directory:      (skip: --keep-local)
  ☐ Git hooks path config               (skip: --keep-local)

Will keep:
  ☐ 
  • If --dry-run, print the report and stop here.
  • Otherwise, ask: "Proceed with teardown? (yes/no)" — require the user to confirm.

4. Remove GitHub resources (unless --keep-repo)

Execute in this order (protections must be removed before repo deletion):

  1. Remove branch protection:

``bash gh api -X DELETE /repos/{owner}/{repo}/branches/main/protection ``

  1. Delete the repo:

``bash gh repo delete {owner}/{repo} --yes ``

If --keep-repo:

  • Skip all repo operations
  • Suggest archiving: "Consider archiving with gh repo archive {owner}/{repo} --yes"
  • Print the GitHub URL for future reference

5. Clean up local (unless --keep-local)

  1. Reset git hooks path (if configured):

``bash git config --unset core.hooksPath ``

  1. Capture the project directory path and navigate to the parent:

``bash PROJECT_DIR=$(pwd) cd .. ``

  1. Delete the project directory:

``bash rm -rf "$PROJECT_DIR" ``

6. Confirm

Print a summary of what was deleted:

=== Teardown Complete ===

Deleted:
  ✓ GitHub repo: 
  ✓ Local directory: 
  ✓ Git hooks config

Kept:
  — 

If the repo was kept, include: GitHub: https://github.com//

Safety guardrails

  • Never run without confirmation — always show the dry-run report and require explicit "yes"
  • Check for uncommitted changes — warn and require override
  • Check for unpushed commits — warn and require override
  • Verify gh auth before GitHub operations
  • No --force flag — destructive actions always require confirmation
  • Order matters — remove branch protection before repo deletion
  • No Write tool — this skill only deletes, never creates files

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.