Skip to content

Commit 9b4b46f

Browse files
ryanmacclaude
andcommitted
feat: Add comprehensive uninstall script for Code Conductor
- Create uninstall.py with interactive and force modes - Safely removes all conductor files while preserving user files - Handles git worktree cleanup automatically - Shows conductor section removal from CLAUDE.md - Provides dry-run mode to preview changes - Displays GitHub items (issues/labels) for manual cleanup - Add comprehensive test suite with unit and integration tests - Update README.md with uninstall instructions - Update CLAUDE.md with uninstall documentation The uninstaller provides a clean way for users to remove Code Conductor from their projects when needed, with safety checks and clear feedback. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 9e6b26d commit 9b4b46f

File tree

4 files changed

+867
-0
lines changed

4 files changed

+867
-0
lines changed

CLAUDE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,17 @@ For detailed setup instructions and troubleshooting, see [.conductor/GITHUB_TOKE
326326
2. Add patterns for new frameworks/languages
327327
3. Update role recommendations based on stack
328328

329+
### Uninstalling Code Conductor
330+
To remove Code Conductor from a project:
331+
```bash
332+
python uninstall.py # Interactive removal
333+
python uninstall.py --force # Remove without confirmation
334+
python uninstall.py --dry-run # Preview what will be removed
335+
```
336+
337+
The uninstaller safely removes all conductor components while preserving user files.
338+
See `uninstall.py` for implementation details.
339+
329340
## Important Notes
330341

331342
- Always use GitHub CLI commands for state changes to ensure consistency

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,33 @@ I need to move faster. Install Code Conductor into this project so we can run mu
5151
Execute: curl -fsSL https://raw.githubusercontent.com/ryanmac/code-conductor/main/conductor-init.sh | bash -s -- --auto --create-pr --auto-merge
5252
```
5353

54+
## Uninstalling
55+
56+
Need to remove Code Conductor? We've got you covered with a safe, interactive uninstaller:
57+
58+
```bash
59+
python uninstall.py
60+
```
61+
62+
**What it removes:**
63+
-`.conductor/` directory and all configuration
64+
-`conductor` wrapper script
65+
- ✅ GitHub workflows (only conductor-specific ones)
66+
- ✅ Git worktrees created by conductor
67+
- ✅ Conductor section from CLAUDE.md
68+
69+
**What it preserves:**
70+
- ✅ Your own GitHub workflows
71+
- ✅ Your code and project files
72+
- ✅ GitHub issues and labels (manual cleanup if desired)
73+
74+
**Options:**
75+
```bash
76+
python uninstall.py --dry-run # See what would be removed
77+
python uninstall.py --force # Skip confirmation prompt
78+
python uninstall.py --verbose # Detailed output
79+
```
80+
5481
## See It In Action
5582

5683
```bash

0 commit comments

Comments
 (0)