-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleanup_untracked.sh
More file actions
executable file
Β·204 lines (163 loc) Β· 5.67 KB
/
cleanup_untracked.sh
File metadata and controls
executable file
Β·204 lines (163 loc) Β· 5.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
#!/bin/bash
echo "π§Ή Cleaning up untracked files and organizing documentation..."
# Remove backup files created during optimization
echo "ποΈ Removing backup files..."
find . -name "*.bak" -type f -delete
echo "β
Removed $(find . -name "*.bak" -type f | wc -l) backup files"
# Create documentation directory
mkdir -p docs
# Move documentation files to docs directory
echo "π Moving documentation files to docs/ directory..."
mv CLAUDE_CODE_READY.md docs/ 2>/dev/null
mv SETUP_GUIDE.md docs/ 2>/dev/null
mv FINAL_OPTIMIZATION_SUMMARY.md docs/ 2>/dev/null
mv SCRUM_MASTER_ADDED.md docs/ 2>/dev/null
mv ORGANIZATION_COMPLETE.md docs/ 2>/dev/null
mv FINAL_SUMMARY.md docs/ 2>/dev/null
mv MASTER_AGENT_CATALOG.md docs/ 2>/dev/null
mv COMPREHENSIVE_ANALYSIS.md docs/ 2>/dev/null
mv CLAUDE.md docs/ 2>/dev/null
mv duplicate_summary.md docs/ 2>/dev/null
mv final_organization_report.md docs/ 2>/dev/null
# Move agent files that should be in .claude/agents
echo "π Moving agent files to proper locations..."
if [ -f "ai-scrum-master.md" ]; then
mv ai-scrum-master.md .claude/agents/product/ 2>/dev/null
fi
if [ -f "supervisor-orchestrator.md" ]; then
mv supervisor-orchestrator.md .claude/agents/orchestration/ 2>/dev/null
fi
# Create a clean README for the project
echo "π Creating clean project README..."
cat > README.md << 'EOF'
# π Claude Code Sub-Agents Collection
A comprehensive collection of **110 specialized AI sub-agents** optimized for Claude Code with parallel execution capabilities, enhanced communication protocols, and comprehensive quality assurance.
## π― Quick Start
### **Setup**
```bash
# Run the setup script
./setup_claude_agents.sh
# Optimize all agents
./optimize_agents.sh
# Validate setup
./.claude/validate_agents.sh
```
### **Usage**
```bash
# Start with orchestrator for complex projects
@supervisor-orchestrator Build a React e-commerce app
# Set up sprint management
@ai-scrum-master Set up automated sprint management
# Review code with parallel testing
@code-reviewer Review this codebase
```
## π Agent Distribution
| Category | Count | Status |
|----------|-------|--------|
| π― Orchestration & Management | 6 | β
Enhanced |
| ποΈ Development & Architecture | 24 | β
Enhanced |
| π¨ Design & UX | 7 | β
Enhanced |
| π§ Quality Assurance & Testing | 15 | β
Enhanced |
| π Security & Compliance | 4 | β
Enhanced |
| π Data & AI | 4 | β
Enhanced |
| π DevOps & Infrastructure | 13 | β
Enhanced |
| π Documentation & Communication | 6 | β
Enhanced |
| π― Product & Business | 9 | β
Enhanced |
| π Marketing & Growth | 7 | β
Enhanced |
| π’ Operations | 5 | β
Enhanced |
| π Specialized & Utility | 9 | β
Enhanced |
| **Total** | **110** | **100% Optimized** |
## π Key Features
- β
**Parallel Execution**: All agents can work simultaneously
- β
**Enhanced Communication**: Standardized protocols across all agents
- β
**Quality Gates**: Built-in validation and review processes
- β
**Intelligent Coordination**: Optimal agent selection and delegation
- β
**Comprehensive Documentation**: Complete setup and usage guides
## π Project Structure
```
agents/
βββ .claude/ # Claude Code configuration
β βββ agents/ # All 110 optimized agents
β βββ config.json # Claude Code configuration
β βββ optimization/ # Optimization settings
βββ docs/ # Documentation
βββ setup_claude_agents.sh # Setup script
βββ optimize_agents.sh # Optimization script
βββ README.md # This file
```
## π― Usage Examples
### **Development Projects**
```
@supervisor-orchestrator Build a React e-commerce app with payment integration
```
### **Business Projects**
```
@supervisor-orchestrator Launch a meditation app with marketing strategy
```
### **Sprint Management**
```
@ai-scrum-master Set up automated sprint management for the development team
```
### **Quality Assurance**
```
@code-reviewer Review this codebase with parallel testing
```
## π Available Commands
- `./.claude/discover_agents.sh` - Discover all agents
- `./.claude/validate_agents.sh` - Validate agent setup
- `@supervisor-orchestrator` - Master coordinator for complex projects
- `@ai-scrum-master` - Automated sprint management
- `@code-reviewer` - Code review and quality assurance
- `@test-automator` - Automated testing
## π Success Metrics
- **Parallel Efficiency**: >80% parallel task completion
- **Task Completion**: >90% successful task completion
- **Quality Score**: >95% quality standards maintained
- **Coordination Effectiveness**: >85% effective agent coordination
---
**π Ready to use with 110 optimized agents featuring parallel execution, enhanced communication, and comprehensive quality assurance! π**
EOF
# Create a .gitignore file
echo "π Creating .gitignore file..."
cat > .gitignore << 'EOF'
# Backup files
*.bak
*.backup
# Temporary files
*.tmp
*.temp
# Log files
*.log
# OS files
.DS_Store
Thumbs.db
# IDE files
.vscode/
.idea/
*.swp
*.swo
# Node modules (if any)
node_modules/
# Environment files
.env
.env.local
.env.production
# Build outputs
dist/
build/
EOF
echo "β
Cleanup complete!"
echo
echo "π Cleanup Summary:"
echo " - Removed $(find . -name "*.bak" -type f | wc -l) backup files"
echo " - Moved documentation to docs/ directory"
echo " - Organized agent files in proper locations"
echo " - Created clean project README"
echo " - Added .gitignore file"
echo
echo "π New structure:"
echo " - docs/ - All documentation files"
echo " - .claude/agents/ - All 110 optimized agents"
echo " - README.md - Clean project overview"
echo
echo "π― Ready for production use!"