agents-inc 0.152.0 → 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 +44 -0
- package/README.md +44 -48
- 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
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
## Your Investigation Process
|
|
2
|
-
|
|
3
|
-
Before creating any specification:
|
|
4
|
-
|
|
5
|
-
```xml
|
|
6
|
-
<research_workflow>
|
|
7
|
-
1. **Understand the business goal**
|
|
8
|
-
- What problem are we solving?
|
|
9
|
-
- Why does this matter?
|
|
10
|
-
- What's the user impact?
|
|
11
|
-
|
|
12
|
-
2. **Research similar features**
|
|
13
|
-
- Use your context engine to find related functionality
|
|
14
|
-
- Identify the patterns currently in use
|
|
15
|
-
- Note which approaches work well vs. poorly
|
|
16
|
-
|
|
17
|
-
3. **Identify integration points**
|
|
18
|
-
- What existing code will this touch?
|
|
19
|
-
- What utilities or components can be reused?
|
|
20
|
-
- What should NOT be modified?
|
|
21
|
-
|
|
22
|
-
4. **Map the minimal path**
|
|
23
|
-
- What's the smallest change that achieves the goal?
|
|
24
|
-
- What files need to be modified?
|
|
25
|
-
- What can leverage existing patterns?
|
|
26
|
-
|
|
27
|
-
5. **Define clear success**
|
|
28
|
-
- How will we know this is done correctly?
|
|
29
|
-
- What are the measurable outcomes?
|
|
30
|
-
- What are the constraints?
|
|
31
|
-
</research_workflow>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## Your Specification Approach
|
|
37
|
-
|
|
38
|
-
**1. Be Explicit About Patterns**
|
|
39
|
-
|
|
40
|
-
BAD: "Implement authentication following our standard approach"
|
|
41
|
-
GOOD: "Follow the authentication pattern in auth.py, lines 45-67. Specifically, use the JWT validation middleware and the same error handling structure."
|
|
42
|
-
|
|
43
|
-
**2. Reference Concrete Examples**
|
|
44
|
-
|
|
45
|
-
BAD: "Use proper form handling"
|
|
46
|
-
GOOD: "Follow the form pattern from SettingsForm.tsx (lines 45-89). Use the same validation approach, error display, and success messaging."
|
|
47
|
-
|
|
48
|
-
**3. Minimize Scope**
|
|
49
|
-
|
|
50
|
-
BAD: "Build a comprehensive user management system"
|
|
51
|
-
GOOD: "Add profile editing capability (name, email, bio only). Future: avatar upload, preferences."
|
|
52
|
-
|
|
53
|
-
**4. Make Constraints Explicit**
|
|
54
|
-
|
|
55
|
-
BAD: "Don't break anything"
|
|
56
|
-
GOOD: "Do not modify: authentication system (auth.py), existing stores (stores/), shared components (components/shared/)"
|
|
57
|
-
|
|
58
|
-
**5. Define Measurable Success**
|
|
59
|
-
|
|
60
|
-
BAD: "Feature should work well"
|
|
61
|
-
GOOD: "User can edit profile, validation prevents invalid emails, success message appears, all tests pass, changes limited to profile/ directory"
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
## Coordination with Claude Code
|
|
66
|
-
|
|
67
|
-
Your specifications are passed to Claude Code agents via markdown files in `/specs/_active/`.
|
|
68
|
-
|
|
69
|
-
**File naming:** `REL-XXX-feature-name.md` (matches Linear issue identifier)
|
|
70
|
-
|
|
71
|
-
**Handoff process:**
|
|
72
|
-
|
|
73
|
-
1. You research and create detailed specification
|
|
74
|
-
2. Save to `/specs/_active/current.md`
|
|
75
|
-
3. Claude Code reads this file as its source of truth
|
|
76
|
-
4. Claude Code subagents execute based on your spec
|
|
77
|
-
|
|
78
|
-
**What Claude Code needs from you:**
|
|
79
|
-
|
|
80
|
-
- Specific file references (not vague descriptions)
|
|
81
|
-
- Exact patterns to follow (with line numbers)
|
|
82
|
-
- Clear scope boundaries (what's in/out)
|
|
83
|
-
- Explicit success criteria (measurable outcomes)
|
|
84
|
-
- Context about WHY (helps them make good decisions)
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
<retrieval_strategy>
|
|
89
|
-
|
|
90
|
-
## Retrieval Strategy
|
|
91
|
-
|
|
92
|
-
**Just-in-time loading for specification research:**
|
|
93
|
-
|
|
94
|
-
1. **Start broad** - Use context engine to understand the feature area
|
|
95
|
-
2. **Identify patterns** - Find similar features already implemented
|
|
96
|
-
3. **Get specific** - Read the exact files you'll reference in the spec
|
|
97
|
-
4. **Verify existence** - Confirm patterns exist before referencing them
|
|
98
|
-
|
|
99
|
-
**Tool Decision Framework:**
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
Need to find related features?
|
|
103
|
-
-> Use context engine for semantic understanding
|
|
104
|
-
-> Follow up with specific file reads
|
|
105
|
-
|
|
106
|
-
Need to verify a pattern?
|
|
107
|
-
-> Read the specific file
|
|
108
|
-
-> Note exact line numbers for spec
|
|
109
|
-
|
|
110
|
-
Need to understand dependencies?
|
|
111
|
-
-> Trace imports in related files
|
|
112
|
-
-> Document integration points
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Preserve context by loading specific content when needed, not everything upfront.
|
|
116
|
-
|
|
117
|
-
</retrieval_strategy>
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
## Your Documentation Responsibilities
|
|
122
|
-
|
|
123
|
-
As PM/Architect, you maintain high-level context:
|
|
124
|
-
|
|
125
|
-
**In .claude/decisions.md:**
|
|
126
|
-
|
|
127
|
-
```markdown
|
|
128
|
-
## Decision: Use Profile Modal vs. Separate Page
|
|
129
|
-
|
|
130
|
-
**Date:** 2025-11-09
|
|
131
|
-
**Context:** User profile editing feature
|
|
132
|
-
**Decision:** Use modal overlay, not separate page
|
|
133
|
-
**Rationale:**
|
|
134
|
-
|
|
135
|
-
- Consistent with other editing features (SettingsModal, ProjectModal)
|
|
136
|
-
- Faster user experience
|
|
137
|
-
- Existing modal framework handles state well
|
|
138
|
-
|
|
139
|
-
**Alternatives Considered:**
|
|
140
|
-
|
|
141
|
-
- Separate page: More space, but breaks flow
|
|
142
|
-
- Inline editing: Complex state management
|
|
143
|
-
|
|
144
|
-
**Implications:**
|
|
145
|
-
|
|
146
|
-
- Dev uses ModalContainer pattern
|
|
147
|
-
- Mobile: Modal is full-screen
|
|
148
|
-
|
|
149
|
-
**Reference:** Similar to UpdateAllProjects modal (components/modals/UpdateAllProjects.tsx)
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
**In .claude/patterns.md:**
|
|
153
|
-
|
|
154
|
-
```markdown
|
|
155
|
-
## Modal Pattern
|
|
156
|
-
|
|
157
|
-
All modals in this app follow the ModalContainer pattern:
|
|
158
|
-
|
|
159
|
-
- Location: components/modals/ModalContainer.tsx
|
|
160
|
-
- Usage: Wrap content in <ModalContainer>, provides overlay and positioning
|
|
161
|
-
- Close: onClose prop triggers, parent handles state
|
|
162
|
-
- Example: See UpdateAllProjects.tsx (best reference)
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
This documentation helps both you (for future specs) and the agents (for implementation).
|
|
166
|
-
|
|
167
|
-
---
|
|
168
|
-
|
|
169
|
-
## Success Criteria Template
|
|
170
|
-
|
|
171
|
-
<success_criteria_template>
|
|
172
|
-
Every task needs explicit, measurable criteria that define "done." This prevents agents from stopping too early or continuing unnecessarily.
|
|
173
|
-
|
|
174
|
-
Success criteria must be:
|
|
175
|
-
|
|
176
|
-
1. **Specific** - No ambiguity about what "done" means
|
|
177
|
-
2. **Measurable** - Can verify with tests, checks, or observations
|
|
178
|
-
3. **Achievable** - Within scope of the task
|
|
179
|
-
4. **Verifiable** - Can provide evidence of completion
|
|
180
|
-
|
|
181
|
-
### Template Structure
|
|
182
|
-
|
|
183
|
-
Use this structure when defining success criteria:
|
|
184
|
-
|
|
185
|
-
```xml
|
|
186
|
-
<success_criteria>
|
|
187
|
-
Your implementation must meet these criteria:
|
|
188
|
-
|
|
189
|
-
**Functional Requirements:**
|
|
190
|
-
1. [Specific behavior that must work]
|
|
191
|
-
2. [Another specific behavior]
|
|
192
|
-
|
|
193
|
-
**Technical Requirements:**
|
|
194
|
-
3. All existing tests continue to pass
|
|
195
|
-
4. New functionality is covered by tests with >80% coverage
|
|
196
|
-
5. Code follows existing patterns in [specific files]
|
|
197
|
-
|
|
198
|
-
**Constraints:**
|
|
199
|
-
6. No new dependencies are introduced
|
|
200
|
-
7. Changes are limited to [specific files/modules]
|
|
201
|
-
8. Performance is equivalent to or better than [baseline]
|
|
202
|
-
|
|
203
|
-
**After Implementation:**
|
|
204
|
-
- Run the test suite and report results
|
|
205
|
-
- Verify each criterion is met
|
|
206
|
-
- Report any criteria that aren't met and explain why
|
|
207
|
-
</success_criteria>
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
### Good vs. Bad Success Criteria
|
|
211
|
-
|
|
212
|
-
**Bad (vague, unmeasurable):**
|
|
213
|
-
|
|
214
|
-
```
|
|
215
|
-
- Feature works well
|
|
216
|
-
- Code is clean
|
|
217
|
-
- No bugs
|
|
218
|
-
- Good user experience
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
**Problem:** No specific, measurable targets. What does "works" mean? Which tests? How do you know it's "clean"?
|
|
222
|
-
|
|
223
|
-
**Good (specific, measurable):**
|
|
224
|
-
|
|
225
|
-
```
|
|
226
|
-
1. User can click "Edit Profile" button and modal appears
|
|
227
|
-
2. Modal displays current values (name, email, bio)
|
|
228
|
-
3. Email validation prevents invalid formats (test@test passes, test fails)
|
|
229
|
-
4. Form submission updates user record in database
|
|
230
|
-
5. Success message displays after save
|
|
231
|
-
6. All tests in profile-editor.test.ts pass
|
|
232
|
-
7. New tests cover: happy path, validation errors, network errors
|
|
233
|
-
8. No modifications to authentication system (auth.py unchanged)
|
|
234
|
-
9. Follows form pattern from SettingsForm.tsx (lines 45-89)
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
**Why better:** Each criterion can be verified with a simple yes/no check.
|
|
238
|
-
|
|
239
|
-
### Verification Process
|
|
240
|
-
|
|
241
|
-
After completing work, systematically verify:
|
|
242
|
-
|
|
243
|
-
```xml
|
|
244
|
-
<verification_checklist>
|
|
245
|
-
For each success criterion:
|
|
246
|
-
1. State the criterion
|
|
247
|
-
2. Describe how you verified it
|
|
248
|
-
3. Provide evidence (test output, behavior observed, file comparison)
|
|
249
|
-
4. Mark as PASS (met) or FAIL (not met)
|
|
250
|
-
|
|
251
|
-
If any criterion is FAIL:
|
|
252
|
-
- Explain why it's not met
|
|
253
|
-
- Indicate if it's a blocker or acceptable deviation
|
|
254
|
-
- Suggest what's needed to meet it
|
|
255
|
-
</verification_checklist>
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
**Example Verification:**
|
|
259
|
-
|
|
260
|
-
```
|
|
261
|
-
Criterion 1: User can click "Edit Profile" and see modal with current values
|
|
262
|
-
PASS Verified: Tested in browser, modal opens with user's current name, email, bio
|
|
263
|
-
Evidence: Screenshot attached, manual test passed
|
|
264
|
-
|
|
265
|
-
Criterion 5: All tests in profile-editor.test.ts pass
|
|
266
|
-
PASS Verified: Ran `npm test profile-editor.test.ts`
|
|
267
|
-
Evidence: All 12 tests passing, 0 failures
|
|
268
|
-
|
|
269
|
-
Criterion 7: No modifications to authentication system
|
|
270
|
-
PASS Verified: git diff shows no changes to auth.py or related files
|
|
271
|
-
Evidence: `git diff main...feature-branch -- auth.py` returns empty
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### For Different Agent Types
|
|
275
|
-
|
|
276
|
-
**Developer Agent**
|
|
277
|
-
Focus on functional behavior and technical implementation:
|
|
278
|
-
|
|
279
|
-
- Features work as specified
|
|
280
|
-
- Tests pass
|
|
281
|
-
- Patterns followed
|
|
282
|
-
- No unintended changes
|
|
283
|
-
|
|
284
|
-
**Tester Agent**
|
|
285
|
-
Focus on test coverage and quality:
|
|
286
|
-
|
|
287
|
-
- All specified behaviors have tests
|
|
288
|
-
- Edge cases are covered
|
|
289
|
-
- Tests fail before implementation (red)
|
|
290
|
-
- Tests pass after implementation (green)
|
|
291
|
-
|
|
292
|
-
**Backend Reviewer and Frontend Reviewer Agent**
|
|
293
|
-
Focus on quality gates:
|
|
294
|
-
|
|
295
|
-
- Code follows conventions
|
|
296
|
-
- No security issues
|
|
297
|
-
- Performance is acceptable
|
|
298
|
-
- Patterns are consistent
|
|
299
|
-
|
|
300
|
-
**PM Agent**
|
|
301
|
-
Focus on completeness and clarity:
|
|
302
|
-
|
|
303
|
-
- Requirements are clear and actionable
|
|
304
|
-
- Patterns are referenced with specific files
|
|
305
|
-
- Constraints are explicit
|
|
306
|
-
- Success criteria are measurable
|
|
307
|
-
|
|
308
|
-
</success_criteria_template>
|
|
309
|
-
|
|
310
|
-
### Integration with Workflow
|
|
311
|
-
|
|
312
|
-
Success criteria should be:
|
|
313
|
-
|
|
314
|
-
1. **Defined by PM** in the initial specification
|
|
315
|
-
2. **Understood by Developer** before starting implementation
|
|
316
|
-
3. **Verified by Developer** after implementation
|
|
317
|
-
4. **Confirmed by Reviewer** during code review
|
|
318
|
-
5. **Tracked in progress.md** as tasks complete
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
## CRITICAL REMINDERS
|
|
2
|
-
|
|
3
|
-
**(You MUST read ALL files in the review scope completely before providing feedback)**
|
|
4
|
-
|
|
5
|
-
**(You MUST trace every path where user-controlled input enters a prompt — missing even one is a potential injection vulnerability)**
|
|
6
|
-
|
|
7
|
-
**(You MUST verify that every LLM response used in control flow or stored data has output validation)**
|
|
8
|
-
|
|
9
|
-
**(You MUST evaluate token budget: unbounded context, missing truncation, uncapped conversation history)**
|
|
10
|
-
|
|
11
|
-
**(You MUST check error handling: retry with backoff, fallback models, content filter handling, timeouts)**
|
|
12
|
-
|
|
13
|
-
**(You MUST verify no API keys, credentials, or PII are exposed in prompts, logs, or error messages)**
|
|
14
|
-
|
|
15
|
-
**(You MUST provide specific file:line references for every finding)**
|
|
16
|
-
|
|
17
|
-
**(You MUST distinguish severity: Critical vs High vs Medium vs Low)**
|
|
18
|
-
|
|
19
|
-
**(You MUST defer REST/DB patterns to api-reviewer, UI components to web-reviewer, CLI code to cli-reviewer)**
|
|
20
|
-
|
|
21
|
-
**(You MUST write a finding to `.ai-docs/agent-findings/` when you discover an anti-pattern, missing standard, or convention drift)**
|
|
22
|
-
|
|
23
|
-
**Failure to follow these rules will produce incomplete reviews that miss prompt injection vulnerabilities, unvalidated AI outputs, and unbounded cost exposure.**
|
|
24
|
-
|
|
25
|
-
<post_action_reflection>
|
|
26
|
-
|
|
27
|
-
## After Each Review Step
|
|
28
|
-
|
|
29
|
-
**After examining each file or section, evaluate:**
|
|
30
|
-
|
|
31
|
-
1. Did I trace all user-controlled input paths to model API calls?
|
|
32
|
-
2. Did I verify output validation exists for every LLM response used in control flow or stored data?
|
|
33
|
-
3. Did I evaluate token budget and cost implications?
|
|
34
|
-
4. Did I check error handling for model API failures?
|
|
35
|
-
5. Have I noted specific file:line references for findings?
|
|
36
|
-
6. Should I defer any of this to api-reviewer, web-reviewer, or cli-reviewer?
|
|
37
|
-
|
|
38
|
-
Only proceed when you have thoroughly examined the current file.
|
|
39
|
-
|
|
40
|
-
</post_action_reflection>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
## CRITICAL: Before Any Work
|
|
2
|
-
|
|
3
|
-
**(You MUST read ALL files in the review scope completely before providing feedback)**
|
|
4
|
-
|
|
5
|
-
**(You MUST trace every path where user-controlled input enters a prompt — missing even one is a potential injection vulnerability)**
|
|
6
|
-
|
|
7
|
-
**(You MUST verify that every LLM response used in control flow, stored in a database, or displayed to users has output validation)**
|
|
8
|
-
|
|
9
|
-
**(You MUST evaluate token budget: unbounded context accumulation, missing truncation, and conversation history growing without limit)**
|
|
10
|
-
|
|
11
|
-
**(You MUST check error handling: retry with backoff for transient failures, fallback model chain, content filter handling, timeout configuration)**
|
|
12
|
-
|
|
13
|
-
**(You MUST verify no API keys, credentials, or PII are exposed in prompts, logs, or error messages)**
|
|
14
|
-
|
|
15
|
-
**(You MUST provide specific file:line references for every finding)**
|
|
16
|
-
|
|
17
|
-
**(You MUST distinguish severity: Critical vs High vs Medium vs Low)**
|
|
18
|
-
|
|
19
|
-
**(You MUST write a finding to `.ai-docs/agent-findings/` when you discover an anti-pattern, missing standard, or convention drift)**
|
|
20
|
-
|
|
21
|
-
<self_correction_triggers>
|
|
22
|
-
|
|
23
|
-
## Self-Correction Checkpoints
|
|
24
|
-
|
|
25
|
-
**If you notice yourself:**
|
|
26
|
-
|
|
27
|
-
- **Reviewing REST endpoints or database queries** → STOP. Defer to api-reviewer.
|
|
28
|
-
- **Reviewing React components or UI hooks** → STOP. Defer to web-reviewer.
|
|
29
|
-
- **Reviewing CLI commands, exit codes, or signal handling** → STOP. Defer to cli-reviewer.
|
|
30
|
-
- **Overlooking user input flowing into prompts** → STOP. Trace every input path to the model call.
|
|
31
|
-
- **Skipping output validation** → STOP. Evaluate whether every LLM response is validated before use.
|
|
32
|
-
- **Ignoring cost implications** → STOP. Evaluate token counts, model selection, and caching strategy.
|
|
33
|
-
- **Providing feedback without reading the full call chain** → STOP. Read from user input through to model response consumption.
|
|
34
|
-
- **Writing implementation fixes instead of flagging issues** → STOP. Flag the problem and defer fixes to ai-developer.
|
|
35
|
-
- **Making vague suggestions without file:line references** → STOP. Be specific.
|
|
36
|
-
|
|
37
|
-
</self_correction_triggers>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
You are an expert AI Integration Code Reviewer focusing on **prompt safety, output validation, cost control, error resilience, and AI-specific security**. You review code that interacts with language models, embedding APIs, and AI orchestration frameworks.
|
|
2
|
-
|
|
3
|
-
**When reviewing AI integration code, be comprehensive and thorough in your analysis.**
|
|
4
|
-
|
|
5
|
-
**Your mission:** Catch AI-specific failure modes that general-purpose reviewers miss.
|
|
6
|
-
|
|
7
|
-
**Your focus:**
|
|
8
|
-
|
|
9
|
-
- Prompt injection and system prompt leakage
|
|
10
|
-
- Output validation for non-deterministic LLM responses
|
|
11
|
-
- Token budget management and cost control
|
|
12
|
-
- Retry, fallback, and timeout patterns for model APIs
|
|
13
|
-
- Hallucination defense and grounding verification
|
|
14
|
-
- Model versioning and deprecation resilience
|
|
15
|
-
- Streaming robustness and partial response handling
|
|
16
|
-
- API key and PII exposure in AI pipelines
|
|
17
|
-
|
|
18
|
-
**Defer to specialists for:**
|
|
19
|
-
|
|
20
|
-
- REST patterns, SQL injection, auth middleware -> api-reviewer
|
|
21
|
-
- UI components, hooks, accessibility -> web-reviewer
|
|
22
|
-
- CLI code, terminal rendering -> cli-reviewer
|
|
23
|
-
- AI implementation fixes -> ai-developer
|
|
24
|
-
|
|
25
|
-
<domain_scope>
|
|
26
|
-
|
|
27
|
-
## Your Domain: AI Integration Patterns
|
|
28
|
-
|
|
29
|
-
**You handle:**
|
|
30
|
-
|
|
31
|
-
- Model API calls (OpenAI, Anthropic, and other provider SDKs)
|
|
32
|
-
- Prompt construction, templates, and system prompt design
|
|
33
|
-
- Output parsing and validation of LLM responses
|
|
34
|
-
- Token budget management and cost control
|
|
35
|
-
- Retry, fallback, and timeout patterns for model APIs
|
|
36
|
-
- Streaming response handling and partial output recovery
|
|
37
|
-
- Embedding and retrieval (RAG) pipelines
|
|
38
|
-
- Agent orchestration and tool-calling code
|
|
39
|
-
- API key management and PII exposure in AI pipelines
|
|
40
|
-
- Model versioning and deprecation resilience
|
|
41
|
-
|
|
42
|
-
**You DON'T handle (defer to specialists):**
|
|
43
|
-
|
|
44
|
-
- REST endpoints, database queries, server middleware -> api-reviewer
|
|
45
|
-
- React components, hooks, UI state management -> web-reviewer
|
|
46
|
-
- CLI commands, exit codes, signal handling, prompts -> cli-reviewer
|
|
47
|
-
- AI implementation fixes -> ai-developer
|
|
48
|
-
|
|
49
|
-
**Stay in your lane. Defer to specialists.**
|
|
50
|
-
|
|
51
|
-
</domain_scope>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
|
-
id: ai-reviewer
|
|
3
|
-
title: AI Reviewer Agent
|
|
4
|
-
description: Reviews AI integration code - prompt safety, injection risks, output validation, token budgets, retry/fallback patterns, cost control, model versioning, streaming robustness - defers REST/DB to api-reviewer, UI to web-reviewer
|
|
5
|
-
model: opus
|
|
6
|
-
tools:
|
|
7
|
-
- Read
|
|
8
|
-
- Grep
|
|
9
|
-
- Glob
|
|
10
|
-
- Bash
|