ccsetup 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +79 -14
  2. package/bin/create-project.js +88 -15
  3. package/package.json +4 -3
  4. package/template/agents/README.md +179 -25
  5. package/template/agents/ai-engineer.md +31 -0
  6. package/template/agents/api-documenter.md +31 -0
  7. package/template/agents/architect-review.md +42 -0
  8. package/template/agents/backend-architect.md +29 -0
  9. package/template/agents/business-analyst.md +34 -0
  10. package/template/agents/c-pro.md +34 -0
  11. package/template/agents/cloud-architect.md +31 -0
  12. package/template/agents/code-reviewer.md +28 -0
  13. package/template/agents/content-marketer.md +34 -0
  14. package/template/agents/context-manager.md +63 -0
  15. package/template/agents/cpp-pro.md +37 -0
  16. package/template/agents/customer-support.md +34 -0
  17. package/template/agents/data-engineer.md +31 -0
  18. package/template/agents/data-scientist.md +28 -0
  19. package/template/agents/database-admin.md +31 -0
  20. package/template/agents/database-optimizer.md +31 -0
  21. package/template/agents/debugger.md +29 -0
  22. package/template/agents/deployment-engineer.md +31 -0
  23. package/template/agents/devops-troubleshooter.md +31 -0
  24. package/template/agents/dx-optimizer.md +62 -0
  25. package/template/agents/error-detective.md +31 -0
  26. package/template/agents/frontend-developer.md +30 -0
  27. package/template/agents/golang-pro.md +31 -0
  28. package/template/agents/graphql-architect.md +31 -0
  29. package/template/agents/incident-responder.md +73 -0
  30. package/template/agents/javascript-pro.md +34 -0
  31. package/template/agents/legacy-modernizer.md +31 -0
  32. package/template/agents/ml-engineer.md +31 -0
  33. package/template/agents/mlops-engineer.md +56 -0
  34. package/template/agents/mobile-developer.md +31 -0
  35. package/template/agents/network-engineer.md +31 -0
  36. package/template/agents/payment-integration.md +31 -0
  37. package/template/agents/performance-engineer.md +31 -0
  38. package/template/agents/prompt-engineer.md +58 -0
  39. package/template/agents/python-pro.md +31 -0
  40. package/template/agents/quant-analyst.md +31 -0
  41. package/template/agents/risk-manager.md +40 -0
  42. package/template/agents/rust-pro.md +34 -0
  43. package/template/agents/sales-automator.md +34 -0
  44. package/template/agents/search-specialist.md +58 -0
  45. package/template/agents/security-auditor.md +31 -0
  46. package/template/agents/sql-pro.md +34 -0
  47. package/template/agents/terraform-specialist.md +34 -0
  48. package/template/agents/test-automator.md +31 -0
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/ccsetup.svg)](https://www.npmjs.com/package/ccsetup)
7
7
 
8
- Quick setup for Claude Code projects with built-in agents, ticket system, planning tools and agent orchestration workflow.
8
+ Quick setup for Claude Code projects with built-in 50+ agents, ticket system, planning tools and agent orchestration workflow.
9
9
 
10
10
  ## Installation
11
11
 
@@ -32,15 +32,17 @@ Options:
32
32
  --agents Interactive agent selection mode
33
33
  --all-agents Include all agents without prompting
34
34
  --no-agents Skip agent selection entirely
35
+ --browse-agents Copy all agents to /agents folder for browsing
35
36
  --help, -h Show help message
36
37
 
37
38
  Examples:
38
- ccsetup # Create in current directory
39
- ccsetup my-project # Create in new directory
40
- ccsetup . --force # Overwrite files in current directory
41
- ccsetup my-app --dry-run # Preview changes without creating files
42
- ccsetup --agents # Interactive agent selection only
43
- ccsetup my-app --all-agents # Include all agents automatically
39
+ ccsetup # Create in current directory
40
+ ccsetup my-project # Create in new directory
41
+ ccsetup . --force # Overwrite files in current directory
42
+ ccsetup my-app --dry-run # Preview changes without creating files
43
+ ccsetup --agents # Interactive agent selection only
44
+ ccsetup my-app --all-agents # Include all agents automatically
45
+ ccsetup --browse-agents # Copy all agents for manual selection
44
46
  ```
45
47
 
46
48
  ## What's Included
@@ -56,6 +58,7 @@ The boilerplate template creates:
56
58
  ## Key Features
57
59
 
58
60
  - 🎯 **Interactive Agent Selection** - Choose which agents to include during setup
61
+ - 📚 **Browse Mode** - Copy all 50+ agents to explore and manually select later
59
62
  - 🔄 **Agent Orchestration Workflows** - Pre-defined workflows that automatically coordinate multiple agents for complex tasks
60
63
  - 🔒 **Smart Conflict Resolution** - Handle existing files with skip/rename/overwrite options
61
64
  - 📁 **.claude Directory Support** - Automatic creation of Claude Code directory structure
@@ -97,22 +100,45 @@ When running in the current directory (`npx ccsetup .`), it will check for Claud
97
100
 
98
101
  ## Using Agents
99
102
 
100
- The boilerplate includes several specialized agents in the `agents/` directory:
103
+ The boilerplate includes 50+ specialized agents covering all aspects of development:
101
104
 
105
+ ### Core Development Agents
102
106
  - **planner.md** - Strategic planning and task breakdown
103
107
  - **coder.md** - Implementation and development
104
108
  - **checker.md** - Testing and quality assurance
105
109
  - **researcher.md** - Research and information gathering
106
- - **blockchain.md** - Web3 and smart contract development
107
- - **frontend.md** - UI/UX and frontend development
108
- - **backend.md** - API design and server-side development
109
- - **shadcn.md** - shadcn/ui component development
110
+
111
+ ### Language Specialists
112
+ - **python-pro.md**, **golang-pro.md**, **rust-pro.md**, **javascript-pro.md**, **c-pro.md**, **cpp-pro.md**, **sql-pro.md**
113
+
114
+ ### Infrastructure & Operations
115
+ - **devops-troubleshooter.md**, **cloud-architect.md**, **terraform-specialist.md**, **database-admin.md**, **network-engineer.md**
116
+
117
+ ### Quality & Security
118
+ - **code-reviewer.md**, **security-auditor.md**, **test-automator.md**, **performance-engineer.md**
119
+
120
+ ### And Many More!
121
+ Over 50 specialized agents for frontend, backend, blockchain, ML/AI, business analysis, and more!
122
+
123
+ 📖 **[View all agents with detailed descriptions →](https://github.com/MrMarciaOng/ccsetup/blob/main/template/agents/README.md)**
110
124
 
111
125
  ### Interactive Agent Selection
112
126
 
113
- During setup, ccsetup will prompt you to select which agents to include:
127
+ During setup, ccsetup will prompt you to either:
128
+
129
+ 1. **Browse Mode** - Get all 50+ agents to explore later
130
+ 2. **Select Specific Agents** - Choose from curated list
114
131
 
115
132
  ```bash
133
+ 🤖 How would you like to set up agents for your Claude Code project?
134
+
135
+ Use arrow keys to navigate, Enter to select
136
+
137
+ > Browse Mode - Copy all 50+ agents to /agents folder (explore later)
138
+ Select Agents - Choose specific agents to include now
139
+ Skip - Don't include any agents
140
+
141
+ # If you choose "Select Agents":
116
142
  🤖 Select agents to include in your Claude Code project
117
143
 
118
144
  Use arrow keys to navigate, space to select/deselect, 'a' to toggle all
@@ -145,6 +171,43 @@ npx ccsetup my-project --no-agents
145
171
  npx ccsetup --agents
146
172
  ```
147
173
 
174
+ ### Browse Mode - New Feature! 📚
175
+
176
+ With 50+ specialized agents available, browse mode lets you explore all agents at your leisure:
177
+
178
+ ```bash
179
+ # Copy all agents to /agents folder for browsing
180
+ npx ccsetup my-project --browse-agents
181
+ ```
182
+
183
+ In browse mode:
184
+ - All 50+ agents are copied to your project's `/agents` folder
185
+ - You can read through each agent to understand their capabilities
186
+ - Manually copy the ones you want to `~/.claude/agents` when ready
187
+ - No overwhelming selection process during setup!
188
+
189
+ Example workflow:
190
+ ```bash
191
+ # 1. Create project with browse mode
192
+ npx ccsetup my-project --browse-agents
193
+
194
+ # 2. Explore agents
195
+ cd my-project/agents
196
+ ls # See all available agents
197
+
198
+ # 3. Read agent descriptions
199
+ cat code-reviewer.md
200
+
201
+ # 4. Copy desired agents to activate them
202
+ cp code-reviewer.md ~/.claude/agents/
203
+ cp python-pro.md ~/.claude/agents/
204
+ ```
205
+
206
+ This approach is perfect when you:
207
+ - Want to explore all available agents
208
+ - Prefer to choose agents based on your project needs as they arise
209
+ - Don't want to be overwhelmed with 50+ choices during setup
210
+
148
211
  ### Conflict Resolution
149
212
 
150
213
  When existing files are detected, ccsetup offers smart conflict resolution:
@@ -313,7 +376,7 @@ After setting up your project with `ccsetup`:
313
376
 
314
377
  ### Core Features
315
378
  - ✅ Pre-configured project structure for Claude Code
316
- - 🤖 Multiple specialized agents for different tasks
379
+ - 🤖 50+ specialized agents from the [wshobson/agents](https://github.com/wshobson/agents) collection - [view all →](https://github.com/MrMarciaOng/ccsetup/blob/main/template/agents/README.md)
317
380
  - 🎫 Built-in ticket and planning system
318
381
  - 📋 Ready-to-use boilerplate with best practices
319
382
  - 📁 Automatic .claude directory integration
@@ -340,6 +403,8 @@ The template includes `docs/agent-orchestration.md` which defines workflows for:
340
403
 
341
404
  Born from our discussions in TechOverflow with [vichannnnn](https://github.com/vichannnnn) and [nasdin](https://github.com/nasdin)
342
405
 
406
+ The 44 specialized agents collection is from [wshobson/agents](https://github.com/wshobson/agents) - an amazing collection of Claude Code subagents for every development need!
407
+
343
408
  ## License
344
409
 
345
410
  MIT
@@ -12,7 +12,8 @@ const flags = {
12
12
  help: false,
13
13
  allAgents: false,
14
14
  noAgents: false,
15
- agents: false
15
+ agents: false,
16
+ browseAgents: false
16
17
  };
17
18
 
18
19
  let projectName = '.';
@@ -32,6 +33,8 @@ for (let i = 0; i < args.length; i++) {
32
33
  flags.noAgents = true;
33
34
  } else if (arg === '--agents') {
34
35
  flags.agents = true;
36
+ } else if (arg === '--browse-agents') {
37
+ flags.browseAgents = true;
35
38
  } else if (!arg.startsWith('-')) {
36
39
  projectName = arg;
37
40
  }
@@ -48,15 +51,17 @@ Options:
48
51
  --agents Interactive agent selection mode
49
52
  --all-agents Include all agents without prompting
50
53
  --no-agents Skip agent selection entirely
54
+ --browse-agents Copy all agents to /agents folder for browsing
51
55
  --help, -h Show this help message
52
56
 
53
57
  Examples:
54
- ccsetup # Create in current directory
55
- ccsetup my-project # Create in new directory
56
- ccsetup . --force # Overwrite files in current directory
57
- ccsetup my-app --dry-run # Preview changes without creating files
58
- ccsetup --agents # Interactive agent selection only
59
- ccsetup my-app --all-agents # Include all agents automatically
58
+ ccsetup # Create in current directory
59
+ ccsetup my-project # Create in new directory
60
+ ccsetup . --force # Overwrite files in current directory
61
+ ccsetup my-app --dry-run # Preview changes without creating files
62
+ ccsetup --agents # Interactive agent selection only
63
+ ccsetup my-app --all-agents # Include all agents automatically
64
+ ccsetup --browse-agents # Copy all agents for manual selection
60
65
  `);
