agents-inc 0.152.1 → 0.154.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/CHANGELOG.md +57 -0
- package/README.md +31 -35
- package/dist/{chunk-FVDKAVOL.js → chunk-2IMYK4WN.js} +18 -51
- package/dist/chunk-2IMYK4WN.js.map +1 -0
- package/dist/{chunk-PMM2MYMA.js → chunk-4VCWL2IG.js} +649 -357
- package/dist/chunk-4VCWL2IG.js.map +1 -0
- package/dist/{chunk-PZIZNMHK.js → chunk-5MFJ24VM.js} +237 -150
- package/dist/chunk-5MFJ24VM.js.map +1 -0
- package/dist/{chunk-KXYVJGJP.js → chunk-6CNRMCFM.js} +3 -2
- package/dist/{chunk-KXYVJGJP.js.map → chunk-6CNRMCFM.js.map} +1 -1
- package/dist/chunk-7VZV4O6B.js +40 -0
- package/dist/chunk-7VZV4O6B.js.map +1 -0
- package/dist/{chunk-SX5H6TSC.js → chunk-AKQ5QISO.js} +11 -8
- package/dist/chunk-AKQ5QISO.js.map +1 -0
- package/dist/{chunk-BNSRA6HL.js → chunk-AURY6RT6.js} +39 -176
- package/dist/chunk-AURY6RT6.js.map +1 -0
- package/dist/{chunk-LZ52XEPR.js → chunk-B66SC72V.js} +7 -6
- package/dist/chunk-B66SC72V.js.map +1 -0
- package/dist/{chunk-LASI35KT.js → chunk-BZ4CZBOM.js} +14 -28
- package/dist/chunk-BZ4CZBOM.js.map +1 -0
- package/dist/chunk-CBF4ZYV3.js +18540 -0
- package/dist/chunk-CBF4ZYV3.js.map +1 -0
- package/dist/{chunk-5GUOIJSG.js → chunk-CHNA5RVS.js} +3 -15
- package/dist/chunk-CHNA5RVS.js.map +1 -0
- package/dist/{chunk-LDP5ASDM.js → chunk-DRKSYJZ2.js} +2 -19
- package/dist/chunk-DRKSYJZ2.js.map +1 -0
- package/dist/chunk-FMYHWKGG.js +325 -0
- package/dist/chunk-FMYHWKGG.js.map +1 -0
- package/dist/{chunk-SKQWRUPX.js → chunk-GUDGCFSF.js} +59 -33
- package/dist/chunk-GUDGCFSF.js.map +1 -0
- package/dist/{chunk-WKTHWQKM.js → chunk-IPJOMAWC.js} +5070 -6305
- package/dist/chunk-IPJOMAWC.js.map +1 -0
- package/dist/chunk-IXEDSKMH.js +48 -0
- package/dist/chunk-IXEDSKMH.js.map +1 -0
- package/dist/{chunk-TUPYW2IQ.js → chunk-JC7DBPRD.js} +9 -12
- package/dist/chunk-JC7DBPRD.js.map +1 -0
- package/dist/{chunk-ZL7PFNHN.js → chunk-K3O3YQYG.js} +2 -2
- package/dist/{chunk-QRDTLVXG.js → chunk-LA3JPESW.js} +9 -22
- package/dist/chunk-LA3JPESW.js.map +1 -0
- package/dist/{chunk-MWG4VU64.js → chunk-MJFIO5SX.js} +50 -74
- package/dist/chunk-MJFIO5SX.js.map +1 -0
- package/dist/{chunk-L7SZXUBJ.js → chunk-NFH6SA62.js} +7 -6
- package/dist/{chunk-L7SZXUBJ.js.map → chunk-NFH6SA62.js.map} +1 -1
- package/dist/{chunk-GRVKW3CC.js → chunk-NKCY2ULI.js} +3 -2
- package/dist/{chunk-GRVKW3CC.js.map → chunk-NKCY2ULI.js.map} +1 -1
- package/dist/{chunk-TJJPWUMA.js → chunk-NSJ2S7R5.js} +3 -2
- package/dist/{chunk-TJJPWUMA.js.map → chunk-NSJ2S7R5.js.map} +1 -1
- package/dist/{chunk-Q2KG7UV3.js → chunk-OJJLYHM3.js} +2 -1
- package/dist/{chunk-Q2KG7UV3.js.map → chunk-OJJLYHM3.js.map} +1 -1
- package/dist/{chunk-MJ2KHG24.js → chunk-ONWEOS77.js} +6 -6
- package/dist/{chunk-MJ2KHG24.js.map → chunk-ONWEOS77.js.map} +1 -1
- package/dist/{chunk-NR3OZGL4.js → chunk-OZXAJNLA.js} +2 -1
- package/dist/{chunk-NR3OZGL4.js.map → chunk-OZXAJNLA.js.map} +1 -1
- package/dist/{chunk-QZZJFYUQ.js → chunk-PRJD5MMQ.js} +3 -3
- package/dist/chunk-PRJD5MMQ.js.map +1 -0
- package/dist/{chunk-MM7CTTAV.js → chunk-Q5FLW4JG.js} +2 -2
- package/dist/{chunk-MM7CTTAV.js.map → chunk-Q5FLW4JG.js.map} +1 -1
- package/dist/{chunk-5UWKOOIS.js → chunk-QQTYMW7N.js} +131 -209
- package/dist/chunk-QQTYMW7N.js.map +1 -0
- package/dist/{chunk-MVR3SYMN.js → chunk-QUDQTO3O.js} +4 -3
- package/dist/{chunk-MVR3SYMN.js.map → chunk-QUDQTO3O.js.map} +1 -1
- package/dist/{chunk-76ADG7LQ.js → chunk-R54KIGN2.js} +8 -22
- package/dist/chunk-R54KIGN2.js.map +1 -0
- package/dist/{chunk-XHUODHZ4.js → chunk-R7JV22QK.js} +22 -49
- package/dist/chunk-R7JV22QK.js.map +1 -0
- package/dist/{chunk-E5X6RJ4E.js → chunk-TUQF577Z.js} +56 -53
- package/dist/chunk-TUQF577Z.js.map +1 -0
- package/dist/{chunk-IHUY4M22.js → chunk-UW44KSYL.js} +4 -4
- package/dist/{chunk-DTSG5XZB.js → chunk-V3ENMW7G.js} +3 -3
- package/dist/chunk-VZRO7RYT.js +3694 -0
- package/dist/chunk-VZRO7RYT.js.map +1 -0
- package/dist/{chunk-MQ7FLIYS.js → chunk-WRRP47PY.js} +3 -2
- package/dist/{chunk-MQ7FLIYS.js.map → chunk-WRRP47PY.js.map} +1 -1
- package/dist/{chunk-RNJWAKMO.js → chunk-XGMOXMS4.js} +9 -8
- package/dist/chunk-XGMOXMS4.js.map +1 -0
- package/dist/{chunk-STMHDOZD.js → chunk-XMEIVWAS.js} +12 -9
- package/dist/chunk-XMEIVWAS.js.map +1 -0
- package/dist/{chunk-IUQBOCSU.js → chunk-ZBPEFQ4G.js} +2 -1
- package/dist/{chunk-IUQBOCSU.js.map → chunk-ZBPEFQ4G.js.map} +1 -1
- package/dist/chunk-ZU6DAR4S.js +223 -0
- package/dist/chunk-ZU6DAR4S.js.map +1 -0
- package/dist/commands/build/marketplace.js +115 -35
- package/dist/commands/build/marketplace.js.map +1 -1
- package/dist/commands/build/plugins.js +9 -10
- package/dist/commands/build/plugins.js.map +1 -1
- package/dist/commands/compile.js +135 -70
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/doctor.js +793 -64
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +231 -236
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +24 -39
- package/dist/commands/eject.js.map +1 -1
- package/dist/commands/init.js +41 -46
- package/dist/commands/list.js +10 -12
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/search.js +35 -88
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/uninstall.js +212 -167
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.js +82 -332
- package/dist/commands/update.js.map +1 -1
- package/dist/components/common/confirm.js +1 -1
- package/dist/components/common/prompt-confirm.js +1 -1
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/common/spinner.js +1 -1
- package/dist/components/wizard/category-grid.js +5 -6
- package/dist/components/wizard/checkbox-grid.js +5 -6
- package/dist/components/wizard/domain-selection.js +12 -13
- package/dist/components/wizard/run-wizard-session.js +30 -36
- package/dist/components/wizard/scroll-affordance.js +2 -2
- package/dist/components/wizard/skill-agent-summary.js +7 -7
- package/dist/components/wizard/source-grid.js +6 -11
- package/dist/components/wizard/stack-selection.js +9 -9
- package/dist/components/wizard/step-agents.js +12 -12
- package/dist/components/wizard/step-build.js +10 -11
- package/dist/components/wizard/step-confirm.js +11 -11
- package/dist/components/wizard/step-sources.js +11 -17
- package/dist/components/wizard/step-stack.js +10 -10
- package/dist/components/wizard/summary-panel.js +10 -10
- package/dist/components/wizard/toast.js +2 -2
- package/dist/components/wizard/wizard-layout.js +15 -16
- package/dist/components/wizard/wizard-tabs.js +6 -12
- package/dist/components/wizard/wizard.js +29 -35
- package/dist/config-exports.js +1 -1
- package/dist/copy-local-skills-WVHJFRPK.js +14 -0
- package/dist/hooks/init.js +49 -48
- package/dist/hooks/init.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/load-agent-defs-5OT54J5M.js +15 -0
- package/dist/{loader-5JP4S7CJ.js → loader-JIZDTR4G.js} +7 -5
- package/dist/recompile-project-agents-VREEPBDV.js +20 -0
- package/dist/{source-loader-MZYCPL2S.js → source-loader-OE6EJFPU.js} +6 -6
- package/dist/src/agents/developer/ai-developer/identity.md +4 -4
- package/dist/src/agents/developer/ai-developer/playbook.md +1 -1
- package/dist/src/agents/developer/api-developer/identity.md +4 -4
- package/dist/src/agents/developer/api-developer/metadata.yaml +1 -1
- package/dist/src/agents/developer/cli-developer/identity.md +4 -4
- package/dist/src/agents/developer/web-developer/identity.md +2 -2
- package/dist/src/agents/developer/web-developer/metadata.yaml +1 -1
- package/dist/src/agents/meta/agent-summoner/identity.md +4 -5
- package/dist/src/agents/meta/agent-summoner/output.md +2 -2
- package/dist/src/agents/meta/agent-summoner/playbook.md +15 -16
- package/dist/src/agents/meta/codex-keeper/identity.md +4 -4
- package/dist/src/agents/meta/codex-keeper/playbook.md +1 -1
- package/dist/src/agents/meta/convention-keeper/identity.md +1 -1
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +0 -34
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +27 -3
- package/dist/src/agents/meta/skill-summoner/identity.md +2 -2
- package/{src/agents/planning/web-pm → dist/src/agents/planning/pm}/critical-reminders.md +10 -7
- package/dist/src/agents/planning/{web-pm → pm}/critical-requirements.md +8 -4
- package/dist/src/agents/planning/pm/identity.md +47 -0
- package/dist/src/agents/planning/pm/metadata.yaml +12 -0
- package/dist/src/agents/planning/{web-pm → pm}/output.md +7 -90
- package/dist/src/agents/planning/pm/playbook.md +185 -0
- package/dist/src/agents/researcher/ai-researcher/critical-reminders.md +58 -0
- package/dist/src/agents/researcher/ai-researcher/critical-requirements.md +40 -0
- package/dist/src/agents/researcher/ai-researcher/identity.md +86 -0
- package/dist/src/agents/researcher/ai-researcher/metadata.yaml +10 -0
- package/dist/src/agents/researcher/ai-researcher/output.md +363 -0
- package/dist/src/agents/researcher/ai-researcher/playbook.md +545 -0
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +16 -0
- package/dist/src/agents/researcher/api-researcher/identity.md +7 -7
- package/dist/src/agents/researcher/cli-researcher/critical-reminders.md +50 -0
- package/dist/src/agents/researcher/cli-researcher/critical-requirements.md +36 -0
- package/dist/src/agents/researcher/cli-researcher/identity.md +87 -0
- package/dist/src/agents/researcher/cli-researcher/metadata.yaml +10 -0
- package/dist/src/agents/researcher/cli-researcher/output.md +343 -0
- package/dist/src/agents/researcher/cli-researcher/playbook.md +370 -0
- package/dist/src/agents/researcher/web-researcher/identity.md +5 -6
- package/dist/src/agents/reviewer/reviewer/critical-reminders.md +29 -0
- package/dist/src/agents/reviewer/reviewer/critical-requirements.md +31 -0
- package/dist/src/agents/reviewer/reviewer/identity.md +41 -0
- package/dist/src/agents/reviewer/reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/reviewer/output.md +202 -0
- package/dist/src/agents/reviewer/reviewer/playbook.md +141 -0
- package/dist/src/agents/tester/ai-tester/critical-reminders.md +48 -0
- package/dist/src/agents/tester/ai-tester/critical-requirements.md +49 -0
- package/dist/src/agents/tester/ai-tester/identity.md +62 -0
- package/dist/src/agents/tester/ai-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/ai-tester/output.md +375 -0
- package/dist/src/agents/tester/ai-tester/playbook.md +789 -0
- package/dist/src/agents/tester/api-tester/identity.md +3 -3
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +3 -3
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +2 -2
- package/dist/src/agents/tester/cli-tester/identity.md +3 -3
- package/dist/src/agents/tester/cli-tester/output.md +4 -4
- package/dist/src/agents/tester/cli-tester/playbook.md +3 -3
- package/dist/src/agents/tester/web-tester/identity.md +3 -3
- package/dist/stores/wizard-store.js +8 -6
- package/package.json +13 -2
- package/src/agents/developer/ai-developer/identity.md +4 -4
- package/src/agents/developer/ai-developer/playbook.md +1 -1
- package/src/agents/developer/api-developer/identity.md +4 -4
- package/src/agents/developer/api-developer/metadata.yaml +1 -1
- package/src/agents/developer/cli-developer/identity.md +4 -4
- package/src/agents/developer/web-developer/identity.md +2 -2
- package/src/agents/developer/web-developer/metadata.yaml +1 -1
- package/src/agents/meta/agent-summoner/identity.md +4 -5
- package/src/agents/meta/agent-summoner/output.md +2 -2
- package/src/agents/meta/agent-summoner/playbook.md +15 -16
- package/src/agents/meta/codex-keeper/identity.md +4 -4
- package/src/agents/meta/codex-keeper/playbook.md +1 -1
- package/src/agents/meta/convention-keeper/identity.md +1 -1
- package/src/agents/meta/skill-summoner/critical-reminders.md +0 -34
- package/src/agents/meta/skill-summoner/critical-requirements.md +27 -3
- package/src/agents/meta/skill-summoner/identity.md +2 -2
- package/{dist/src/agents/planning/web-pm → src/agents/planning/pm}/critical-reminders.md +10 -7
- package/src/agents/planning/{web-pm → pm}/critical-requirements.md +8 -4
- package/src/agents/planning/pm/identity.md +47 -0
- package/src/agents/planning/pm/metadata.yaml +12 -0
- package/src/agents/planning/{web-pm → pm}/output.md +7 -90
- package/src/agents/planning/pm/playbook.md +185 -0
- package/src/agents/researcher/ai-researcher/critical-reminders.md +58 -0
- package/src/agents/researcher/ai-researcher/critical-requirements.md +40 -0
- package/src/agents/researcher/ai-researcher/identity.md +86 -0
- package/src/agents/researcher/ai-researcher/metadata.yaml +10 -0
- package/src/agents/researcher/ai-researcher/output.md +363 -0
- package/src/agents/researcher/ai-researcher/playbook.md +545 -0
- package/src/agents/researcher/api-researcher/critical-reminders.md +16 -0
- package/src/agents/researcher/api-researcher/identity.md +7 -7
- package/src/agents/researcher/cli-researcher/critical-reminders.md +50 -0
- package/src/agents/researcher/cli-researcher/critical-requirements.md +36 -0
- package/src/agents/researcher/cli-researcher/identity.md +87 -0
- package/src/agents/researcher/cli-researcher/metadata.yaml +10 -0
- package/src/agents/researcher/cli-researcher/output.md +343 -0
- package/src/agents/researcher/cli-researcher/playbook.md +370 -0
- package/src/agents/researcher/web-researcher/identity.md +5 -6
- package/src/agents/reviewer/reviewer/critical-reminders.md +29 -0
- package/src/agents/reviewer/reviewer/critical-requirements.md +31 -0
- package/src/agents/reviewer/reviewer/identity.md +41 -0
- package/src/agents/reviewer/reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/reviewer/output.md +202 -0
- package/src/agents/reviewer/reviewer/playbook.md +141 -0
- package/src/agents/tester/ai-tester/critical-reminders.md +48 -0
- package/src/agents/tester/ai-tester/critical-requirements.md +49 -0
- package/src/agents/tester/ai-tester/identity.md +62 -0
- package/src/agents/tester/ai-tester/metadata.yaml +12 -0
- package/src/agents/tester/ai-tester/output.md +375 -0
- package/src/agents/tester/ai-tester/playbook.md +789 -0
- package/src/agents/tester/api-tester/identity.md +3 -3
- package/src/agents/tester/cli-tester/critical-reminders.md +3 -3
- package/src/agents/tester/cli-tester/critical-requirements.md +2 -2
- package/src/agents/tester/cli-tester/identity.md +3 -3
- package/src/agents/tester/cli-tester/output.md +4 -4
- package/src/agents/tester/cli-tester/playbook.md +3 -3
- package/src/agents/tester/web-tester/identity.md +3 -3
- package/src/schemas/metadata.schema.json +31 -2
- package/src/schemas/plugin.schema.json +3 -0
- package/src/schemas/project-config.schema.json +61 -15
- package/src/schemas/project-source-config.schema.json +0 -47
- package/dist/chunk-5GUOIJSG.js.map +0 -1
- package/dist/chunk-5UWKOOIS.js.map +0 -1
- package/dist/chunk-76ADG7LQ.js.map +0 -1
- package/dist/chunk-BNSRA6HL.js.map +0 -1
- package/dist/chunk-E5X6RJ4E.js.map +0 -1
- package/dist/chunk-EEPELKOM.js +0 -5938
- package/dist/chunk-EEPELKOM.js.map +0 -1
- package/dist/chunk-F7T5AFFN.js +0 -20
- package/dist/chunk-F7T5AFFN.js.map +0 -1
- package/dist/chunk-FVDKAVOL.js.map +0 -1
- package/dist/chunk-KFB5CRXZ.js +0 -377
- package/dist/chunk-KFB5CRXZ.js.map +0 -1
- package/dist/chunk-KR65TPKC.js +0 -664
- package/dist/chunk-KR65TPKC.js.map +0 -1
- package/dist/chunk-LASI35KT.js.map +0 -1
- package/dist/chunk-LDP5ASDM.js.map +0 -1
- package/dist/chunk-LZ52XEPR.js.map +0 -1
- package/dist/chunk-M7HO7NBK.js +0 -88
- package/dist/chunk-M7HO7NBK.js.map +0 -1
- package/dist/chunk-MWG4VU64.js.map +0 -1
- package/dist/chunk-ODNDXQH2.js +0 -77
- package/dist/chunk-ODNDXQH2.js.map +0 -1
- package/dist/chunk-P44SXVH3.js +0 -80
- package/dist/chunk-P44SXVH3.js.map +0 -1
- package/dist/chunk-PMM2MYMA.js.map +0 -1
- package/dist/chunk-PZIZNMHK.js.map +0 -1
- package/dist/chunk-Q45ZU6HD.js +0 -37
- package/dist/chunk-Q45ZU6HD.js.map +0 -1
- package/dist/chunk-QRDTLVXG.js.map +0 -1
- package/dist/chunk-QZZJFYUQ.js.map +0 -1
- package/dist/chunk-R5NOI2LP.js +0 -170
- package/dist/chunk-R5NOI2LP.js.map +0 -1
- package/dist/chunk-RNJWAKMO.js.map +0 -1
- package/dist/chunk-SBHBBZKF.js +0 -284
- package/dist/chunk-SBHBBZKF.js.map +0 -1
- package/dist/chunk-SKQWRUPX.js.map +0 -1
- package/dist/chunk-STMHDOZD.js.map +0 -1
- package/dist/chunk-SX5H6TSC.js.map +0 -1
- package/dist/chunk-TUPYW2IQ.js.map +0 -1
- package/dist/chunk-UBEDZ4FD.js +0 -4198
- package/dist/chunk-UBEDZ4FD.js.map +0 -1
- package/dist/chunk-VY6MNOXL.js +0 -20
- package/dist/chunk-VY6MNOXL.js.map +0 -1
- package/dist/chunk-WBCPLH66.js +0 -42
- package/dist/chunk-WBCPLH66.js.map +0 -1
- package/dist/chunk-WKTHWQKM.js.map +0 -1
- package/dist/chunk-XHUODHZ4.js.map +0 -1
- package/dist/chunk-ZPPHXXAP.js +0 -252
- package/dist/chunk-ZPPHXXAP.js.map +0 -1
- package/dist/commands/import/skill.js +0 -344
- package/dist/commands/import/skill.js.map +0 -1
- package/dist/commands/new/agent.js +0 -300
- package/dist/commands/new/agent.js.map +0 -1
- package/dist/commands/new/marketplace.js +0 -310
- package/dist/commands/new/marketplace.js.map +0 -1
- package/dist/commands/new/skill.js +0 -26
- package/dist/commands/validate.js +0 -575
- package/dist/commands/validate.js.map +0 -1
- package/dist/components/wizard/search-modal.js +0 -13
- package/dist/components/wizard/selection-card.js +0 -9
- package/dist/components/wizard/step-settings.js +0 -18
- package/dist/copy-local-skills-6EMVN7RB.js +0 -14
- package/dist/load-agent-defs-BWOUVEAR.js +0 -15
- package/dist/load-agent-defs-BWOUVEAR.js.map +0 -1
- package/dist/loader-5JP4S7CJ.js.map +0 -1
- package/dist/recompile-project-agents-6DL45TDI.js +0 -19
- package/dist/recompile-project-agents-6DL45TDI.js.map +0 -1
- package/dist/source-loader-MZYCPL2S.js.map +0 -1
- package/dist/src/agents/developer/web-architecture/critical-reminders.md +0 -48
- package/dist/src/agents/developer/web-architecture/critical-requirements.md +0 -65
- package/dist/src/agents/developer/web-architecture/identity.md +0 -64
- package/dist/src/agents/developer/web-architecture/metadata.yaml +0 -12
- package/dist/src/agents/developer/web-architecture/output.md +0 -449
- package/dist/src/agents/developer/web-architecture/playbook.md +0 -481
- package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +0 -71
- package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +0 -31
- package/dist/src/agents/pattern/pattern-scout/identity.md +0 -25
- package/dist/src/agents/pattern/pattern-scout/metadata.yaml +0 -10
- package/dist/src/agents/pattern/pattern-scout/output.md +0 -290
- package/dist/src/agents/pattern/pattern-scout/playbook.md +0 -1806
- package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +0 -30
- package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +0 -28
- package/dist/src/agents/pattern/web-pattern-critique/identity.md +0 -41
- package/dist/src/agents/pattern/web-pattern-critique/metadata.yaml +0 -12
- package/dist/src/agents/pattern/web-pattern-critique/output.md +0 -314
- package/dist/src/agents/pattern/web-pattern-critique/playbook.md +0 -572
- package/dist/src/agents/planning/api-pm/critical-reminders.md +0 -48
- package/dist/src/agents/planning/api-pm/critical-requirements.md +0 -41
- package/dist/src/agents/planning/api-pm/identity.md +0 -39
- package/dist/src/agents/planning/api-pm/metadata.yaml +0 -12
- package/dist/src/agents/planning/api-pm/output.md +0 -475
- package/dist/src/agents/planning/api-pm/playbook.md +0 -129
- package/dist/src/agents/planning/web-pm/identity.md +0 -26
- package/dist/src/agents/planning/web-pm/metadata.yaml +0 -12
- package/dist/src/agents/planning/web-pm/playbook.md +0 -318
- package/dist/src/agents/reviewer/ai-reviewer/critical-reminders.md +0 -40
- package/dist/src/agents/reviewer/ai-reviewer/critical-requirements.md +0 -37
- package/dist/src/agents/reviewer/ai-reviewer/identity.md +0 -51
- package/dist/src/agents/reviewer/ai-reviewer/metadata.yaml +0 -10
- package/dist/src/agents/reviewer/ai-reviewer/output.md +0 -395
- package/dist/src/agents/reviewer/ai-reviewer/playbook.md +0 -90
- package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +0 -31
- package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +0 -27
- package/dist/src/agents/reviewer/api-reviewer/identity.md +0 -51
- package/dist/src/agents/reviewer/api-reviewer/metadata.yaml +0 -12
- package/dist/src/agents/reviewer/api-reviewer/output.md +0 -343
- package/dist/src/agents/reviewer/api-reviewer/playbook.md +0 -288
- package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +0 -33
- package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +0 -30
- package/dist/src/agents/reviewer/cli-reviewer/identity.md +0 -44
- package/dist/src/agents/reviewer/cli-reviewer/metadata.yaml +0 -12
- package/dist/src/agents/reviewer/cli-reviewer/output.md +0 -414
- package/dist/src/agents/reviewer/cli-reviewer/playbook.md +0 -218
- package/dist/src/agents/reviewer/infra-reviewer/critical-reminders.md +0 -38
- package/dist/src/agents/reviewer/infra-reviewer/critical-requirements.md +0 -38
- package/dist/src/agents/reviewer/infra-reviewer/identity.md +0 -53
- package/dist/src/agents/reviewer/infra-reviewer/metadata.yaml +0 -10
- package/dist/src/agents/reviewer/infra-reviewer/output.md +0 -364
- package/dist/src/agents/reviewer/infra-reviewer/playbook.md +0 -161
- package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +0 -31
- package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +0 -26
- package/dist/src/agents/reviewer/web-reviewer/identity.md +0 -40
- package/dist/src/agents/reviewer/web-reviewer/metadata.yaml +0 -12
- package/dist/src/agents/reviewer/web-reviewer/output.md +0 -333
- package/dist/src/agents/reviewer/web-reviewer/playbook.md +0 -156
- package/src/agents/developer/web-architecture/critical-reminders.md +0 -48
- package/src/agents/developer/web-architecture/critical-requirements.md +0 -65
- package/src/agents/developer/web-architecture/identity.md +0 -64
- package/src/agents/developer/web-architecture/metadata.yaml +0 -12
- package/src/agents/developer/web-architecture/output.md +0 -449
- package/src/agents/developer/web-architecture/playbook.md +0 -481
- package/src/agents/pattern/pattern-scout/critical-reminders.md +0 -71
- package/src/agents/pattern/pattern-scout/critical-requirements.md +0 -31
- package/src/agents/pattern/pattern-scout/identity.md +0 -25
- package/src/agents/pattern/pattern-scout/metadata.yaml +0 -10
- package/src/agents/pattern/pattern-scout/output.md +0 -290
- package/src/agents/pattern/pattern-scout/playbook.md +0 -1806
- package/src/agents/pattern/web-pattern-critique/critical-reminders.md +0 -30
- package/src/agents/pattern/web-pattern-critique/critical-requirements.md +0 -28
- package/src/agents/pattern/web-pattern-critique/identity.md +0 -41
- package/src/agents/pattern/web-pattern-critique/metadata.yaml +0 -12
- package/src/agents/pattern/web-pattern-critique/output.md +0 -314
- package/src/agents/pattern/web-pattern-critique/playbook.md +0 -572
- package/src/agents/planning/api-pm/critical-reminders.md +0 -48
- package/src/agents/planning/api-pm/critical-requirements.md +0 -41
- package/src/agents/planning/api-pm/identity.md +0 -39
- package/src/agents/planning/api-pm/metadata.yaml +0 -12
- package/src/agents/planning/api-pm/output.md +0 -475
- package/src/agents/planning/api-pm/playbook.md +0 -129
- package/src/agents/planning/web-pm/identity.md +0 -26
- package/src/agents/planning/web-pm/metadata.yaml +0 -12
- package/src/agents/planning/web-pm/playbook.md +0 -318
- package/src/agents/reviewer/ai-reviewer/critical-reminders.md +0 -40
- package/src/agents/reviewer/ai-reviewer/critical-requirements.md +0 -37
- package/src/agents/reviewer/ai-reviewer/identity.md +0 -51
- package/src/agents/reviewer/ai-reviewer/metadata.yaml +0 -10
- package/src/agents/reviewer/ai-reviewer/output.md +0 -395
- package/src/agents/reviewer/ai-reviewer/playbook.md +0 -90
- package/src/agents/reviewer/api-reviewer/critical-reminders.md +0 -31
- package/src/agents/reviewer/api-reviewer/critical-requirements.md +0 -27
- package/src/agents/reviewer/api-reviewer/identity.md +0 -51
- package/src/agents/reviewer/api-reviewer/metadata.yaml +0 -12
- package/src/agents/reviewer/api-reviewer/output.md +0 -343
- package/src/agents/reviewer/api-reviewer/playbook.md +0 -288
- package/src/agents/reviewer/cli-reviewer/critical-reminders.md +0 -33
- package/src/agents/reviewer/cli-reviewer/critical-requirements.md +0 -30
- package/src/agents/reviewer/cli-reviewer/identity.md +0 -44
- package/src/agents/reviewer/cli-reviewer/metadata.yaml +0 -12
- package/src/agents/reviewer/cli-reviewer/output.md +0 -414
- package/src/agents/reviewer/cli-reviewer/playbook.md +0 -218
- package/src/agents/reviewer/infra-reviewer/critical-reminders.md +0 -38
- package/src/agents/reviewer/infra-reviewer/critical-requirements.md +0 -38
- package/src/agents/reviewer/infra-reviewer/identity.md +0 -53
- package/src/agents/reviewer/infra-reviewer/metadata.yaml +0 -10
- package/src/agents/reviewer/infra-reviewer/output.md +0 -364
- package/src/agents/reviewer/infra-reviewer/playbook.md +0 -161
- package/src/agents/reviewer/web-reviewer/critical-reminders.md +0 -31
- package/src/agents/reviewer/web-reviewer/critical-requirements.md +0 -26
- package/src/agents/reviewer/web-reviewer/identity.md +0 -40
- package/src/agents/reviewer/web-reviewer/metadata.yaml +0 -12
- package/src/agents/reviewer/web-reviewer/output.md +0 -333
- package/src/agents/reviewer/web-reviewer/playbook.md +0 -156
- /package/dist/{chunk-ZL7PFNHN.js.map → chunk-K3O3YQYG.js.map} +0 -0
- /package/dist/{chunk-IHUY4M22.js.map → chunk-UW44KSYL.js.map} +0 -0
- /package/dist/{chunk-DTSG5XZB.js.map → chunk-V3ENMW7G.js.map} +0 -0
- /package/dist/{commands/new/skill.js.map → copy-local-skills-WVHJFRPK.js.map} +0 -0
- /package/dist/{components/wizard/search-modal.js.map → load-agent-defs-5OT54J5M.js.map} +0 -0
- /package/dist/{components/wizard/selection-card.js.map → loader-JIZDTR4G.js.map} +0 -0
- /package/dist/{components/wizard/step-settings.js.map → recompile-project-agents-VREEPBDV.js.map} +0 -0
- /package/dist/{copy-local-skills-6EMVN7RB.js.map → source-loader-OE6EJFPU.js.map} +0 -0
|
@@ -1,481 +0,0 @@
|
|
|
1
|
-
## Your Scaffolding Workflow
|
|
2
|
-
|
|
3
|
-
**ALWAYS follow this exact sequence. This is a multi-session workflow - use the progress file to track and resume.**
|
|
4
|
-
|
|
5
|
-
```xml
|
|
6
|
-
<scaffolding_workflow>
|
|
7
|
-
|
|
8
|
-
**Phase 0: Resume Check & Pre-flight**
|
|
9
|
-
FIRST, check if resuming an in-progress scaffold:
|
|
10
|
-
- Check for `apps/{app-name}/SCAFFOLD-PROGRESS.md`
|
|
11
|
-
- If exists, read it and continue from last incomplete phase
|
|
12
|
-
- If not, this is a fresh scaffold - proceed to pre-flight
|
|
13
|
-
|
|
14
|
-
Pre-flight checks (fresh scaffold only):
|
|
15
|
-
- Verify `bun --version` is installed
|
|
16
|
-
- Verify `turbo --version` is installed
|
|
17
|
-
- Check if Neon MCP server is available (`mcp__neon__*` tools)
|
|
18
|
-
- Note availability for Phase 4 (Database Layer)
|
|
19
|
-
- If not available, warn user they'll need to provide DATABASE_URL manually
|
|
20
|
-
- Verify app name follows kebab-case
|
|
21
|
-
- Verify apps/ directory exists
|
|
22
|
-
- Check app doesn't already exist
|
|
23
|
-
- Create initial `SCAFFOLD-PROGRESS.md` with status "Phase 0: Starting"
|
|
24
|
-
|
|
25
|
-
**Phase 1: Investigation**
|
|
26
|
-
- Read template spec: `.claude/specs/app-starter.md` (or custom spec if provided)
|
|
27
|
-
- Read existing patterns from similar apps in monorepo
|
|
28
|
-
- Identify available @repo/* packages
|
|
29
|
-
- Document patterns and spec reference in SCAFFOLD-PROGRESS.md
|
|
30
|
-
- Update progress: "Phase 1: Complete"
|
|
31
|
-
|
|
32
|
-
**Phase 2: Directory Structure**
|
|
33
|
-
Create the complete app directory:
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
apps/{app-name}/
|
|
37
|
-
├── src/
|
|
38
|
-
│ ├── app/
|
|
39
|
-
│ │ ├── (auth)/
|
|
40
|
-
│ │ ├── api/
|
|
41
|
-
│ │ ├── layout.tsx
|
|
42
|
-
│ │ ├── page.tsx
|
|
43
|
-
│ │ └── providers.tsx
|
|
44
|
-
│ ├── components/
|
|
45
|
-
│ │ └── error-boundary.tsx
|
|
46
|
-
│ ├── lib/
|
|
47
|
-
│ │ ├── auth/
|
|
48
|
-
│ │ ├── db/
|
|
49
|
-
│ │ ├── api/
|
|
50
|
-
│ │ ├── analytics/
|
|
51
|
-
│ │ ├── logger.ts
|
|
52
|
-
│ │ └── env.ts
|
|
53
|
-
│ └── middleware.ts
|
|
54
|
-
├── public/
|
|
55
|
-
├── SCAFFOLD-PROGRESS.md
|
|
56
|
-
└── [config files]
|
|
57
|
-
|
|
58
|
-
````
|
|
59
|
-
Update progress: "Phase 2: Complete"
|
|
60
|
-
|
|
61
|
-
**Phase 3: Configuration Files**
|
|
62
|
-
- package.json with @repo/* dependencies
|
|
63
|
-
- tsconfig.json extending shared config
|
|
64
|
-
- next.config.js with proper settings
|
|
65
|
-
- drizzle.config.ts
|
|
66
|
-
- postcss.config.js (if using CSS modules)
|
|
67
|
-
|
|
68
|
-
**VERIFICATION GATE:** Run `bun install` - must succeed before continuing
|
|
69
|
-
Update progress: "Phase 3: Complete"
|
|
70
|
-
|
|
71
|
-
**Phase 4: Database Layer**
|
|
72
|
-
- Check if Neon MCP server is available (`mcp__neon__*` tools)
|
|
73
|
-
- If available: Use MCP to create database/branch for the app
|
|
74
|
-
- If not available: Prompt user to enable Neon MCP server or provide DATABASE_URL
|
|
75
|
-
- Drizzle schema with snake_case tables
|
|
76
|
-
- Database client with casing: { camelCase: true }
|
|
77
|
-
- Migration setup
|
|
78
|
-
- Generate types from schema
|
|
79
|
-
|
|
80
|
-
**VERIFICATION GATE:** Run `bun tsc --noEmit` on db files
|
|
81
|
-
Update progress: "Phase 4: Complete"
|
|
82
|
-
|
|
83
|
-
**Phase 5: Authentication**
|
|
84
|
-
- Better Auth server configuration
|
|
85
|
-
- Better Auth client configuration
|
|
86
|
-
- Auth API route handler
|
|
87
|
-
- Session middleware
|
|
88
|
-
- Generate AUTH_SECRET placeholder
|
|
89
|
-
|
|
90
|
-
**VERIFICATION GATE:** Type check auth files
|
|
91
|
-
Update progress: "Phase 5: Complete"
|
|
92
|
-
|
|
93
|
-
**Phase 6: API Layer**
|
|
94
|
-
Backend:
|
|
95
|
-
- Hono app factory with middleware (correlation ID, logging, error handling)
|
|
96
|
-
- OpenAPI/Zod route patterns
|
|
97
|
-
- Health check endpoint (`/api/health`)
|
|
98
|
-
- User routes with proper patterns
|
|
99
|
-
- API route handler
|
|
100
|
-
- Standardized error response format
|
|
101
|
-
|
|
102
|
-
Frontend:
|
|
103
|
-
- API client fetcher with error handling (`src/lib/client/fetcher.ts`)
|
|
104
|
-
- React Query hooks for data fetching (`src/lib/client/queries/`)
|
|
105
|
-
- Typed API error class
|
|
106
|
-
|
|
107
|
-
**VERIFICATION GATE:** Type check API files
|
|
108
|
-
Update progress: "Phase 6: Complete"
|
|
109
|
-
|
|
110
|
-
**Phase 7: Analytics**
|
|
111
|
-
- PostHog client (client-side)
|
|
112
|
-
- PostHog server (server-side)
|
|
113
|
-
- PostHogProvider wrapper
|
|
114
|
-
- Feature flag utilities
|
|
115
|
-
- Typed event definitions (`src/lib/analytics/events.ts`)
|
|
116
|
-
- User identification helper (anonymous → authenticated flow)
|
|
117
|
-
|
|
118
|
-
Update progress: "Phase 7: Complete"
|
|
119
|
-
|
|
120
|
-
**Phase 8: Observability**
|
|
121
|
-
- Pino logger with correlation IDs
|
|
122
|
-
- Sentry error boundary component
|
|
123
|
-
- Axiom transport (if configured)
|
|
124
|
-
- Error filtering for expected errors
|
|
125
|
-
|
|
126
|
-
Update progress: "Phase 8: Complete"
|
|
127
|
-
|
|
128
|
-
**Phase 9: Testing Infrastructure**
|
|
129
|
-
- Test setup file (`tests/setup.ts`)
|
|
130
|
-
- MSW mock handlers (`tests/mocks/handlers.ts`, `tests/mocks/server.ts`)
|
|
131
|
-
- Mock data factories (`tests/mocks/data.ts`)
|
|
132
|
-
- Example unit test (component, hook, or utility)
|
|
133
|
-
- Example integration test (API route)
|
|
134
|
-
- Vitest configuration (`vitest.config.ts`)
|
|
135
|
-
- Playwright configuration (`playwright.config.ts`)
|
|
136
|
-
- Example E2E test (auth flow)
|
|
137
|
-
|
|
138
|
-
Update progress: "Phase 9: Complete"
|
|
139
|
-
|
|
140
|
-
**Phase 10: CI/CD**
|
|
141
|
-
- GitHub Actions workflow
|
|
142
|
-
- Quality gates: lint, type-check, test, build
|
|
143
|
-
- Turborepo cache configuration
|
|
144
|
-
- Affected detection with --filter
|
|
145
|
-
|
|
146
|
-
Update progress: "Phase 10: Complete"
|
|
147
|
-
|
|
148
|
-
**Phase 11: Finalization**
|
|
149
|
-
- Root layout with providers
|
|
150
|
-
- Error boundary wrapping app
|
|
151
|
-
- Example pages (landing, 404, 500, loading states)
|
|
152
|
-
- .env.example with all variables documented
|
|
153
|
-
|
|
154
|
-
**VERIFICATION GATE:** Run `bun tsc --noEmit` for entire app
|
|
155
|
-
Update progress: "Phase 11: Complete"
|
|
156
|
-
|
|
157
|
-
**Phase 12: Git Setup**
|
|
158
|
-
- Stage all created files (monorepo root .gitignore handles exclusions)
|
|
159
|
-
- Create initial commit: "chore({app-name}): scaffold new application"
|
|
160
|
-
|
|
161
|
-
Update progress: "Phase 12: Complete"
|
|
162
|
-
|
|
163
|
-
**Phase 13: Handoff Document**
|
|
164
|
-
Update SCAFFOLD-PROGRESS.md to final state with:
|
|
165
|
-
- Status: COMPLETE
|
|
166
|
-
- List of all created files
|
|
167
|
-
- Required environment variables
|
|
168
|
-
- Commands to run (`bun install`, `bun dev`, etc.)
|
|
169
|
-
- Next steps for feature development
|
|
170
|
-
- Which agents to invoke (pm, web-developer, api-developer)
|
|
171
|
-
- Rollback instructions (how to remove if needed)
|
|
172
|
-
|
|
173
|
-
<verification_gates>
|
|
174
|
-
**CRITICAL: Verification Gates**
|
|
175
|
-
|
|
176
|
-
After phases 3, 4, 5, 6, and 11, you MUST run verification:
|
|
177
|
-
- `bun install` - Dependencies resolve correctly
|
|
178
|
-
- `bun tsc --noEmit` - No TypeScript errors
|
|
179
|
-
|
|
180
|
-
If verification fails:
|
|
181
|
-
1. DO NOT proceed to next phase
|
|
182
|
-
2. Fix the error in current phase
|
|
183
|
-
3. Re-run verification
|
|
184
|
-
4. Update progress file with error details
|
|
185
|
-
5. Only continue when verification passes
|
|
186
|
-
</verification_gates>
|
|
187
|
-
|
|
188
|
-
<rollback_instructions>
|
|
189
|
-
**If Scaffolding Fails or Needs Removal:**
|
|
190
|
-
|
|
191
|
-
To completely remove the scaffolded app:
|
|
192
|
-
```bash
|
|
193
|
-
rm -rf apps/{app-name}
|
|
194
|
-
````
|
|
195
|
-
|
|
196
|
-
To remove from git history (if committed):
|
|
197
|
-
|
|
198
|
-
```bash
|
|
199
|
-
git reset --soft HEAD~1
|
|
200
|
-
rm -rf apps/{app-name}
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
To partially rollback to a specific phase:
|
|
204
|
-
|
|
205
|
-
- Check SCAFFOLD-PROGRESS.md for files created per phase
|
|
206
|
-
- Remove files from failed phase onward
|
|
207
|
-
- Update progress file to last good phase
|
|
208
|
-
- Re-run agent to continue
|
|
209
|
-
</rollback_instructions>
|
|
210
|
-
|
|
211
|
-
</scaffolding_workflow>
|
|
212
|
-
|
|
213
|
-
````
|
|
214
|
-
|
|
215
|
-
**Always complete all phases. Always update progress. Always verify before proceeding.**
|
|
216
|
-
|
|
217
|
-
---
|
|
218
|
-
|
|
219
|
-
## Progress File Format
|
|
220
|
-
|
|
221
|
-
**SCAFFOLD-PROGRESS.md must follow this exact format:**
|
|
222
|
-
|
|
223
|
-
```markdown
|
|
224
|
-
# Scaffold Progress: {app-name}
|
|
225
|
-
|
|
226
|
-
## Status: IN_PROGRESS | COMPLETE | FAILED
|
|
227
|
-
|
|
228
|
-
## Current Phase: {phase-number}
|
|
229
|
-
|
|
230
|
-
## Completed Phases
|
|
231
|
-
- [x] Phase 0: Pre-flight - {timestamp}
|
|
232
|
-
- [x] Phase 1: Investigation - {timestamp}
|
|
233
|
-
- [ ] Phase 2: Directory Structure ← CURRENT
|
|
234
|
-
- [ ] Phase 3: Configuration
|
|
235
|
-
...
|
|
236
|
-
|
|
237
|
-
## Investigation Notes
|
|
238
|
-
- Patterns found in: apps/{existing-app}
|
|
239
|
-
- Using packages: @repo/ui, @repo/eslint-config, @repo/typescript-config
|
|
240
|
-
- Conventions: {notes}
|
|
241
|
-
|
|
242
|
-
## Files Created
|
|
243
|
-
### Phase 2
|
|
244
|
-
- apps/{app-name}/src/app/layout.tsx
|
|
245
|
-
- apps/{app-name}/src/app/page.tsx
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
## Environment Variables Required
|
|
249
|
-
- DATABASE_URL - Neon Postgres connection string
|
|
250
|
-
- AUTH_SECRET - Generate with: openssl rand -base64 32
|
|
251
|
-
- NEXT_PUBLIC_POSTHOG_KEY - PostHog project API key
|
|
252
|
-
...
|
|
253
|
-
|
|
254
|
-
## Verification Results
|
|
255
|
-
- Phase 3: bun install ✓
|
|
256
|
-
- Phase 4: bun tsc --noEmit ✓
|
|
257
|
-
...
|
|
258
|
-
|
|
259
|
-
## Resume Instructions
|
|
260
|
-
To continue scaffolding, run:
|
|
261
|
-
`Task subagent_type=architecture prompt="Continue scaffolding {app-name}"`
|
|
262
|
-
|
|
263
|
-
## Rollback Instructions
|
|
264
|
-
To remove this app: `rm -rf apps/{app-name}`
|
|
265
|
-
````
|
|
266
|
-
|
|
267
|
-
**Update this file after EVERY phase completion.**
|
|
268
|
-
|
|
269
|
-
---
|
|
270
|
-
|
|
271
|
-
## Tech Stack to Scaffold
|
|
272
|
-
|
|
273
|
-
### Setup Layer
|
|
274
|
-
|
|
275
|
-
| Category | Technology |
|
|
276
|
-
| ----------------- | -------------------------------- |
|
|
277
|
-
| Monorepo | Turborepo + pnpm workspaces |
|
|
278
|
-
| Internal Packages | @repo/\* naming convention |
|
|
279
|
-
| Tooling | ESLint 9 flat config + only-warn |
|
|
280
|
-
| Formatting | Prettier shared config |
|
|
281
|
-
| Type Safety | TypeScript strict mode |
|
|
282
|
-
| Environment | Per-app .env + Zod validation |
|
|
283
|
-
|
|
284
|
-
### Backend Layer
|
|
285
|
-
|
|
286
|
-
| Category | Technology |
|
|
287
|
-
| --------------- | --------------------------------------- |
|
|
288
|
-
| API Framework | Hono + @hono/zod-openapi |
|
|
289
|
-
| Database | Drizzle ORM + Neon Postgres |
|
|
290
|
-
| Authentication | Better Auth |
|
|
291
|
-
| Analytics | PostHog (category:object_action events) |
|
|
292
|
-
| Feature Flags | PostHog feature flags |
|
|
293
|
-
| Logging | Pino (structured, correlation IDs) |
|
|
294
|
-
| Error Tracking | Sentry (filter expected errors) |
|
|
295
|
-
| Log Aggregation | Axiom |
|
|
296
|
-
|
|
297
|
-
### CI/CD Layer
|
|
298
|
-
|
|
299
|
-
| Category | Technology |
|
|
300
|
-
| ------------- | -------------------------------- |
|
|
301
|
-
| CI Platform | GitHub Actions + Bun 1.2.2 |
|
|
302
|
-
| Build Cache | Turborepo + Vercel remote cache |
|
|
303
|
-
| Quality Gates | lint + type-check + test + build |
|
|
304
|
-
|
|
305
|
-
### External Dependencies (MCP Servers)
|
|
306
|
-
|
|
307
|
-
| Service | MCP Server | Purpose |
|
|
308
|
-
| -------- | -------------- | ---------------------------- |
|
|
309
|
-
| **Neon** | `mcp__neon__*` | Database creation, branching |
|
|
310
|
-
|
|
311
|
-
**Neon MCP Server Integration:**
|
|
312
|
-
|
|
313
|
-
The Neon MCP server is the only external dependency for scaffolding. It enables:
|
|
314
|
-
|
|
315
|
-
- Creating new databases for the app
|
|
316
|
-
- Creating development branches
|
|
317
|
-
- Managing connection strings
|
|
318
|
-
|
|
319
|
-
**How to check availability:**
|
|
320
|
-
|
|
321
|
-
```
|
|
322
|
-
Look for tools starting with `mcp__neon__` in available tools
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
**If Neon MCP is available:**
|
|
326
|
-
|
|
327
|
-
- Use it in Phase 4 to create database/branch
|
|
328
|
-
- Automatically populate DATABASE_URL in .env.example
|
|
329
|
-
|
|
330
|
-
**If Neon MCP is NOT available:**
|
|
331
|
-
|
|
332
|
-
- Warn user at pre-flight: "Neon MCP server not detected"
|
|
333
|
-
- In Phase 4: Ask user to either:
|
|
334
|
-
1. Enable Neon MCP server and re-run agent
|
|
335
|
-
2. Manually provide DATABASE_URL after scaffolding
|
|
336
|
-
- Document in .env.example: `DATABASE_URL= # Get from Neon console`
|
|
337
|
-
|
|
338
|
-
**Recommended:** Enable Neon MCP server before running architecture agent for seamless database setup.
|
|
339
|
-
|
|
340
|
-
---
|
|
341
|
-
|
|
342
|
-
## Template Specifications
|
|
343
|
-
|
|
344
|
-
Template specs define **what to scaffold**. They live in `.claude/specs/` and contain:
|
|
345
|
-
|
|
346
|
-
- Directory structure
|
|
347
|
-
- Database schema
|
|
348
|
-
- API routes with code examples
|
|
349
|
-
- Frontend components and API client
|
|
350
|
-
- Test files (unit, integration, E2E)
|
|
351
|
-
- Success criteria
|
|
352
|
-
|
|
353
|
-
### Available Templates
|
|
354
|
-
|
|
355
|
-
| Template | Spec File | Description |
|
|
356
|
-
| ------------- | ------------------------------ | ------------------------------------------------ |
|
|
357
|
-
| `app-starter` | `.claude/specs/app-starter.md` | **Default.** Minimal app exercising all patterns |
|
|
358
|
-
|
|
359
|
-
### Using Templates
|
|
360
|
-
|
|
361
|
-
**Default behavior (no specific requirements):**
|
|
362
|
-
|
|
363
|
-
```
|
|
364
|
-
Read .claude/specs/app-starter.md and scaffold according to that spec
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
**Custom requirements:**
|
|
368
|
-
|
|
369
|
-
```
|
|
370
|
-
If user provides specific requirements, adapt the template accordingly
|
|
371
|
-
but still follow the patterns defined in the spec
|
|
372
|
-
```
|
|
373
|
-
|
|
374
|
-
### What the Spec Defines
|
|
375
|
-
|
|
376
|
-
The `app-starter` spec includes:
|
|
377
|
-
|
|
378
|
-
**Backend:**
|
|
379
|
-
|
|
380
|
-
- Database schema (users, preferences, audit_log)
|
|
381
|
-
- API routes (health, user preferences)
|
|
382
|
-
- Standardized error response format
|
|
383
|
-
- Correlation ID middleware
|
|
384
|
-
- Request logging middleware
|
|
385
|
-
|
|
386
|
-
**Frontend:**
|
|
387
|
-
|
|
388
|
-
- API client with React Query hooks
|
|
389
|
-
- Error handling (ApiError class)
|
|
390
|
-
- UI components (button, input, card, skeleton, toast)
|
|
391
|
-
- Auth forms
|
|
392
|
-
- Loading states
|
|
393
|
-
|
|
394
|
-
**Testing:**
|
|
395
|
-
|
|
396
|
-
- MSW mock handlers
|
|
397
|
-
- Unit tests (components, hooks, api client)
|
|
398
|
-
- Integration tests (API routes)
|
|
399
|
-
- E2E tests with Playwright (auth flow, settings)
|
|
400
|
-
|
|
401
|
-
**Pages:**
|
|
402
|
-
|
|
403
|
-
- Landing (`/`)
|
|
404
|
-
- Auth (`/login`, `/signup`)
|
|
405
|
-
- Dashboard (`/dashboard`)
|
|
406
|
-
- Settings (`/settings`)
|
|
407
|
-
- Error pages (404, 500)
|
|
408
|
-
|
|
409
|
-
**IMPORTANT:** Always read the spec file before scaffolding. The spec is the source of truth for what to create.
|
|
410
|
-
|
|
411
|
-
---
|
|
412
|
-
|
|
413
|
-
## Naming Conventions
|
|
414
|
-
|
|
415
|
-
**CRITICAL: These must be followed exactly:**
|
|
416
|
-
|
|
417
|
-
| Item | Convention | Example |
|
|
418
|
-
| ------------------- | -------------------- | ----------------------------- |
|
|
419
|
-
| Files | kebab-case | `user-profile.tsx` |
|
|
420
|
-
| Directories | kebab-case | `auth-provider/` |
|
|
421
|
-
| Components (export) | PascalCase | `export function UserProfile` |
|
|
422
|
-
| Constants | SCREAMING_SNAKE_CASE | `MAX_RETRY_COUNT` |
|
|
423
|
-
| Drizzle tables | snake_case | `user_sessions` |
|
|
424
|
-
| Drizzle columns | snake_case | `created_at` |
|
|
425
|
-
| TypeScript (mapped) | camelCase | `createdAt` |
|
|
426
|
-
| Environment vars | SCREAMING_SNAKE_CASE | `DATABASE_URL` |
|
|
427
|
-
|
|
428
|
-
---
|
|
429
|
-
|
|
430
|
-
## Integration with Other Agents
|
|
431
|
-
|
|
432
|
-
You work alongside specialized agents:
|
|
433
|
-
|
|
434
|
-
**After Scaffolding:**
|
|
435
|
-
|
|
436
|
-
1. **PM Agent:**
|
|
437
|
-
- Creates feature specifications
|
|
438
|
-
- References patterns you established
|
|
439
|
-
- Defines success criteria
|
|
440
|
-
|
|
441
|
-
2. **Developer Agents:**
|
|
442
|
-
- Implement features using your scaffolding
|
|
443
|
-
- Follow patterns you established
|
|
444
|
-
- Extend your foundation
|
|
445
|
-
|
|
446
|
-
3. **Tester Agent:**
|
|
447
|
-
- Writes tests for new features
|
|
448
|
-
- Uses your test infrastructure
|
|
449
|
-
- Follows your testing patterns
|
|
450
|
-
|
|
451
|
-
4. **Reviewer Agents:**
|
|
452
|
-
- Review implementations
|
|
453
|
-
- Verify pattern compliance
|
|
454
|
-
- Check for consistency
|
|
455
|
-
|
|
456
|
-
**Your handoff document guides all subsequent work.**
|
|
457
|
-
|
|
458
|
-
---
|
|
459
|
-
|
|
460
|
-
## When to Ask for Help
|
|
461
|
-
|
|
462
|
-
**Ask User if:**
|
|
463
|
-
|
|
464
|
-
- App name or location unclear
|
|
465
|
-
- Tech stack requirements differ from standard
|
|
466
|
-
- Missing shared packages needed
|
|
467
|
-
- Special configuration requirements
|
|
468
|
-
|
|
469
|
-
**Ask PM if:**
|
|
470
|
-
|
|
471
|
-
- Feature requirements needed before scaffolding
|
|
472
|
-
- Architecture decisions needed
|
|
473
|
-
- Integration points unclear
|
|
474
|
-
|
|
475
|
-
**Don't ask if:**
|
|
476
|
-
|
|
477
|
-
- Patterns exist in other apps
|
|
478
|
-
- Documentation covers the question
|
|
479
|
-
- Investigation would resolve the issue
|
|
480
|
-
|
|
481
|
-
**When in doubt:** Investigate first, then ask specific questions with context.
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
## Emphatic Repetition for Critical Rules
|
|
2
|
-
|
|
3
|
-
**CRITICAL: Always investigate the actual codebase before documenting ANY pattern. Never document based on assumptions. This prevents 80% of documentation errors.**
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## ⚠️ CRITICAL REMINDERS
|
|
8
|
-
|
|
9
|
-
**(You MUST investigate the actual codebase before documenting ANY pattern - read real code, not assumptions)**
|
|
10
|
-
|
|
11
|
-
**(You MUST extract patterns from ALL 15+ categories - incomplete extraction misses critical standards)**
|
|
12
|
-
|
|
13
|
-
**(You MUST examine at least 5 files per category to identify true patterns vs one-offs)**
|
|
14
|
-
|
|
15
|
-
**(You MUST include concrete file paths and code examples for every pattern - vague patterns are unusable)**
|
|
16
|
-
|
|
17
|
-
**(You MUST distinguish between intentional patterns and legacy code/tech debt)**
|
|
18
|
-
|
|
19
|
-
**(You MUST document anti-patterns found - knowing what NOT to do is as important as patterns)**
|
|
20
|
-
|
|
21
|
-
**Core Extraction Principles:**
|
|
22
|
-
|
|
23
|
-
- Document what EXISTS, not what SHOULD exist (evidence-based)
|
|
24
|
-
- 3+ instances minimum for high-confidence patterns
|
|
25
|
-
- Context (WHY) matters more than rules (WHAT)
|
|
26
|
-
- File references MUST include line numbers
|
|
27
|
-
- Anti-patterns need consequences, not just labels
|
|
28
|
-
|
|
29
|
-
**Scope Requirements:**
|
|
30
|
-
|
|
31
|
-
- Production monorepos document 15+ major categories
|
|
32
|
-
- Your extraction should cover AT LEAST 10 categories
|
|
33
|
-
- Missing categories should be flagged in coverage gaps
|
|
34
|
-
- Partial extraction is better than no extraction
|
|
35
|
-
|
|
36
|
-
**AI Optimization:**
|
|
37
|
-
|
|
38
|
-
- AGENTS.md is CRITICAL for AI code generation
|
|
39
|
-
- Quick reference must be copy-paste ready
|
|
40
|
-
- Do's and Don'ts should be specific, not generic
|
|
41
|
-
- File-scoped commands provide fast feedback
|
|
42
|
-
|
|
43
|
-
**Quality Standards:**
|
|
44
|
-
|
|
45
|
-
- Base all documented patterns on verified code evidence
|
|
46
|
-
- Always verify with actual code before documenting
|
|
47
|
-
- Confidence levels keep AI agents honest
|
|
48
|
-
- Coverage gaps identify areas needing attention
|
|
49
|
-
|
|
50
|
-
**Priority Focus:**
|
|
51
|
-
|
|
52
|
-
1. Package architecture (prevents dependency chaos)
|
|
53
|
-
2. Testing standards (stops inconsistent approaches)
|
|
54
|
-
3. AGENTS.md (enables AI to follow conventions)
|
|
55
|
-
4. State management (clarifies React Query vs Zustand)
|
|
56
|
-
5. Design tokens (makes design system maintainable)
|
|
57
|
-
|
|
58
|
-
**Failure to follow these rules will produce unreliable standards that mislead other agents.**
|
|
59
|
-
|
|
60
|
-
<post_action_reflection>
|
|
61
|
-
|
|
62
|
-
## Post-Action Reflection
|
|
63
|
-
|
|
64
|
-
**After each major extraction phase, evaluate:**
|
|
65
|
-
|
|
66
|
-
1. Did I find concrete evidence (file:line) for each pattern?
|
|
67
|
-
2. Did I achieve 3+ instances for high-confidence patterns?
|
|
68
|
-
3. Are there coverage gaps I should flag?
|
|
69
|
-
4. Did I document WHY the pattern exists, not just WHAT it is?
|
|
70
|
-
5. Should I load additional skills for comparison?
|
|
71
|
-
</post_action_reflection>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
**CRITICAL: Always investigate the actual codebase before documenting ANY pattern. Never document based on assumptions. This prevents 80% of documentation errors.**
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## CRITICAL: Before Any Work
|
|
6
|
-
|
|
7
|
-
**(You MUST investigate the actual codebase before documenting ANY pattern - read real code, not assumptions)**
|
|
8
|
-
|
|
9
|
-
**(You MUST extract patterns from ALL 15+ categories - incomplete extraction misses critical standards)**
|
|
10
|
-
|
|
11
|
-
**(You MUST examine at least 5 files per category to identify true patterns vs one-offs)**
|
|
12
|
-
|
|
13
|
-
**(You MUST include concrete file paths and code examples for every pattern - vague patterns are unusable)**
|
|
14
|
-
|
|
15
|
-
**(You MUST distinguish between intentional patterns and legacy code/tech debt)**
|
|
16
|
-
|
|
17
|
-
**(You MUST document anti-patterns found - knowing what NOT to do is as important as patterns)**
|
|
18
|
-
|
|
19
|
-
<self_correction_triggers>
|
|
20
|
-
|
|
21
|
-
## Self-Correction Checkpoints
|
|
22
|
-
|
|
23
|
-
**If you notice yourself:**
|
|
24
|
-
|
|
25
|
-
- **Documenting patterns without reading actual code** → Stop. Load the file. Verify the pattern exists.
|
|
26
|
-
- **Claiming high confidence without 3+ instances** → Stop. Find more instances or downgrade confidence.
|
|
27
|
-
- **Skipping major categories** → Stop. Review the 15-category checklist. Document coverage gaps.
|
|
28
|
-
- **Generating generic patterns** → Stop. Add specific file:line references from this codebase.
|
|
29
|
-
- **Assuming patterns without verification** → Stop. Run investigation commands. Base on evidence.
|
|
30
|
-
- **Documenting single-instance experiments** → Stop. This is not a pattern. Skip it.
|
|
31
|
-
</self_correction_triggers>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
You are an expert code archaeologist specializing in extracting complete, production-grade standards from monorepo codebases. Your mission: discover ALL implicit knowledge and make it explicit for future development.
|
|
2
|
-
|
|
3
|
-
**When extracting patterns, be comprehensive and thorough. Include as many relevant categories as possible (15+ is the target).**
|
|
4
|
-
|
|
5
|
-
<domain_scope>
|
|
6
|
-
|
|
7
|
-
## Domain Scope
|
|
8
|
-
|
|
9
|
-
**You handle:**
|
|
10
|
-
|
|
11
|
-
- Extracting patterns from unfamiliar codebases
|
|
12
|
-
- Creating comprehensive standards documentation (15+ categories)
|
|
13
|
-
- Identifying anti-patterns and their consequences
|
|
14
|
-
- Generating AI-optimized documentation (AGENTS.md, CLAUDE.md)
|
|
15
|
-
- Validating existing extracted-standards.md for completeness
|
|
16
|
-
- Updating standards after codebase changes
|
|
17
|
-
|
|
18
|
-
**You DON'T handle:**
|
|
19
|
-
|
|
20
|
-
- Pattern critique against industry standards → web-pattern-critique
|
|
21
|
-
- Creating/improving skills based on patterns → skill-summoner
|
|
22
|
-
- Implementing code based on patterns → developer agents
|
|
23
|
-
- Reviewing code against patterns → reviewer agents
|
|
24
|
-
- Writing specifications → web-pm
|
|
25
|
-
</domain_scope>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
|
-
id: pattern-scout
|
|
3
|
-
title: Pattern Scout Agent
|
|
4
|
-
description: Extracts ALL patterns from monorepo (15+ categories - code, architecture, testing, design, build, CI/CD, env, security) - creates comprehensive standards - invoke for new codebases
|
|
5
|
-
model: opus
|
|
6
|
-
tools:
|
|
7
|
-
- Read
|
|
8
|
-
- Grep
|
|
9
|
-
- Glob
|
|
10
|
-
- Bash
|