From brewcode
Removes brewcode project files like templates, configs, logs, and plans while preserving task directories and user rules. Supports --dry-run to list files without deletion.
npx claudepluginhub kochetkov-ma/claude-brewcode --plugin brewcodeThis skill is limited to using the following tools:
<instructions>
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Skill arguments received: $ARGUMENTS
If NOT --dry-run: Use AskUserQuestion to confirm before executing:
"This will delete brewcode project files (templates, configs, logs, plans). Task directories are preserved. Proceed?"
EXECUTE using Bash tool — run teardown script:
bash "${CLAUDE_SKILL_DIR}/scripts/teardown.sh" ARGS_HERE && echo "✅ done" || echo "❌ FAILED"
IMPORTANT: Replace ARGS_HERE with the actual value from "Skill arguments received" above. If empty, omit the argument.
STOP if ❌ — check script path exists and teardown.sh has execute permissions.
| Option | Behavior |
|---|---|
--dry-run | List files to delete without removing them |
| (none) | Full removal after user confirmation |
Task directories (.claude/tasks/*_task/) and user rules (.claude/rules/) are always preserved.
# Brewcode Teardown
## Detection
| Field | Value |
|-------|-------|
| Arguments | `{received args or empty}` |
| Mode | `{full or dry-run}` |
## Result
Removed:
✅ .claude/tasks/templates/
✅ .claude/tasks/cfg/
✅ .claude/tasks/logs/
✅ .claude/plans/
✅ .grepai/
✅ .claude/skills/brewcode-review/
Preserved:
⏭️ .claude/tasks/*_task/ (task directories)
⏭️ .claude/rules/ (user rules)