File size: 8,400 Bytes
bf96836
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "planner": {
    "claude": {
      "name": "planner",
      "description": "Expert planning specialist for complex features and refactoring. Use PROACTIVELY when users request feature implementation, architectural changes, or complex refactoring. Automatically activated for planning tasks.",
      "tools": ["Read", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "planner",
      "description": "Expert planning specialist for complex features and refactoring. Use PROACTIVELY when users request feature implementation, architectural changes, or complex refactoring.",
      "kind": "TASK",
      "tools": ["read_file", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.7,
      "max_turns": 20
    }
  },
  "tdd-guide": {
    "claude": {
      "name": "tdd-guide",
      "description": "Test-Driven Development specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.",
      "tools": ["Read", "Write", "Edit", "Bash", "Grep"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "tdd-guide",
      "description": "Test-Driven Development specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.",
      "kind": "TASK",
      "tools": ["read_file", "write_file", "replace_in_file", "run_shell_command", "search_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.7,
      "max_turns": 30
    }
  },
  "code-reviewer": {
    "claude": {
      "name": "code-reviewer",
      "description": "Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.",
      "tools": ["Read", "Grep", "Glob", "Bash"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "code-reviewer",
      "description": "Expert code review specialist. Reviews code for quality, security, and maintainability. Use after writing or modifying code.",
      "kind": "TASK",
      "tools": ["read_file", "search_files", "list_files", "run_shell_command"],
      "model": "gemini-2.5-pro",
      "temperature": 0.3,
      "max_turns": 20
    }
  },
  "architect": {
    "claude": {
      "name": "architect",
      "description": "Software architecture specialist for system design, scalability, and technical decision-making. Use PROACTIVELY when planning new features, refactoring large systems, or making architectural decisions.",
      "tools": ["Read", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "architect",
      "description": "Software architecture specialist for system design, scalability, and technical decision-making. Use when planning new features or making architectural decisions.",
      "kind": "TASK",
      "tools": ["read_file", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.7,
      "max_turns": 20
    }
  },
  "security-reviewer": {
    "claude": {
      "name": "security-reviewer",
      "description": "Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.",
      "tools": ["Read", "Write", "Edit", "Bash", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "security-reviewer",
      "description": "Security vulnerability detection and remediation specialist. Use after writing code that handles user input, authentication, API endpoints, or sensitive data.",
      "kind": "TASK",
      "tools": ["read_file", "write_file", "replace_in_file", "run_shell_command", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.3,
      "max_turns": 25
    }
  },
  "build-error-resolver": {
    "claude": {
      "name": "build-error-resolver",
      "description": "Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur. Fixes build/type errors only with minimal diffs, no architectural edits. Focuses on getting the build green quickly.",
      "tools": ["Read", "Write", "Edit", "Bash", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "build-error-resolver",
      "description": "Build and TypeScript error resolution specialist. Use when build fails or type errors occur. Fixes errors only with minimal diffs.",
      "kind": "TASK",
      "tools": ["read_file", "write_file", "replace_in_file", "run_shell_command", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.3,
      "max_turns": 25
    }
  },
  "database-reviewer": {
    "claude": {
      "name": "database-reviewer",
      "description": "PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.",
      "tools": ["Read", "Write", "Edit", "Bash", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "database-reviewer",
      "description": "PostgreSQL database specialist for query optimization, schema design, security, and performance. Use when writing SQL, creating migrations, or troubleshooting database performance.",
      "kind": "TASK",
      "tools": ["read_file", "write_file", "replace_in_file", "run_shell_command", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.3,
      "max_turns": 20
    }
  },
  "e2e-runner": {
    "claude": {
      "name": "e2e-runner",
      "description": "End-to-end testing specialist using Vercel Agent Browser (preferred) with Playwright fallback. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.",
      "tools": ["Read", "Write", "Edit", "Bash", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "e2e-runner",
      "description": "End-to-end testing specialist using Playwright. Use for generating, maintaining, and running E2E tests on critical user flows.",
      "kind": "TASK",
      "tools": ["read_file", "write_file", "replace_in_file", "run_shell_command", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.5,
      "max_turns": 30
    }
  },
  "refactor-cleaner": {
    "claude": {
      "name": "refactor-cleaner",
      "description": "Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it.",
      "tools": ["Read", "Write", "Edit", "Bash", "Grep", "Glob"],
      "model": "sonnet"
    },
    "gemini": {
      "name": "refactor-cleaner",
      "description": "Dead code cleanup and consolidation specialist. Use for removing unused code, duplicates, and refactoring.",
      "kind": "TASK",
      "tools": ["read_file", "write_file", "replace_in_file", "run_shell_command", "search_files", "list_files"],
      "model": "gemini-2.5-pro",
      "temperature": 0.5,
      "max_turns": 25
    }
  },
  "harness-optimizer": {
    "claude": {
      "name": "harness-optimizer",
      "description": "Analyzes and improves agent harness for reliability and cost. Runs /harness-audit baseline, identifies top 3 leverage areas, proposes minimal reversible changes, applies and validates, reports deltas.",
      "tools": ["Read", "Grep", "Glob", "Bash", "Edit"],
      "model": "claude-sonnet-4-5"
    },
    "gemini": {
      "name": "harness-optimizer",
      "description": "Analyzes and improves agent harness for reliability and cost. Runs harness audit baseline, identifies top 3 leverage areas, proposes minimal reversible changes, applies and validates.",
      "kind": "TASK",
      "tools": ["read_file", "search_files", "list_files", "run_shell_command", "replace_in_file"],
      "model": "gemini-2.5-pro",
      "temperature": 0.5,
      "max_turns": 20
    }
  }
}