@prateek_ai/agents-maker 1.0.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.
- package/LICENSE +21 -0
- package/README.md +659 -0
- package/agents/architect_agent.md +175 -0
- package/agents/code_agent.md +178 -0
- package/agents/compression_agent.md +226 -0
- package/agents/execution_agent.md +157 -0
- package/agents/orchestrator.md +406 -0
- package/agents/reviewer_agent.md +134 -0
- package/agents/ui_agent.md +147 -0
- package/agents/ux_agent.md +144 -0
- package/bin/cli.js +79 -0
- package/config/agents.yaml +388 -0
- package/config/domain_profiles.yaml +394 -0
- package/config/project.yaml.example +16 -0
- package/config/token_policies.yaml +325 -0
- package/context_loaders/__init__.py +15 -0
- package/context_loaders/__pycache__/__init__.cpython-314.pyc +0 -0
- package/context_loaders/__pycache__/file_chunker.cpython-314.pyc +0 -0
- package/context_loaders/__pycache__/project_summary.cpython-314.pyc +0 -0
- package/context_loaders/__pycache__/repo_tree.cpython-314.pyc +0 -0
- package/context_loaders/file_chunker.py +252 -0
- package/context_loaders/project_summary.py +369 -0
- package/context_loaders/repo_tree.py +203 -0
- package/package.json +46 -0
- package/quickstart.ps1 +252 -0
- package/quickstart.sh +232 -0
- package/requirements.txt +3 -0
- package/skills/analyze_repo.md +86 -0
- package/skills/animated_website.md +285 -0
- package/skills/compare_approaches.md +86 -0
- package/skills/define_data_schema.md +99 -0
- package/skills/design_api.md +126 -0
- package/skills/improve_copy.md +69 -0
- package/skills/review_code.md +83 -0
- package/skills/review_layout.md +89 -0
- package/skills/suggest_next.md +105 -0
- package/skills/summarize_history.md +89 -0
- package/skills/write_process_map.md +105 -0
- package/skills/write_tests.md +97 -0
- package/token_optimization/__pycache__/compressor.cpython-314.pyc +0 -0
- package/token_optimization/compressor.py +502 -0
- package/token_optimization/output_styles.md +80 -0
- package/tools/__pycache__/domain_utils.cpython-314.pyc +0 -0
- package/tools/__pycache__/generate_claude_md.cpython-314.pyc +0 -0
- package/tools/__pycache__/validate_kit.cpython-314.pyc +0 -0
- package/tools/domain_utils.py +141 -0
- package/tools/generate_claude_md.py +269 -0
- package/tools/generate_platform_configs.py +467 -0
- package/tools/generate_prompt.py +461 -0
- package/tools/init_project.py +454 -0
- package/tools/test_kit.py +363 -0
- package/tools/validate_kit.py +504 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
# Agent Registry
|
|
2
|
+
# Each entry defines one specialist agent.
|
|
3
|
+
#
|
|
4
|
+
# Fields:
|
|
5
|
+
# name - identifier used in orchestrator routing
|
|
6
|
+
# description - one-line summary for routing prompt
|
|
7
|
+
# skills - list of skill keys (must match filenames in skills/)
|
|
8
|
+
# routing_tags - keywords/phrases that trigger this agent (ad-hoc workflows)
|
|
9
|
+
# roles - functional roles in the generic_project_lifecycle
|
|
10
|
+
# domains - which domains this agent is primary/secondary for
|
|
11
|
+
# context_requirement - full_repo | summarized | snippet_only
|
|
12
|
+
# cost_tier - low | medium | high (relative token cost)
|
|
13
|
+
# default_output_style - key from token_policies.yaml output_styles
|
|
14
|
+
|
|
15
|
+
agents:
|
|
16
|
+
|
|
17
|
+
orchestrator:
|
|
18
|
+
name: orchestrator
|
|
19
|
+
description: >
|
|
20
|
+
Supervisor agent. Detects domain and task type, drives phase sequence,
|
|
21
|
+
applies token policies, and aggregates specialist outputs.
|
|
22
|
+
skills:
|
|
23
|
+
- analyze_repo
|
|
24
|
+
- summarize_history
|
|
25
|
+
- suggest_next
|
|
26
|
+
- compare_approaches
|
|
27
|
+
routing_tags: [] # always invoked first; does not match tags
|
|
28
|
+
roles:
|
|
29
|
+
- supervisor
|
|
30
|
+
- phase_driver
|
|
31
|
+
- task_framing
|
|
32
|
+
domains:
|
|
33
|
+
primary: [software, content, research, data_analytics, product_design, marketing, ops_process]
|
|
34
|
+
secondary: []
|
|
35
|
+
context_requirement: summarized
|
|
36
|
+
cost_tier: low
|
|
37
|
+
default_output_style: concise_bullets
|
|
38
|
+
|
|
39
|
+
architect_agent:
|
|
40
|
+
name: architect_agent
|
|
41
|
+
description: >
|
|
42
|
+
Architect / Planner. Turns requirements into domain-appropriate solution designs:
|
|
43
|
+
system architecture (software), document outline (content), research plan (research),
|
|
44
|
+
campaign strategy (marketing), process map (ops_process).
|
|
45
|
+
skills:
|
|
46
|
+
- analyze_repo
|
|
47
|
+
- design_api
|
|
48
|
+
- compare_approaches
|
|
49
|
+
routing_tags:
|
|
50
|
+
- architecture
|
|
51
|
+
- system design
|
|
52
|
+
- api contract
|
|
53
|
+
- service
|
|
54
|
+
- microservice
|
|
55
|
+
- data model
|
|
56
|
+
- schema
|
|
57
|
+
- adr
|
|
58
|
+
- integration
|
|
59
|
+
- queue
|
|
60
|
+
- event
|
|
61
|
+
- database
|
|
62
|
+
- design
|
|
63
|
+
- outline
|
|
64
|
+
- plan
|
|
65
|
+
- methodology
|
|
66
|
+
- research design
|
|
67
|
+
- campaign strategy
|
|
68
|
+
- process map
|
|
69
|
+
roles:
|
|
70
|
+
- planner
|
|
71
|
+
- architect
|
|
72
|
+
- solution_design
|
|
73
|
+
domains:
|
|
74
|
+
primary: [software, content, research, data_analytics, product_design, marketing, ops_process]
|
|
75
|
+
secondary: []
|
|
76
|
+
context_requirement: summarized
|
|
77
|
+
cost_tier: medium
|
|
78
|
+
default_output_style: solution_design
|
|
79
|
+
|
|
80
|
+
code_agent:
|
|
81
|
+
name: code_agent
|
|
82
|
+
description: >
|
|
83
|
+
Execution Agent for the software domain. Implements, refactors, and tests code.
|
|
84
|
+
In the generic_project_lifecycle, handles Phase 3 (implementation) and Phase 4
|
|
85
|
+
fix-application for software tasks.
|
|
86
|
+
skills:
|
|
87
|
+
- analyze_repo
|
|
88
|
+
- review_code
|
|
89
|
+
- write_tests
|
|
90
|
+
- suggest_next
|
|
91
|
+
- animated_website
|
|
92
|
+
- define_data_schema
|
|
93
|
+
routing_tags:
|
|
94
|
+
- implement
|
|
95
|
+
- code
|
|
96
|
+
- refactor
|
|
97
|
+
- fix
|
|
98
|
+
- bug
|
|
99
|
+
- test
|
|
100
|
+
- migrate
|
|
101
|
+
- function
|
|
102
|
+
- class
|
|
103
|
+
- module
|
|
104
|
+
- endpoint
|
|
105
|
+
- script
|
|
106
|
+
roles:
|
|
107
|
+
- execution
|
|
108
|
+
- implementation
|
|
109
|
+
domains:
|
|
110
|
+
primary: [software, data_analytics]
|
|
111
|
+
secondary: []
|
|
112
|
+
context_requirement: snippet_only
|
|
113
|
+
cost_tier: medium
|
|
114
|
+
default_output_style: detailed_with_code
|
|
115
|
+
|
|
116
|
+
execution_agent:
|
|
117
|
+
name: execution_agent
|
|
118
|
+
description: >
|
|
119
|
+
Generic Execution Agent for non-software domains. Drafts content, research notes,
|
|
120
|
+
campaign copy, SOP sections, and any other non-code work product in small,
|
|
121
|
+
reviewable increments. In the generic_project_lifecycle, handles Phase 3
|
|
122
|
+
for content, research, marketing, ops_process, and product_design tasks.
|
|
123
|
+
skills:
|
|
124
|
+
- summarize_history
|
|
125
|
+
- improve_copy
|
|
126
|
+
- design_api
|
|
127
|
+
- suggest_next
|
|
128
|
+
- write_process_map
|
|
129
|
+
routing_tags:
|
|
130
|
+
- draft
|
|
131
|
+
- write
|
|
132
|
+
- section
|
|
133
|
+
- copy
|
|
134
|
+
- content
|
|
135
|
+
- research notes
|
|
136
|
+
- campaign asset
|
|
137
|
+
- sop
|
|
138
|
+
- runbook
|
|
139
|
+
- brief
|
|
140
|
+
- document
|
|
141
|
+
roles:
|
|
142
|
+
- execution
|
|
143
|
+
- drafting
|
|
144
|
+
domains:
|
|
145
|
+
primary: [content, research, marketing, ops_process, product_design]
|
|
146
|
+
secondary: [data_analytics]
|
|
147
|
+
context_requirement: snippet_only
|
|
148
|
+
cost_tier: medium
|
|
149
|
+
default_output_style: implementation_slice
|
|
150
|
+
|
|
151
|
+
ui_agent:
|
|
152
|
+
name: ui_agent
|
|
153
|
+
description: >
|
|
154
|
+
Presentation / Interface Agent. Component hierarchy, layout, design tokens,
|
|
155
|
+
and accessibility for any visual medium: UI, document layout, slide/deck
|
|
156
|
+
structure, information hierarchy, landing pages.
|
|
157
|
+
skills:
|
|
158
|
+
- review_layout
|
|
159
|
+
- improve_copy
|
|
160
|
+
- animated_website
|
|
161
|
+
routing_tags:
|
|
162
|
+
- component
|
|
163
|
+
- layout
|
|
164
|
+
- css
|
|
165
|
+
- react
|
|
166
|
+
- html
|
|
167
|
+
- design tokens
|
|
168
|
+
- spacing
|
|
169
|
+
- typography
|
|
170
|
+
- ui
|
|
171
|
+
- frontend
|
|
172
|
+
- dashboard
|
|
173
|
+
- modal
|
|
174
|
+
- form
|
|
175
|
+
- table
|
|
176
|
+
- responsive
|
|
177
|
+
- slide deck
|
|
178
|
+
- document layout
|
|
179
|
+
- information hierarchy
|
|
180
|
+
- landing page
|
|
181
|
+
roles:
|
|
182
|
+
- design
|
|
183
|
+
- presentation
|
|
184
|
+
domains:
|
|
185
|
+
primary: [software, product_design, marketing]
|
|
186
|
+
secondary: [content, data_analytics]
|
|
187
|
+
context_requirement: snippet_only
|
|
188
|
+
cost_tier: low
|
|
189
|
+
default_output_style: design_brief
|
|
190
|
+
|
|
191
|
+
ux_agent:
|
|
192
|
+
name: ux_agent
|
|
193
|
+
description: >
|
|
194
|
+
Experience / Flow Agent. Critiques and improves any multi-step journey:
|
|
195
|
+
user flows (software), reader journeys (content), process flows (ops),
|
|
196
|
+
conversion funnels (marketing), onboarding sequences.
|
|
197
|
+
skills:
|
|
198
|
+
- review_layout
|
|
199
|
+
- improve_copy
|
|
200
|
+
routing_tags:
|
|
201
|
+
- flow
|
|
202
|
+
- ux
|
|
203
|
+
- onboarding
|
|
204
|
+
- friction
|
|
205
|
+
- user journey
|
|
206
|
+
- reader journey
|
|
207
|
+
- screen
|
|
208
|
+
- step
|
|
209
|
+
- drop-off
|
|
210
|
+
- usability
|
|
211
|
+
- persona
|
|
212
|
+
- task completion
|
|
213
|
+
- funnel
|
|
214
|
+
- conversion
|
|
215
|
+
- process flow
|
|
216
|
+
- reader experience
|
|
217
|
+
roles:
|
|
218
|
+
- experience
|
|
219
|
+
- flow_design
|
|
220
|
+
domains:
|
|
221
|
+
primary: [software, product_design, marketing, ops_process]
|
|
222
|
+
secondary: [content, research]
|
|
223
|
+
context_requirement: snippet_only
|
|
224
|
+
cost_tier: low
|
|
225
|
+
default_output_style: concise_bullets
|
|
226
|
+
|
|
227
|
+
reviewer_agent:
|
|
228
|
+
name: reviewer_agent
|
|
229
|
+
description: >
|
|
230
|
+
QA / Review Agent. Performs critical review of any work product:
|
|
231
|
+
code tests and edge cases (software), clarity and rigor (content/research),
|
|
232
|
+
data correctness (analytics), brand alignment (marketing),
|
|
233
|
+
edge case coverage (ops). Owns Phase 4 across all domains.
|
|
234
|
+
skills:
|
|
235
|
+
- review_code
|
|
236
|
+
- review_layout
|
|
237
|
+
- summarize_history
|
|
238
|
+
- suggest_next
|
|
239
|
+
routing_tags:
|
|
240
|
+
- review
|
|
241
|
+
- qa
|
|
242
|
+
- test
|
|
243
|
+
- quality
|
|
244
|
+
- critique
|
|
245
|
+
- check
|
|
246
|
+
- audit
|
|
247
|
+
- verify
|
|
248
|
+
- validate
|
|
249
|
+
- correctness
|
|
250
|
+
- coverage
|
|
251
|
+
- consistency
|
|
252
|
+
roles:
|
|
253
|
+
- reviewer
|
|
254
|
+
- qa
|
|
255
|
+
- review_refinement
|
|
256
|
+
domains:
|
|
257
|
+
primary: [software, content, research, data_analytics, product_design, marketing, ops_process]
|
|
258
|
+
secondary: []
|
|
259
|
+
context_requirement: snippet_only
|
|
260
|
+
cost_tier: medium
|
|
261
|
+
default_output_style: critique_summary
|
|
262
|
+
|
|
263
|
+
compression_agent:
|
|
264
|
+
name: compression_agent
|
|
265
|
+
description: >
|
|
266
|
+
Manages context and output compression. Runs after each lifecycle phase
|
|
267
|
+
to update project_state, and on token-budget triggers during long sessions.
|
|
268
|
+
skills:
|
|
269
|
+
- summarize_history
|
|
270
|
+
routing_tags:
|
|
271
|
+
- compress
|
|
272
|
+
- token budget
|
|
273
|
+
- summarize history
|
|
274
|
+
- too long
|
|
275
|
+
- context limit
|
|
276
|
+
- reduce context
|
|
277
|
+
roles:
|
|
278
|
+
- compression
|
|
279
|
+
- state_management
|
|
280
|
+
domains:
|
|
281
|
+
primary: [software, content, research, data_analytics, product_design, marketing, ops_process]
|
|
282
|
+
secondary: []
|
|
283
|
+
context_requirement: full_repo
|
|
284
|
+
cost_tier: low
|
|
285
|
+
default_output_style: concise_bullets
|
|
286
|
+
|
|
287
|
+
# ---------------------------------------------------------------------------
|
|
288
|
+
# Routing priority (ad-hoc workflows — when multiple tags match)
|
|
289
|
+
#
|
|
290
|
+
# This list applies ONLY when:
|
|
291
|
+
# (a) domain is "general" (no strong detection), OR
|
|
292
|
+
# (b) the user sends a single-turn ad-hoc request outside lifecycle mode
|
|
293
|
+
# (no active phase).
|
|
294
|
+
#
|
|
295
|
+
# When domain confidence is HIGH and a lifecycle phase is active, the
|
|
296
|
+
# domain-phase mapping in domain_profiles.yaml (domains.<d>.primary_agents)
|
|
297
|
+
# takes precedence. Design always precedes implementation within a lifecycle.
|
|
298
|
+
# ---------------------------------------------------------------------------
|
|
299
|
+
routing_priority:
|
|
300
|
+
- architect_agent # design before implementation
|
|
301
|
+
- code_agent
|
|
302
|
+
- execution_agent
|
|
303
|
+
- ui_agent
|
|
304
|
+
- ux_agent
|
|
305
|
+
- reviewer_agent
|
|
306
|
+
- compression_agent
|
|
307
|
+
|
|
308
|
+
# ---------------------------------------------------------------------------
|
|
309
|
+
# Generic Project Lifecycle — phase → agent mapping
|
|
310
|
+
# ---------------------------------------------------------------------------
|
|
311
|
+
workflows:
|
|
312
|
+
|
|
313
|
+
generic_project_lifecycle:
|
|
314
|
+
description: Universal 6-phase lifecycle for any complex task across all domains.
|
|
315
|
+
phases:
|
|
316
|
+
|
|
317
|
+
task_framing:
|
|
318
|
+
primary: orchestrator
|
|
319
|
+
supporting: []
|
|
320
|
+
skippable: false
|
|
321
|
+
merge_with: requirements # allowed for very small tasks (orchestrator decides)
|
|
322
|
+
output_artifact: task_profile
|
|
323
|
+
|
|
324
|
+
requirements:
|
|
325
|
+
primary: architect_agent
|
|
326
|
+
supporting: [orchestrator]
|
|
327
|
+
skippable: false
|
|
328
|
+
merge_with: solution_design # allowed when scope is clear and small
|
|
329
|
+
output_artifact: requirements_spec
|
|
330
|
+
|
|
331
|
+
solution_design:
|
|
332
|
+
primary: architect_agent
|
|
333
|
+
supporting: [ui_agent, ux_agent]
|
|
334
|
+
skippable: false
|
|
335
|
+
merge_with: null
|
|
336
|
+
output_artifact: solution_design
|
|
337
|
+
|
|
338
|
+
implementation:
|
|
339
|
+
primary:
|
|
340
|
+
software: code_agent
|
|
341
|
+
content: execution_agent
|
|
342
|
+
research: execution_agent
|
|
343
|
+
data_analytics: code_agent
|
|
344
|
+
product_design: execution_agent
|
|
345
|
+
marketing: execution_agent
|
|
346
|
+
ops_process: execution_agent
|
|
347
|
+
supporting: [ui_agent, ux_agent]
|
|
348
|
+
skippable: false
|
|
349
|
+
merge_with: null
|
|
350
|
+
output_artifact: work_product + build_log
|
|
351
|
+
|
|
352
|
+
review_refinement:
|
|
353
|
+
primary: reviewer_agent
|
|
354
|
+
supporting:
|
|
355
|
+
software: [code_agent]
|
|
356
|
+
content: [execution_agent]
|
|
357
|
+
research: [execution_agent]
|
|
358
|
+
data_analytics: [code_agent]
|
|
359
|
+
product_design: [ui_agent, ux_agent]
|
|
360
|
+
marketing: [execution_agent, ux_agent]
|
|
361
|
+
ops_process: [execution_agent]
|
|
362
|
+
skippable: false
|
|
363
|
+
merge_with: null
|
|
364
|
+
output_artifact: refinement_report
|
|
365
|
+
|
|
366
|
+
handoff:
|
|
367
|
+
primary: orchestrator
|
|
368
|
+
supporting: [execution_agent]
|
|
369
|
+
skippable: false
|
|
370
|
+
merge_with: null
|
|
371
|
+
output_artifact: handoff_package
|
|
372
|
+
|
|
373
|
+
# ---------------------------------------------------------------------------
|
|
374
|
+
# Skill key → file mapping (for validation)
|
|
375
|
+
# ---------------------------------------------------------------------------
|
|
376
|
+
skill_file_map:
|
|
377
|
+
analyze_repo: skills/analyze_repo.md
|
|
378
|
+
design_api: skills/design_api.md
|
|
379
|
+
review_code: skills/review_code.md
|
|
380
|
+
review_layout: skills/review_layout.md
|
|
381
|
+
improve_copy: skills/improve_copy.md
|
|
382
|
+
write_tests: skills/write_tests.md
|
|
383
|
+
summarize_history: skills/summarize_history.md
|
|
384
|
+
suggest_next: skills/suggest_next.md
|
|
385
|
+
compare_approaches: skills/compare_approaches.md
|
|
386
|
+
animated_website: skills/animated_website.md
|
|
387
|
+
write_process_map: skills/write_process_map.md
|
|
388
|
+
define_data_schema: skills/define_data_schema.md
|