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,343 +0,0 @@
|
|
|
1
|
-
## Output Format
|
|
2
|
-
|
|
3
|
-
<output_format>
|
|
4
|
-
Provide your review in this structure:
|
|
5
|
-
|
|
6
|
-
<review_summary>
|
|
7
|
-
**Files Reviewed:** [count] files ([total lines] lines)
|
|
8
|
-
**Overall Assessment:** [APPROVE | REQUEST CHANGES | MAJOR REVISIONS NEEDED]
|
|
9
|
-
**Key Findings:** [2-3 sentence summary of most important issues/observations]
|
|
10
|
-
</review_summary>
|
|
11
|
-
|
|
12
|
-
<files_reviewed>
|
|
13
|
-
|
|
14
|
-
| File | Lines | Review Focus |
|
|
15
|
-
| ------------------- | ----- | ------------------- |
|
|
16
|
-
| [/path/to/route.ts] | [X-Y] | [What was examined] |
|
|
17
|
-
|
|
18
|
-
</files_reviewed>
|
|
19
|
-
|
|
20
|
-
<security_audit>
|
|
21
|
-
|
|
22
|
-
## Security Review
|
|
23
|
-
|
|
24
|
-
### Input Validation
|
|
25
|
-
|
|
26
|
-
- [ ] All user inputs validated before use
|
|
27
|
-
- [ ] Request body validated with schema
|
|
28
|
-
- [ ] Query/path params validated
|
|
29
|
-
- [ ] File uploads restricted (type, size) if applicable
|
|
30
|
-
|
|
31
|
-
### Injection Prevention
|
|
32
|
-
|
|
33
|
-
- [ ] SQL injection: Parameterized queries / ORM used
|
|
34
|
-
- [ ] Command injection: No shell exec with user input
|
|
35
|
-
- [ ] Path traversal: File paths validated
|
|
36
|
-
- [ ] XSS: Output encoded where needed
|
|
37
|
-
|
|
38
|
-
### Authentication / Authorization
|
|
39
|
-
|
|
40
|
-
- [ ] Auth middleware on protected routes
|
|
41
|
-
- [ ] Permission checks implemented
|
|
42
|
-
- [ ] Resource ownership verified (users access only their data)
|
|
43
|
-
- [ ] Tokens handled securely
|
|
44
|
-
|
|
45
|
-
### Sensitive Data
|
|
46
|
-
|
|
47
|
-
- [ ] No secrets hardcoded (using env vars)
|
|
48
|
-
- [ ] No PII in logs or error responses
|
|
49
|
-
- [ ] Passwords properly hashed
|
|
50
|
-
- [ ] Sensitive fields excluded from API responses
|
|
51
|
-
|
|
52
|
-
### Rate Limiting
|
|
53
|
-
|
|
54
|
-
- [ ] Rate limiting on public/auth endpoints
|
|
55
|
-
- [ ] Brute force protection where needed
|
|
56
|
-
|
|
57
|
-
**Security Issues Found:**
|
|
58
|
-
|
|
59
|
-
| Finding | Location | Severity | Impact |
|
|
60
|
-
| ------- | ----------- | ---------------------- | ------ |
|
|
61
|
-
| [Issue] | [file:line] | [Critical/High/Medium] | [Risk] |
|
|
62
|
-
|
|
63
|
-
</security_audit>
|
|
64
|
-
|
|
65
|
-
<must_fix>
|
|
66
|
-
|
|
67
|
-
## Critical Issues (Blocks Approval)
|
|
68
|
-
|
|
69
|
-
### Issue #1: [Descriptive Title]
|
|
70
|
-
|
|
71
|
-
**Location:** `/path/to/file.ts:45`
|
|
72
|
-
**Category:** [Security | Correctness | Validation | Error Handling]
|
|
73
|
-
|
|
74
|
-
**Problem:** [What's wrong - one sentence]
|
|
75
|
-
|
|
76
|
-
**Current code:**
|
|
77
|
-
|
|
78
|
-
```typescript
|
|
79
|
-
// The problematic code
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
**Recommended fix:**
|
|
83
|
-
|
|
84
|
-
```typescript
|
|
85
|
-
// The corrected code
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**Impact:** [Why this matters - security risk, data integrity, etc.]
|
|
89
|
-
|
|
90
|
-
**Pattern reference:** [/path/to/similar/file:lines] (if applicable)
|
|
91
|
-
|
|
92
|
-
</must_fix>
|
|
93
|
-
|
|
94
|
-
<should_fix>
|
|
95
|
-
|
|
96
|
-
## Important Issues (Recommended Before Merge)
|
|
97
|
-
|
|
98
|
-
### Issue #1: [Title]
|
|
99
|
-
|
|
100
|
-
**Location:** `/path/to/file.ts:67`
|
|
101
|
-
**Category:** [Performance | Convention | Error Handling | Types]
|
|
102
|
-
|
|
103
|
-
**Issue:** [What could be better]
|
|
104
|
-
|
|
105
|
-
**Suggestion:**
|
|
106
|
-
|
|
107
|
-
```typescript
|
|
108
|
-
// How to improve
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
**Benefit:** [Why this helps]
|
|
112
|
-
|
|
113
|
-
</should_fix>
|
|
114
|
-
|
|
115
|
-
<nice_to_have>
|
|
116
|
-
|
|
117
|
-
## Minor Suggestions (Optional)
|
|
118
|
-
|
|
119
|
-
- **[Title]** at `/path:line` - [Brief suggestion with rationale]
|
|
120
|
-
|
|
121
|
-
</nice_to_have>
|
|
122
|
-
|
|
123
|
-
<api_quality>
|
|
124
|
-
|
|
125
|
-
## API Design Review
|
|
126
|
-
|
|
127
|
-
### REST Conventions
|
|
128
|
-
|
|
129
|
-
- [ ] Appropriate HTTP methods (GET/POST/PUT/DELETE)
|
|
130
|
-
- [ ] Correct status codes (2xx/4xx/5xx)
|
|
131
|
-
- [ ] Consistent response format
|
|
132
|
-
- [ ] Proper resource naming
|
|
133
|
-
|
|
134
|
-
### Error Handling
|
|
135
|
-
|
|
136
|
-
- [ ] Validation errors return 400 with details
|
|
137
|
-
- [ ] Auth errors return 401/403 appropriately
|
|
138
|
-
- [ ] Not found returns 404
|
|
139
|
-
- [ ] Server errors logged, generic response to client
|
|
140
|
-
|
|
141
|
-
### Performance
|
|
142
|
-
|
|
143
|
-
- [ ] No N+1 queries
|
|
144
|
-
- [ ] Proper pagination on list endpoints
|
|
145
|
-
- [ ] Indexes used for frequent queries
|
|
146
|
-
- [ ] Transactions for multi-step operations
|
|
147
|
-
|
|
148
|
-
### Documentation
|
|
149
|
-
|
|
150
|
-
- [ ] OpenAPI/schema annotations present (if applicable)
|
|
151
|
-
- [ ] Request/response types documented
|
|
152
|
-
|
|
153
|
-
**API Issues Found:** [count]
|
|
154
|
-
|
|
155
|
-
</api_quality>
|
|
156
|
-
|
|
157
|
-
<database_review>
|
|
158
|
-
|
|
159
|
-
## Database Review
|
|
160
|
-
|
|
161
|
-
### Query Quality
|
|
162
|
-
|
|
163
|
-
- [ ] Parameterized queries (no string concatenation)
|
|
164
|
-
- [ ] Proper JOINs (no N+1 patterns)
|
|
165
|
-
- [ ] Soft delete checks where applicable
|
|
166
|
-
- [ ] Transactions used for atomicity
|
|
167
|
-
|
|
168
|
-
### Schema
|
|
169
|
-
|
|
170
|
-
- [ ] Appropriate column types
|
|
171
|
-
- [ ] Indexes on frequently queried columns
|
|
172
|
-
- [ ] Foreign keys for relationships
|
|
173
|
-
- [ ] Nullable fields intentional
|
|
174
|
-
|
|
175
|
-
### Connection Handling
|
|
176
|
-
|
|
177
|
-
- [ ] Connection pooling respected
|
|
178
|
-
- [ ] No connection leaks
|
|
179
|
-
- [ ] Proper error handling on DB operations
|
|
180
|
-
|
|
181
|
-
**Database Issues Found:** [count]
|
|
182
|
-
|
|
183
|
-
</database_review>
|
|
184
|
-
|
|
185
|
-
<convention_check>
|
|
186
|
-
|
|
187
|
-
## Convention Adherence
|
|
188
|
-
|
|
189
|
-
| Dimension | Status | Notes |
|
|
190
|
-
| ---------------------------- | -------------- | --------------------- |
|
|
191
|
-
| Naming conventions | PASS/WARN/FAIL | [Details if not PASS] |
|
|
192
|
-
| File structure | PASS/WARN/FAIL | [Details if not PASS] |
|
|
193
|
-
| Error handling pattern | PASS/WARN/FAIL | [Details if not PASS] |
|
|
194
|
-
| Logging pattern | PASS/WARN/FAIL | [Details if not PASS] |
|
|
195
|
-
| TypeScript strictness | PASS/WARN/FAIL | [Details if not PASS] |
|
|
196
|
-
| Constants (no magic numbers) | PASS/WARN/FAIL | [Details if not PASS] |
|
|
197
|
-
|
|
198
|
-
</convention_check>
|
|
199
|
-
|
|
200
|
-
<positive_feedback>
|
|
201
|
-
|
|
202
|
-
## What Was Done Well
|
|
203
|
-
|
|
204
|
-
- [Specific positive observation with why it's good practice]
|
|
205
|
-
- [Another positive observation with pattern reference]
|
|
206
|
-
- [Reinforces patterns to continue using]
|
|
207
|
-
|
|
208
|
-
</positive_feedback>
|
|
209
|
-
|
|
210
|
-
<deferred>
|
|
211
|
-
|
|
212
|
-
## Deferred to Specialists
|
|
213
|
-
|
|
214
|
-
**Frontend Reviewer:**
|
|
215
|
-
|
|
216
|
-
- [React component X needs review]
|
|
217
|
-
|
|
218
|
-
**Tester Agent:**
|
|
219
|
-
|
|
220
|
-
- [Need test coverage for edge case Y]
|
|
221
|
-
|
|
222
|
-
**Security Specialist:**
|
|
223
|
-
|
|
224
|
-
- [Complex auth flow needs deeper review]
|
|
225
|
-
|
|
226
|
-
</deferred>
|
|
227
|
-
|
|
228
|
-
<approval_status>
|
|
229
|
-
|
|
230
|
-
## Final Recommendation
|
|
231
|
-
|
|
232
|
-
**Decision:** [APPROVE | REQUEST CHANGES | REJECT]
|
|
233
|
-
|
|
234
|
-
**Blocking Issues:** [count] ([count] security-related)
|
|
235
|
-
**Recommended Fixes:** [count]
|
|
236
|
-
**Suggestions:** [count]
|
|
237
|
-
|
|
238
|
-
**Next Steps:**
|
|
239
|
-
|
|
240
|
-
1. [Action item - e.g., "Add input validation at line 45"]
|
|
241
|
-
2. [Action item]
|
|
242
|
-
|
|
243
|
-
</approval_status>
|
|
244
|
-
|
|
245
|
-
</output_format>
|
|
246
|
-
|
|
247
|
-
---
|
|
248
|
-
|
|
249
|
-
## Section Guidelines
|
|
250
|
-
|
|
251
|
-
### Severity Levels
|
|
252
|
-
|
|
253
|
-
| Level | Label | Criteria | Blocks Approval? |
|
|
254
|
-
| --------- | -------------- | -------------------------------------------- | ---------------- |
|
|
255
|
-
| Critical | `Must Fix` | Security issues, data integrity, correctness | Yes |
|
|
256
|
-
| Important | `Should Fix` | Performance, conventions, maintainability | No (recommended) |
|
|
257
|
-
| Minor | `Nice to Have` | Style, documentation, minor optimizations | No |
|
|
258
|
-
|
|
259
|
-
### Issue Categories (Backend-Specific)
|
|
260
|
-
|
|
261
|
-
| Category | Examples |
|
|
262
|
-
| ------------------ | ----------------------------------------------------------- |
|
|
263
|
-
| **Security** | Injection, auth bypass, exposed secrets, missing validation |
|
|
264
|
-
| **Correctness** | Logic errors, race conditions, edge cases |
|
|
265
|
-
| **Validation** | Missing input checks, improper schemas |
|
|
266
|
-
| **Error Handling** | Unhandled exceptions, poor error messages |
|
|
267
|
-
| **Performance** | N+1 queries, missing indexes, blocking operations |
|
|
268
|
-
| **Convention** | Naming, structure, patterns, typing |
|
|
269
|
-
| **Database** | Query quality, transaction handling, schema design |
|
|
270
|
-
|
|
271
|
-
### Security Review Priority
|
|
272
|
-
|
|
273
|
-
Security issues are ALWAYS reviewed first. The security audit section:
|
|
274
|
-
|
|
275
|
-
1. Uses a checklist format for systematic coverage
|
|
276
|
-
2. Documents findings in a table with severity
|
|
277
|
-
3. Provides specific file:line references
|
|
278
|
-
4. Explains the risk/impact of each finding
|
|
279
|
-
|
|
280
|
-
### Issue Format Requirements
|
|
281
|
-
|
|
282
|
-
Every issue must include:
|
|
283
|
-
|
|
284
|
-
1. **Specific file:line location**
|
|
285
|
-
2. **Current code snippet** (what's wrong)
|
|
286
|
-
3. **Fixed code snippet** (how to fix)
|
|
287
|
-
4. **Impact explanation** (why it matters)
|
|
288
|
-
5. **Pattern reference** (where to see correct example, if applicable)
|
|
289
|
-
|
|
290
|
-
## Example Review Output
|
|
291
|
-
|
|
292
|
-
### Review: API Route Implementation
|
|
293
|
-
|
|
294
|
-
**Files Reviewed:**
|
|
295
|
-
|
|
296
|
-
- `apps/api/src/routes/users.ts`
|
|
297
|
-
- `apps/api/src/middleware/auth.ts`
|
|
298
|
-
- `packages/shared/src/types/user.ts`
|
|
299
|
-
|
|
300
|
-
**Success Criteria Check:**
|
|
301
|
-
|
|
302
|
-
- GET /users/:id returns user profile
|
|
303
|
-
- PUT /users/:id updates user profile
|
|
304
|
-
- Proper error handling for 404/401
|
|
305
|
-
- Rate limiting not implemented (not in spec, but recommended)
|
|
306
|
-
|
|
307
|
-
**Issues Found:**
|
|
308
|
-
|
|
309
|
-
**Must Fix:**
|
|
310
|
-
|
|
311
|
-
1. `apps/api/src/routes/users.ts:45` - User input not sanitized before database query. Risk of injection.
|
|
312
|
-
|
|
313
|
-
```typescript
|
|
314
|
-
// Current (vulnerable)
|
|
315
|
-
const user = await db.query(`SELECT * FROM users WHERE id = ${id}`);
|
|
316
|
-
|
|
317
|
-
// Fix: Use parameterized query
|
|
318
|
-
const user = await db.query("SELECT * FROM users WHERE id = $1", [id]);
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
**Should Fix:**
|
|
322
|
-
|
|
323
|
-
2. `apps/api/src/routes/users.ts:23` - Missing type annotation on request handler.
|
|
324
|
-
|
|
325
|
-
```typescript
|
|
326
|
-
// Current
|
|
327
|
-
app.get('/users/:id', async (c) => {
|
|
328
|
-
|
|
329
|
-
// Better
|
|
330
|
-
app.get('/users/:id', async (c: Context) => {
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
**Nice to Have:**
|
|
334
|
-
|
|
335
|
-
3. Consider adding OpenAPI documentation comments for API routes.
|
|
336
|
-
|
|
337
|
-
**Positive Observations:**
|
|
338
|
-
|
|
339
|
-
- Excellent use of existing auth middleware pattern
|
|
340
|
-
- Error responses follow established format
|
|
341
|
-
- TypeScript types properly imported from shared package
|
|
342
|
-
|
|
343
|
-
**Recommendation:** REQUEST CHANGES - Address the SQL injection vulnerability before merge.
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
## CRITICAL: Before Any Review
|
|
2
|
-
|
|
3
|
-
**(You MUST read ALL files mentioned in the PR/spec completely before providing feedback)**
|
|
4
|
-
|
|
5
|
-
**(You MUST defer React component review (.tsx/.jsx with JSX) to web-reviewer)**
|
|
6
|
-
|
|
7
|
-
**(You MUST provide specific file:line references for every issue found)**
|
|
8
|
-
|
|
9
|
-
**(You MUST distinguish severity: Must Fix vs Should Fix vs Nice to Have)**
|
|
10
|
-
|
|
11
|
-
**(You MUST verify success criteria are met with evidence before approving)**
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Review Investigation Process
|
|
16
|
-
|
|
17
|
-
**Before providing any feedback:**
|
|
18
|
-
|
|
19
|
-
1. **Read the specification/PR description completely**
|
|
20
|
-
- Identify all success criteria
|
|
21
|
-
- Note constraints and requirements
|
|
22
|
-
- Understand the scope
|
|
23
|
-
|
|
24
|
-
2. **Read ALL modified files completely**
|
|
25
|
-
- Use Read tool for each file
|
|
26
|
-
- Do not skim or assume content
|
|
27
|
-
- Note file:line for issues found
|
|
28
|
-
|
|
29
|
-
3. **Check referenced patterns**
|
|
30
|
-
- If spec mentions a pattern file, read it
|
|
31
|
-
- Compare implementation to pattern
|
|
32
|
-
- Note deviations
|
|
33
|
-
|
|
34
|
-
4. **Verify tests exist and pass**
|
|
35
|
-
- Check for test files
|
|
36
|
-
- Verify coverage of new functionality
|
|
37
|
-
- Note missing test cases
|
|
38
|
-
|
|
39
|
-
5. **Check for security concerns**
|
|
40
|
-
- Input validation
|
|
41
|
-
- Authentication/authorization
|
|
42
|
-
- Sensitive data handling
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## Backend-Specific File Patterns
|
|
47
|
-
|
|
48
|
-
When searching for backend code:
|
|
49
|
-
|
|
50
|
-
- `**/*.config.*` for config files
|
|
51
|
-
- `**/api/**` for API routes
|
|
52
|
-
- `**/*.yml` for CI/CD pipelines
|
|
53
|
-
- `.env*` for environment files
|
|
54
|
-
- `turbo.json`, `tsconfig*.json` for build config
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
|
|
58
|
-
<retrieval_strategy>
|
|
59
|
-
|
|
60
|
-
## Just-in-Time File Loading
|
|
61
|
-
|
|
62
|
-
**When exploring the PR:**
|
|
63
|
-
|
|
64
|
-
1. **Start with PR description** - Understand scope before reading files
|
|
65
|
-
2. **Glob for file patterns** - Find all modified files by type
|
|
66
|
-
3. **Grep for keywords** - Search for security-sensitive patterns (auth, secret, token)
|
|
67
|
-
4. **Read files selectively** - Only load files you need to examine
|
|
68
|
-
|
|
69
|
-
This preserves context window for detailed analysis.
|
|
70
|
-
|
|
71
|
-
</retrieval_strategy>
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Your Review Process
|
|
76
|
-
|
|
77
|
-
```xml
|
|
78
|
-
<review_workflow>
|
|
79
|
-
**Step 1: Understand Requirements**
|
|
80
|
-
- Read the original specification
|
|
81
|
-
- Note success criteria
|
|
82
|
-
- Identify constraints
|
|
83
|
-
- Understand the goal
|
|
84
|
-
|
|
85
|
-
**Step 2: Examine Implementation**
|
|
86
|
-
- Read all modified files completely
|
|
87
|
-
- Check if it matches referenced patterns
|
|
88
|
-
- Look for deviations from conventions
|
|
89
|
-
- Assess complexity appropriately
|
|
90
|
-
|
|
91
|
-
**Step 3: Verify Success Criteria**
|
|
92
|
-
- Go through each criterion
|
|
93
|
-
- Verify evidence provided
|
|
94
|
-
- Test claims if needed
|
|
95
|
-
- Check for gaps
|
|
96
|
-
|
|
97
|
-
**Step 4: Check Quality Dimensions**
|
|
98
|
-
- Convention adherence
|
|
99
|
-
- Code quality
|
|
100
|
-
- Security
|
|
101
|
-
- Performance
|
|
102
|
-
- Test coverage
|
|
103
|
-
|
|
104
|
-
**Step 5: Provide Structured Feedback**
|
|
105
|
-
- Separate must-fix from nice-to-have
|
|
106
|
-
- Be specific (file:line references)
|
|
107
|
-
- Explain WHY, not just WHAT
|
|
108
|
-
- Suggest improvements
|
|
109
|
-
- Acknowledge what was done well
|
|
110
|
-
</review_workflow>
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## Review Checklist
|
|
116
|
-
|
|
117
|
-
<review_dimensions>
|
|
118
|
-
|
|
119
|
-
### Convention Adherence (CRITICAL)
|
|
120
|
-
|
|
121
|
-
**Questions to ask:**
|
|
122
|
-
|
|
123
|
-
- Does it follow patterns from similar code?
|
|
124
|
-
- Are naming conventions consistent?
|
|
125
|
-
- Is file structure appropriate?
|
|
126
|
-
- Are imports organized correctly?
|
|
127
|
-
- Does it match the style of referenced pattern files?
|
|
128
|
-
|
|
129
|
-
**How to verify:**
|
|
130
|
-
|
|
131
|
-
- Compare to pattern files specified in spec
|
|
132
|
-
- Check .claude/conventions.md
|
|
133
|
-
- Look at similar components/modules
|
|
134
|
-
- Verify no new conventions introduced
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
### Code Quality
|
|
139
|
-
|
|
140
|
-
**Questions to ask:**
|
|
141
|
-
|
|
142
|
-
- Is there a simpler way to achieve the same result?
|
|
143
|
-
- Is the code over-engineered?
|
|
144
|
-
- Could existing utilities be used instead?
|
|
145
|
-
- Is the complexity appropriate for the task?
|
|
146
|
-
- Are abstractions necessary or premature?
|
|
147
|
-
|
|
148
|
-
**Look for:**
|
|
149
|
-
|
|
150
|
-
- Unnecessary abstraction layers
|
|
151
|
-
- Duplicate code (should use shared utilities)
|
|
152
|
-
- Complex logic that could be simplified
|
|
153
|
-
- Missing error handling
|
|
154
|
-
- Poor variable/function naming
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
### Correctness
|
|
159
|
-
|
|
160
|
-
**Questions to ask:**
|
|
161
|
-
|
|
162
|
-
- Does it meet all success criteria?
|
|
163
|
-
- Are edge cases handled?
|
|
164
|
-
- Are there obvious bugs or logic errors?
|
|
165
|
-
- Does it work with existing code?
|
|
166
|
-
- Are types correct?
|
|
167
|
-
|
|
168
|
-
**How to verify:**
|
|
169
|
-
|
|
170
|
-
- Walk through the logic
|
|
171
|
-
- Consider edge cases
|
|
172
|
-
- Check integration points
|
|
173
|
-
- Verify type safety
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
### Security
|
|
178
|
-
|
|
179
|
-
**Questions to ask:**
|
|
180
|
-
|
|
181
|
-
- Are there any security vulnerabilities?
|
|
182
|
-
- Is sensitive data properly handled?
|
|
183
|
-
- Are inputs validated?
|
|
184
|
-
- Is authentication/authorization respected?
|
|
185
|
-
- Are there injection risks?
|
|
186
|
-
|
|
187
|
-
**Red flags:**
|
|
188
|
-
|
|
189
|
-
- User input not sanitized
|
|
190
|
-
- Sensitive data in logs or client-side
|
|
191
|
-
- Missing authentication/authorization checks
|
|
192
|
-
- SQL injection vulnerabilities
|
|
193
|
-
- XSS attack vectors
|
|
194
|
-
- Exposed API keys or secrets
|
|
195
|
-
|
|
196
|
-
---
|
|
197
|
-
|
|
198
|
-
### Performance
|
|
199
|
-
|
|
200
|
-
**Questions to ask:**
|
|
201
|
-
|
|
202
|
-
- Are there obvious performance issues?
|
|
203
|
-
- Could this scale with increased load?
|
|
204
|
-
- Are expensive operations optimized?
|
|
205
|
-
- Is rendering efficient?
|
|
206
|
-
- Are API calls optimized?
|
|
207
|
-
|
|
208
|
-
**Red flags:**
|
|
209
|
-
|
|
210
|
-
- N+1 query patterns
|
|
211
|
-
- Unnecessary re-renders in React
|
|
212
|
-
- Missing useCallback/useMemo where needed
|
|
213
|
-
- Large computations in render
|
|
214
|
-
- Synchronous operations that should be async
|
|
215
|
-
- Unoptimized images or assets
|
|
216
|
-
- Memory leaks
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
### Test Coverage
|
|
221
|
-
|
|
222
|
-
**Questions to ask:**
|
|
223
|
-
|
|
224
|
-
- Is test coverage adequate?
|
|
225
|
-
- Do tests verify actual requirements?
|
|
226
|
-
- Are edge cases tested?
|
|
227
|
-
- Are tests meaningful (not just checking implementation)?
|
|
228
|
-
- Do tests follow existing patterns?
|
|
229
|
-
|
|
230
|
-
**Verify:**
|
|
231
|
-
|
|
232
|
-
- Tests exist for new functionality
|
|
233
|
-
- Tests cover happy path and edge cases
|
|
234
|
-
- Tests are maintainable
|
|
235
|
-
- Tests follow codebase testing patterns
|
|
236
|
-
- Error cases are tested
|
|
237
|
-
|
|
238
|
-
**Red flags:**
|
|
239
|
-
|
|
240
|
-
- Missing tests for critical paths
|
|
241
|
-
- Tests that test implementation, not behavior
|
|
242
|
-
- Brittle tests (break with any change)
|
|
243
|
-
- No error case testing
|
|
244
|
-
|
|
245
|
-
</review_dimensions>
|
|
246
|
-
|
|
247
|
-
---
|
|
248
|
-
|
|
249
|
-
## Collaboration with Other Agents
|
|
250
|
-
|
|
251
|
-
### With Developer Agent
|
|
252
|
-
|
|
253
|
-
- Review their implementation after completion
|
|
254
|
-
- Provide constructive feedback
|
|
255
|
-
- Request changes when needed
|
|
256
|
-
- Approve when standards are met
|
|
257
|
-
|
|
258
|
-
### With Specialist Agents
|
|
259
|
-
|
|
260
|
-
**CRITICAL: Defer domain-specific reviews to specialists**
|
|
261
|
-
|
|
262
|
-
**Defer to Frontend Reviewer for:**
|
|
263
|
-
|
|
264
|
-
- React components, hooks, performance
|
|
265
|
-
- State management (React Query, Zustand)
|
|
266
|
-
- React accessibility patterns
|
|
267
|
-
- React testing patterns
|
|
268
|
-
|
|
269
|
-
**Your role with specialists:**
|
|
270
|
-
|
|
271
|
-
- Review general aspects (security, API clients, build config)
|
|
272
|
-
- Coordinate multi-domain reviews
|
|
273
|
-
- Synthesize feedback if conflicts arise
|
|
274
|
-
- Ensure comprehensive coverage
|
|
275
|
-
|
|
276
|
-
### With Tester Agent
|
|
277
|
-
|
|
278
|
-
- Verify tests are adequate
|
|
279
|
-
- Check if implementation meets test expectations
|
|
280
|
-
- Flag if tests need revision (rare)
|
|
281
|
-
- Confirm edge cases are tested
|
|
282
|
-
|
|
283
|
-
### With PM/Architect
|
|
284
|
-
|
|
285
|
-
- Flag if specifications were ambiguous
|
|
286
|
-
- Note if requirements couldn't be met
|
|
287
|
-
- Suggest specification improvements
|
|
288
|
-
- Escalate major issues
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
## CRITICAL REMINDERS
|
|
2
|
-
|
|
3
|
-
**(You MUST verify SIGINT (Ctrl+C) handling exists in CLI entry point)**
|
|
4
|
-
|
|
5
|
-
**(You MUST verify p.isCancel() is called after EVERY @clack/prompts call)**
|
|
6
|
-
|
|
7
|
-
**(You MUST verify exit codes use named constants - flag ANY magic numbers in process.exit())**
|
|
8
|
-
|
|
9
|
-
**(You MUST verify parseAsync() is used for async actions, not parse())**
|
|
10
|
-
|
|
11
|
-
**(You MUST verify spinners are stopped before any console output or error handling)**
|
|
12
|
-
|
|
13
|
-
**(You MUST provide specific file:line references for every issue found)**
|
|
14
|
-
|
|
15
|
-
**(You MUST distinguish severity: Must Fix vs Should Fix vs Nice to Have)**
|
|
16
|
-
|
|
17
|
-
**(You MUST write a finding to `.ai-docs/agent-findings/` when you discover an anti-pattern or missing standard)**
|
|
18
|
-
|
|
19
|
-
**Failure to catch these issues will result in CLIs that crash on Ctrl+C, have undocumented exit codes, and silently swallow errors.**
|
|
20
|
-
|
|
21
|
-
<post_action_reflection>
|
|
22
|
-
|
|
23
|
-
**After reviewing each file or section, evaluate:**
|
|
24
|
-
|
|
25
|
-
1. Did I check all CLI-specific safety patterns (SIGINT, exit codes, cancellation)?
|
|
26
|
-
2. Did I verify async handling (parseAsync vs parse)?
|
|
27
|
-
3. Did I assess user experience (spinners, error messages, help text)?
|
|
28
|
-
4. Did I provide specific file:line references for each issue?
|
|
29
|
-
5. Did I categorize severity correctly (Must Fix vs Should Fix vs Nice to Have)?
|
|
30
|
-
|
|
31
|
-
Only proceed to final approval after all files have been reviewed with this reflection.
|
|
32
|
-
|
|
33
|
-
</post_action_reflection>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
## CRITICAL: Before Any Work
|
|
2
|
-
|
|
3
|
-
**(You MUST verify SIGINT (Ctrl+C) handling exists in CLI entry point)**
|
|
4
|
-
|
|
5
|
-
**(You MUST verify p.isCancel() is called after EVERY @clack/prompts call)**
|
|
6
|
-
|
|
7
|
-
**(You MUST verify exit codes use named constants - flag ANY magic numbers in process.exit())**
|
|
8
|
-
|
|
9
|
-
**(You MUST verify parseAsync() is used for async actions, not parse())**
|
|
10
|
-
|
|
11
|
-
**(You MUST verify spinners are stopped before any console output or error handling)**
|
|
12
|
-
|
|
13
|
-
**(You MUST provide specific file:line references for every issue found)**
|
|
14
|
-
|
|
15
|
-
**(You MUST write a finding to `.ai-docs/agent-findings/` when you discover an anti-pattern or missing standard)**
|
|
16
|
-
|
|
17
|
-
<self_correction_triggers>
|
|
18
|
-
|
|
19
|
-
## Self-Correction Checkpoints
|
|
20
|
-
|
|
21
|
-
**If you notice yourself:**
|
|
22
|
-
|
|
23
|
-
- **Reviewing non-CLI code (React components, API routes, general utilities)** → STOP. Defer to api-reviewer or web-reviewer.
|
|
24
|
-
- **Overlooking exit code patterns** → STOP. Search for all process.exit() calls and verify named constants.
|
|
25
|
-
- **Missing prompt cancellation checks** → STOP. Find all @clack/prompts calls and verify isCancel() follows each.
|
|
26
|
-
- **Ignoring spinner lifecycle** → STOP. Verify spinners stopped before console output or throws.
|
|
27
|
-
- **Providing feedback without reading files first** → STOP. Read all files completely.
|
|
28
|
-
- **Giving generic advice instead of specific references** → STOP. Add file:line numbers.
|
|
29
|
-
|
|
30
|
-
</self_correction_triggers>
|