1+ {
2+ "version" : " 1.0.0" ,
3+ "project" : " macbook-dev-setup" ,
4+ "description" : " Claude sub-agent configuration for automated macOS dev environment setup" ,
5+
6+ "agents" : {
7+ "quality" : {
8+ "name" : " Quality & Testing Agent" ,
9+ "enabled" : true ,
10+ "priority" : " high" ,
11+ "triggers" : [
12+ " after_feature_implementation" ,
13+ " before_commit" ,
14+ " on_test_file_change"
15+ ],
16+ "configuration" : {
17+ "test_coverage_threshold" : 80 ,
18+ "performance_threshold_ms" : 100 ,
19+ "require_tests_for_features" : true ,
20+ "test_frameworks" : [" bash" , " bdd" , " tdd" , " sdd" ]
21+ },
22+ "prompts" : {
23+ "default" : " Run quality checks and ensure all tests pass" ,
24+ "thorough" : " Perform comprehensive quality analysis including coverage, performance, and idempotency"
25+ }
26+ },
27+
28+ "security" : {
29+ "name" : " Security Analysis Agent" ,
30+ "enabled" : true ,
31+ "priority" : " critical" ,
32+ "triggers" : [
33+ " on_shell_script_change" ,
34+ " on_api_key_handling" ,
35+ " on_sudo_usage" ,
36+ " before_commit"
37+ ],
38+ "configuration" : {
39+ "scan_for_secrets" : true ,
40+ "check_permissions" : true ,
41+ "validate_https" : true ,
42+ "max_sudo_usage" : 2 ,
43+ "blocked_patterns" : [
44+ " eval.*user_input" ,
45+ " rm -rf /" ,
46+ " curl http://" ,
47+ " hardcoded_password"
48+ ]
49+ },
50+ "prompts" : {
51+ "default" : " Perform security analysis on the code" ,
52+ "comprehensive" : " Run full security audit including dependencies and permissions"
53+ }
54+ },
55+
56+ "shell" : {
57+ "name" : " Shell Script Specialist Agent" ,
58+ "enabled" : true ,
59+ "priority" : " high" ,
60+ "triggers" : [
61+ " on_sh_file_creation" ,
62+ " on_sh_file_modification" ,
63+ " on_performance_request"
64+ ],
65+ "configuration" : {
66+ "require_set_e" : true ,
67+ "require_signal_handlers" : true ,
68+ "optimize_parallel" : true ,
69+ "shellcheck_enabled" : true ,
70+ "posix_check" : false ,
71+ "timeout_seconds" : 30
72+ },
73+ "prompts" : {
74+ "default" : " Validate and optimize shell script" ,
75+ "performance" : " Optimize shell script for parallel execution and performance"
76+ }
77+ },
78+
79+ "development" : {
80+ "name" : " Development Agent" ,
81+ "enabled" : true ,
82+ "priority" : " normal" ,
83+ "triggers" : [
84+ " on_feature_request" ,
85+ " on_bug_report" ,
86+ " on_refactor_request"
87+ ],
88+ "configuration" : {
89+ "follow_conventions" : true ,
90+ "prefer_edit_over_create" : true ,
91+ "maintain_consistency" : true ,
92+ "auto_add_tests" : true
93+ },
94+ "prompts" : {
95+ "default" : " Implement the requested feature" ,
96+ "refactor" : " Refactor code while maintaining functionality"
97+ }
98+ },
99+
100+ "dependency" : {
101+ "name" : " Dependency Management Agent" ,
102+ "enabled" : true ,
103+ "priority" : " normal" ,
104+ "triggers" : [
105+ " weekly_check" ,
106+ " on_security_alert" ,
107+ " on_brewfile_change"
108+ ],
109+ "configuration" : {
110+ "check_updates" : true ,
111+ "scan_vulnerabilities" : true ,
112+ "auto_update_patch" : false ,
113+ "package_managers" : [" homebrew" , " npm" , " pip" , " gem" ]
114+ },
115+ "prompts" : {
116+ "default" : " Check for dependency updates and vulnerabilities" ,
117+ "update" : " Update all dependencies to latest compatible versions"
118+ }
119+ },
120+
121+ "configuration" : {
122+ "name" : " Configuration Validator Agent" ,
123+ "enabled" : true ,
124+ "priority" : " normal" ,
125+ "triggers" : [
126+ " on_dotfile_change" ,
127+ " on_mcp_config_change" ,
128+ " on_vscode_settings_change"
129+ ],
130+ "configuration" : {
131+ "validate_syntax" : true ,
132+ "check_symlinks" : true ,
133+ "verify_idempotency" : true
134+ },
135+ "prompts" : {
136+ "default" : " Validate configuration files" ,
137+ "mcp" : " Validate and test MCP server configurations"
138+ }
139+ },
140+
141+ "documentation" : {
142+ "name" : " Documentation Sync Agent" ,
143+ "enabled" : true ,
144+ "priority" : " low" ,
145+ "triggers" : [
146+ " after_code_change" ,
147+ " before_release" ,
148+ " on_command_addition"
149+ ],
150+ "configuration" : {
151+ "auto_update_changelog" : true ,
152+ "sync_inline_docs" : true ,
153+ "generate_references" : true
154+ },
155+ "prompts" : {
156+ "default" : " Update documentation to reflect changes" ,
157+ "changelog" : " Update CHANGELOG.md with recent changes"
158+ }
159+ },
160+
161+ "performance" : {
162+ "name" : " Performance Optimization Agent" ,
163+ "enabled" : true ,
164+ "priority" : " normal" ,
165+ "triggers" : [
166+ " on_slow_execution" ,
167+ " on_startup_delay" ,
168+ " on_optimization_request"
169+ ],
170+ "configuration" : {
171+ "shell_startup_threshold_ms" : 100 ,
172+ "script_timeout_seconds" : 30 ,
173+ "enable_profiling" : true ,
174+ "parallel_jobs" : " auto"
175+ },
176+ "prompts" : {
177+ "default" : " Optimize performance and identify bottlenecks" ,
178+ "startup" : " Optimize shell startup time"
179+ }
180+ },
181+
182+ "mcp" : {
183+ "name" : " MCP Integration Agent" ,
184+ "enabled" : true ,
185+ "priority" : " normal" ,
186+ "triggers" : [
187+ " on_mcp_server_install" ,
188+ " on_connection_issue" ,
189+ " on_api_key_setup"
190+ ],
191+ "configuration" : {
192+ "debug_connections" : true ,
193+ "validate_api_keys" : true ,
194+ "test_integrations" : true
195+ },
196+ "prompts" : {
197+ "default" : " Debug and fix MCP server issues" ,
198+ "setup" : " Configure and test MCP server installation"
199+ }
200+ }
201+ },
202+
203+ "workflows" : {
204+ "feature_development" : {
205+ "description" : " Standard feature development workflow" ,
206+ "sequence" : [
207+ " development" ,
208+ " shell" ,
209+ " security" ,
210+ " quality" ,
211+ " documentation"
212+ ]
213+ },
214+
215+ "security_audit" : {
216+ "description" : " Comprehensive security audit" ,
217+ "parallel" : [
218+ " security" ,
219+ " dependency"
220+ ],
221+ "then" : [
222+ " quality"
223+ ]
224+ },
225+
226+ "performance_optimization" : {
227+ "description" : " Performance improvement workflow" ,
228+ "sequence" : [
229+ " performance" ,
230+ " shell" ,
231+ " quality"
232+ ]
233+ },
234+
235+ "pr_validation" : {
236+ "description" : " Pull request validation" ,
237+ "parallel" : [
238+ " quality" ,
239+ " security" ,
240+ " shell"
241+ ],
242+ "then" : [
243+ " documentation"
244+ ]
245+ },
246+
247+ "mcp_troubleshooting" : {
248+ "description" : " MCP server debugging workflow" ,
249+ "sequence" : [
250+ " mcp" ,
251+ " configuration" ,
252+ " quality"
253+ ]
254+ }
255+ },
256+
257+ "coordination" : {
258+ "max_parallel_agents" : 3 ,
259+ "default_timeout_seconds" : 120 ,
260+ "task_specific_timeouts" : {
261+ "quality_tests" : 180 ,
262+ "security_scan" : 120 ,
263+ "dependency_check" : 240 ,
264+ "performance_benchmark" : 60 ,
265+ "documentation_update" : 30 ,
266+ "mcp_debug" : 150
267+ },
268+ "retry_on_failure" : true ,
269+ "max_retries" : 2 ,
270+ "cascade_on_critical_failure" : false
271+ },
272+
273+ "quality_gates" : {
274+ "pre_commit" : {
275+ "required_agents" : [" security" , " shell" ],
276+ "failure_blocks_commit" : true
277+ },
278+ "pre_push" : {
279+ "required_agents" : [" quality" , " security" ],
280+ "failure_blocks_push" : true
281+ },
282+ "pre_merge" : {
283+ "required_agents" : [" quality" , " security" , " documentation" ],
284+ "failure_blocks_merge" : true
285+ }
286+ },
287+
288+ "reporting" : {
289+ "generate_reports" : true ,
290+ "report_format" : " markdown" ,
291+ "include_metrics" : true ,
292+ "output_directory" : " reports/agents/"
293+ },
294+
295+ "experimental" : {
296+ "auto_trigger_agents" : false ,
297+ "learn_from_patterns" : false ,
298+ "adaptive_thresholds" : false
299+ }
300+ }
0 commit comments