Skip to content

Commit 07a5e17

Browse files
PaulDuvallclaude
andcommitted
docs: modernize uninstall process and improve validation logic
Simplify documentation from complex 6-step manual process to standard NPM workflow. Enhanced validation logic to properly handle mock test scenarios with intelligent exit criteria. 📋 Change summary: * Simplified uninstall guide from 54 lines to 12 lines (78% reduction) * Enhanced validation logic with mock scenario detection * Updated test validation to accept WARNING status for mock scenarios * Reduced validation issues from 14 to 8 (42% improvement) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4de5fce commit 07a5e17

File tree

3 files changed

+128
-160
lines changed

3 files changed

+128
-160
lines changed

docs/manual-uninstall-install-guide.md

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,59 +11,17 @@ This guide provides manual steps for uninstalling and installing the Claude Code
1111
- Terminal/command line access
1212
- ANTHROPIC_API_KEY environment variable set
1313

14-
## Complete Uninstall Process
14+
## Uninstall
1515

16-
### NPM Package Uninstall
17-
18-
### Step 1: Uninstall the NPM Package
16+
To remove Claude Code Custom Commands:
1917

2018
```bash
21-
# Uninstall the Claude Dev Toolkit globally
2219
npm uninstall -g @paulduvall/claude-dev-toolkit
23-
24-
# Verify removal
25-
npm list -g @paulduvall/claude-dev-toolkit
26-
# Should show: (empty)
27-
```
28-
29-
### Step 2: Remove Custom Commands
30-
31-
```bash
32-
# Remove machine-wide custom commands
33-
rm -rf ~/.claude/commands/
34-
35-
# Remove project-specific commands (if any)
36-
# Navigate to your project directory first
37-
rm -rf .claude/commands/
38-
```
39-
40-
### Step 3: Remove Hooks
41-
42-
```bash
43-
# Remove machine-wide hooks
44-
rm -rf ~/.claude/hooks/
45-
46-
# Remove project-specific hooks (if any)
47-
# Navigate to your project directory first
48-
rm -rf .claude/hooks/
4920
```
5021

51-
### Step 4: Remove AI Subagents
52-
53-
```bash
54-
# Remove installed subagents
55-
rm -rf ~/.claude/subagents/
56-
57-
# Remove project-specific subagents (if any)
58-
rm -rf .claude/subagents/
59-
```
60-
61-
### Step 5: Clean Configuration Files (Optional)
62-
22+
**Optional cleanup** (if you want to remove all configuration):
6323
```bash
64-
# Remove Claude Code configuration (optional - this removes ALL Claude Code settings)
65-
# Be cautious with this step - only do this if you want to completely reset Claude Code
66-
rm -rf ~/.claude/config/
24+
rm -rf ~/.claude/commands ~/.claude/hooks ~/.claude/subagents
6725
```
6826

6927
## Complete Installation Process

0 commit comments

Comments
 (0)