61
66
  process.exit(0);
62
67
  }
@@ -83,6 +88,11 @@ if (flags.allAgents && flags.noAgents) {
83
88
  process.exit(1);
84
89
  }
85
90
 
91
+ if (flags.browseAgents && (flags.allAgents || flags.noAgents || flags.agents)) {
92
+ console.error('Error: --browse-agents cannot be used with other agent flags');
93
+ process.exit(1);
94
+ }
95
+
86
96
  // Validate the project name
87
97
  if (projectName !== '.') {
88
98
  try {
@@ -658,19 +668,60 @@ async function main() {
658
668
  if (flags.noAgents) {
659
669
  selectedAgentFiles = [];
660
670
  console.log('\n⏭️ Skipping agent selection (--no-agents flag)');
671
+ } else if (flags.browseAgents) {
672
+ selectedAgentFiles = [];
673
+ console.log('\n📚 Browse mode enabled - all agents will be copied to /agents folder');
674
+ console.log(' You can manually copy desired agents to ~/.claude/agents later');
661
675
  } else if (flags.allAgents) {
662
676
  selectedAgentFiles = availableAgents.map(a => a.file).filter(validateAgentFile);
663
677
  console.log(`\n✅ Including all ${selectedAgentFiles.length} agents (--all-agents flag)`);
664
678
  } else if (!flags.dryRun) {
679
+ // Interactive mode selection
680
+ console.log('\n🤖 How would you like to set up agents for your Claude Code project?\n');
681
+ console.log('Use arrow keys to navigate, Enter to select\n');
682
+
665
683
  // Close readline interface before using inquirer
666
684
  if (rl) {
667
685
  rl.close();
668
686
  rl = null;
669
687
  }
670
688
 
671
- // Interactive selection
672
- selectedAgentFiles = await selectAgents(availableAgents);
673
- console.log(`\n✅ Selected ${selectedAgentFiles.length} agent${selectedAgentFiles.length === 1 ? '' : 's'}`);
689
+ // Import select for mode selection
690
+ const selectModule = await import('@inquirer/select');
691
+ const select = selectModule.default;
692
+
693
+ const agentMode = await select({
694
+ message: 'Choose your setup mode:',
695
+ choices: [
696
+ {
697
+ name: 'Browse Mode - Copy all 50+ agents to /agents folder (explore later)',
698
+ value: 'browse'
699
+ },
700
+ {
701
+ name: 'Select Agents - Choose specific agents to include now',
702
+ value: 'select'
703
+ },
704
+ {
705
+ name: 'Skip - Don\'t include any agents',
706
+ value: 'skip'
707
+ }
708
+ ]
709
+ });
710
+
711
+ if (agentMode === 'browse') {
712
+ flags.browseAgents = true;
713
+ selectedAgentFiles = [];
714
+ console.log('\n📚 Browse mode selected - all agents will be copied to /agents folder');
715
+ console.log(' You can manually copy desired agents to ~/.claude/agents later');
716
+ } else if (agentMode === 'skip') {
717
+ flags.noAgents = true;
718
+ selectedAgentFiles = [];
719
+ console.log('\n⏭️ Skipping agent selection');
720
+ } else if (agentMode === 'select') {
721
+ // Interactive selection
722
+ selectedAgentFiles = await selectAgents(availableAgents);
723
+ console.log(`\n✅ Selected ${selectedAgentFiles.length} agent${selectedAgentFiles.length === 1 ? '' : 's'}`);
724
+ }
674
725
 
675
726
  // Recreate readline interface after agent selection
676
727
  if (!flags.force && !flags.dryRun) {
@@ -681,7 +732,8 @@ async function main() {
681
732
  }
682
733
  } else {
683
734
  // In dry-run mode, show what would happen
684
- console.log(`\nWould prompt for agent selection from ${availableAgents.length} available agents`);
735
+ console.log(`\nWould prompt for agent selection mode`);
736
+ console.log(`Would then prompt for agent selection from ${availableAgents.length} available agents`);
685
737
  selectedAgentFiles = availableAgents.map(a => a.file).filter(validateAgentFile); // Include all for scanning purposes
686
738
  }
687
739
 
@@ -724,8 +776,13 @@ async function main() {
724
776
  dirConflicts.push(relativePath || '.');
725
777
  }
726
778
 
727
- // Add selected agent files
728
- for (const agentFile of selectedAgentFiles) {
779
+ // In browse mode, add ALL agent files
780
+ const agentFilesToProcess = flags.browseAgents
781
+ ? availableAgents.map(a => a.file).filter(validateAgentFile)
782
+ : selectedAgentFiles;
783
+
784
+ // Add agent files
785
+ for (const agentFile of agentFilesToProcess) {
729
786
  // Additional validation before processing
730
787
  if (!validateAgentFile(agentFile)) {
731
788
  console.warn(`⚠️ Skipping invalid agent file: ${agentFile}`);
@@ -1014,7 +1071,13 @@ async function main() {
1014
1071
  if (renamedCount > 0) console.log(` 📄 ${renamedCount} template files ${flags.dryRun ? 'would be' : ''} saved with -ccsetup suffix`);
1015
1072
  if (overwrittenCount > 0) console.log(` ♻️ ${overwrittenCount} files ${flags.dryRun ? 'would be' : ''} replaced with template versions`);
1016
1073
  if (!flags.noAgents && !flags.dryRun) {
1017
- console.log(` 🤖 ${selectedAgentFiles.length} agent${selectedAgentFiles.length === 1 ? '' : 's'} ${flags.dryRun ? 'would be' : ''} included in /agents`);
1074
+ if (flags.browseAgents) {
1075
+ const agentCount = availableAgents.length;
1076
+ console.log(` 📚 ${agentCount} agent${agentCount === 1 ? '' : 's'} ${flags.dryRun ? 'would be' : ''} copied to /agents for browsing`);
1077
+ } else if (selectedAgentFiles.length > 0) {
1078
+ console.log(` 🤖 ${selectedAgentFiles.length} agent${selectedAgentFiles.length === 1 ? '' : 's'} ${flags.dryRun ? 'would be' : ''} included in /agents`);
1079
+ console.log(` 📝 Remember to update agent-orchestration.md with workflows for your agents`);
1080
+ }
1018
1081
  }
1019
1082
  if (claudeInitResult && claudeInitResult.createdItems.length > 0) {
1020
1083
  console.log(` 📁 ${claudeInitResult.createdItems.length} items created in .claude directory`);
@@ -1034,7 +1097,17 @@ async function main() {
1034
1097
  }
1035
1098
  console.log(' 1. Edit CLAUDE.md to add your project-specific instructions');
1036
1099
  console.log(' 2. Update docs/ROADMAP.md with your project goals');
1037
- console.log(' 3. Start creating tickets in the tickets/ directory');
1100
+ console.log(' 3. Update docs/agent-orchestration.md to define agent workflows');
1101
+ console.log(' 4. Start creating tickets in the tickets/ directory');
1102
+
1103
+ if (flags.browseAgents) {
1104
+ console.log('\n📚 Agent Browse Mode:');
1105
+ console.log(' - All available agents have been copied to the /agents folder');
1106
+ console.log(' - Browse through them to understand their capabilities');
1107
+ console.log(' - Copy desired agents to ~/.claude/agents to activate them');
1108
+ console.log(' - Example: cp agents/code-reviewer.md ~/.claude/agents/');
1109
+ console.log(' - Remember to update agent-orchestration.md with your custom workflows');
1110
+ }
1038
1111
 
1039
1112
  if (renamedCount > 0) {
1040
1113
  console.log('\n💡 Tip: Review the -ccsetup files to see template examples');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ccsetup",
3
- "version": "1.0.9",
4
- "description": "Boilerplate for Claude Code projects with agents, tickets, plans and agent orchestration workflow",
3
+ "version": "1.1.0",
4
+ "description": "Boilerplate for Claude Code projects with 50+ agents, tickets, plans, agent orchestration, and browse mode",
5
5
  "bin": {
6
6
  "ccsetup": "bin/create-project.js"
7
7
  },
@@ -33,7 +33,8 @@
33
33
  "node": ">=14.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@inquirer/checkbox": "^4.0.4"
36
+ "@inquirer/checkbox": "^4.0.4",
37
+ "@inquirer/select": "^4.0.4"
37
38
  },
38
39
  "devDependencies": {
39
40
  "jest": "^30.0.5"
@@ -1,35 +1,189 @@
1
- # Agents
1
+ # Agents Directory
2
2
 
3
- This directory contains custom agents for specialized tasks.
3
+ This directory contains specialized AI agents for Claude Code, designed to enhance development workflows with domain-specific expertise.
4
4
 
5
- ## Overview
6
- Agents are specialized prompts or tools that help Claude perform specific tasks more effectively.
5
+ ## Credits
7
6
 
8
- ## Creating a New Agent
9
- 1. Create a new markdown file in this directory
10
- 2. Name it descriptively (e.g., `code-reviewer.md`, `test-generator.md`)
11
- 3. Define the agent's purpose, capabilities, and instructions
7
+ This collection includes:
8
+ - **8 original agents** created for ccsetup
9
+ - **44 specialized agents** from [wshobson/agents](https://github.com/wshobson/agents) - an amazing collection of Claude Code subagents
12
10
 
13
- ## Example Agent Structure
11
+ ## Available Agents (52 total)
12
+
13
+ ### Original ccsetup Agents
14
+ These 8 agents were created specifically for the ccsetup boilerplate:
15
+
16
+ - **[backend](backend.md)** - Backend development specialist for API design, database architecture, and server-side optimization
17
+ - **[blockchain](blockchain.md)** - Blockchain and Web3 expert for smart contracts, DeFi protocols, and blockchain architecture
18
+ - **[checker](checker.md)** - Quality assurance and code review specialist for testing, security analysis, and validation
19
+ - **[coder](coder.md)** - Expert software developer for implementing features, fixing bugs, and optimizing code
20
+ - **[frontend](frontend.md)** - Frontend development specialist for UI/UX, responsive design, and modern web frameworks
21
+ - **[planner](planner.md)** - Strategic planning specialist for breaking down complex problems and creating implementation roadmaps
22
+ - **[researcher](researcher.md)** - Research specialist for both online sources and local codebases, gathering comprehensive information
23
+ - **[shadcn](shadcn.md)** - shadcn/ui component library expert for building beautiful, accessible React interfaces
24
+
25
+ ### wshobson/agents Collection (44 agents)
26
+
27
+ The following 44 specialized agents are from the excellent [wshobson/agents](https://github.com/wshobson/agents) repository:
28
+
29
+ #### Development & Architecture
30
+ - **[backend-architect](backend-architect.md)** - Design RESTful APIs, microservice boundaries, and database schemas
31
+ - **[frontend-developer](frontend-developer.md)** - Build React components, implement responsive layouts, and handle client-side state management
32
+ - **[mobile-developer](mobile-developer.md)** - Develop React Native or Flutter apps with native integrations
33
+ - **[graphql-architect](graphql-architect.md)** - Design GraphQL schemas, resolvers, and federation
34
+ - **[architect-review](architect-review.md)** - Reviews code changes for architectural consistency and patterns
35
+
36
+ #### Language Specialists
37
+ - **[python-pro](python-pro.md)** - Write idiomatic Python code with advanced features and optimizations
38
+ - **[golang-pro](golang-pro.md)** - Write idiomatic Go code with goroutines, channels, and interfaces
39
+ - **[rust-pro](rust-pro.md)** - Write idiomatic Rust with ownership patterns, lifetimes, and trait implementations
40
+ - **[c-pro](c-pro.md)** - Write efficient C code with proper memory management and system calls
41
+ - **[cpp-pro](cpp-pro.md)** - Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms
42
+ - **[javascript-pro](javascript-pro.md)** - Master modern JavaScript with ES6+, async patterns, and Node.js APIs
43
+ - **[sql-pro](sql-pro.md)** - Write complex SQL queries, optimize execution plans, and design normalized schemas
44
+
45
+ #### Infrastructure & Operations
46
+ - **[devops-troubleshooter](devops-troubleshooter.md)** - Debug production issues, analyze logs, and fix deployment failures
47
+ - **[deployment-engineer](deployment-engineer.md)** - Configure CI/CD pipelines, Docker containers, and cloud deployments
48
+ - **[cloud-architect](cloud-architect.md)** - Design AWS/Azure/GCP infrastructure and optimize cloud costs
49
+ - **[database-optimizer](database-optimizer.md)** - Optimize SQL queries, design efficient indexes, and handle database migrations
50
+ - **[database-admin](database-admin.md)** - Manage database operations, backups, replication, and monitoring
51
+ - **[terraform-specialist](terraform-specialist.md)** - Write advanced Terraform modules, manage state files, and implement IaC best practices
52
+ - **[incident-responder](incident-responder.md)** - Handles production incidents with urgency and precision
53
+ - **[network-engineer](network-engineer.md)** - Debug network connectivity, configure load balancers, and analyze traffic patterns
54
+ - **[dx-optimizer](dx-optimizer.md)** - Developer Experience specialist that improves tooling, setup, and workflows
55
+
56
+ #### Quality & Security
57
+ - **[code-reviewer](code-reviewer.md)** - Expert code review for quality, security, and maintainability
58
+ - **[security-auditor](security-auditor.md)** - Review code for vulnerabilities and ensure OWASP compliance
59
+ - **[test-automator](test-automator.md)** - Create comprehensive test suites with unit, integration, and e2e tests
60
+ - **[performance-engineer](performance-engineer.md)** - Profile applications, optimize bottlenecks, and implement caching strategies
61
+ - **[debugger](debugger.md)** - Debugging specialist for errors, test failures, and unexpected behavior
62
+ - **[error-detective](error-detective.md)** - Search logs and codebases for error patterns, stack traces, and anomalies
63
+ - **[search-specialist](search-specialist.md)** - Expert web researcher using advanced search techniques and synthesis
64
+
65
+ #### Data & AI
66
+ - **[data-scientist](data-scientist.md)** - Data analysis expert for SQL queries, BigQuery operations, and data insights
67
+ - **[data-engineer](data-engineer.md)** - Build ETL pipelines, data warehouses, and streaming architectures
68
+ - **[ai-engineer](ai-engineer.md)** - Build LLM applications, RAG systems, and prompt pipelines
69
+ - **[ml-engineer](ml-engineer.md)** - Implement ML pipelines, model serving, and feature engineering
70
+ - **[mlops-engineer](mlops-engineer.md)** - Build ML pipelines, experiment tracking, and model registries
71
+ - **[prompt-engineer](prompt-engineer.md)** - Optimizes prompts for LLMs and AI systems
72
+
73
+ #### Specialized Domains
74
+ - **[api-documenter](api-documenter.md)** - Create OpenAPI/Swagger specs and write developer documentation
75
+ - **[payment-integration](payment-integration.md)** - Integrate Stripe, PayPal, and payment processors
76
+ - **[quant-analyst](quant-analyst.md)** - Build financial models, backtest trading strategies, and analyze market data
77
+ - **[risk-manager](risk-manager.md)** - Monitor portfolio risk, R-multiples, and position limits
78
+ - **[legacy-modernizer](legacy-modernizer.md)** - Refactor legacy codebases and implement gradual modernization
79
+ - **[context-manager](context-manager.md)** - Manages context across multiple agents and long-running tasks
80
+
81
+ #### Business & Marketing
82
+ - **[business-analyst](business-analyst.md)** - Analyze metrics, create reports, and track KPIs
83
+ - **[content-marketer](content-marketer.md)** - Write blog posts, social media content, and email newsletters
84
+ - **[sales-automator](sales-automator.md)** - Draft cold emails, follow-ups, and proposal templates
85
+ - **[customer-support](customer-support.md)** - Handle support tickets, FAQ responses, and customer emails
86
+
87
+ ## Usage
88
+
89
+ ### Installation
90
+
91
+ When using ccsetup, agents can be:
92
+ 1. **Selected interactively** during setup (curated list of 8 agents)
93
+ 2. **Copied in browse mode** (all 52 agents copied to /agents folder)
94
+ 3. **Included automatically** with --all-agents flag
95
+
96
+ To activate agents, copy them to `~/.claude/agents/`:
97
+ ```bash
98
+ # Example: Activate the code-reviewer agent
99
+ cp agents/code-reviewer.md ~/.claude/agents/
100
+
101
+ # Activate multiple agents
102
+ cp agents/{python-pro,test-automator,security-auditor}.md ~/.claude/agents/
103
+ ```
104
+
105
+ ### Invoking Agents
106
+
107
+ #### Automatic Invocation
108
+ Claude Code will automatically delegate to the appropriate agent based on the task context.
109
+
110
+ #### Explicit Invocation
111
+ Mention the agent by name in your request:
112
+ ```
113
+ "Use the code-reviewer to check my recent changes"
114
+ "Have the security-auditor scan for vulnerabilities"
115
+ "Get the performance-engineer to optimize this bottleneck"
116
+ ```
117
+
118
+ ## Agent Format
119
+
120
+ Each agent follows this structure:
14
121
  ```markdown
15
- # Agent Name
122
+ ---
123
+ name: agent-name
124
+ description: When this agent should be invoked
125
+ tools: tool1, tool2 # Optional - defaults to all tools
126
+ ---
16
127
 
17
- ## Purpose
18
- [What this agent does]
128
+ System prompt defining the agent's role and capabilities
129
+ ```
19
130
 
20
- ## Capabilities
21
- - [Capability 1]
22
- - [Capability 2]
131
+ ## Common Agent Workflows
23
132
 
24
- ## Instructions
25
- [Detailed instructions for the agent]
133
+ ### Feature Development
26
134
  ```
135
+ planner → coder → checker
136
+ ```
137
+
138
+ ### API Development
139
+ ```
140
+ backend-architect → backend → api-documenter → checker
141
+ ```
142
+
143
+ ### Frontend Development
144
+ ```
145
+ frontend → shadcn → checker
146
+ ```
147
+
148
+ ### Full Stack Development
149
+ ```
150
+ planner → backend-architect → backend → frontend → checker
151
+ ```
152
+
153
+ ### Bug Fixing
154
+ ```
155
+ researcher → debugger → coder → checker
156
+ ```
157
+
158
+ ### Performance Optimization
159
+ ```
160
+ performance-engineer → database-optimizer → coder → checker
161
+ ```
162
+
163
+ ### Security Review
164
+ ```
165
+ security-auditor → code-reviewer → coder (for fixes) → checker
166
+ ```
167
+
168
+ ## Tips for Using Agents
169
+
170
+ 1. **Let Claude Code choose** - Often Claude will automatically select the right agent
171
+ 2. **Be specific** - The more specific your request, the better the agent selection
172
+ 3. **Combine agents** - Many tasks benefit from multiple agents working together
173
+ 4. **Review agent output** - Agents provide specialized expertise but should be reviewed
174
+ 5. **Iterate** - Use agent feedback to refine your approach
175
+
176
+ ## Contributing
177
+
178
+ To add a new agent:
179
+ 1. Create a new `.md` file in this directory
180
+ 2. Follow the agent format (frontmatter + system prompt)
181
+ 3. Use lowercase, hyphen-separated names
182
+ 4. Write clear descriptions for when the agent should be used
183
+
184
+ ## Learn More
27
185
 
28
- ## Available Agents
29
- - **planner** - Strategic planning specialist for breaking down complex problems and creating implementation roadmaps
30
- - **coder** - Expert software developer for implementing features, fixing bugs, and optimizing code
31
- - **checker** - Quality assurance and code review specialist for testing, security analysis, and validation
32
- - **researcher** - Research specialist for both online sources and local codebases, gathering comprehensive information from multiple sources
33
- - **blockchain** - Blockchain and Web3 expert for smart contracts, DeFi protocols, and blockchain architecture
34
- - **frontend** - Frontend development specialist for UI/UX, responsive design, and modern web frameworks
35
- - **shadcn** - shadcn/ui component library expert for building beautiful, accessible React interfaces
186
+ - [ccsetup Documentation](https://github.com/MrMarciaOng/ccsetup)
187
+ - [wshobson/agents Repository](https://github.com/wshobson/agents)
188
+ - [Claude Code Documentation](https://docs.anthropic.com/en/docs/claude-code)
189
+ - [Subagents Documentation](https://docs.anthropic.com/en/docs/claude-code/sub-agents)
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: ai-engineer
3
+ description: Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use PROACTIVELY for LLM features, chatbots, or AI-powered applications.
4
+ ---
5
+
6
+ You are an AI engineer specializing in LLM applications and generative AI systems.
7
+
8
+ ## Focus Areas
9
+ - LLM integration (OpenAI, Anthropic, open source or local models)
10
+ - RAG systems with vector databases (Qdrant, Pinecone, Weaviate)
11
+ - Prompt engineering and optimization
12
+ - Agent frameworks (LangChain, LangGraph, CrewAI patterns)
13
+ - Embedding strategies and semantic search
14
+ - Token optimization and cost management
15
+
16
+ ## Approach
17
+ 1. Start with simple prompts, iterate based on outputs
18
+ 2. Implement fallbacks for AI service failures
19
+ 3. Monitor token usage and costs
20
+ 4. Use structured outputs (JSON mode, function calling)
21
+ 5. Test with edge cases and adversarial inputs
22
+
23
+ ## Output
24
+ - LLM integration code with error handling
25
+ - RAG pipeline with chunking strategy
26
+ - Prompt templates with variable injection
27
+ - Vector database setup and queries
28
+ - Token usage tracking and optimization
29
+ - Evaluation metrics for AI outputs
30
+
31
+ Focus on reliability and cost efficiency. Include prompt versioning and A/B testing.
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: api-documenter
3
+ description: Create OpenAPI/Swagger specs, generate SDKs, and write developer documentation. Handles versioning, examples, and interactive docs. Use PROACTIVELY for API documentation or client library generation.
4
+ ---
5
+
6
+ You are an API documentation specialist focused on developer experience.
7
+
8
+ ## Focus Areas
9
+ - OpenAPI 3.0/Swagger specification writing
10
+ - SDK generation and client libraries
11
+ - Interactive documentation (Postman/Insomnia)
12
+ - Versioning strategies and migration guides
13
+ - Code examples in multiple languages
14
+ - Authentication and error documentation
15
+
16
+ ## Approach
17
+ 1. Document as you build - not after
18
+ 2. Real examples over abstract descriptions
19
+ 3. Show both success and error cases
20
+ 4. Version everything including docs
21
+ 5. Test documentation accuracy
22
+
23
+ ## Output
24
+ - Complete OpenAPI specification
25
+ - Request/response examples with all fields
26
+ - Authentication setup guide
27
+ - Error code reference with solutions
28
+ - SDK usage examples
29
+ - Postman collection for testing
30
+
31
+ Focus on developer experience. Include curl examples and common use cases.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: architect-reviewer
3
+ description: Reviews code changes for architectural consistency and patterns. Use PROACTIVELY after any structural changes, new services, or API modifications. Ensures SOLID principles, proper layering, and maintainability.
4
+ ---
5
+
6
+ You are an expert software architect focused on maintaining architectural integrity. Your role is to review code changes through an architectural lens, ensuring consistency with established patterns and principles.
7
+
8
+ ## Core Responsibilities
9
+
10
+ 1. **Pattern Adherence**: Verify code follows established architectural patterns
11
+ 2. **SOLID Compliance**: Check for violations of SOLID principles
12
+ 3. **Dependency Analysis**: Ensure proper dependency direction and no circular dependencies
13
+ 4. **Abstraction Levels**: Verify appropriate abstraction without over-engineering
14
+ 5. **Future-Proofing**: Identify potential scaling or maintenance issues
15
+
16
+ ## Review Process
17
+
18
+ 1. Map the change within the overall architecture
19
+ 2. Identify architectural boundaries being crossed
20
+ 3. Check for consistency with existing patterns
21
+ 4. Evaluate impact on system modularity
22
+ 5. Suggest architectural improvements if needed
23
+
24
+ ## Focus Areas
25
+
26
+ - Service boundaries and responsibilities
27
+ - Data flow and coupling between components
28
+ - Consistency with domain-driven design (if applicable)
29
+ - Performance implications of architectural decisions
30
+ - Security boundaries and data validation points
31
+
32
+ ## Output Format
33
+
34
+ Provide a structured review with:
35
+
36
+ - Architectural impact assessment (High/Medium/Low)
37
+ - Pattern compliance checklist
38
+ - Specific violations found (if any)
39
+ - Recommended refactoring (if needed)
40
+ - Long-term implications of the changes
41
+
42
+ Remember: Good architecture enables change. Flag anything that makes future changes harder.