agents-inc 0.152.1 → 0.153.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 +33 -0
- package/README.md +31 -35
- package/dist/{chunk-LDP5ASDM.js → chunk-2HC2SNRP.js} +2 -15
- package/dist/chunk-2HC2SNRP.js.map +1 -0
- package/dist/{chunk-WKTHWQKM.js → chunk-35VOK7XE.js} +1338 -2573
- package/dist/chunk-35VOK7XE.js.map +1 -0
- package/dist/{chunk-SX5H6TSC.js → chunk-4VYALFQZ.js} +11 -8
- package/dist/chunk-4VYALFQZ.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-LZ52XEPR.js → chunk-ACKC577F.js} +7 -6
- package/dist/chunk-ACKC577F.js.map +1 -0
- package/dist/{chunk-XHUODHZ4.js → chunk-BMGBA6HJ.js} +22 -49
- package/dist/chunk-BMGBA6HJ.js.map +1 -0
- package/dist/{chunk-FVDKAVOL.js → chunk-EFU6P3B7.js} +18 -51
- package/dist/chunk-EFU6P3B7.js.map +1 -0
- package/dist/{chunk-STMHDOZD.js → chunk-F7Z5I6GU.js} +12 -9
- package/dist/chunk-F7Z5I6GU.js.map +1 -0
- package/dist/{chunk-E5X6RJ4E.js → chunk-FIHTAFST.js} +29 -26
- package/dist/chunk-FIHTAFST.js.map +1 -0
- package/dist/{chunk-QZZJFYUQ.js → chunk-FRWKCE6R.js} +3 -3
- package/dist/chunk-FRWKCE6R.js.map +1 -0
- package/dist/{chunk-5UWKOOIS.js → chunk-HEBPKK5L.js} +129 -195
- package/dist/chunk-HEBPKK5L.js.map +1 -0
- package/dist/{chunk-MJ2KHG24.js → chunk-IO4VEW5U.js} +6 -6
- package/dist/{chunk-MJ2KHG24.js.map → chunk-IO4VEW5U.js.map} +1 -1
- package/dist/{chunk-TUPYW2IQ.js → chunk-JC7DBPRD.js} +9 -12
- package/dist/chunk-JC7DBPRD.js.map +1 -0
- package/dist/{chunk-5GUOIJSG.js → chunk-JFAUQDZM.js} +3 -15
- package/dist/chunk-JFAUQDZM.js.map +1 -0
- package/dist/{chunk-ZL7PFNHN.js → chunk-K3O3YQYG.js} +2 -2
- package/dist/{chunk-SKQWRUPX.js → chunk-K7PJDWER.js} +59 -33
- package/dist/chunk-K7PJDWER.js.map +1 -0
- package/dist/{chunk-MVR3SYMN.js → chunk-KET3EVGX.js} +4 -3
- package/dist/{chunk-MVR3SYMN.js.map → chunk-KET3EVGX.js.map} +1 -1
- package/dist/{chunk-MWG4VU64.js → chunk-M5HSTNYU.js} +50 -56
- package/dist/chunk-M5HSTNYU.js.map +1 -0
- 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-IHUY4M22.js → chunk-NXGMM5YN.js} +4 -4
- package/dist/chunk-NXQAY5U7.js +18441 -0
- package/dist/chunk-NXQAY5U7.js.map +1 -0
- 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-PZIZNMHK.js → chunk-ORJ5Y222.js} +159 -138
- package/dist/chunk-ORJ5Y222.js.map +1 -0
- 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-MM7CTTAV.js → chunk-Q5FLW4JG.js} +2 -2
- package/dist/{chunk-MM7CTTAV.js.map → chunk-Q5FLW4JG.js.map} +1 -1
- package/dist/{chunk-GRVKW3CC.js → chunk-R4SEU3DF.js} +3 -2
- package/dist/{chunk-GRVKW3CC.js.map → chunk-R4SEU3DF.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-SBHBBZKF.js → chunk-REKOWTIB.js} +25 -120
- package/dist/chunk-REKOWTIB.js.map +1 -0
- package/dist/chunk-TY6CAOL7.js +40 -0
- package/dist/chunk-TY6CAOL7.js.map +1 -0
- package/dist/{chunk-BNSRA6HL.js → chunk-U2DNAHFE.js} +39 -176
- package/dist/chunk-U2DNAHFE.js.map +1 -0
- package/dist/{chunk-PMM2MYMA.js → chunk-U2YSGBHA.js} +624 -349
- package/dist/chunk-U2YSGBHA.js.map +1 -0
- package/dist/{chunk-DTSG5XZB.js → chunk-V3ENMW7G.js} +3 -3
- package/dist/{chunk-L7SZXUBJ.js → chunk-VECFAKM5.js} +7 -6
- package/dist/{chunk-L7SZXUBJ.js.map → chunk-VECFAKM5.js.map} +1 -1
- package/dist/chunk-VGEBYCQZ.js +59 -0
- package/dist/chunk-VGEBYCQZ.js.map +1 -0
- package/dist/chunk-VZRO7RYT.js +3694 -0
- package/dist/chunk-VZRO7RYT.js.map +1 -0
- package/dist/{chunk-LASI35KT.js → chunk-WDAO3RUY.js} +14 -28
- package/dist/chunk-WDAO3RUY.js.map +1 -0
- package/dist/{chunk-MQ7FLIYS.js → chunk-WG6V6VJV.js} +3 -2
- package/dist/{chunk-MQ7FLIYS.js.map → chunk-WG6V6VJV.js.map} +1 -1
- package/dist/chunk-X5XJ6WKO.js +284 -0
- package/dist/chunk-X5XJ6WKO.js.map +1 -0
- package/dist/{chunk-RNJWAKMO.js → chunk-XGMOXMS4.js} +9 -8
- package/dist/chunk-XGMOXMS4.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-QRDTLVXG.js → chunk-ZNDLUWWD.js} +9 -22
- package/dist/chunk-ZNDLUWWD.js.map +1 -0
- package/dist/commands/build/marketplace.js +114 -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 +97 -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 +169 -208
- 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 +20 -81
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/uninstall.js +25 -31
- 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-KF2RAVD3.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-DGXGBU3Q.js +15 -0
- package/dist/{loader-5JP4S7CJ.js → loader-4U7UCE2Y.js} +7 -5
- package/dist/recompile-project-agents-CJVBAWDJ.js +20 -0
- package/dist/{source-loader-MZYCPL2S.js → source-loader-ZNSYJJCI.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/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.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-NXGMM5YN.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-KF2RAVD3.js.map} +0 -0
- /package/dist/{components/wizard/search-modal.js.map → load-agent-defs-DGXGBU3Q.js.map} +0 -0
- /package/dist/{components/wizard/selection-card.js.map → loader-4U7UCE2Y.js.map} +0 -0
- /package/dist/{components/wizard/step-settings.js.map → recompile-project-agents-CJVBAWDJ.js.map} +0 -0
- /package/dist/{copy-local-skills-6EMVN7RB.js.map → source-loader-ZNSYJJCI.js.map} +0 -0
|
@@ -16,7 +16,7 @@ You are an API Testing specialist for backend applications. Your mission: write
|
|
|
16
16
|
**Defer to specialists for:**
|
|
17
17
|
|
|
18
18
|
- API implementation -> api-developer
|
|
19
|
-
- Code review ->
|
|
19
|
+
- Code review -> reviewer
|
|
20
20
|
- Frontend/component tests -> web-tester
|
|
21
21
|
- CLI tests -> cli-tester
|
|
22
22
|
|
|
@@ -38,10 +38,10 @@ You are an API Testing specialist for backend applications. Your mission: write
|
|
|
38
38
|
**You DON'T handle:**
|
|
39
39
|
|
|
40
40
|
- API implementation -> api-developer
|
|
41
|
-
- Code review ->
|
|
41
|
+
- Code review -> reviewer
|
|
42
42
|
- React/component tests -> web-tester
|
|
43
43
|
- CLI/terminal tests -> cli-tester
|
|
44
|
-
- Architecture planning ->
|
|
44
|
+
- Architecture planning -> pm
|
|
45
45
|
- Git commands that modify the staging area or working tree (per CLAUDE.md)
|
|
46
46
|
|
|
47
47
|
</domain_scope>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**(You MUST use ink-testing-library for Ink components - NOT @testing-library/react which is for web)**
|
|
6
6
|
|
|
7
|
-
**(You MUST
|
|
7
|
+
**(You MUST call stdin.write() without await - it is synchronous, and awaiting it violates the await-thenable lint rule; the await delay() that follows carries the timing)**
|
|
8
8
|
|
|
9
9
|
**(You MUST add cleanup with unmount() in afterEach - memory leaks cause tests to hang)**
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
**(You MUST run tests to verify they work before reporting completion)**
|
|
16
16
|
|
|
17
|
-
**Terminal is the DOM. Escape sequences are events.
|
|
17
|
+
**Terminal is the DOM. Escape sequences are events. Write without await, always delay, always clean up.**
|
|
18
18
|
|
|
19
19
|
**Failure to follow these rules will cause flaky tests, memory leaks, or complete test failures.**
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
1. Did I add `disableConsoleIntercept: true` to vitest.config.ts if needed?
|
|
28
28
|
2. Do all tests clean up with unmount() in afterEach?
|
|
29
|
-
3. Did I
|
|
29
|
+
3. Did I call stdin.write() without await, with the delay() after it carrying the timing?
|
|
30
30
|
4. Are delays sufficient for async terminal updates?
|
|
31
31
|
5. Do tests verify user-visible behavior, not implementation details?
|
|
32
32
|
6. Did I test both success and error paths?
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**(You MUST use ink-testing-library for Ink components - NOT @testing-library/react which is for web)**
|
|
6
6
|
|
|
7
|
-
**(You MUST
|
|
7
|
+
**(You MUST call stdin.write() without await - it is synchronous, and awaiting it violates the await-thenable lint rule; the await delay() that follows carries the timing)**
|
|
8
8
|
|
|
9
9
|
**(You MUST add cleanup with unmount() in afterEach - memory leaks cause tests to hang)**
|
|
10
10
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
**If you notice yourself:**
|
|
24
24
|
|
|
25
25
|
- **Using @testing-library/react for Ink** → STOP. Use ink-testing-library instead.
|
|
26
|
-
- **
|
|
26
|
+
- **Awaiting stdin.write** → STOP. stdin.write is synchronous - awaiting it trips await-thenable; the delay() after it carries the timing.
|
|
27
27
|
- **Missing unmount() in cleanup** → STOP. Add cleanup to prevent memory leaks.
|
|
28
28
|
- **Using `\n` for Enter key** → STOP. Use `\r` for Enter.
|
|
29
29
|
- **Using `\e` for Escape** → STOP. Use `\x1B` for Escape.
|
|
@@ -15,7 +15,7 @@ You are a CLI Testing specialist for terminal applications. Your mission: write
|
|
|
15
15
|
**Defer to specialists for:**
|
|
16
16
|
|
|
17
17
|
- CLI implementation -> cli-developer
|
|
18
|
-
- Code review ->
|
|
18
|
+
- Code review -> reviewer
|
|
19
19
|
- Web components -> web-tester (different testing library)
|
|
20
20
|
|
|
21
21
|
<domain_scope>
|
|
@@ -35,9 +35,9 @@ You are a CLI Testing specialist for terminal applications. Your mission: write
|
|
|
35
35
|
**You DON'T handle:**
|
|
36
36
|
|
|
37
37
|
- CLI implementation -> cli-developer
|
|
38
|
-
- Code review ->
|
|
38
|
+
- Code review -> reviewer
|
|
39
39
|
- Web React components -> web-tester
|
|
40
40
|
- API endpoints -> web-tester
|
|
41
|
-
- Architecture decisions ->
|
|
41
|
+
- Architecture decisions -> pm
|
|
42
42
|
|
|
43
43
|
</domain_scope>
|
|
@@ -72,7 +72,7 @@ describe('[Feature Name]', () => {
|
|
|
72
72
|
const { stdin, lastFrame, unmount } = render(<Component />);
|
|
73
73
|
cleanup = unmount;
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
stdin.write(ARROW_DOWN);
|
|
76
76
|
await delay(INPUT_DELAY_MS);
|
|
77
77
|
|
|
78
78
|
expect(lastFrame()).toContain('Selected item');
|
|
@@ -85,7 +85,7 @@ describe('[Feature Name]', () => {
|
|
|
85
85
|
const { stdin, unmount } = render(<Component onSelect={onSelect} />);
|
|
86
86
|
cleanup = unmount;
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
stdin.write(ENTER);
|
|
89
89
|
await delay(INPUT_DELAY_MS);
|
|
90
90
|
|
|
91
91
|
expect(onSelect).toHaveBeenCalled();
|
|
@@ -183,7 +183,7 @@ bun test src/cli/lib/__tests__/integration.test.ts
|
|
|
183
183
|
| Pattern | Usage |
|
|
184
184
|
| -------------------- | ------------------------------------------- |
|
|
185
185
|
| Cleanup in afterEach | `cleanup?.(); cleanup = undefined;` |
|
|
186
|
-
|
|
|
186
|
+
| Stdin then delay | `stdin.write(KEY); await delay(MS);` |
|
|
187
187
|
| Terminal assertions | `expect(lastFrame()).toContain('text')` |
|
|
188
188
|
| Temp directory | `mkdtemp` + `rm` in before/afterEach |
|
|
189
189
|
| Mock functions | `vi.fn()` for callbacks |
|
|
@@ -202,7 +202,7 @@ bun test src/cli/lib/__tests__/integration.test.ts
|
|
|
202
202
|
| Requirement | Description |
|
|
203
203
|
| ----------------------------- | ----------------------------------------- |
|
|
204
204
|
| **Cleanup in afterEach** | All tests must unmount components |
|
|
205
|
-
| **
|
|
205
|
+
| **Stdin write handling** | stdin.write is never awaited - delay() is |
|
|
206
206
|
| **Proper escape sequences** | Use constants, not string literals |
|
|
207
207
|
| **Delays after input** | Terminal updates are async |
|
|
208
208
|
| **Temp directory isolation** | Command tests use unique temp directories |
|
|
@@ -104,7 +104,7 @@ describe('MyComponent', () => {
|
|
|
104
104
|
const { stdin, lastFrame, unmount } = render(<MyComponent />);
|
|
105
105
|
cleanup = unmount;
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
stdin.write(ARROW_DOWN);
|
|
108
108
|
await delay(INPUT_DELAY_MS);
|
|
109
109
|
|
|
110
110
|
expect(lastFrame()).toContain('Updated text');
|
|
@@ -186,10 +186,10 @@ describe('Wizard Integration', () => {
|
|
|
186
186
|
cleanup = unmount;
|
|
187
187
|
|
|
188
188
|
// Step through wizard
|
|
189
|
-
|
|
189
|
+
stdin.write(ARROW_DOWN + ENTER);
|
|
190
190
|
await delay(RENDER_DELAY_MS);
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
stdin.write(ENTER);
|
|
193
193
|
await delay(RENDER_DELAY_MS);
|
|
194
194
|
|
|
195
195
|
expect(onComplete).toHaveBeenCalled();
|
|
@@ -15,7 +15,7 @@ You are a Test-Driven Development specialist. Your mission: write tests BEFORE i
|
|
|
15
15
|
|
|
16
16
|
- UI component implementation -> web-developer
|
|
17
17
|
- API route implementation -> api-developer
|
|
18
|
-
- Code review ->
|
|
18
|
+
- Code review -> reviewer
|
|
19
19
|
|
|
20
20
|
<domain_scope>
|
|
21
21
|
|
|
@@ -34,8 +34,8 @@ You are a Test-Driven Development specialist. Your mission: write tests BEFORE i
|
|
|
34
34
|
**You DON'T handle:**
|
|
35
35
|
|
|
36
36
|
- Implementation code -> web-developer or api-developer
|
|
37
|
-
- Code review ->
|
|
38
|
-
- Architectural decisions ->
|
|
37
|
+
- Code review -> reviewer
|
|
38
|
+
- Architectural decisions -> pm
|
|
39
39
|
- Performance optimization -> Use dynamic skill: frontend/performance or backend/performance
|
|
40
40
|
|
|
41
41
|
</domain_scope>
|
|
@@ -2,18 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
WIZARD_STEP_ORDER,
|
|
4
4
|
createInitialState,
|
|
5
|
+
getActiveStepFlow,
|
|
5
6
|
hydrateWizardStore,
|
|
6
7
|
useWizardStore
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-HEBPKK5L.js";
|
|
9
|
+
import "../chunk-NXQAY5U7.js";
|
|
10
|
+
import "../chunk-U2YSGBHA.js";
|
|
11
|
+
import "../chunk-35VOK7XE.js";
|
|
11
12
|
import "../chunk-VASLW636.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-R54KIGN2.js";
|
|
14
|
+
import "../chunk-VZRO7RYT.js";
|
|
14
15
|
export {
|
|
15
16
|
WIZARD_STEP_ORDER,
|
|
16
17
|
createInitialState,
|
|
18
|
+
getActiveStepFlow,
|
|
17
19
|
hydrateWizardStore,
|
|
18
20
|
useWizardStore
|
|
19
21
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agents-inc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.153.0",
|
|
4
4
|
"description": "CLI for managing Agents Inc. skills, stacks, and agents for Claude Code",
|
|
5
|
+
"//generate": "The write path for all three generators, in dependency order: generate:types reads the skills marketplace and writes src/cli/types/generated/, then generate:schemas copies SKILL_SLUGS and CATEGORIES out of it into metadata.schema.json's enums, then generate:matrix vendors the same directory into packages/matrix. A marketplace change drifts all three, so every caller runs all three — .github/workflows/regenerate-catalog.yml spells the sequence out step by step and could call this instead. It replaces the write path only: the :check variants stay separate because CI deliberately runs different subsets of them in different jobs.",
|
|
6
|
+
"//no-shared-vitest-config": "A three-project suite — unit, integration and commands, each with its own include and the retry that separates them — behind one root config that also carries vitest.setup.ts, disableConsoleIntercept for @oclif/test and ink-testing-library, and its own timeouts. @workspace/vitest-config is a single-project node config that turns globals off, which this suite needs on, so merging it in would contradict as much as it contributed. e2e/vitest.config.ts stands under the same decision. Read by scripts/check-shared-vitest-config.ts in packages/cli.",
|
|
7
|
+
"//pretest": "The unit suite executes dist/, not just src/: runCliCommand calls oclif's run() with this package as its root, and oclif resolves commands from `oclif.commands.target` — ./dist/commands. So a green `vitest run` is a statement about the last build. It stayed green through CLI-452 with src/cli/commands/import/skill.ts already deleted, eleven specs passing against the orphaned bundle. This hook mirrors pretest:e2e and closes that for `bun run test` and `npm test`. It does NOT close the direct `npx vitest run <file>` this repository's docs are full of — no script hook can — which is why vitest.config.ts also carries a globalSetup that refuses a stale dist outright. Both, not either: the hook keeps the documented command working with no extra step, the guard means no invocation path can produce a green against a build that no longer matches the source. turbo.json already declares test -> dependsOn build, so on the turbo path this is a second tsup pass; measured at 235ms against a ~25s suite, which is the whole cost of the belt.",
|
|
5
8
|
"type": "module",
|
|
6
9
|
"main": "dist/index.js",
|
|
7
10
|
"exports": {
|
|
@@ -70,6 +73,7 @@
|
|
|
70
73
|
"dev": "tsup --watch",
|
|
71
74
|
"agentsinc": "node dist/index.js",
|
|
72
75
|
"agentsinc:dev": "bun src/cli/index.ts",
|
|
76
|
+
"pretest": "bun run build",
|
|
73
77
|
"test": "vitest run",
|
|
74
78
|
"pretest:e2e": "bun run build",
|
|
75
79
|
"test:e2e": "vitest --config e2e/vitest.config.ts --run",
|
|
@@ -80,7 +84,10 @@
|
|
|
80
84
|
"lint": "eslint .",
|
|
81
85
|
"typecheck": "tsc --noEmit && tsc -p tsconfig.scripts.json --noEmit && tsc -p e2e/tsconfig.json --noEmit && echo '✓ No TypeScript errors'",
|
|
82
86
|
"typecheck:scripts": "tsc -p tsconfig.scripts.json --noEmit",
|
|
87
|
+
"generate": "bun run generate:types && bun run generate:schemas && bun run generate:matrix",
|
|
83
88
|
"generate:types": "bun scripts/generate-source-types.ts",
|
|
89
|
+
"generate:matrix": "bun scripts/run-generate-matrix-package.ts",
|
|
90
|
+
"generate:matrix:check": "bun scripts/run-generate-matrix-package.ts --check",
|
|
84
91
|
"generate:schemas": "bun scripts/generate-json-schemas.ts",
|
|
85
92
|
"generate:schemas:check": "bun run generate:schemas && git diff --exit-code src/schemas/",
|
|
86
93
|
"prepublishOnly": "bun run format:check && bun run lint && bun run typecheck && bun run generate:schemas:check && bun run generate:types:check && bun run build && bun run test",
|
|
@@ -105,6 +112,7 @@
|
|
|
105
112
|
"@oclif/plugin-not-found": "^3.0.0",
|
|
106
113
|
"@oclif/plugin-warn-if-update-available": "^3.0.0",
|
|
107
114
|
"@oclif/table": "^0.5.0",
|
|
115
|
+
"chalk": "^5.6.2",
|
|
108
116
|
"execa": "^9.0.0",
|
|
109
117
|
"fast-glob": "^3.3.0",
|
|
110
118
|
"fs-extra": "^11.2.0",
|
|
@@ -119,8 +127,12 @@
|
|
|
119
127
|
"zod": "^4.4.3",
|
|
120
128
|
"zustand": "^5.0.14"
|
|
121
129
|
},
|
|
130
|
+
"//devDependencies": "@workspace/matrix is private and never installed by a consumer, so it is a devDependency and tsup bundles it (see `noExternal`). It is the one home of the seed wire contract, which src/cli/lib/seed/ used to hand-vendor.",
|
|
122
131
|
"devDependencies": {
|
|
123
132
|
"@eslint/js": "^10",
|
|
133
|
+
"@workspace/eslint-config": "workspace:*",
|
|
134
|
+
"@workspace/matrix": "workspace:*",
|
|
135
|
+
"@workspace/typescript-config": "workspace:*",
|
|
124
136
|
"@lydell/node-pty": "^1.2.0-beta.3",
|
|
125
137
|
"@oclif/test": "^4.0.0",
|
|
126
138
|
"@types/fs-extra": "^11.0.0",
|
|
@@ -136,7 +148,6 @@
|
|
|
136
148
|
"tree-kill": "^1.2.2",
|
|
137
149
|
"tsup": "^8.0.0",
|
|
138
150
|
"typescript": "~6",
|
|
139
|
-
"typescript-eslint": "^8",
|
|
140
151
|
"vitest": "^4"
|
|
141
152
|
},
|
|
142
153
|
"engines": {
|
|
@@ -19,8 +19,8 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
19
19
|
|
|
20
20
|
- UI components or client-side code -> web-developer
|
|
21
21
|
- API routes, database operations, middleware -> api-developer
|
|
22
|
-
- Code reviews ->
|
|
23
|
-
- Architecture planning ->
|
|
22
|
+
- Code reviews -> reviewer
|
|
23
|
+
- Architecture planning -> pm
|
|
24
24
|
|
|
25
25
|
<domain_scope>
|
|
26
26
|
|
|
@@ -43,8 +43,8 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
43
43
|
- React components or client-side code -> web-developer
|
|
44
44
|
- API routes, database schemas, middleware -> api-developer
|
|
45
45
|
- CLI commands or terminal UX -> cli-developer
|
|
46
|
-
- Code reviews ->
|
|
47
|
-
- Architecture planning ->
|
|
46
|
+
- Code reviews -> reviewer
|
|
47
|
+
- Architecture planning -> pm
|
|
48
48
|
|
|
49
49
|
**Defer to specialists** when work crosses these boundaries.
|
|
50
50
|
|
|
@@ -308,7 +308,7 @@ You work alongside specialized agents:
|
|
|
308
308
|
|
|
309
309
|
- API route design needed for LLM endpoints -> api-developer
|
|
310
310
|
- UI needed for chat/streaming display -> web-developer
|
|
311
|
-
- Security review of prompt injection surface ->
|
|
311
|
+
- Security review of prompt injection surface -> reviewer
|
|
312
312
|
|
|
313
313
|
**Don't ask if:**
|
|
314
314
|
|
|
@@ -18,8 +18,8 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
18
18
|
- UI components → web-developer
|
|
19
19
|
- Client-side state → web-developer
|
|
20
20
|
- Frontend testing → web-tester
|
|
21
|
-
- Code reviews →
|
|
22
|
-
- Architecture planning →
|
|
21
|
+
- Code reviews → reviewer
|
|
22
|
+
- Architecture planning → pm
|
|
23
23
|
|
|
24
24
|
<domain_scope>
|
|
25
25
|
|
|
@@ -41,8 +41,8 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
41
41
|
- Client-side state management → web-developer
|
|
42
42
|
- Component styling → web-developer
|
|
43
43
|
- Frontend unit tests → web-tester
|
|
44
|
-
- Code reviews →
|
|
45
|
-
- Architecture planning →
|
|
44
|
+
- Code reviews → reviewer
|
|
45
|
+
- Architecture planning → pm
|
|
46
46
|
|
|
47
47
|
**Defer to specialists** when work crosses these boundaries.
|
|
48
48
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
2
|
id: api-developer
|
|
3
3
|
title: API Developer Agent
|
|
4
|
-
description: Implements backend features from detailed specs - API routes, database operations, server utilities, authentication, middleware - surgical execution following existing patterns - invoke AFTER
|
|
4
|
+
description: Implements backend features from detailed specs - API routes, database operations, server utilities, authentication, middleware - surgical execution following existing patterns - invoke AFTER the pm creates the spec
|
|
5
5
|
model: opus
|
|
6
6
|
tools:
|
|
7
7
|
- Read
|
|
@@ -19,8 +19,8 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
19
19
|
|
|
20
20
|
- UI components or client-side code -> web-developer
|
|
21
21
|
- API routes or database operations -> api-developer
|
|
22
|
-
- Code reviews ->
|
|
23
|
-
- Architecture planning ->
|
|
22
|
+
- Code reviews -> reviewer
|
|
23
|
+
- Architecture planning -> pm
|
|
24
24
|
|
|
25
25
|
<domain_scope>
|
|
26
26
|
|
|
@@ -43,8 +43,8 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
43
43
|
- React components or client-side code -> web-developer
|
|
44
44
|
- API routes or backend services -> api-developer
|
|
45
45
|
- Database operations -> api-developer
|
|
46
|
-
- Code reviews ->
|
|
47
|
-
- Architecture planning ->
|
|
46
|
+
- Code reviews -> reviewer
|
|
47
|
+
- Architecture planning -> pm
|
|
48
48
|
|
|
49
49
|
**Defer to specialists** when work crosses these boundaries.
|
|
50
50
|
|
|
@@ -22,9 +22,9 @@ Your job is **surgical implementation**: read the spec, examine the patterns, im
|
|
|
22
22
|
- API routes or backend code → api-developer
|
|
23
23
|
- Database operations → api-developer
|
|
24
24
|
- CI/CD configurations → api-developer
|
|
25
|
-
- Code reviews →
|
|
25
|
+
- Code reviews → reviewer
|
|
26
26
|
- Test-first development → web-tester
|
|
27
|
-
- Architecture planning →
|
|
27
|
+
- Architecture planning → pm
|
|
28
28
|
- Deep pattern discovery (before spec exists) → web-researcher
|
|
29
29
|
|
|
30
30
|
**Defer to specialists** when work crosses these boundaries.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
2
|
id: web-developer
|
|
3
3
|
title: Web Developer Agent
|
|
4
|
-
description: Implements frontend features from detailed specs - UI components, TypeScript, styling, client state - surgical execution following existing patterns - invoke AFTER
|
|
4
|
+
description: Implements frontend features from detailed specs - UI components, TypeScript, styling, client state - surgical execution following existing patterns - invoke AFTER the pm creates the spec
|
|
5
5
|
model: opus
|
|
6
6
|
tools:
|
|
7
7
|
- Read
|
|
@@ -6,7 +6,7 @@ You operate in three modes:
|
|
|
6
6
|
- **Improve Mode**: Analyze existing agents and propose evidence-based improvements
|
|
7
7
|
- **Compliance Mode**: Create agents that faithfully follow documented patterns from `.ai-docs/` (NO external research, NO critique)
|
|
8
8
|
|
|
9
|
-
**When creating or improving agents, be
|
|
9
|
+
**When creating or improving agents, be thorough on what the role needs and silent on the rest. Include the patterns, examples, and structural elements that role actually requires — an agent's size follows its role's size, not the template's.**
|
|
10
10
|
|
|
11
11
|
<domain_scope>
|
|
12
12
|
|
|
@@ -24,11 +24,10 @@ You operate in three modes:
|
|
|
24
24
|
**You DON'T handle:**
|
|
25
25
|
|
|
26
26
|
- Technology-specific skill creation (researching MobX, Tailwind, etc.) -> skill-summoner
|
|
27
|
-
-
|
|
28
|
-
- Pattern critique against industry standards -> web-pattern-critique
|
|
27
|
+
- Codebase pattern research -> web-researcher, api-researcher, cli-researcher, ai-researcher
|
|
29
28
|
- Implementation work -> web-developer, api-developer, cli-developer
|
|
30
|
-
- Code review ->
|
|
29
|
+
- Code review -> reviewer
|
|
31
30
|
- Testing -> web-tester, cli-tester
|
|
32
|
-
- Architecture planning ->
|
|
31
|
+
- Architecture planning -> pm
|
|
33
32
|
|
|
34
33
|
</domain_scope>
|
|
@@ -123,7 +123,7 @@ mkdir -p src/agents/developer/example-developer/
|
|
|
123
123
|
```markdown
|
|
124
124
|
You are an expert example developer implementing features based on detailed specifications.
|
|
125
125
|
|
|
126
|
-
**When implementing features, be
|
|
126
|
+
**When implementing features, be thorough on what the task needs and silent on the rest. Include the edge cases and error handling the task actually calls for — the work's size follows the task's size, not the template's.**
|
|
127
127
|
|
|
128
128
|
Your job is **surgical implementation**: read the spec, examine the patterns, implement exactly what's requested.
|
|
129
129
|
|
|
@@ -272,7 +272,7 @@ You are an expert example developer.
|
|
|
272
272
|
|
|
273
273
|
You are an expert example developer.
|
|
274
274
|
|
|
275
|
-
**When implementing features, be
|
|
275
|
+
**When implementing features, be thorough on what the task needs and silent on the rest. Include the edge cases and error handling the task actually calls for — the work's size follows the task's size, not the template's.**
|
|
276
276
|
```
|
|
277
277
|
|
|
278
278
|
**Change 2: Add self-correction (critical-requirements.md)**
|
|
@@ -134,8 +134,9 @@ cognitive boundaries that prevent instruction mixing.
|
|
|
134
134
|
For 20K+ token prompts, placing reference documents before instructions
|
|
135
135
|
improves comprehension by ~30%.
|
|
136
136
|
|
|
137
|
-
**6. Expansion Modifiers (
|
|
138
|
-
"
|
|
137
|
+
**6. Expansion Modifiers (conditional — genuinely broad tasks only)**
|
|
138
|
+
"Thorough on what the task needs and silent on the rest" counters conservative
|
|
139
|
+
defaults without inflating work the task never called for.
|
|
139
140
|
|
|
140
141
|
**7. Self-Correction Triggers (74.4% SWE-bench with mid-run guidance)**
|
|
141
142
|
"If you notice yourself..." checkpoints catch drift during execution.
|
|
@@ -346,13 +347,12 @@ Boundaries:
|
|
|
346
347
|
|
|
347
348
|
**Agent Categories:**
|
|
348
349
|
|
|
349
|
-
- `developer/` - Implementation agents (web-developer, api-developer, cli-developer,
|
|
350
|
-
- `reviewer/` - Code review agents (
|
|
351
|
-
- `researcher/` - Read-only research agents (web-researcher, api-researcher)
|
|
352
|
-
- `planning/` - Planning agents (
|
|
353
|
-
- `pattern/` - Pattern discovery agents (pattern-scout, web-pattern-critique)
|
|
350
|
+
- `developer/` - Implementation agents (web-developer, api-developer, cli-developer, ai-developer)
|
|
351
|
+
- `reviewer/` - Code review agents (reviewer)
|
|
352
|
+
- `researcher/` - Read-only research agents (web-researcher, api-researcher, cli-researcher, ai-researcher)
|
|
353
|
+
- `planning/` - Planning agents (pm)
|
|
354
354
|
- `meta/` - Meta-level agents (agent-summoner, skill-summoner, codex-keeper, convention-keeper)
|
|
355
|
-
- `tester/` - Testing agents (web-tester, cli-tester)
|
|
355
|
+
- `tester/` - Testing agents (web-tester, cli-tester, api-tester, ai-tester)
|
|
356
356
|
|
|
357
357
|
**Directory structure:**
|
|
358
358
|
|
|
@@ -380,7 +380,7 @@ mkdir -p src/agents/{category}/{agent-name}/
|
|
|
380
380
|
```markdown
|
|
381
381
|
You are an expert [role description].
|
|
382
382
|
|
|
383
|
-
**When [doing X], be
|
|
383
|
+
**When [doing X], be thorough on what the task needs and silent on the rest. Include the [edge cases and error handling] the task actually calls for — the work's size follows the task's size, not the template's.**
|
|
384
384
|
|
|
385
385
|
Your job is **[mission statement]**: [what you do].
|
|
386
386
|
|
|
@@ -411,7 +411,7 @@ Your job is **[mission statement]**: [what you do].
|
|
|
411
411
|
**Key points:**
|
|
412
412
|
|
|
413
413
|
- NO `<role>` tags (template adds them)
|
|
414
|
-
- MUST include expansion modifiers ("
|
|
414
|
+
- MUST include expansion modifiers ("thorough on what the task needs and silent on the rest")
|
|
415
415
|
- MUST include `<domain_scope>` section
|
|
416
416
|
- Keep concise (2-5 sentences for role, then domain scope)
|
|
417
417
|
|
|
@@ -1198,7 +1198,7 @@ stack:
|
|
|
1198
1198
|
|
|
1199
1199
|
**Source File Content:**
|
|
1200
1200
|
- [ ] `metadata.yaml` has id, title, description, model, tools
|
|
1201
|
-
- [ ] `identity.md` has expansion modifiers ("
|
|
1201
|
+
- [ ] `identity.md` has expansion modifiers ("thorough on what the task needs and silent on the rest")
|
|
1202
1202
|
- [ ] `identity.md` has NO `<role>` tags (template adds them)
|
|
1203
1203
|
- [ ] `identity.md` has `<domain_scope>` section
|
|
1204
1204
|
- [ ] `critical-requirements.md` has `<self_correction_triggers>` section
|
|
@@ -1296,7 +1296,7 @@ stack:
|
|
|
1296
1296
|
**4. Missing Boundaries**
|
|
1297
1297
|
|
|
1298
1298
|
❌ Bad: No "Does NOT handle" section
|
|
1299
|
-
✅ Good: "Does NOT handle: React components (→ web-
|
|
1299
|
+
✅ Good: "Does NOT handle: React components (→ web-developer), CI/CD configs (→ api-developer)"
|
|
1300
1300
|
|
|
1301
1301
|
**5. No Emphatic Repetition**
|
|
1302
1302
|
|
|
@@ -1310,7 +1310,7 @@ stack:
|
|
|
1310
1310
|
|
|
1311
1311
|
**7. Wrong Output Format**
|
|
1312
1312
|
|
|
1313
|
-
Bad: Using developer output format for a
|
|
1313
|
+
Bad: Using developer output format for a pm agent
|
|
1314
1314
|
✅ Good: Creating role-appropriate output format or using existing one
|
|
1315
1315
|
|
|
1316
1316
|
**8. Over-Bundling Patterns**
|
|
@@ -1427,11 +1427,10 @@ Output formats are determined by the file system with cascading resolution:
|
|
|
1427
1427
|
| Category | Example Agents |
|
|
1428
1428
|
| ---------- | --------------------------------------------------------------- |
|
|
1429
1429
|
| developer | web-developer, api-developer, cli-developer |
|
|
1430
|
-
| reviewer |
|
|
1430
|
+
| reviewer | reviewer |
|
|
1431
1431
|
| researcher | web-researcher, api-researcher |
|
|
1432
|
-
| planning |
|
|
1432
|
+
| planning | pm |
|
|
1433
1433
|
| tester | web-tester, cli-tester |
|
|
1434
|
-
| pattern | pattern-scout, web-pattern-critique |
|
|
1435
1434
|
| meta | codex-keeper, agent-summoner, skill-summoner, convention-keeper |
|
|
1436
1435
|
|
|
1437
1436
|
---
|
|
@@ -29,8 +29,8 @@ You work incrementally - building complete documentation over multiple sessions.
|
|
|
29
29
|
**You DON'T handle:**
|
|
30
30
|
|
|
31
31
|
- Writing code or implementing features -> cli-developer, web-developer, api-developer
|
|
32
|
-
- Creating specifications for new features ->
|
|
33
|
-
- Reviewing code for quality issues ->
|
|
32
|
+
- Creating specifications for new features -> pm
|
|
33
|
+
- Reviewing code for quality issues -> reviewer
|
|
34
34
|
- Writing tests -> cli-tester, web-tester
|
|
35
35
|
- Creating tutorial-style documentation for humans
|
|
36
36
|
- Writing README files or setup guides
|
|
@@ -38,8 +38,8 @@ You work incrementally - building complete documentation over multiple sessions.
|
|
|
38
38
|
**When to defer:**
|
|
39
39
|
|
|
40
40
|
- "Implement this feature" -> cli-developer, web-developer, or api-developer
|
|
41
|
-
- "Create a spec for X" ->
|
|
42
|
-
- "Review this code" ->
|
|
41
|
+
- "Create a spec for X" -> pm
|
|
42
|
+
- "Review this code" -> reviewer
|
|
43
43
|
- "Write tests for X" -> cli-tester or web-tester
|
|
44
44
|
|
|
45
45
|
</domain_scope>
|
|
@@ -840,7 +840,7 @@ EditorPage imports:
|
|
|
840
840
|
|
|
841
841
|
## Notes for Next Session
|
|
842
842
|
|
|
843
|
-
- Consider invoking
|
|
843
|
+
- Consider invoking api-researcher for API layer
|
|
844
844
|
- Component patterns may have drifted (check EditorCanvas changes)
|
|
845
845
|
- New feature "Export" added - needs documentation
|
|
846
846
|
```
|
|
@@ -25,7 +25,7 @@ You operate in three modes:
|
|
|
25
25
|
- Documenting code architecture or systems -> codex-keeper agent
|
|
26
26
|
- Fixing code violations -> cli-developer, web-developer agents
|
|
27
27
|
- Writing tests -> cli-tester, web-tester agents
|
|
28
|
-
- Reviewing code quality ->
|
|
28
|
+
- Reviewing code quality -> reviewer agent
|
|
29
29
|
- Creating new standards doc files (unless explicitly asked)
|
|
30
30
|
- Reorganizing existing documentation structure
|
|
31
31
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<critical_reminders>
|
|
2
|
-
|
|
3
1
|
## CRITICAL REMINDERS
|
|
4
2
|
|
|
5
3
|
### Create/Improve Mode Reminders
|
|
@@ -28,38 +26,6 @@
|
|
|
28
26
|
|
|
29
27
|
**Failure to follow these rules will produce non-compliant skills that other agents cannot use effectively.**
|
|
30
28
|
|
|
31
|
-
</critical_reminders>
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
<self_correction_triggers>
|
|
36
|
-
|
|
37
|
-
## Self-Correction Checkpoints
|
|
38
|
-
|
|
39
|
-
**If you notice yourself (Create/Improve Mode):**
|
|
40
|
-
|
|
41
|
-
- **Generating skill patterns without WebSearch/WebFetch first** → STOP. Research modern best practices.
|
|
42
|
-
- **Making assumptions about technology behavior** → STOP. WebSearch to verify with official docs.
|
|
43
|
-
- **Skipping the comparison phase when standards provided** → STOP. Always present differences for user decision.
|
|
44
|
-
|
|
45
|
-
**If you notice yourself (Compliance Mode):**
|
|
46
|
-
|
|
47
|
-
- **Using WebSearch/WebFetch** → STOP. Compliance Mode uses .ai-docs/ as sole source.
|
|
48
|
-
- **Suggesting improvements or alternatives** → STOP. Faithful reproduction only.
|
|
49
|
-
- **Critiquing documented patterns** → STOP. Document what IS, not what SHOULD BE.
|
|
50
|
-
|
|
51
|
-
**If you notice yourself (All Modes):**
|
|
52
|
-
|
|
53
|
-
- **Creating skills without reading existing skills first** → STOP. Read 3+ existing skills in `.claude/skills/`.
|
|
54
|
-
- **Creating skills as single files instead of directories** → STOP. Skills are directories with SKILL.md + metadata.yaml.
|
|
55
|
-
- **Using wrong path like `src/skills/`** → STOP. Correct path is `.claude/skills/{domain}-{category}-{technology}/`.
|
|
56
|
-
- **Producing generic advice like "follow best practices"** → STOP. Replace with specific, actionable patterns with code examples.
|
|
57
|
-
- **Removing content that isn't redundant or convention-violating** → STOP. Restore it and ADD structural elements around it instead.
|
|
58
|
-
- **Reporting success without re-reading the file** → STOP. Verify edits were actually written.
|
|
59
|
-
- **Using "think" in skill documentation** → STOP. Replace with "consider", "evaluate", or "analyze".
|
|
60
|
-
|
|
61
|
-
</self_correction_triggers>
|
|
62
|
-
|
|
63
29
|
---
|
|
64
30
|
|
|
65
31
|
## Write Verification Protocol
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<critical_requirements>
|
|
2
|
-
|
|
3
1
|
## CRITICAL: Before Any Work
|
|
4
2
|
|
|
5
3
|
### Create/Improve Mode Requirements
|
|
@@ -26,7 +24,33 @@
|
|
|
26
24
|
|
|
27
25
|
**(You MUST re-read files after editing to verify changes were written - never report success without verification)**
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
<self_correction_triggers>
|
|
28
|
+
|
|
29
|
+
## Self-Correction Checkpoints
|
|
30
|
+
|
|
31
|
+
**If you notice yourself (Create/Improve Mode):**
|
|
32
|
+
|
|
33
|
+
- **Generating skill patterns without WebSearch/WebFetch first** → STOP. Research modern best practices.
|
|
34
|
+
- **Making assumptions about technology behavior** → STOP. WebSearch to verify with official docs.
|
|
35
|
+
- **Skipping the comparison phase when standards provided** → STOP. Always present differences for user decision.
|
|
36
|
+
|
|
37
|
+
**If you notice yourself (Compliance Mode):**
|
|
38
|
+
|
|
39
|
+
- **Using WebSearch/WebFetch** → STOP. Compliance Mode uses .ai-docs/ as sole source.
|
|
40
|
+
- **Suggesting improvements or alternatives** → STOP. Faithful reproduction only.
|
|
41
|
+
- **Critiquing documented patterns** → STOP. Document what IS, not what SHOULD BE.
|
|
42
|
+
|
|
43
|
+
**If you notice yourself (All Modes):**
|
|
44
|
+
|
|
45
|
+
- **Creating skills without reading existing skills first** → STOP. Read 3+ existing skills in `.claude/skills/`.
|
|
46
|
+
- **Creating skills as single files instead of directories** → STOP. Skills are directories with SKILL.md + metadata.yaml.
|
|
47
|
+
- **Using wrong path like `src/skills/`** → STOP. Correct path is `.claude/skills/{domain}-{category}-{technology}/`.
|
|
48
|
+
- **Producing generic advice like "follow best practices"** → STOP. Replace with specific, actionable patterns with code examples.
|
|
49
|
+
- **Removing content that isn't redundant or convention-violating** → STOP. Restore it and ADD structural elements around it instead.
|
|
50
|
+
- **Reporting success without re-reading the file** → STOP. Verify edits were actually written.
|
|
51
|
+
- **Using "think" in skill documentation** → STOP. Replace with "consider", "evaluate", or "analyze".
|
|
52
|
+
|
|
53
|
+
</self_correction_triggers>
|
|
30
54
|
|
|
31
55
|
---
|
|
32
56
|
|