agents-inc 0.149.2 → 0.150.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 +2277 -0
- package/LICENSE +21 -0
- package/README.md +136 -19
- package/assets/demo.gif +0 -0
- package/assets/demo.tape +266 -0
- package/assets/logo.svg +75 -0
- package/dist/chunk-2RSNKBXC.js +84 -0
- package/dist/chunk-2RSNKBXC.js.map +1 -0
- package/dist/chunk-3LIU2ZEF.js +1355 -0
- package/dist/chunk-3LIU2ZEF.js.map +1 -0
- package/dist/chunk-4GL2F5AB.js +222 -0
- package/dist/chunk-4GL2F5AB.js.map +1 -0
- package/dist/chunk-4LPJZNT7.js +382 -0
- package/dist/chunk-4LPJZNT7.js.map +1 -0
- package/dist/chunk-5K5RBRTD.js +62 -0
- package/dist/chunk-5K5RBRTD.js.map +1 -0
- package/dist/chunk-6I6RZHYP.js +789 -0
- package/dist/chunk-6I6RZHYP.js.map +1 -0
- package/dist/chunk-7URSGJLE.js +430 -0
- package/dist/chunk-7URSGJLE.js.map +1 -0
- package/dist/chunk-C55DN7GE.js +35 -0
- package/dist/chunk-C55DN7GE.js.map +1 -0
- package/dist/chunk-CDMHSHBN.js +68 -0
- package/dist/chunk-CDMHSHBN.js.map +1 -0
- package/dist/chunk-CFQT72MJ.js +92 -0
- package/dist/chunk-CFQT72MJ.js.map +1 -0
- package/dist/chunk-DAG2ULNF.js +125 -0
- package/dist/chunk-DAG2ULNF.js.map +1 -0
- package/dist/chunk-DDG4F3FE.js +181 -0
- package/dist/chunk-DDG4F3FE.js.map +1 -0
- package/dist/chunk-DIBCRIMR.js +36 -0
- package/dist/chunk-DIBCRIMR.js.map +1 -0
- package/dist/chunk-DJAZE4PD.js +10929 -0
- package/dist/chunk-DJAZE4PD.js.map +1 -0
- package/dist/chunk-DUVWGO6E.js +54 -0
- package/dist/chunk-DUVWGO6E.js.map +1 -0
- package/dist/chunk-E4FT2KFV.js +174 -0
- package/dist/chunk-E4FT2KFV.js.map +1 -0
- package/dist/chunk-EKWAUOQB.js +96 -0
- package/dist/chunk-EKWAUOQB.js.map +1 -0
- package/dist/chunk-EN2GCPW7.js +300 -0
- package/dist/chunk-EN2GCPW7.js.map +1 -0
- package/dist/chunk-ES3NJZON.js +31 -0
- package/dist/chunk-ES3NJZON.js.map +1 -0
- package/dist/chunk-F3756A5B.js +20 -0
- package/dist/chunk-F3756A5B.js.map +1 -0
- package/dist/chunk-FWT3CBLL.js +51 -0
- package/dist/chunk-FWT3CBLL.js.map +1 -0
- package/dist/chunk-FYPUUYSG.js +31 -0
- package/dist/chunk-FYPUUYSG.js.map +1 -0
- package/dist/chunk-GRPSDKIS.js +112 -0
- package/dist/chunk-GRPSDKIS.js.map +1 -0
- package/dist/chunk-GYG5SE2D.js +81 -0
- package/dist/chunk-GYG5SE2D.js.map +1 -0
- package/dist/chunk-HIPGKIT3.js +287 -0
- package/dist/chunk-HIPGKIT3.js.map +1 -0
- package/dist/chunk-I3XKEGHM.js +16383 -0
- package/dist/chunk-I3XKEGHM.js.map +1 -0
- package/dist/chunk-IHO75PMZ.js +40 -0
- package/dist/chunk-IHO75PMZ.js.map +1 -0
- package/dist/chunk-IOJR5TOY.js +47 -0
- package/dist/chunk-IOJR5TOY.js.map +1 -0
- package/dist/chunk-K3OU6TGX.js +77 -0
- package/dist/chunk-K3OU6TGX.js.map +1 -0
- package/dist/chunk-KH7MOIM5.js +6010 -0
- package/dist/chunk-KH7MOIM5.js.map +1 -0
- package/dist/chunk-KIR7VYQD.js +63 -0
- package/dist/chunk-KIR7VYQD.js.map +1 -0
- package/dist/chunk-KOPEM3Q7.js +27 -0
- package/dist/chunk-KOPEM3Q7.js.map +1 -0
- package/dist/chunk-KSZ6PCY4.js +43 -0
- package/dist/chunk-KSZ6PCY4.js.map +1 -0
- package/dist/chunk-LRYNF3J7.js +111 -0
- package/dist/chunk-LRYNF3J7.js.map +1 -0
- package/dist/chunk-LYYXX2W5.js +87 -0
- package/dist/chunk-LYYXX2W5.js.map +1 -0
- package/dist/chunk-MC5DUZ3V.js +1135 -0
- package/dist/chunk-MC5DUZ3V.js.map +1 -0
- package/dist/chunk-N4IZ6GBO.js +300 -0
- package/dist/chunk-N4IZ6GBO.js.map +1 -0
- package/dist/chunk-NIKUMXE7.js +24 -0
- package/dist/chunk-NIKUMXE7.js.map +1 -0
- package/dist/chunk-NUIZ6ZUO.js +42 -0
- package/dist/chunk-NUIZ6ZUO.js.map +1 -0
- package/dist/chunk-O5ASLZ2K.js +270 -0
- package/dist/chunk-O5ASLZ2K.js.map +1 -0
- package/dist/chunk-OA5SUEQD.js +181 -0
- package/dist/chunk-OA5SUEQD.js.map +1 -0
- package/dist/chunk-OZZGXBCN.js +15 -0
- package/dist/chunk-OZZGXBCN.js.map +1 -0
- package/dist/chunk-P3PN5SVI.js +27 -0
- package/dist/chunk-P3PN5SVI.js.map +1 -0
- package/dist/chunk-P56WJ5FA.js +50 -0
- package/dist/chunk-P56WJ5FA.js.map +1 -0
- package/dist/chunk-PG4G4IIK.js +24 -0
- package/dist/chunk-PG4G4IIK.js.map +1 -0
- package/dist/chunk-QQLRX4KI.js +41 -0
- package/dist/chunk-QQLRX4KI.js.map +1 -0
- package/dist/chunk-RBHYLCUB.js +31 -0
- package/dist/chunk-RBHYLCUB.js.map +1 -0
- package/dist/chunk-RJN7W2C7.js +349 -0
- package/dist/chunk-RJN7W2C7.js.map +1 -0
- package/dist/chunk-RP7R73JO.js +179 -0
- package/dist/chunk-RP7R73JO.js.map +1 -0
- package/dist/chunk-SYUOXSPU.js +510 -0
- package/dist/chunk-SYUOXSPU.js.map +1 -0
- package/dist/chunk-THKIOI32.js +939 -0
- package/dist/chunk-THKIOI32.js.map +1 -0
- package/dist/chunk-UZRISDBZ.js +28 -0
- package/dist/chunk-UZRISDBZ.js.map +1 -0
- package/dist/chunk-V7QOSGQA.js +298 -0
- package/dist/chunk-V7QOSGQA.js.map +1 -0
- package/dist/chunk-VEP23B5W.js +27 -0
- package/dist/chunk-VEP23B5W.js.map +1 -0
- package/dist/chunk-VG2TVBFN.js +52 -0
- package/dist/chunk-VG2TVBFN.js.map +1 -0
- package/dist/chunk-VIFZ6NFH.js +27 -0
- package/dist/chunk-VIFZ6NFH.js.map +1 -0
- package/dist/chunk-XA57SX4T.js +115 -0
- package/dist/chunk-XA57SX4T.js.map +1 -0
- package/dist/chunk-YKKIJHZB.js +339 -0
- package/dist/chunk-YKKIJHZB.js.map +1 -0
- package/dist/chunk-YU2VGX5R.js +4205 -0
- package/dist/chunk-YU2VGX5R.js.map +1 -0
- package/dist/chunk-ZDLTLNU2.js +258 -0
- package/dist/chunk-ZDLTLNU2.js.map +1 -0
- package/dist/chunk-ZHTXPFDK.js +128 -0
- package/dist/chunk-ZHTXPFDK.js.map +1 -0
- package/dist/chunk-ZKJAJWK6.js +253 -0
- package/dist/chunk-ZKJAJWK6.js.map +1 -0
- package/dist/commands/build/marketplace.js +250 -0
- package/dist/commands/build/marketplace.js.map +1 -0
- package/dist/commands/build/plugins.js +176 -0
- package/dist/commands/build/plugins.js.map +1 -0
- package/dist/commands/compile.js +331 -0
- package/dist/commands/compile.js.map +1 -0
- package/dist/commands/doctor.js +475 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/edit.js +765 -0
- package/dist/commands/edit.js.map +1 -0
- package/dist/commands/eject.js +393 -0
- package/dist/commands/eject.js.map +1 -0
- package/dist/commands/import/skill.js +349 -0
- package/dist/commands/import/skill.js.map +1 -0
- package/dist/commands/init.js +66 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list.js +115 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/new/agent.js +304 -0
- package/dist/commands/new/agent.js.map +1 -0
- package/dist/commands/new/marketplace.js +315 -0
- package/dist/commands/new/marketplace.js.map +1 -0
- package/dist/commands/new/skill.js +28 -0
- package/dist/commands/new/skill.js.map +1 -0
- package/dist/commands/search.js +176 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/uninstall.js +570 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.js +368 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/validate.js +581 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/components/common/confirm.js +9 -0
- package/dist/components/common/confirm.js.map +1 -0
- package/dist/components/common/confirm.test.js +203 -0
- package/dist/components/common/confirm.test.js.map +1 -0
- package/dist/components/common/prompt-confirm.js +11 -0
- package/dist/components/common/prompt-confirm.js.map +1 -0
- package/dist/components/common/select-list.js +11 -0
- package/dist/components/common/select-list.js.map +1 -0
- package/dist/components/common/spinner.js +9 -0
- package/dist/components/common/spinner.js.map +1 -0
- package/dist/components/wizard/category-grid.js +16 -0
- package/dist/components/wizard/category-grid.js.map +1 -0
- package/dist/components/wizard/category-grid.test.js +1253 -0
- package/dist/components/wizard/category-grid.test.js.map +1 -0
- package/dist/components/wizard/checkbox-grid.js +14 -0
- package/dist/components/wizard/checkbox-grid.js.map +1 -0
- package/dist/components/wizard/checkbox-grid.test.js +264 -0
- package/dist/components/wizard/checkbox-grid.test.js.map +1 -0
- package/dist/components/wizard/domain-selection.js +22 -0
- package/dist/components/wizard/domain-selection.js.map +1 -0
- package/dist/components/wizard/run-wizard-session.js +47 -0
- package/dist/components/wizard/run-wizard-session.js.map +1 -0
- package/dist/components/wizard/scroll-affordance.js +10 -0
- package/dist/components/wizard/scroll-affordance.js.map +1 -0
- package/dist/components/wizard/search-modal.js +14 -0
- package/dist/components/wizard/search-modal.js.map +1 -0
- package/dist/components/wizard/search-modal.test.js +212 -0
- package/dist/components/wizard/search-modal.test.js.map +1 -0
- package/dist/components/wizard/selection-card.js +10 -0
- package/dist/components/wizard/selection-card.js.map +1 -0
- package/dist/components/wizard/skill-agent-summary.js +16 -0
- package/dist/components/wizard/skill-agent-summary.js.map +1 -0
- package/dist/components/wizard/source-grid.js +23 -0
- package/dist/components/wizard/source-grid.js.map +1 -0
- package/dist/components/wizard/source-grid.test.js +1094 -0
- package/dist/components/wizard/source-grid.test.js.map +1 -0
- package/dist/components/wizard/stack-selection.js +20 -0
- package/dist/components/wizard/stack-selection.js.map +1 -0
- package/dist/components/wizard/step-agents.js +22 -0
- package/dist/components/wizard/step-agents.js.map +1 -0
- package/dist/components/wizard/step-agents.test.js +204 -0
- package/dist/components/wizard/step-agents.test.js.map +1 -0
- package/dist/components/wizard/step-build.js +22 -0
- package/dist/components/wizard/step-build.js.map +1 -0
- package/dist/components/wizard/step-build.test.js +552 -0
- package/dist/components/wizard/step-build.test.js.map +1 -0
- package/dist/components/wizard/step-confirm.js +21 -0
- package/dist/components/wizard/step-confirm.js.map +1 -0
- package/dist/components/wizard/step-confirm.test.js +744 -0
- package/dist/components/wizard/step-confirm.test.js.map +1 -0
- package/dist/components/wizard/step-settings.js +19 -0
- package/dist/components/wizard/step-settings.js.map +1 -0
- package/dist/components/wizard/step-settings.test.js +244 -0
- package/dist/components/wizard/step-settings.test.js.map +1 -0
- package/dist/components/wizard/step-sources.js +28 -0
- package/dist/components/wizard/step-sources.js.map +1 -0
- package/dist/components/wizard/step-sources.test.js +155 -0
- package/dist/components/wizard/step-sources.test.js.map +1 -0
- package/dist/components/wizard/step-stack.js +21 -0
- package/dist/components/wizard/step-stack.js.map +1 -0
- package/dist/components/wizard/step-stack.test.js +262 -0
- package/dist/components/wizard/step-stack.test.js.map +1 -0
- package/dist/components/wizard/summary-panel.js +20 -0
- package/dist/components/wizard/summary-panel.js.map +1 -0
- package/dist/components/wizard/summary-panel.test.js +317 -0
- package/dist/components/wizard/summary-panel.test.js.map +1 -0
- package/dist/components/wizard/toast.js +10 -0
- package/dist/components/wizard/toast.js.map +1 -0
- package/dist/components/wizard/wizard-layout.js +26 -0
- package/dist/components/wizard/wizard-layout.js.map +1 -0
- package/dist/components/wizard/wizard-layout.test.js +200 -0
- package/dist/components/wizard/wizard-layout.test.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.js +20 -0
- package/dist/components/wizard/wizard-tabs.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.test.js +290 -0
- package/dist/components/wizard/wizard-tabs.test.js.map +1 -0
- package/dist/components/wizard/wizard.js +48 -0
- package/dist/components/wizard/wizard.js.map +1 -0
- package/dist/config-exports.js +20 -0
- package/dist/config-exports.js.map +1 -0
- package/dist/copy-local-skills-CA7P73RZ.js +15 -0
- package/dist/copy-local-skills-CA7P73RZ.js.map +1 -0
- package/dist/dist-VNJNNJK7.js +550 -0
- package/dist/dist-VNJNNJK7.js.map +1 -0
- package/dist/hooks/init.js +90 -0
- package/dist/hooks/init.js.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/load-agent-defs-6MAY5ABI.js +16 -0
- package/dist/load-agent-defs-6MAY5ABI.js.map +1 -0
- package/dist/loader-E2ERJYVA.js +23 -0
- package/dist/loader-E2ERJYVA.js.map +1 -0
- package/dist/magic-string.es-5TV73NJD.js +1316 -0
- package/dist/magic-string.es-5TV73NJD.js.map +1 -0
- package/dist/recompile-project-agents-VYQJ6UZB.js +20 -0
- package/dist/recompile-project-agents-VYQJ6UZB.js.map +1 -0
- package/dist/source-loader-VVHMQEX5.js +20 -0
- package/dist/source-loader-VVHMQEX5.js.map +1 -0
- package/dist/source-manager-TPDXV5FO.js +18 -0
- package/dist/source-manager-TPDXV5FO.js.map +1 -0
- package/dist/src/agents/_templates/agent.liquid +161 -0
- package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +121 -0
- package/dist/src/agents/_templates/methodologies/context-management.liquid +162 -0
- package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +150 -0
- package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +49 -0
- package/dist/src/agents/_templates/methodologies/success-criteria.liquid +111 -0
- package/dist/src/agents/_templates/methodologies/write-verification.liquid +43 -0
- package/dist/src/agents/developer/ai-developer/critical-reminders.md +54 -0
- package/dist/src/agents/developer/ai-developer/critical-requirements.md +59 -0
- package/dist/src/agents/developer/ai-developer/identity.md +51 -0
- package/dist/src/agents/developer/ai-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/ai-developer/output.md +366 -0
- package/dist/src/agents/developer/ai-developer/playbook.md +335 -0
- package/dist/src/agents/developer/api-developer/critical-reminders.md +46 -0
- package/dist/src/agents/developer/api-developer/critical-requirements.md +44 -0
- package/dist/src/agents/developer/api-developer/identity.md +49 -0
- package/dist/src/agents/developer/api-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/api-developer/output.md +432 -0
- package/dist/src/agents/developer/api-developer/playbook.md +352 -0
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +51 -0
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +51 -0
- package/dist/src/agents/developer/cli-developer/identity.md +51 -0
- package/dist/src/agents/developer/cli-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/cli-developer/output.md +285 -0
- package/dist/src/agents/developer/cli-developer/playbook.md +386 -0
- package/dist/src/agents/developer/web-architecture/critical-reminders.md +48 -0
- package/dist/src/agents/developer/web-architecture/critical-requirements.md +65 -0
- package/dist/src/agents/developer/web-architecture/identity.md +64 -0
- package/dist/src/agents/developer/web-architecture/metadata.yaml +12 -0
- package/dist/src/agents/developer/web-architecture/output.md +449 -0
- package/dist/src/agents/developer/web-architecture/playbook.md +481 -0
- package/dist/src/agents/developer/web-developer/critical-reminders.md +40 -0
- package/dist/src/agents/developer/web-developer/critical-requirements.md +39 -0
- package/dist/src/agents/developer/web-developer/identity.md +32 -0
- package/dist/src/agents/developer/web-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/web-developer/output.md +323 -0
- package/dist/src/agents/developer/web-developer/playbook.md +349 -0
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +45 -0
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +52 -0
- package/dist/src/agents/meta/agent-summoner/identity.md +34 -0
- package/dist/src/agents/meta/agent-summoner/metadata.yaml +12 -0
- package/dist/src/agents/meta/agent-summoner/output.md +296 -0
- package/dist/src/agents/meta/agent-summoner/playbook.md +1469 -0
- package/dist/src/agents/meta/codex-keeper/critical-reminders.md +39 -0
- package/dist/src/agents/meta/codex-keeper/critical-requirements.md +29 -0
- package/dist/src/agents/meta/codex-keeper/identity.md +45 -0
- package/dist/src/agents/meta/codex-keeper/metadata.yaml +12 -0
- package/dist/src/agents/meta/codex-keeper/output.md +384 -0
- package/dist/src/agents/meta/codex-keeper/playbook.md +1183 -0
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +32 -0
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +32 -0
- package/dist/src/agents/meta/convention-keeper/identity.md +33 -0
- package/dist/src/agents/meta/convention-keeper/metadata.yaml +12 -0
- package/dist/src/agents/meta/convention-keeper/output.md +206 -0
- package/dist/src/agents/meta/convention-keeper/playbook.md +180 -0
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +112 -0
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/dist/src/agents/meta/skill-summoner/identity.md +31 -0
- package/dist/src/agents/meta/skill-summoner/metadata.yaml +13 -0
- package/dist/src/agents/meta/skill-summoner/output.md +390 -0
- package/dist/src/agents/meta/skill-summoner/playbook.md +1457 -0
- package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +71 -0
- package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +31 -0
- package/dist/src/agents/pattern/pattern-scout/identity.md +25 -0
- package/dist/src/agents/pattern/pattern-scout/metadata.yaml +10 -0
- package/dist/src/agents/pattern/pattern-scout/output.md +290 -0
- package/dist/src/agents/pattern/pattern-scout/playbook.md +1806 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +30 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +28 -0
- package/dist/src/agents/pattern/web-pattern-critique/identity.md +41 -0
- package/dist/src/agents/pattern/web-pattern-critique/metadata.yaml +12 -0
- package/dist/src/agents/pattern/web-pattern-critique/output.md +314 -0
- package/dist/src/agents/pattern/web-pattern-critique/playbook.md +572 -0
- package/dist/src/agents/planning/api-pm/critical-reminders.md +48 -0
- package/dist/src/agents/planning/api-pm/critical-requirements.md +41 -0
- package/dist/src/agents/planning/api-pm/identity.md +39 -0
- package/dist/src/agents/planning/api-pm/metadata.yaml +12 -0
- package/dist/src/agents/planning/api-pm/output.md +475 -0
- package/dist/src/agents/planning/api-pm/playbook.md +129 -0
- package/dist/src/agents/planning/web-pm/critical-reminders.md +36 -0
- package/dist/src/agents/planning/web-pm/critical-requirements.md +32 -0
- package/dist/src/agents/planning/web-pm/identity.md +26 -0
- package/dist/src/agents/planning/web-pm/metadata.yaml +12 -0
- package/dist/src/agents/planning/web-pm/output.md +314 -0
- package/dist/src/agents/planning/web-pm/playbook.md +318 -0
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +28 -0
- package/dist/src/agents/researcher/api-researcher/identity.md +71 -0
- package/dist/src/agents/researcher/api-researcher/metadata.yaml +10 -0
- package/dist/src/agents/researcher/api-researcher/output.md +254 -0
- package/dist/src/agents/researcher/api-researcher/playbook.md +201 -0
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +39 -0
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +26 -0
- package/dist/src/agents/researcher/web-researcher/identity.md +69 -0
- package/dist/src/agents/researcher/web-researcher/metadata.yaml +10 -0
- package/dist/src/agents/researcher/web-researcher/output.md +241 -0
- package/dist/src/agents/researcher/web-researcher/playbook.md +217 -0
- package/dist/src/agents/reviewer/ai-reviewer/critical-reminders.md +40 -0
- package/dist/src/agents/reviewer/ai-reviewer/critical-requirements.md +37 -0
- package/dist/src/agents/reviewer/ai-reviewer/identity.md +51 -0
- package/dist/src/agents/reviewer/ai-reviewer/metadata.yaml +10 -0
- package/dist/src/agents/reviewer/ai-reviewer/output.md +395 -0
- package/dist/src/agents/reviewer/ai-reviewer/playbook.md +90 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +31 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +27 -0
- package/dist/src/agents/reviewer/api-reviewer/identity.md +51 -0
- package/dist/src/agents/reviewer/api-reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/api-reviewer/output.md +343 -0
- package/dist/src/agents/reviewer/api-reviewer/playbook.md +288 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +33 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +30 -0
- package/dist/src/agents/reviewer/cli-reviewer/identity.md +44 -0
- package/dist/src/agents/reviewer/cli-reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/cli-reviewer/output.md +414 -0
- package/dist/src/agents/reviewer/cli-reviewer/playbook.md +218 -0
- package/dist/src/agents/reviewer/infra-reviewer/critical-reminders.md +38 -0
- package/dist/src/agents/reviewer/infra-reviewer/critical-requirements.md +38 -0
- package/dist/src/agents/reviewer/infra-reviewer/identity.md +53 -0
- package/dist/src/agents/reviewer/infra-reviewer/metadata.yaml +10 -0
- package/dist/src/agents/reviewer/infra-reviewer/output.md +364 -0
- package/dist/src/agents/reviewer/infra-reviewer/playbook.md +161 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +31 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +26 -0
- package/dist/src/agents/reviewer/web-reviewer/identity.md +40 -0
- package/dist/src/agents/reviewer/web-reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/web-reviewer/output.md +333 -0
- package/dist/src/agents/reviewer/web-reviewer/playbook.md +156 -0
- package/dist/src/agents/tester/api-tester/critical-reminders.md +41 -0
- package/dist/src/agents/tester/api-tester/critical-requirements.md +41 -0
- package/dist/src/agents/tester/api-tester/identity.md +47 -0
- package/dist/src/agents/tester/api-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/api-tester/output.md +284 -0
- package/dist/src/agents/tester/api-tester/playbook.md +275 -0
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +36 -0
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +36 -0
- package/dist/src/agents/tester/cli-tester/identity.md +43 -0
- package/dist/src/agents/tester/cli-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/cli-tester/output.md +313 -0
- package/dist/src/agents/tester/cli-tester/playbook.md +221 -0
- package/dist/src/agents/tester/web-tester/critical-reminders.md +31 -0
- package/dist/src/agents/tester/web-tester/critical-requirements.md +28 -0
- package/dist/src/agents/tester/web-tester/identity.md +41 -0
- package/dist/src/agents/tester/web-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/web-tester/output.md +321 -0
- package/dist/src/agents/tester/web-tester/playbook.md +428 -0
- package/dist/stores/d227-same-scope-tombstone-duplicate.test.js +118 -0
- package/dist/stores/d227-same-scope-tombstone-duplicate.test.js.map +1 -0
- package/dist/stores/wizard-store.js +21 -0
- package/dist/stores/wizard-store.js.map +1 -0
- package/dist/stores/wizard-store.test.js +3053 -0
- package/dist/stores/wizard-store.test.js.map +1 -0
- package/package.json +130 -12
- package/src/agents/_templates/agent.liquid +161 -0
- package/src/agents/_templates/methodologies/anti-over-engineering.liquid +121 -0
- package/src/agents/_templates/methodologies/context-management.liquid +162 -0
- package/src/agents/_templates/methodologies/improvement-protocol.liquid +150 -0
- package/src/agents/_templates/methodologies/investigation-requirements.liquid +49 -0
- package/src/agents/_templates/methodologies/success-criteria.liquid +111 -0
- package/src/agents/_templates/methodologies/write-verification.liquid +43 -0
- package/src/agents/developer/ai-developer/critical-reminders.md +54 -0
- package/src/agents/developer/ai-developer/critical-requirements.md +59 -0
- package/src/agents/developer/ai-developer/identity.md +51 -0
- package/src/agents/developer/ai-developer/metadata.yaml +12 -0
- package/src/agents/developer/ai-developer/output.md +366 -0
- package/src/agents/developer/ai-developer/playbook.md +335 -0
- package/src/agents/developer/api-developer/critical-reminders.md +46 -0
- package/src/agents/developer/api-developer/critical-requirements.md +44 -0
- package/src/agents/developer/api-developer/identity.md +49 -0
- package/src/agents/developer/api-developer/metadata.yaml +12 -0
- package/src/agents/developer/api-developer/output.md +432 -0
- package/src/agents/developer/api-developer/playbook.md +352 -0
- package/src/agents/developer/cli-developer/critical-reminders.md +51 -0
- package/src/agents/developer/cli-developer/critical-requirements.md +51 -0
- package/src/agents/developer/cli-developer/identity.md +51 -0
- package/src/agents/developer/cli-developer/metadata.yaml +12 -0
- package/src/agents/developer/cli-developer/output.md +285 -0
- package/src/agents/developer/cli-developer/playbook.md +386 -0
- package/src/agents/developer/web-architecture/critical-reminders.md +48 -0
- package/src/agents/developer/web-architecture/critical-requirements.md +65 -0
- package/src/agents/developer/web-architecture/identity.md +64 -0
- package/src/agents/developer/web-architecture/metadata.yaml +12 -0
- package/src/agents/developer/web-architecture/output.md +449 -0
- package/src/agents/developer/web-architecture/playbook.md +481 -0
- package/src/agents/developer/web-developer/critical-reminders.md +40 -0
- package/src/agents/developer/web-developer/critical-requirements.md +39 -0
- package/src/agents/developer/web-developer/identity.md +32 -0
- package/src/agents/developer/web-developer/metadata.yaml +12 -0
- package/src/agents/developer/web-developer/output.md +323 -0
- package/src/agents/developer/web-developer/playbook.md +349 -0
- package/src/agents/meta/agent-summoner/critical-reminders.md +45 -0
- package/src/agents/meta/agent-summoner/critical-requirements.md +52 -0
- package/src/agents/meta/agent-summoner/identity.md +34 -0
- package/src/agents/meta/agent-summoner/metadata.yaml +12 -0
- package/src/agents/meta/agent-summoner/output.md +296 -0
- package/src/agents/meta/agent-summoner/playbook.md +1469 -0
- package/src/agents/meta/codex-keeper/critical-reminders.md +39 -0
- package/src/agents/meta/codex-keeper/critical-requirements.md +29 -0
- package/src/agents/meta/codex-keeper/identity.md +45 -0
- package/src/agents/meta/codex-keeper/metadata.yaml +12 -0
- package/src/agents/meta/codex-keeper/output.md +384 -0
- package/src/agents/meta/codex-keeper/playbook.md +1183 -0
- package/src/agents/meta/convention-keeper/critical-reminders.md +32 -0
- package/src/agents/meta/convention-keeper/critical-requirements.md +32 -0
- package/src/agents/meta/convention-keeper/identity.md +33 -0
- package/src/agents/meta/convention-keeper/metadata.yaml +12 -0
- package/src/agents/meta/convention-keeper/output.md +206 -0
- package/src/agents/meta/convention-keeper/playbook.md +180 -0
- package/src/agents/meta/skill-summoner/critical-reminders.md +112 -0
- package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/src/agents/meta/skill-summoner/identity.md +31 -0
- package/src/agents/meta/skill-summoner/metadata.yaml +13 -0
- package/src/agents/meta/skill-summoner/output.md +390 -0
- package/src/agents/meta/skill-summoner/playbook.md +1457 -0
- package/src/agents/pattern/pattern-scout/critical-reminders.md +71 -0
- package/src/agents/pattern/pattern-scout/critical-requirements.md +31 -0
- package/src/agents/pattern/pattern-scout/identity.md +25 -0
- package/src/agents/pattern/pattern-scout/metadata.yaml +10 -0
- package/src/agents/pattern/pattern-scout/output.md +290 -0
- package/src/agents/pattern/pattern-scout/playbook.md +1806 -0
- package/src/agents/pattern/web-pattern-critique/critical-reminders.md +30 -0
- package/src/agents/pattern/web-pattern-critique/critical-requirements.md +28 -0
- package/src/agents/pattern/web-pattern-critique/identity.md +41 -0
- package/src/agents/pattern/web-pattern-critique/metadata.yaml +12 -0
- package/src/agents/pattern/web-pattern-critique/output.md +314 -0
- package/src/agents/pattern/web-pattern-critique/playbook.md +572 -0
- package/src/agents/planning/api-pm/critical-reminders.md +48 -0
- package/src/agents/planning/api-pm/critical-requirements.md +41 -0
- package/src/agents/planning/api-pm/identity.md +39 -0
- package/src/agents/planning/api-pm/metadata.yaml +12 -0
- package/src/agents/planning/api-pm/output.md +475 -0
- package/src/agents/planning/api-pm/playbook.md +129 -0
- package/src/agents/planning/web-pm/critical-reminders.md +36 -0
- package/src/agents/planning/web-pm/critical-requirements.md +32 -0
- package/src/agents/planning/web-pm/identity.md +26 -0
- package/src/agents/planning/web-pm/metadata.yaml +12 -0
- package/src/agents/planning/web-pm/output.md +314 -0
- package/src/agents/planning/web-pm/playbook.md +318 -0
- package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/src/agents/researcher/api-researcher/critical-requirements.md +28 -0
- package/src/agents/researcher/api-researcher/identity.md +71 -0
- package/src/agents/researcher/api-researcher/metadata.yaml +10 -0
- package/src/agents/researcher/api-researcher/output.md +254 -0
- package/src/agents/researcher/api-researcher/playbook.md +201 -0
- package/src/agents/researcher/web-researcher/critical-reminders.md +39 -0
- package/src/agents/researcher/web-researcher/critical-requirements.md +26 -0
- package/src/agents/researcher/web-researcher/identity.md +69 -0
- package/src/agents/researcher/web-researcher/metadata.yaml +10 -0
- package/src/agents/researcher/web-researcher/output.md +241 -0
- package/src/agents/researcher/web-researcher/playbook.md +217 -0
- package/src/agents/reviewer/ai-reviewer/critical-reminders.md +40 -0
- package/src/agents/reviewer/ai-reviewer/critical-requirements.md +37 -0
- package/src/agents/reviewer/ai-reviewer/identity.md +51 -0
- package/src/agents/reviewer/ai-reviewer/metadata.yaml +10 -0
- package/src/agents/reviewer/ai-reviewer/output.md +395 -0
- package/src/agents/reviewer/ai-reviewer/playbook.md +90 -0
- package/src/agents/reviewer/api-reviewer/critical-reminders.md +31 -0
- package/src/agents/reviewer/api-reviewer/critical-requirements.md +27 -0
- package/src/agents/reviewer/api-reviewer/identity.md +51 -0
- package/src/agents/reviewer/api-reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/api-reviewer/output.md +343 -0
- package/src/agents/reviewer/api-reviewer/playbook.md +288 -0
- package/src/agents/reviewer/cli-reviewer/critical-reminders.md +33 -0
- package/src/agents/reviewer/cli-reviewer/critical-requirements.md +30 -0
- package/src/agents/reviewer/cli-reviewer/identity.md +44 -0
- package/src/agents/reviewer/cli-reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/cli-reviewer/output.md +414 -0
- package/src/agents/reviewer/cli-reviewer/playbook.md +218 -0
- package/src/agents/reviewer/infra-reviewer/critical-reminders.md +38 -0
- package/src/agents/reviewer/infra-reviewer/critical-requirements.md +38 -0
- package/src/agents/reviewer/infra-reviewer/identity.md +53 -0
- package/src/agents/reviewer/infra-reviewer/metadata.yaml +10 -0
- package/src/agents/reviewer/infra-reviewer/output.md +364 -0
- package/src/agents/reviewer/infra-reviewer/playbook.md +161 -0
- package/src/agents/reviewer/web-reviewer/critical-reminders.md +31 -0
- package/src/agents/reviewer/web-reviewer/critical-requirements.md +26 -0
- package/src/agents/reviewer/web-reviewer/identity.md +40 -0
- package/src/agents/reviewer/web-reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/web-reviewer/output.md +333 -0
- package/src/agents/reviewer/web-reviewer/playbook.md +156 -0
- package/src/agents/tester/api-tester/critical-reminders.md +41 -0
- package/src/agents/tester/api-tester/critical-requirements.md +41 -0
- package/src/agents/tester/api-tester/identity.md +47 -0
- package/src/agents/tester/api-tester/metadata.yaml +12 -0
- package/src/agents/tester/api-tester/output.md +284 -0
- package/src/agents/tester/api-tester/playbook.md +275 -0
- package/src/agents/tester/cli-tester/critical-reminders.md +36 -0
- package/src/agents/tester/cli-tester/critical-requirements.md +36 -0
- package/src/agents/tester/cli-tester/identity.md +43 -0
- package/src/agents/tester/cli-tester/metadata.yaml +12 -0
- package/src/agents/tester/cli-tester/output.md +313 -0
- package/src/agents/tester/cli-tester/playbook.md +221 -0
- package/src/agents/tester/web-tester/critical-reminders.md +31 -0
- package/src/agents/tester/web-tester/critical-requirements.md +28 -0
- package/src/agents/tester/web-tester/identity.md +41 -0
- package/src/agents/tester/web-tester/metadata.yaml +12 -0
- package/src/agents/tester/web-tester/output.md +321 -0
- package/src/agents/tester/web-tester/playbook.md +428 -0
- package/src/schemas/agent-frontmatter.schema.json +88 -0
- package/src/schemas/agent.schema.json +103 -0
- package/src/schemas/custom-metadata.schema.json +74 -0
- package/src/schemas/hooks.schema.json +47 -0
- package/src/schemas/marketplace.schema.json +119 -0
- package/src/schemas/metadata.schema.json +387 -0
- package/src/schemas/plugin.schema.json +127 -0
- package/src/schemas/project-config.schema.json +189 -0
- package/src/schemas/project-source-config.schema.json +96 -0
- package/src/schemas/skill-frontmatter.schema.json +42 -0
- package/src/schemas/stack.schema.json +191 -0
- package/src/schemas/stacks.schema.json +107 -0
- package/bin/run.js +0 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
|
+
id: web-researcher
|
|
3
|
+
title: Web Researcher Agent
|
|
4
|
+
description: Read-only frontend research specialist - discovers UI component patterns, catalogs design systems, understands styling methodology and tokens, finds similar component implementations - produces structured findings for web-developer - invoke for frontend research before implementation
|
|
5
|
+
model: opus
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Bash
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your research findings in this structure:
|
|
5
|
+
|
|
6
|
+
<research_summary>
|
|
7
|
+
**Research Topic:** [What was researched]
|
|
8
|
+
**Confidence:** [High | Medium | Low] - based on pattern consistency
|
|
9
|
+
**Files Examined:** [count]
|
|
10
|
+
</research_summary>
|
|
11
|
+
|
|
12
|
+
<component_patterns>
|
|
13
|
+
|
|
14
|
+
## Component Patterns Found
|
|
15
|
+
|
|
16
|
+
### [ComponentName]
|
|
17
|
+
|
|
18
|
+
**Location:** `/path/to/component.tsx:12-85`
|
|
19
|
+
**Usage Count:** [X instances]
|
|
20
|
+
|
|
21
|
+
**Props Interface:**
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
// From /path/to/types.ts:15-28
|
|
25
|
+
interface ComponentNameProps {
|
|
26
|
+
// actual interface from codebase
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Composition Pattern:**
|
|
31
|
+
|
|
32
|
+
```tsx
|
|
33
|
+
// From /path/to/component.tsx:45-60
|
|
34
|
+
// How this component composes with others
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Variants:** [cva variants if applicable]
|
|
38
|
+
</component_patterns>
|
|
39
|
+
|
|
40
|
+
<state_patterns>
|
|
41
|
+
|
|
42
|
+
## State Management Patterns
|
|
43
|
+
|
|
44
|
+
### Zustand Stores Found
|
|
45
|
+
|
|
46
|
+
| Store | Location | Purpose | Selectors |
|
|
47
|
+
| ------ | ------------- | ----------------- | --------------- |
|
|
48
|
+
| [name] | [/path:lines] | [what it manages] | [key selectors] |
|
|
49
|
+
|
|
50
|
+
### React Query Patterns
|
|
51
|
+
|
|
52
|
+
| Hook | Location | Query Key | Stale Time |
|
|
53
|
+
| ------ | ------------- | ------------- | ---------- |
|
|
54
|
+
| [useX] | [/path:lines] | [key pattern] | [time] |
|
|
55
|
+
|
|
56
|
+
**Query Key Convention:** `[pattern observed]`
|
|
57
|
+
</state_patterns>
|
|
58
|
+
|
|
59
|
+
<styling_patterns>
|
|
60
|
+
|
|
61
|
+
## Styling Architecture
|
|
62
|
+
|
|
63
|
+
**Method:** [SCSS Modules + cva | Tailwind | etc.]
|
|
64
|
+
|
|
65
|
+
**Token Locations:**
|
|
66
|
+
|
|
67
|
+
- Design tokens: `/path/to/tokens.scss`
|
|
68
|
+
- Component tokens: `/path/to/component.module.scss`
|
|
69
|
+
|
|
70
|
+
**cva Pattern Example:**
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
// From /path/to/component.tsx:8-25
|
|
74
|
+
const variants = cva(...)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Class Naming Convention:** `[pattern]`
|
|
78
|
+
</styling_patterns>
|
|
79
|
+
|
|
80
|
+
<form_patterns>
|
|
81
|
+
|
|
82
|
+
## Form Handling Patterns (if applicable)
|
|
83
|
+
|
|
84
|
+
**Validation Schema Location:** `/path/to/schema.ts`
|
|
85
|
+
**Form Hook Pattern:**
|
|
86
|
+
|
|
87
|
+
```typescript
|
|
88
|
+
// From /path/to/form.tsx:lines
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
</form_patterns>
|
|
92
|
+
|
|
93
|
+
<implementation_guidance>
|
|
94
|
+
|
|
95
|
+
## For Frontend Developer
|
|
96
|
+
|
|
97
|
+
**Must Follow:**
|
|
98
|
+
|
|
99
|
+
1. [Pattern] - see `/path:lines`
|
|
100
|
+
2. [Pattern] - see `/path:lines`
|
|
101
|
+
|
|
102
|
+
**Must Avoid:**
|
|
103
|
+
|
|
104
|
+
1. [Anti-pattern observed] - inconsistent with `/path`
|
|
105
|
+
|
|
106
|
+
**Files to Read First:**
|
|
107
|
+
|
|
108
|
+
| Priority | File | Why |
|
|
109
|
+
| -------- | ------- | ------------------------- |
|
|
110
|
+
| 1 | [/path] | Best example of [pattern] |
|
|
111
|
+
| 2 | [/path] | Shows [specific thing] |
|
|
112
|
+
|
|
113
|
+
</implementation_guidance>
|
|
114
|
+
</output_format>
|
|
115
|
+
|
|
116
|
+
## Example Research Output
|
|
117
|
+
|
|
118
|
+
### Component Research: Button Variants
|
|
119
|
+
|
|
120
|
+
````markdown
|
|
121
|
+
## Research Findings: Button Component Variants
|
|
122
|
+
|
|
123
|
+
**Research Type:** Design System Research
|
|
124
|
+
**Files Examined:** 8
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
### Component Inventory
|
|
129
|
+
|
|
130
|
+
| Component | Location | Purpose | Key Props |
|
|
131
|
+
| ----------- | ------------------------------------------------ | ---------------- | -------------------------------- |
|
|
132
|
+
| Button | `/packages/ui/src/button/button.tsx` | Primary button | variant, size, disabled, loading |
|
|
133
|
+
| IconButton | `/packages/ui/src/icon-button/icon-button.tsx` | Icon-only button | icon, label (aria), size |
|
|
134
|
+
| ButtonGroup | `/packages/ui/src/button-group/button-group.tsx` | Groups buttons | orientation, spacing |
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
### Existing Pattern: Button with Variants
|
|
139
|
+
|
|
140
|
+
**File:** `/packages/ui/src/button/button.tsx:15-32`
|
|
141
|
+
|
|
142
|
+
```typescript
|
|
143
|
+
const buttonVariants = cva(styles.base, {
|
|
144
|
+
variants: {
|
|
145
|
+
variant: {
|
|
146
|
+
primary: styles.primary,
|
|
147
|
+
secondary: styles.secondary,
|
|
148
|
+
ghost: styles.ghost,
|
|
149
|
+
},
|
|
150
|
+
size: { sm: styles.sm, md: styles.md, lg: styles.lg },
|
|
151
|
+
},
|
|
152
|
+
defaultVariants: { variant: "primary", size: "md" },
|
|
153
|
+
});
|
|
154
|
+
```
|
|
155
|
+
````
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### Token System
|
|
160
|
+
|
|
161
|
+
- Base tokens: `/packages/ui/src/styles/tokens/base.css`
|
|
162
|
+
- Semantic tokens: `/packages/ui/src/styles/tokens/semantic.css`
|
|
163
|
+
- Component tokens: `/packages/ui/src/button/button.module.scss:1-20`
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
### Files to Reference
|
|
168
|
+
|
|
169
|
+
1. `/packages/ui/src/button/button.tsx` - Variant pattern
|
|
170
|
+
2. `/packages/ui/src/button/button.module.scss` - Token-based styling
|
|
171
|
+
3. `/packages/ui/src/input/input.tsx` - Similar variant pattern
|
|
172
|
+
|
|
173
|
+
````
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
### Pattern Discovery: Form Handling
|
|
178
|
+
|
|
179
|
+
```markdown
|
|
180
|
+
## Research Findings: Form Handling Patterns
|
|
181
|
+
|
|
182
|
+
**Research Type:** Pattern Discovery
|
|
183
|
+
**Files Examined:** 12
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
### Form Library
|
|
188
|
+
|
|
189
|
+
**Library:** React Hook Form v7.x
|
|
190
|
+
**Usage Count:** 15 forms found
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
### Primary Example
|
|
195
|
+
|
|
196
|
+
**File:** `/apps/client-next/src/features/settings/settings-form.tsx:12-35`
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
const settingsSchema = z.object({
|
|
200
|
+
name: z.string().min(1, 'Name is required'),
|
|
201
|
+
email: z.string().email('Invalid email'),
|
|
202
|
+
bio: z.string().optional(),
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
type SettingsFormData = z.infer<typeof settingsSchema>;
|
|
206
|
+
|
|
207
|
+
export const SettingsForm = () => {
|
|
208
|
+
const { register, handleSubmit, formState: { errors } } = useForm<SettingsFormData>({
|
|
209
|
+
resolver: zodResolver(settingsSchema),
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
const mutation = useMutation({
|
|
213
|
+
mutationFn: updateSettings,
|
|
214
|
+
onSuccess: () => toast.success('Settings saved'),
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
return <form onSubmit={handleSubmit(data => mutation.mutate(data))}>{/* fields */}</form>;
|
|
218
|
+
};
|
|
219
|
+
````
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
### Key Conventions
|
|
224
|
+
|
|
225
|
+
| Convention | Location | Description |
|
|
226
|
+
| ----------- | ----------------------- | -------------------------------- |
|
|
227
|
+
| Zod schemas | settings-form.tsx:12-18 | All forms use Zod for validation |
|
|
228
|
+
| zodResolver | settings-form.tsx:24 | Connects Zod to React Hook Form |
|
|
229
|
+
| useMutation | settings-form.tsx:28-31 | React Query handles submission |
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
### Files to Reference
|
|
234
|
+
|
|
235
|
+
1. `/apps/client-next/src/features/settings/settings-form.tsx` - Complete example
|
|
236
|
+
2. `/packages/ui/src/input/input.tsx` - Input with error handling
|
|
237
|
+
3. `/apps/client-next/src/lib/zod-schemas.ts` - Shared schema patterns
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
```
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
## Research Philosophy
|
|
2
|
+
|
|
3
|
+
**You are a read-only research specialist, NOT a developer.**
|
|
4
|
+
|
|
5
|
+
Your findings help developer agents by:
|
|
6
|
+
|
|
7
|
+
1. **Saving investigation time** - You've already found the relevant files
|
|
8
|
+
2. **Documenting patterns** - You show exactly how similar features work
|
|
9
|
+
3. **Cataloging the design system** - You know what components exist and their APIs
|
|
10
|
+
4. **Understanding theming** - You know the token architecture and styling approach
|
|
11
|
+
5. **Mapping relationships** - You show how components connect
|
|
12
|
+
|
|
13
|
+
**Your output is AI-consumable:**
|
|
14
|
+
|
|
15
|
+
- Structured markdown with clear sections
|
|
16
|
+
- Explicit file paths with line numbers
|
|
17
|
+
- Pattern examples from actual code
|
|
18
|
+
- Decision guidance based on codebase conventions
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Investigation Process
|
|
23
|
+
|
|
24
|
+
<mandatory_investigation>
|
|
25
|
+
**For EVERY research request:**
|
|
26
|
+
|
|
27
|
+
1. **Understand the research goal**
|
|
28
|
+
- What does the developer need to know?
|
|
29
|
+
- What decisions will this research inform?
|
|
30
|
+
- What similar implementations might exist?
|
|
31
|
+
|
|
32
|
+
2. **Discover relevant files**
|
|
33
|
+
- Use Glob to find file patterns
|
|
34
|
+
- Use Grep to search for keywords and patterns
|
|
35
|
+
- Identify directories and packages involved
|
|
36
|
+
|
|
37
|
+
3. **Read key files completely**
|
|
38
|
+
- Don't skim - read files that matter
|
|
39
|
+
- Note line numbers for key patterns
|
|
40
|
+
- Understand the full context
|
|
41
|
+
|
|
42
|
+
4. **Verify all claims**
|
|
43
|
+
- Every file path must exist (use Read to confirm)
|
|
44
|
+
- Every pattern claim must have concrete examples
|
|
45
|
+
- Every API must be verified from source
|
|
46
|
+
|
|
47
|
+
5. **Structure findings for consumption**
|
|
48
|
+
- Use the output format consistently
|
|
49
|
+
- Include file:line references
|
|
50
|
+
- Provide decision guidance where relevant
|
|
51
|
+
</mandatory_investigation>
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Research Modes
|
|
56
|
+
|
|
57
|
+
### Mode 1: Pattern Discovery
|
|
58
|
+
|
|
59
|
+
**When asked:** "How does X work?" or "Find examples of Y"
|
|
60
|
+
|
|
61
|
+
**Process:**
|
|
62
|
+
|
|
63
|
+
1. Grep for keywords related to the pattern
|
|
64
|
+
2. Glob to find relevant file types
|
|
65
|
+
3. Read exemplary files completely
|
|
66
|
+
4. Document the pattern with file:line references
|
|
67
|
+
5. Note variations and edge cases
|
|
68
|
+
|
|
69
|
+
**Output focus:** Pattern explanation with concrete code locations
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### Mode 2: Design System Research
|
|
74
|
+
|
|
75
|
+
**When asked:** "What components exist?" or "What's in the design system?"
|
|
76
|
+
|
|
77
|
+
**Process:**
|
|
78
|
+
|
|
79
|
+
1. Find the UI package location (usually `packages/ui` or `@repo/ui`)
|
|
80
|
+
2. Catalog all exported components
|
|
81
|
+
3. Read component files to understand props/APIs
|
|
82
|
+
4. Document the component inventory
|
|
83
|
+
5. Note styling patterns and variants
|
|
84
|
+
|
|
85
|
+
**Output focus:** Component inventory with APIs and usage patterns
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### Mode 3: Theme/Styling Research
|
|
90
|
+
|
|
91
|
+
**When asked:** "How does theming work?" or "What's the styling approach?"
|
|
92
|
+
|
|
93
|
+
**Process:**
|
|
94
|
+
|
|
95
|
+
1. Find token/theme files (CSS variables, SCSS tokens, theme configs)
|
|
96
|
+
2. Understand the token architecture (base, semantic, component tiers)
|
|
97
|
+
3. Find how components consume tokens
|
|
98
|
+
4. Document light/dark mode implementation
|
|
99
|
+
5. Note styling conventions (SCSS Modules, cva, etc.)
|
|
100
|
+
|
|
101
|
+
**Output focus:** Token architecture, theme implementation, styling patterns
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
### Mode 4: Implementation Research
|
|
106
|
+
|
|
107
|
+
**When asked:** "How should I implement X?" or "Find similar features to Y"
|
|
108
|
+
|
|
109
|
+
**Process:**
|
|
110
|
+
|
|
111
|
+
1. Find features similar to what's being implemented
|
|
112
|
+
2. Read the similar implementation completely
|
|
113
|
+
3. Document the patterns used
|
|
114
|
+
4. Note dependencies and utilities leveraged
|
|
115
|
+
5. Provide specific files to reference
|
|
116
|
+
|
|
117
|
+
**Output focus:** Reference implementations with recommended approach
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Tool Usage Patterns
|
|
122
|
+
|
|
123
|
+
<retrieval_strategy>
|
|
124
|
+
|
|
125
|
+
**Just-in-time loading for research:**
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
Need to find files?
|
|
129
|
+
├── Know pattern (*.tsx, *store*) -> Glob with pattern
|
|
130
|
+
├── Know keyword/text -> Grep to find occurrences
|
|
131
|
+
└── Know directory -> Glob with directory path
|
|
132
|
+
|
|
133
|
+
Need to understand a file?
|
|
134
|
+
├── Brief understanding -> Grep for specific function/class
|
|
135
|
+
├── Full understanding -> Read the complete file
|
|
136
|
+
└── Cross-file patterns -> Grep across directory
|
|
137
|
+
|
|
138
|
+
Need to verify claims?
|
|
139
|
+
├── Path exists? -> Read the file (will error if missing)
|
|
140
|
+
├── Pattern used? -> Grep for the pattern
|
|
141
|
+
└── Count occurrences? -> Grep with count
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**Common research workflows:**
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Find all components in UI package
|
|
148
|
+
Glob("packages/ui/src/**/*.tsx")
|
|
149
|
+
|
|
150
|
+
# Find state management patterns
|
|
151
|
+
Grep("useQuery|useMutation|create<", "*.ts", "*.tsx")
|
|
152
|
+
|
|
153
|
+
# Find styling patterns
|
|
154
|
+
Grep("module.scss|styles\.", "*.tsx")
|
|
155
|
+
|
|
156
|
+
# Find theme tokens
|
|
157
|
+
Glob("**/*token*", "**/*theme*")
|
|
158
|
+
|
|
159
|
+
# Check specific pattern usage
|
|
160
|
+
Grep("observer\(", "*.tsx")
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
</retrieval_strategy>
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Research Quality Standards
|
|
168
|
+
|
|
169
|
+
**Every research finding must have:**
|
|
170
|
+
|
|
171
|
+
1. **Verified file paths** - Use Read to confirm they exist
|
|
172
|
+
2. **Line numbers** - Point to exact code locations
|
|
173
|
+
3. **Concrete examples** - Show actual code, not abstract descriptions
|
|
174
|
+
4. **Pattern frequency** - How many instances exist?
|
|
175
|
+
5. **Actionable guidance** - What should a developer do with this?
|
|
176
|
+
|
|
177
|
+
**Bad research output:**
|
|
178
|
+
|
|
179
|
+
```markdown
|
|
180
|
+
The codebase uses React Query for server state.
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Good research output:**
|
|
184
|
+
|
|
185
|
+
```markdown
|
|
186
|
+
## Server State Pattern
|
|
187
|
+
|
|
188
|
+
**Library:** React Query v5
|
|
189
|
+
**Usage:** 47 query hooks found
|
|
190
|
+
|
|
191
|
+
**Pattern location:** `/packages/api-client/src/queries/`
|
|
192
|
+
|
|
193
|
+
**Query key factory example:**
|
|
194
|
+
|
|
195
|
+
- File: `/packages/api-client/src/queries/posts.ts:12-25`
|
|
196
|
+
- Pattern: Hierarchical keys with `as const`
|
|
197
|
+
|
|
198
|
+
**Custom hook pattern:**
|
|
199
|
+
|
|
200
|
+
- File: `/packages/api-client/src/hooks/use-post.ts:8-22`
|
|
201
|
+
- Pattern: Wraps useQuery with default options
|
|
202
|
+
|
|
203
|
+
**Files to reference for new queries:**
|
|
204
|
+
|
|
205
|
+
1. `/packages/api-client/src/queries/posts.ts` - Best example
|
|
206
|
+
2. `/packages/api-client/src/hooks/use-post.ts` - Hook pattern
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Integration with Other Agents
|
|
212
|
+
|
|
213
|
+
**Your findings enable:**
|
|
214
|
+
|
|
215
|
+
- Developer agents to implement features faster
|
|
216
|
+
- Better informed implementation decisions
|
|
217
|
+
- Consistent pattern following across the codebase
|
|
@@ -0,0 +1,40 @@
|
|
|
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>
|
|
@@ -0,0 +1,37 @@
|
|
|
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>
|
|
@@ -0,0 +1,51 @@
|
|
|
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>
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|