- Remove ~1048 lines of non-Claude-Code-specific content (-10.9%)
- Externalize health check and reinstall scripts to examples/scripts/
- Clean up table of contents and fix broken references
- Update version numbers and statistics across all documentation
Removed sections:
- DeepSeek Integration (200 lines)
- Git Archaeology Pattern (250 lines)
- Emergency Hotfix Checklist (140 lines)
- Maturity Model & Success Metrics (95 lines)
- Generic Prompt Templates (105 lines)
- Task-specific checklists
New files:
- examples/scripts/check-claude.{sh,ps1}
- examples/scripts/clean-reinstall-claude.{sh,ps1}
Stats: 9593 → 8545 lines, focus on Claude Code-specific content
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
39 lines
846 B
Bash
39 lines
846 B
Bash
#!/bin/bash
|
|
echo -e "\n=== Claude Code Health Check ==="
|
|
echo -e "\n--- Node & npm ---"
|
|
node --version
|
|
npm --version
|
|
|
|
echo -e "\n--- Claude Installation ---"
|
|
which claude
|
|
if [ $? -eq 0 ]; then
|
|
echo "✓ Claude found in PATH"
|
|
else
|
|
echo "✗ Claude not in PATH"
|
|
fi
|
|
|
|
echo -e "\n--- Running Claude Doctor ---"
|
|
if claude doctor; then
|
|
echo "✓ Claude doctor completed"
|
|
else
|
|
echo "✗ Claude doctor failed"
|
|
fi
|
|
|
|
echo -e "\n--- API Key Status ---"
|
|
if [ -n "$ANTHROPIC_API_KEY" ]; then
|
|
echo "✓ ANTHROPIC_API_KEY is set"
|
|
else
|
|
echo "✗ ANTHROPIC_API_KEY not set"
|
|
fi
|
|
|
|
echo -e "\n--- MCP Servers ---"
|
|
claude mcp list
|
|
|
|
echo -e "\n--- Config Location ---"
|
|
if [ -f ~/.claude.json ]; then
|
|
echo "✓ Config found at: ~/.claude.json"
|
|
else
|
|
echo "⚠ No config file at: ~/.claude.json"
|
|
fi
|
|
|
|
echo -e "\n=== Health Check Complete ==="
|