@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,394 @@
|
|
|
1
|
+
# Domain Profiles Registry
|
|
2
|
+
# Single source of truth for domain detection, agent routing, and artifact hints.
|
|
3
|
+
# Replaces hardcoded domain tables in agents/orchestrator.md.
|
|
4
|
+
#
|
|
5
|
+
# To add a new domain: add an entry under "domains:" below.
|
|
6
|
+
# No changes to any agent .md file are required.
|
|
7
|
+
#
|
|
8
|
+
# Detection algorithm (orchestrator):
|
|
9
|
+
# score(domain) = (strong_matches × 1.0 + weak_matches × 0.4) / 3
|
|
10
|
+
# Denominator fixed at 3: 3 strong matches = score of 1.0; scores above 1.0 are fine.
|
|
11
|
+
# If max_score < settings.confidence_threshold → domain = general + ask clarifying Q
|
|
12
|
+
# If top-2 scores within settings.ambiguity_threshold → surface both to user
|
|
13
|
+
|
|
14
|
+
settings:
|
|
15
|
+
default_domain: general
|
|
16
|
+
confidence_threshold: 0.40 # below this → use general domain + one clarifying question
|
|
17
|
+
ambiguity_threshold: 0.10 # if top-2 scores within this margin → ask user to choose
|
|
18
|
+
allow_extension_domains: true # set false to restrict to built_in domains only
|
|
19
|
+
|
|
20
|
+
domains:
|
|
21
|
+
|
|
22
|
+
software:
|
|
23
|
+
status: built_in
|
|
24
|
+
display_name: "Software"
|
|
25
|
+
description: "Software systems, APIs, microservices, fullstack apps, scripts, and infrastructure."
|
|
26
|
+
detection_signals:
|
|
27
|
+
strong:
|
|
28
|
+
- code
|
|
29
|
+
- api
|
|
30
|
+
- microservice
|
|
31
|
+
- endpoint
|
|
32
|
+
- deploy
|
|
33
|
+
- bug
|
|
34
|
+
- refactor
|
|
35
|
+
- test
|
|
36
|
+
- database
|
|
37
|
+
- backend
|
|
38
|
+
- frontend
|
|
39
|
+
- function
|
|
40
|
+
- class
|
|
41
|
+
- library
|
|
42
|
+
- framework
|
|
43
|
+
- migration
|
|
44
|
+
- dockerfile
|
|
45
|
+
- schema
|
|
46
|
+
- middleware
|
|
47
|
+
- authentication
|
|
48
|
+
- auth
|
|
49
|
+
- redis
|
|
50
|
+
- cache
|
|
51
|
+
- rate limit
|
|
52
|
+
- http
|
|
53
|
+
- postgresql
|
|
54
|
+
- mysql
|
|
55
|
+
- orm
|
|
56
|
+
- transaction
|
|
57
|
+
- latency
|
|
58
|
+
weak:
|
|
59
|
+
- build
|
|
60
|
+
- service
|
|
61
|
+
- server
|
|
62
|
+
- error
|
|
63
|
+
- performance
|
|
64
|
+
- request
|
|
65
|
+
- response
|
|
66
|
+
- optimize
|
|
67
|
+
- bottleneck
|
|
68
|
+
- rest
|
|
69
|
+
- graphql
|
|
70
|
+
primary_agents:
|
|
71
|
+
task_framing: orchestrator
|
|
72
|
+
requirements: architect_agent
|
|
73
|
+
solution_design: architect_agent
|
|
74
|
+
implementation: code_agent
|
|
75
|
+
review_refinement: reviewer_agent
|
|
76
|
+
handoff: orchestrator
|
|
77
|
+
artifact_hints:
|
|
78
|
+
solution_design:
|
|
79
|
+
structure_label: "Service map, API contract, data model, ADRs"
|
|
80
|
+
structure_note: "Include one ADR per non-obvious architectural decision."
|
|
81
|
+
handoff:
|
|
82
|
+
deliverables_label: "Env vars list, migration commands, test run command, deployment steps"
|
|
83
|
+
token_policy_overrides: {}
|
|
84
|
+
|
|
85
|
+
content:
|
|
86
|
+
status: built_in
|
|
87
|
+
display_name: "Content"
|
|
88
|
+
description: "Long-form writing: reports, articles, documentation, white papers, onboarding guides."
|
|
89
|
+
detection_signals:
|
|
90
|
+
strong:
|
|
91
|
+
- write
|
|
92
|
+
- writing
|
|
93
|
+
- article
|
|
94
|
+
- report
|
|
95
|
+
- document
|
|
96
|
+
- documentation
|
|
97
|
+
- guide
|
|
98
|
+
- draft
|
|
99
|
+
- essay
|
|
100
|
+
- blog
|
|
101
|
+
- whitepaper
|
|
102
|
+
- tutorial
|
|
103
|
+
- readme
|
|
104
|
+
- create
|
|
105
|
+
- produce
|
|
106
|
+
- craft
|
|
107
|
+
- blog post
|
|
108
|
+
weak:
|
|
109
|
+
- section
|
|
110
|
+
- outline
|
|
111
|
+
- paragraph
|
|
112
|
+
- tone
|
|
113
|
+
- audience
|
|
114
|
+
- publish
|
|
115
|
+
- edit
|
|
116
|
+
primary_agents:
|
|
117
|
+
task_framing: orchestrator
|
|
118
|
+
requirements: architect_agent
|
|
119
|
+
solution_design: architect_agent
|
|
120
|
+
implementation: execution_agent
|
|
121
|
+
review_refinement: reviewer_agent
|
|
122
|
+
handoff: orchestrator
|
|
123
|
+
artifact_hints:
|
|
124
|
+
solution_design:
|
|
125
|
+
structure_label: "Document outline (H-tree), style guide, argument map"
|
|
126
|
+
structure_note: "Outline should list every H2 section with a one-line purpose statement."
|
|
127
|
+
handoff:
|
|
128
|
+
deliverables_label: "Final document, table of contents, word count, suggested follow-up pieces"
|
|
129
|
+
token_policy_overrides: {}
|
|
130
|
+
|
|
131
|
+
research:
|
|
132
|
+
status: built_in
|
|
133
|
+
display_name: "Research"
|
|
134
|
+
description: "Analysis projects: market studies, literature reviews, competitive landscapes, technical deep dives."
|
|
135
|
+
detection_signals:
|
|
136
|
+
strong:
|
|
137
|
+
- research
|
|
138
|
+
- analysis
|
|
139
|
+
- study
|
|
140
|
+
- literature
|
|
141
|
+
- literature review
|
|
142
|
+
- market research
|
|
143
|
+
- survey
|
|
144
|
+
- findings
|
|
145
|
+
- investigate
|
|
146
|
+
- competitive
|
|
147
|
+
- landscape
|
|
148
|
+
- benchmark
|
|
149
|
+
- deep dive
|
|
150
|
+
- review
|
|
151
|
+
- synthesize
|
|
152
|
+
- interviews
|
|
153
|
+
- themes
|
|
154
|
+
weak:
|
|
155
|
+
- sources
|
|
156
|
+
- data
|
|
157
|
+
- evidence
|
|
158
|
+
- hypothesis
|
|
159
|
+
- methodology
|
|
160
|
+
- insight
|
|
161
|
+
- trend
|
|
162
|
+
- explore
|
|
163
|
+
- examine
|
|
164
|
+
- insights
|
|
165
|
+
- overview
|
|
166
|
+
- analyze
|
|
167
|
+
- state
|
|
168
|
+
primary_agents:
|
|
169
|
+
task_framing: orchestrator
|
|
170
|
+
requirements: architect_agent
|
|
171
|
+
solution_design: architect_agent
|
|
172
|
+
implementation: execution_agent
|
|
173
|
+
review_refinement: reviewer_agent
|
|
174
|
+
handoff: orchestrator
|
|
175
|
+
artifact_hints:
|
|
176
|
+
solution_design:
|
|
177
|
+
structure_label: "Research question hierarchy, methodology, seed source list, analysis framework"
|
|
178
|
+
structure_note: "Label each research question as RQ1, RQ2… with numbered sub-questions."
|
|
179
|
+
handoff:
|
|
180
|
+
deliverables_label: "Key findings table, limitations section, recommended next research steps"
|
|
181
|
+
token_policy_overrides: {}
|
|
182
|
+
|
|
183
|
+
data_analytics:
|
|
184
|
+
status: built_in
|
|
185
|
+
display_name: "Data & Analytics"
|
|
186
|
+
description: "Dashboards, pipelines, experiments, BI reporting, metric definitions, and data models."
|
|
187
|
+
detection_signals:
|
|
188
|
+
strong:
|
|
189
|
+
- dashboard
|
|
190
|
+
- pipeline
|
|
191
|
+
- metrics
|
|
192
|
+
- dbt
|
|
193
|
+
- etl
|
|
194
|
+
- analytics
|
|
195
|
+
- dataset
|
|
196
|
+
- bigquery
|
|
197
|
+
- redshift
|
|
198
|
+
- looker
|
|
199
|
+
- tableau
|
|
200
|
+
- experiment
|
|
201
|
+
- a/b test
|
|
202
|
+
- kpi
|
|
203
|
+
- analyze
|
|
204
|
+
- conversion
|
|
205
|
+
- measure
|
|
206
|
+
weak:
|
|
207
|
+
- query
|
|
208
|
+
- table
|
|
209
|
+
- column
|
|
210
|
+
- aggregation
|
|
211
|
+
- report
|
|
212
|
+
- chart
|
|
213
|
+
- visualization
|
|
214
|
+
- schema
|
|
215
|
+
- sql
|
|
216
|
+
- data
|
|
217
|
+
- impact
|
|
218
|
+
primary_agents:
|
|
219
|
+
task_framing: orchestrator
|
|
220
|
+
requirements: architect_agent
|
|
221
|
+
solution_design: architect_agent
|
|
222
|
+
implementation: code_agent
|
|
223
|
+
review_refinement: reviewer_agent
|
|
224
|
+
handoff: orchestrator
|
|
225
|
+
artifact_hints:
|
|
226
|
+
solution_design:
|
|
227
|
+
structure_label: "Data model (fact/dim tables), metric definitions (formula + grain + filter), pipeline DAG"
|
|
228
|
+
structure_note: "Each metric must specify: formula, grain, filter conditions, and NULL handling."
|
|
229
|
+
handoff:
|
|
230
|
+
deliverables_label: "Metric glossary, pipeline runbook, dashboard user guide, data freshness SLA"
|
|
231
|
+
token_policy_overrides: {}
|
|
232
|
+
|
|
233
|
+
product_design:
|
|
234
|
+
status: built_in
|
|
235
|
+
display_name: "Product Design"
|
|
236
|
+
description: "UI/UX design, product specs (PRDs), user story maps, service blueprints, design systems."
|
|
237
|
+
detection_signals:
|
|
238
|
+
strong:
|
|
239
|
+
- product
|
|
240
|
+
- feature
|
|
241
|
+
- prd
|
|
242
|
+
- user story
|
|
243
|
+
- design system
|
|
244
|
+
- wireframe
|
|
245
|
+
- prototype
|
|
246
|
+
- persona
|
|
247
|
+
- onboarding
|
|
248
|
+
- ui
|
|
249
|
+
- ux
|
|
250
|
+
- flow
|
|
251
|
+
- screen
|
|
252
|
+
- component
|
|
253
|
+
weak:
|
|
254
|
+
- user
|
|
255
|
+
- customer
|
|
256
|
+
- experience
|
|
257
|
+
- interface
|
|
258
|
+
- interaction
|
|
259
|
+
- journey
|
|
260
|
+
- friction
|
|
261
|
+
- design
|
|
262
|
+
- mobile
|
|
263
|
+
- checkout
|
|
264
|
+
primary_agents:
|
|
265
|
+
task_framing: orchestrator
|
|
266
|
+
requirements: architect_agent
|
|
267
|
+
solution_design: architect_agent
|
|
268
|
+
implementation: execution_agent
|
|
269
|
+
review_refinement: reviewer_agent
|
|
270
|
+
handoff: orchestrator
|
|
271
|
+
artifact_hints:
|
|
272
|
+
solution_design:
|
|
273
|
+
structure_label: "Feature brief, user journey, screen flow, component hierarchy"
|
|
274
|
+
structure_note: "User journey must state actor, goal, and key decision points per step."
|
|
275
|
+
handoff:
|
|
276
|
+
deliverables_label: "PRD doc, acceptance criteria per story, design handoff notes, open questions log"
|
|
277
|
+
token_policy_overrides: {}
|
|
278
|
+
|
|
279
|
+
marketing:
|
|
280
|
+
status: built_in
|
|
281
|
+
display_name: "Marketing"
|
|
282
|
+
description: "Campaigns, messaging frameworks, content calendars, channel strategies, launch playbooks."
|
|
283
|
+
detection_signals:
|
|
284
|
+
strong:
|
|
285
|
+
- campaign
|
|
286
|
+
- launch
|
|
287
|
+
- messaging
|
|
288
|
+
- channel
|
|
289
|
+
- funnel
|
|
290
|
+
- brand
|
|
291
|
+
- marketing
|
|
292
|
+
- copy
|
|
293
|
+
- ad
|
|
294
|
+
- email
|
|
295
|
+
- social
|
|
296
|
+
- landing page
|
|
297
|
+
- conversion
|
|
298
|
+
- cta
|
|
299
|
+
- go-to-market
|
|
300
|
+
- gtm
|
|
301
|
+
weak:
|
|
302
|
+
- audience
|
|
303
|
+
- segment
|
|
304
|
+
- reach
|
|
305
|
+
- engagement
|
|
306
|
+
- awareness
|
|
307
|
+
- lead
|
|
308
|
+
- retention
|
|
309
|
+
- strategy
|
|
310
|
+
primary_agents:
|
|
311
|
+
task_framing: orchestrator
|
|
312
|
+
requirements: architect_agent
|
|
313
|
+
solution_design: architect_agent
|
|
314
|
+
implementation: execution_agent
|
|
315
|
+
review_refinement: reviewer_agent
|
|
316
|
+
handoff: orchestrator
|
|
317
|
+
artifact_hints:
|
|
318
|
+
solution_design:
|
|
319
|
+
structure_label: "Campaign strategy, messaging framework (positioning + key messages per segment), channel plan"
|
|
320
|
+
structure_note: "Messaging framework must include: target segment, key message, tone, and primary CTA."
|
|
321
|
+
handoff:
|
|
322
|
+
deliverables_label: "Campaign brief, asset checklist, copy document, channel launch calendar"
|
|
323
|
+
token_policy_overrides: {}
|
|
324
|
+
|
|
325
|
+
ops_process:
|
|
326
|
+
status: built_in
|
|
327
|
+
display_name: "Operations & Process"
|
|
328
|
+
description: "SOPs, process maps, RACI matrices, runbooks, workflow automation specs, operational handbooks."
|
|
329
|
+
detection_signals:
|
|
330
|
+
strong:
|
|
331
|
+
- process
|
|
332
|
+
- sop
|
|
333
|
+
- workflow
|
|
334
|
+
- raci
|
|
335
|
+
- runbook
|
|
336
|
+
- playbook
|
|
337
|
+
- procedure
|
|
338
|
+
- operational
|
|
339
|
+
- checklist
|
|
340
|
+
- policy
|
|
341
|
+
- compliance
|
|
342
|
+
- governance
|
|
343
|
+
- incident
|
|
344
|
+
- outage
|
|
345
|
+
- on-call
|
|
346
|
+
- sla
|
|
347
|
+
weak:
|
|
348
|
+
- step
|
|
349
|
+
- role
|
|
350
|
+
- responsibility
|
|
351
|
+
- approval
|
|
352
|
+
- escalation
|
|
353
|
+
- trigger
|
|
354
|
+
- handoff
|
|
355
|
+
- production
|
|
356
|
+
- alert
|
|
357
|
+
- severity
|
|
358
|
+
primary_agents:
|
|
359
|
+
task_framing: orchestrator
|
|
360
|
+
requirements: architect_agent
|
|
361
|
+
solution_design: architect_agent
|
|
362
|
+
implementation: execution_agent
|
|
363
|
+
review_refinement: reviewer_agent
|
|
364
|
+
handoff: orchestrator
|
|
365
|
+
artifact_hints:
|
|
366
|
+
solution_design:
|
|
367
|
+
structure_label: "Process map (numbered steps + decision points), RACI matrix, exception-handling table"
|
|
368
|
+
structure_note: "Every decision point must have an explicit IF/ELSE branch with next-step references."
|
|
369
|
+
handoff:
|
|
370
|
+
deliverables_label: "SOP document, RACI table, process map, training checklist"
|
|
371
|
+
token_policy_overrides: {}
|
|
372
|
+
|
|
373
|
+
general:
|
|
374
|
+
status: built_in
|
|
375
|
+
display_name: "General"
|
|
376
|
+
description: "Catch-all fallback for unrecognized or ambiguous tasks. Uses the full lifecycle with permissive defaults."
|
|
377
|
+
detection_signals:
|
|
378
|
+
strong: [] # never auto-detected; only used as explicit fallback
|
|
379
|
+
weak: []
|
|
380
|
+
primary_agents:
|
|
381
|
+
task_framing: orchestrator
|
|
382
|
+
requirements: architect_agent
|
|
383
|
+
solution_design: architect_agent
|
|
384
|
+
implementation: execution_agent
|
|
385
|
+
review_refinement: reviewer_agent
|
|
386
|
+
handoff: orchestrator
|
|
387
|
+
artifact_hints: {} # no structure hints; agents use domain-neutral defaults
|
|
388
|
+
token_policy_overrides:
|
|
389
|
+
task_framing:
|
|
390
|
+
max_input_tokens: 8000
|
|
391
|
+
history_summarize_after_turns: 10
|
|
392
|
+
implementation:
|
|
393
|
+
max_input_tokens: 20000
|
|
394
|
+
history_summarize_after_turns: 8
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# config/project.yaml — generated by init_project.py
|
|
2
|
+
# This file is gitignored. Each developer/project gets their own copy.
|
|
3
|
+
# Copy this file to config/project.yaml and edit, OR run:
|
|
4
|
+
# python agents-maker/tools/init_project.py
|
|
5
|
+
#
|
|
6
|
+
# Valid domains: software, content, research, data_analytics,
|
|
7
|
+
# product_design, marketing, ops_process, general
|
|
8
|
+
|
|
9
|
+
project_name: your-project
|
|
10
|
+
created_at: '2026-01-01'
|
|
11
|
+
primary_domain: software
|
|
12
|
+
stack:
|
|
13
|
+
- Python
|
|
14
|
+
key_constraints: []
|
|
15
|
+
session_count: 0
|
|
16
|
+
last_session: null
|