brewcode:teardown

Installation
SKILL.md

Execution

Skill arguments received: $ARGUMENTS

Argument Parsing

Detect flags in $ARGUMENTS:

  • --dry-run present -> dry-run mode (no deletion)
  • --full present -> FULL PURGE mode (see below)
  • Neither -> default teardown

If --full is NOT present, behavior is identical to previous versions. Skip to "Default Teardown".

Full Purge Mode (--full)

WARNING: DESTRUCTIVE (PARTIALLY recoverable). claude project purge (Claude Code 2.1.115+) wipes ALL per-project state including .claude/, project memory, and session data. The automatic backup captures ONLY the project .claude/ directory — Claude Code session history and auto-memory under ~/.claude/projects/<projectHash>/ are NOT backed up and CANNOT be recovered after purge. You must restore the .claude/ backup MANUALLY.

Installs
17
GitHub Stars
28
First Seen
Mar 2, 2026
brewcode:teardown — kochetkov-ma/claude-brewcode