@agents-inc/cli 0.32.1
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 +462 -0
- package/LICENSE +21 -0
- package/README.md +179 -0
- package/config/skills-matrix.yaml +926 -0
- package/config/stacks.yaml +2186 -0
- package/dist/chunk-3ZOIOVKT.js +365 -0
- package/dist/chunk-3ZOIOVKT.js.map +1 -0
- package/dist/chunk-4RAY5AOI.js +78 -0
- package/dist/chunk-4RAY5AOI.js.map +1 -0
- package/dist/chunk-5PIKNCZX.js +234 -0
- package/dist/chunk-5PIKNCZX.js.map +1 -0
- package/dist/chunk-66UDJBF6.js +96 -0
- package/dist/chunk-66UDJBF6.js.map +1 -0
- package/dist/chunk-7SOPVGDV.js +24 -0
- package/dist/chunk-7SOPVGDV.js.map +1 -0
- package/dist/chunk-A27LOC4Z.js +95 -0
- package/dist/chunk-A27LOC4Z.js.map +1 -0
- package/dist/chunk-B2UBHA66.js +301 -0
- package/dist/chunk-B2UBHA66.js.map +1 -0
- package/dist/chunk-BZN2Z5P7.js +882 -0
- package/dist/chunk-BZN2Z5P7.js.map +1 -0
- package/dist/chunk-BZQBJP34.js +186 -0
- package/dist/chunk-BZQBJP34.js.map +1 -0
- package/dist/chunk-DC5AK3LW.js +105 -0
- package/dist/chunk-DC5AK3LW.js.map +1 -0
- package/dist/chunk-DHET7RCE.js +50 -0
- package/dist/chunk-DHET7RCE.js.map +1 -0
- package/dist/chunk-EMJ2ZKS7.js +346 -0
- package/dist/chunk-EMJ2ZKS7.js.map +1 -0
- package/dist/chunk-FJQRVFMB.js +48 -0
- package/dist/chunk-FJQRVFMB.js.map +1 -0
- package/dist/chunk-FZGYSLJL.js +85 -0
- package/dist/chunk-FZGYSLJL.js.map +1 -0
- package/dist/chunk-H566H3MQ.js +87 -0
- package/dist/chunk-H566H3MQ.js.map +1 -0
- package/dist/chunk-IYG2LAIM.js +90 -0
- package/dist/chunk-IYG2LAIM.js.map +1 -0
- package/dist/chunk-IZZ4IIEG.js +29 -0
- package/dist/chunk-IZZ4IIEG.js.map +1 -0
- package/dist/chunk-JMVWYAHT.js +63 -0
- package/dist/chunk-JMVWYAHT.js.map +1 -0
- package/dist/chunk-LAPCUV4D.js +191 -0
- package/dist/chunk-LAPCUV4D.js.map +1 -0
- package/dist/chunk-LGUI3PMO.js +109 -0
- package/dist/chunk-LGUI3PMO.js.map +1 -0
- package/dist/chunk-MM7NK5N2.js +4542 -0
- package/dist/chunk-MM7NK5N2.js.map +1 -0
- package/dist/chunk-N6S7ZRIL.js +31 -0
- package/dist/chunk-N6S7ZRIL.js.map +1 -0
- package/dist/chunk-O4D67NN7.js +24 -0
- package/dist/chunk-O4D67NN7.js.map +1 -0
- package/dist/chunk-ODUOU55D.js +56 -0
- package/dist/chunk-ODUOU55D.js.map +1 -0
- package/dist/chunk-OGJIZ6QH.js +497 -0
- package/dist/chunk-OGJIZ6QH.js.map +1 -0
- package/dist/chunk-OMV7TLWD.js +340 -0
- package/dist/chunk-OMV7TLWD.js.map +1 -0
- package/dist/chunk-PBEHPQLK.js +146 -0
- package/dist/chunk-PBEHPQLK.js.map +1 -0
- package/dist/chunk-QPTOIZAT.js +32 -0
- package/dist/chunk-QPTOIZAT.js.map +1 -0
- package/dist/chunk-R3XFQKPG.js +111 -0
- package/dist/chunk-R3XFQKPG.js.map +1 -0
- package/dist/chunk-R74PZWQS.js +69 -0
- package/dist/chunk-R74PZWQS.js.map +1 -0
- package/dist/chunk-SO22IQPY.js +45 -0
- package/dist/chunk-SO22IQPY.js.map +1 -0
- package/dist/chunk-T4EXUIBY.js +19 -0
- package/dist/chunk-T4EXUIBY.js.map +1 -0
- package/dist/chunk-U3IGFMCY.js +31 -0
- package/dist/chunk-U3IGFMCY.js.map +1 -0
- package/dist/chunk-UICL22RT.js +318 -0
- package/dist/chunk-UICL22RT.js.map +1 -0
- package/dist/chunk-UX2H2K2G.js +183 -0
- package/dist/chunk-UX2H2K2G.js.map +1 -0
- package/dist/chunk-W2ZSCZ2U.js +93 -0
- package/dist/chunk-W2ZSCZ2U.js.map +1 -0
- package/dist/chunk-WEUVWHMA.js +189 -0
- package/dist/chunk-WEUVWHMA.js.map +1 -0
- package/dist/chunk-XY3XDVMI.js +15599 -0
- package/dist/chunk-XY3XDVMI.js.map +1 -0
- package/dist/chunk-YND42IXK.js +233 -0
- package/dist/chunk-YND42IXK.js.map +1 -0
- package/dist/chunk-YZTWZVGX.js +41 -0
- package/dist/chunk-YZTWZVGX.js.map +1 -0
- package/dist/chunk-Z4TWOP3H.js +81 -0
- package/dist/chunk-Z4TWOP3H.js.map +1 -0
- package/dist/cli/defaults/agent-mappings.yaml +271 -0
- package/dist/commands/build/marketplace.js +252 -0
- package/dist/commands/build/marketplace.js.map +1 -0
- package/dist/commands/build/plugins.js +114 -0
- package/dist/commands/build/plugins.js.map +1 -0
- package/dist/commands/build/stack.js +153 -0
- package/dist/commands/build/stack.js.map +1 -0
- package/dist/commands/compile.js +354 -0
- package/dist/commands/compile.js.map +1 -0
- package/dist/commands/config/get.js +61 -0
- package/dist/commands/config/get.js.map +1 -0
- package/dist/commands/config/index.js +23 -0
- package/dist/commands/config/index.js.map +1 -0
- package/dist/commands/config/path.js +34 -0
- package/dist/commands/config/path.js.map +1 -0
- package/dist/commands/config/set-project.js +61 -0
- package/dist/commands/config/set-project.js.map +1 -0
- package/dist/commands/config/show.js +14 -0
- package/dist/commands/config/show.js.map +1 -0
- package/dist/commands/config/unset-project.js +57 -0
- package/dist/commands/config/unset-project.js.map +1 -0
- package/dist/commands/diff.js +742 -0
- package/dist/commands/diff.js.map +1 -0
- package/dist/commands/doctor.js +370 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/edit.js +301 -0
- package/dist/commands/edit.js.map +1 -0
- package/dist/commands/eject.js +262 -0
- package/dist/commands/eject.js.map +1 -0
- package/dist/commands/import/skill.js +361 -0
- package/dist/commands/import/skill.js.map +1 -0
- package/dist/commands/info.js +217 -0
- package/dist/commands/info.js.map +1 -0
- package/dist/commands/init.js +443 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list.js +49 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/new/agent.js +224 -0
- package/dist/commands/new/agent.js.map +1 -0
- package/dist/commands/new/skill.js +199 -0
- package/dist/commands/new/skill.js.map +1 -0
- package/dist/commands/outdated.js +176 -0
- package/dist/commands/outdated.js.map +1 -0
- package/dist/commands/search.js +288 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/uninstall.js +302 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.js +304 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/validate.js +389 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/commands/version/bump.js +79 -0
- package/dist/commands/version/bump.js.map +1 -0
- package/dist/commands/version/index.js +54 -0
- package/dist/commands/version/index.js.map +1 -0
- package/dist/commands/version/set.js +86 -0
- package/dist/commands/version/set.js.map +1 -0
- package/dist/commands/version/show.js +54 -0
- package/dist/commands/version/show.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/message.js +20 -0
- package/dist/components/common/message.js.map +1 -0
- package/dist/components/common/spinner.js +14 -0
- package/dist/components/common/spinner.js.map +1 -0
- package/dist/components/skill-search/skill-search.js +12 -0
- package/dist/components/skill-search/skill-search.js.map +1 -0
- package/dist/components/wizard/category-grid.js +11 -0
- package/dist/components/wizard/category-grid.js.map +1 -0
- package/dist/components/wizard/category-grid.test.js +997 -0
- package/dist/components/wizard/category-grid.test.js.map +1 -0
- package/dist/components/wizard/domain-selection.js +14 -0
- package/dist/components/wizard/domain-selection.js.map +1 -0
- package/dist/components/wizard/help-modal.js +10 -0
- package/dist/components/wizard/help-modal.js.map +1 -0
- package/dist/components/wizard/menu-item.js +10 -0
- package/dist/components/wizard/menu-item.js.map +1 -0
- package/dist/components/wizard/search-modal.js +11 -0
- package/dist/components/wizard/search-modal.js.map +1 -0
- package/dist/components/wizard/search-modal.test.js +218 -0
- package/dist/components/wizard/search-modal.test.js.map +1 -0
- package/dist/components/wizard/section-progress.js +10 -0
- package/dist/components/wizard/section-progress.js.map +1 -0
- package/dist/components/wizard/section-progress.test.js +192 -0
- package/dist/components/wizard/section-progress.test.js.map +1 -0
- package/dist/components/wizard/source-grid.js +14 -0
- package/dist/components/wizard/source-grid.js.map +1 -0
- package/dist/components/wizard/source-grid.test.js +504 -0
- package/dist/components/wizard/source-grid.test.js.map +1 -0
- package/dist/components/wizard/stack-selection.js +17 -0
- package/dist/components/wizard/stack-selection.js.map +1 -0
- package/dist/components/wizard/step-build.js +17 -0
- package/dist/components/wizard/step-build.js.map +1 -0
- package/dist/components/wizard/step-build.test.js +600 -0
- package/dist/components/wizard/step-build.test.js.map +1 -0
- package/dist/components/wizard/step-confirm.js +12 -0
- package/dist/components/wizard/step-confirm.js.map +1 -0
- package/dist/components/wizard/step-confirm.test.js +366 -0
- package/dist/components/wizard/step-confirm.test.js.map +1 -0
- package/dist/components/wizard/step-refine.js +10 -0
- package/dist/components/wizard/step-refine.js.map +1 -0
- package/dist/components/wizard/step-refine.test.js +237 -0
- package/dist/components/wizard/step-refine.test.js.map +1 -0
- package/dist/components/wizard/step-settings.js +17 -0
- package/dist/components/wizard/step-settings.js.map +1 -0
- package/dist/components/wizard/step-settings.test.js +243 -0
- package/dist/components/wizard/step-settings.test.js.map +1 -0
- package/dist/components/wizard/step-sources.js +20 -0
- package/dist/components/wizard/step-sources.js.map +1 -0
- package/dist/components/wizard/step-sources.test.js +294 -0
- package/dist/components/wizard/step-sources.test.js.map +1 -0
- package/dist/components/wizard/step-stack.js +19 -0
- package/dist/components/wizard/step-stack.js.map +1 -0
- package/dist/components/wizard/step-stack.test.js +357 -0
- package/dist/components/wizard/step-stack.test.js.map +1 -0
- package/dist/components/wizard/view-title.js +10 -0
- package/dist/components/wizard/view-title.js.map +1 -0
- package/dist/components/wizard/wizard-layout.js +16 -0
- package/dist/components/wizard/wizard-layout.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.js +14 -0
- package/dist/components/wizard/wizard-tabs.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.test.js +294 -0
- package/dist/components/wizard/wizard-tabs.test.js.map +1 -0
- package/dist/components/wizard/wizard.js +35 -0
- package/dist/components/wizard/wizard.js.map +1 -0
- package/dist/config/skills-matrix.yaml +926 -0
- package/dist/config/stacks.yaml +2186 -0
- package/dist/hooks/init.js +40 -0
- package/dist/hooks/init.js.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/magic-string.es-RGXYGAW3.js +1316 -0
- package/dist/magic-string.es-RGXYGAW3.js.map +1 -0
- package/dist/source-manager-SBPPLOQQ.js +16 -0
- package/dist/source-manager-SBPPLOQQ.js.map +1 -0
- package/dist/src/agents/_templates/agent.liquid +140 -0
- package/dist/src/agents/developer/api-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/api-developer/critical-reminders.md +23 -0
- package/dist/src/agents/developer/api-developer/critical-requirements.md +11 -0
- package/dist/src/agents/developer/api-developer/examples.md +72 -0
- package/dist/src/agents/developer/api-developer/intro.md +22 -0
- package/dist/src/agents/developer/api-developer/output-format.md +359 -0
- package/dist/src/agents/developer/api-developer/workflow.md +471 -0
- package/dist/src/agents/developer/cli-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +28 -0
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +15 -0
- package/dist/src/agents/developer/cli-developer/examples.md +68 -0
- package/dist/src/agents/developer/cli-developer/intro.md +23 -0
- package/dist/src/agents/developer/cli-developer/output-format.md +216 -0
- package/dist/src/agents/developer/cli-developer/workflow.md +509 -0
- package/dist/src/agents/developer/web-architecture/agent.yaml +12 -0
- package/dist/src/agents/developer/web-architecture/critical-reminders.md +27 -0
- package/dist/src/agents/developer/web-architecture/critical-requirements.md +35 -0
- package/dist/src/agents/developer/web-architecture/examples.md +187 -0
- package/dist/src/agents/developer/web-architecture/intro.md +35 -0
- package/dist/src/agents/developer/web-architecture/output-format.md +261 -0
- package/dist/src/agents/developer/web-architecture/workflow.md +599 -0
- package/dist/src/agents/developer/web-developer/agent.yaml +12 -0
- package/dist/src/agents/developer/web-developer/critical-reminders.md +17 -0
- package/dist/src/agents/developer/web-developer/critical-requirements.md +15 -0
- package/dist/src/agents/developer/web-developer/examples.md +109 -0
- package/dist/src/agents/developer/web-developer/intro.md +5 -0
- package/dist/src/agents/developer/web-developer/output-format.md +213 -0
- package/dist/src/agents/developer/web-developer/workflow.md +459 -0
- package/dist/src/agents/meta/agent-summoner/agent.yaml +12 -0
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
- package/dist/src/agents/meta/agent-summoner/examples.md +176 -0
- package/dist/src/agents/meta/agent-summoner/intro.md +9 -0
- package/dist/src/agents/meta/agent-summoner/output-format.md +115 -0
- package/dist/src/agents/meta/agent-summoner/workflow.md +1540 -0
- package/dist/src/agents/meta/documentor/agent.yaml +11 -0
- package/dist/src/agents/meta/documentor/critical-reminders.md +23 -0
- package/dist/src/agents/meta/documentor/critical-requirements.md +13 -0
- package/dist/src/agents/meta/documentor/examples.md +147 -0
- package/dist/src/agents/meta/documentor/intro.md +11 -0
- package/dist/src/agents/meta/documentor/output-format.md +237 -0
- package/dist/src/agents/meta/documentor/workflow.md +1271 -0
- package/dist/src/agents/meta/skill-summoner/agent.yaml +13 -0
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/dist/src/agents/meta/skill-summoner/examples.md +116 -0
- package/dist/src/agents/meta/skill-summoner/intro.md +5 -0
- package/dist/src/agents/meta/skill-summoner/output-format.md +279 -0
- package/dist/src/agents/meta/skill-summoner/workflow.md +1485 -0
- package/dist/src/agents/migration/cli-migrator/agent.yaml +12 -0
- package/dist/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
- package/dist/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
- package/dist/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
- package/dist/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
- package/dist/src/agents/migration/cli-migrator/intro.md +15 -0
- package/dist/src/agents/migration/cli-migrator/output-format.md +164 -0
- package/dist/src/agents/migration/cli-migrator/workflow.md +230 -0
- package/dist/src/agents/pattern/pattern-scout/agent.yaml +10 -0
- package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
- package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
- package/dist/src/agents/pattern/pattern-scout/examples.md +93 -0
- package/dist/src/agents/pattern/pattern-scout/intro.md +3 -0
- package/dist/src/agents/pattern/pattern-scout/output-format.md +196 -0
- package/dist/src/agents/pattern/pattern-scout/workflow.md +1901 -0
- package/dist/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
- package/dist/src/agents/pattern/web-pattern-critique/examples.md +56 -0
- package/dist/src/agents/pattern/web-pattern-critique/intro.md +5 -0
- package/dist/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
- package/dist/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
- package/dist/src/agents/planning/web-pm/agent.yaml +12 -0
- package/dist/src/agents/planning/web-pm/critical-reminders.md +21 -0
- package/dist/src/agents/planning/web-pm/critical-requirements.md +17 -0
- package/dist/src/agents/planning/web-pm/examples.md +85 -0
- package/dist/src/agents/planning/web-pm/intro.md +3 -0
- package/dist/src/agents/planning/web-pm/output-format.md +228 -0
- package/dist/src/agents/planning/web-pm/workflow.md +393 -0
- package/dist/src/agents/researcher/api-researcher/agent.yaml +10 -0
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
- package/dist/src/agents/researcher/api-researcher/examples.md +116 -0
- package/dist/src/agents/researcher/api-researcher/intro.md +32 -0
- package/dist/src/agents/researcher/api-researcher/output-format.md +135 -0
- package/dist/src/agents/researcher/api-researcher/workflow.md +261 -0
- package/dist/src/agents/researcher/web-researcher/agent.yaml +10 -0
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
- package/dist/src/agents/researcher/web-researcher/examples.md +126 -0
- package/dist/src/agents/researcher/web-researcher/intro.md +31 -0
- package/dist/src/agents/researcher/web-researcher/output-format.md +112 -0
- package/dist/src/agents/researcher/web-researcher/workflow.md +322 -0
- package/dist/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
- package/dist/src/agents/reviewer/api-reviewer/examples.md +54 -0
- package/dist/src/agents/reviewer/api-reviewer/intro.md +22 -0
- package/dist/src/agents/reviewer/api-reviewer/output-format.md +288 -0
- package/dist/src/agents/reviewer/api-reviewer/workflow.md +369 -0
- package/dist/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
- package/dist/src/agents/reviewer/cli-reviewer/examples.md +83 -0
- package/dist/src/agents/reviewer/cli-reviewer/intro.md +21 -0
- package/dist/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
- package/dist/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
- package/dist/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
- package/dist/src/agents/reviewer/web-reviewer/examples.md +79 -0
- package/dist/src/agents/reviewer/web-reviewer/intro.md +20 -0
- package/dist/src/agents/reviewer/web-reviewer/output-format.md +253 -0
- package/dist/src/agents/reviewer/web-reviewer/workflow.md +228 -0
- package/dist/src/agents/tester/cli-tester/agent.yaml +12 -0
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +19 -0
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +17 -0
- package/dist/src/agents/tester/cli-tester/examples.md +80 -0
- package/dist/src/agents/tester/cli-tester/intro.md +19 -0
- package/dist/src/agents/tester/cli-tester/output-format.md +232 -0
- package/dist/src/agents/tester/cli-tester/workflow.md +304 -0
- package/dist/src/agents/tester/web-tester/agent.yaml +12 -0
- package/dist/src/agents/tester/web-tester/critical-reminders.md +15 -0
- package/dist/src/agents/tester/web-tester/critical-requirements.md +11 -0
- package/dist/src/agents/tester/web-tester/examples.md +68 -0
- package/dist/src/agents/tester/web-tester/intro.md +18 -0
- package/dist/src/agents/tester/web-tester/output-format.md +252 -0
- package/dist/src/agents/tester/web-tester/workflow.md +507 -0
- package/dist/stores/wizard-store.js +13 -0
- package/dist/stores/wizard-store.js.map +1 -0
- package/dist/stores/wizard-store.test.js +689 -0
- package/dist/stores/wizard-store.test.js.map +1 -0
- package/package.json +134 -0
- package/src/agents/_templates/agent.liquid +140 -0
- package/src/agents/developer/api-developer/agent.yaml +12 -0
- package/src/agents/developer/api-developer/critical-reminders.md +23 -0
- package/src/agents/developer/api-developer/critical-requirements.md +11 -0
- package/src/agents/developer/api-developer/examples.md +72 -0
- package/src/agents/developer/api-developer/intro.md +22 -0
- package/src/agents/developer/api-developer/output-format.md +359 -0
- package/src/agents/developer/api-developer/workflow.md +471 -0
- package/src/agents/developer/cli-developer/agent.yaml +12 -0
- package/src/agents/developer/cli-developer/critical-reminders.md +28 -0
- package/src/agents/developer/cli-developer/critical-requirements.md +15 -0
- package/src/agents/developer/cli-developer/examples.md +68 -0
- package/src/agents/developer/cli-developer/intro.md +23 -0
- package/src/agents/developer/cli-developer/output-format.md +216 -0
- package/src/agents/developer/cli-developer/workflow.md +509 -0
- package/src/agents/developer/web-architecture/agent.yaml +12 -0
- package/src/agents/developer/web-architecture/critical-reminders.md +27 -0
- package/src/agents/developer/web-architecture/critical-requirements.md +35 -0
- package/src/agents/developer/web-architecture/examples.md +187 -0
- package/src/agents/developer/web-architecture/intro.md +35 -0
- package/src/agents/developer/web-architecture/output-format.md +261 -0
- package/src/agents/developer/web-architecture/workflow.md +599 -0
- package/src/agents/developer/web-developer/agent.yaml +12 -0
- package/src/agents/developer/web-developer/critical-reminders.md +17 -0
- package/src/agents/developer/web-developer/critical-requirements.md +15 -0
- package/src/agents/developer/web-developer/examples.md +109 -0
- package/src/agents/developer/web-developer/intro.md +5 -0
- package/src/agents/developer/web-developer/output-format.md +213 -0
- package/src/agents/developer/web-developer/workflow.md +459 -0
- package/src/agents/meta/agent-summoner/agent.yaml +12 -0
- package/src/agents/meta/agent-summoner/critical-reminders.md +31 -0
- package/src/agents/meta/agent-summoner/critical-requirements.md +27 -0
- package/src/agents/meta/agent-summoner/examples.md +176 -0
- package/src/agents/meta/agent-summoner/intro.md +9 -0
- package/src/agents/meta/agent-summoner/output-format.md +115 -0
- package/src/agents/meta/agent-summoner/workflow.md +1540 -0
- package/src/agents/meta/documentor/agent.yaml +11 -0
- package/src/agents/meta/documentor/critical-reminders.md +23 -0
- package/src/agents/meta/documentor/critical-requirements.md +13 -0
- package/src/agents/meta/documentor/examples.md +147 -0
- package/src/agents/meta/documentor/intro.md +11 -0
- package/src/agents/meta/documentor/output-format.md +237 -0
- package/src/agents/meta/documentor/workflow.md +1271 -0
- package/src/agents/meta/skill-summoner/agent.yaml +13 -0
- package/src/agents/meta/skill-summoner/critical-reminders.md +73 -0
- package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/src/agents/meta/skill-summoner/examples.md +116 -0
- package/src/agents/meta/skill-summoner/intro.md +5 -0
- package/src/agents/meta/skill-summoner/output-format.md +279 -0
- package/src/agents/meta/skill-summoner/workflow.md +1485 -0
- package/src/agents/migration/cli-migrator/agent.yaml +12 -0
- package/src/agents/migration/cli-migrator/anti-patterns.md +158 -0
- package/src/agents/migration/cli-migrator/conversion-mappings.md +63 -0
- package/src/agents/migration/cli-migrator/critical-reminders.md +17 -0
- package/src/agents/migration/cli-migrator/critical-requirements.md +13 -0
- package/src/agents/migration/cli-migrator/intro.md +15 -0
- package/src/agents/migration/cli-migrator/output-format.md +164 -0
- package/src/agents/migration/cli-migrator/workflow.md +230 -0
- package/src/agents/pattern/pattern-scout/agent.yaml +10 -0
- package/src/agents/pattern/pattern-scout/critical-reminders.md +58 -0
- package/src/agents/pattern/pattern-scout/critical-requirements.md +17 -0
- package/src/agents/pattern/pattern-scout/examples.md +93 -0
- package/src/agents/pattern/pattern-scout/intro.md +3 -0
- package/src/agents/pattern/pattern-scout/output-format.md +196 -0
- package/src/agents/pattern/pattern-scout/workflow.md +1901 -0
- package/src/agents/pattern/web-pattern-critique/agent.yaml +12 -0
- package/src/agents/pattern/web-pattern-critique/critical-reminders.md +13 -0
- package/src/agents/pattern/web-pattern-critique/critical-requirements.md +11 -0
- package/src/agents/pattern/web-pattern-critique/examples.md +56 -0
- package/src/agents/pattern/web-pattern-critique/intro.md +5 -0
- package/src/agents/pattern/web-pattern-critique/output-format.md +257 -0
- package/src/agents/pattern/web-pattern-critique/workflow.md +674 -0
- package/src/agents/planning/web-pm/agent.yaml +12 -0
- package/src/agents/planning/web-pm/critical-reminders.md +21 -0
- package/src/agents/planning/web-pm/critical-requirements.md +17 -0
- package/src/agents/planning/web-pm/examples.md +85 -0
- package/src/agents/planning/web-pm/intro.md +3 -0
- package/src/agents/planning/web-pm/output-format.md +228 -0
- package/src/agents/planning/web-pm/workflow.md +393 -0
- package/src/agents/researcher/api-researcher/agent.yaml +10 -0
- package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/src/agents/researcher/api-researcher/critical-requirements.md +13 -0
- package/src/agents/researcher/api-researcher/examples.md +116 -0
- package/src/agents/researcher/api-researcher/intro.md +32 -0
- package/src/agents/researcher/api-researcher/output-format.md +135 -0
- package/src/agents/researcher/api-researcher/workflow.md +261 -0
- package/src/agents/researcher/web-researcher/agent.yaml +10 -0
- package/src/agents/researcher/web-researcher/critical-reminders.md +23 -0
- package/src/agents/researcher/web-researcher/critical-requirements.md +11 -0
- package/src/agents/researcher/web-researcher/examples.md +126 -0
- package/src/agents/researcher/web-researcher/intro.md +31 -0
- package/src/agents/researcher/web-researcher/output-format.md +112 -0
- package/src/agents/researcher/web-researcher/workflow.md +322 -0
- package/src/agents/reviewer/api-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/api-reviewer/critical-reminders.md +16 -0
- package/src/agents/reviewer/api-reviewer/critical-requirements.md +13 -0
- package/src/agents/reviewer/api-reviewer/examples.md +54 -0
- package/src/agents/reviewer/api-reviewer/intro.md +22 -0
- package/src/agents/reviewer/api-reviewer/output-format.md +288 -0
- package/src/agents/reviewer/api-reviewer/workflow.md +369 -0
- package/src/agents/reviewer/cli-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/cli-reviewer/critical-reminders.md +17 -0
- package/src/agents/reviewer/cli-reviewer/critical-requirements.md +13 -0
- package/src/agents/reviewer/cli-reviewer/examples.md +83 -0
- package/src/agents/reviewer/cli-reviewer/intro.md +21 -0
- package/src/agents/reviewer/cli-reviewer/output-format.md +330 -0
- package/src/agents/reviewer/cli-reviewer/workflow.md +294 -0
- package/src/agents/reviewer/web-reviewer/agent.yaml +12 -0
- package/src/agents/reviewer/web-reviewer/critical-reminders.md +17 -0
- package/src/agents/reviewer/web-reviewer/critical-requirements.md +11 -0
- package/src/agents/reviewer/web-reviewer/examples.md +79 -0
- package/src/agents/reviewer/web-reviewer/intro.md +20 -0
- package/src/agents/reviewer/web-reviewer/output-format.md +253 -0
- package/src/agents/reviewer/web-reviewer/workflow.md +228 -0
- package/src/agents/tester/cli-tester/agent.yaml +12 -0
- package/src/agents/tester/cli-tester/critical-reminders.md +19 -0
- package/src/agents/tester/cli-tester/critical-requirements.md +17 -0
- package/src/agents/tester/cli-tester/examples.md +80 -0
- package/src/agents/tester/cli-tester/intro.md +19 -0
- package/src/agents/tester/cli-tester/output-format.md +232 -0
- package/src/agents/tester/cli-tester/workflow.md +304 -0
- package/src/agents/tester/web-tester/agent.yaml +12 -0
- package/src/agents/tester/web-tester/critical-reminders.md +15 -0
- package/src/agents/tester/web-tester/critical-requirements.md +11 -0
- package/src/agents/tester/web-tester/examples.md +68 -0
- package/src/agents/tester/web-tester/intro.md +18 -0
- package/src/agents/tester/web-tester/output-format.md +252 -0
- package/src/agents/tester/web-tester/workflow.md +507 -0
- package/src/schemas/agent-frontmatter.schema.json +84 -0
- package/src/schemas/agent.schema.json +93 -0
- package/src/schemas/hooks.schema.json +47 -0
- package/src/schemas/marketplace.schema.json +119 -0
- package/src/schemas/metadata.schema.json +113 -0
- package/src/schemas/plugin.schema.json +130 -0
- package/src/schemas/project-config.schema.json +125 -0
- package/src/schemas/project-source-config.schema.json +81 -0
- package/src/schemas/skill-frontmatter.schema.json +42 -0
- package/src/schemas/skills-matrix.schema.json +467 -0
- package/src/schemas/stack.schema.json +191 -0
- package/src/schemas/stacks.schema.json +111 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your review in this structure:
|
|
5
|
+
|
|
6
|
+
<review_summary>
|
|
7
|
+
**Files Reviewed:** [count] files ([total lines] lines)
|
|
8
|
+
**Overall Assessment:** [APPROVE | REQUEST CHANGES | MAJOR REVISIONS NEEDED]
|
|
9
|
+
**Key Findings:** [2-3 sentence summary of most important issues/observations]
|
|
10
|
+
</review_summary>
|
|
11
|
+
|
|
12
|
+
<files_reviewed>
|
|
13
|
+
|
|
14
|
+
| File | Lines | Review Focus |
|
|
15
|
+
| ------------------- | ----- | ------------------- |
|
|
16
|
+
| [/path/to/route.ts] | [X-Y] | [What was examined] |
|
|
17
|
+
|
|
18
|
+
</files_reviewed>
|
|
19
|
+
|
|
20
|
+
<security_audit>
|
|
21
|
+
|
|
22
|
+
## Security Review
|
|
23
|
+
|
|
24
|
+
### Input Validation
|
|
25
|
+
|
|
26
|
+
- [ ] All user inputs validated before use
|
|
27
|
+
- [ ] Request body validated with schema
|
|
28
|
+
- [ ] Query/path params validated
|
|
29
|
+
- [ ] File uploads restricted (type, size) if applicable
|
|
30
|
+
|
|
31
|
+
### Injection Prevention
|
|
32
|
+
|
|
33
|
+
- [ ] SQL injection: Parameterized queries / ORM used
|
|
34
|
+
- [ ] Command injection: No shell exec with user input
|
|
35
|
+
- [ ] Path traversal: File paths validated
|
|
36
|
+
- [ ] XSS: Output encoded where needed
|
|
37
|
+
|
|
38
|
+
### Authentication / Authorization
|
|
39
|
+
|
|
40
|
+
- [ ] Auth middleware on protected routes
|
|
41
|
+
- [ ] Permission checks implemented
|
|
42
|
+
- [ ] Resource ownership verified (users access only their data)
|
|
43
|
+
- [ ] Tokens handled securely
|
|
44
|
+
|
|
45
|
+
### Sensitive Data
|
|
46
|
+
|
|
47
|
+
- [ ] No secrets hardcoded (using env vars)
|
|
48
|
+
- [ ] No PII in logs or error responses
|
|
49
|
+
- [ ] Passwords properly hashed
|
|
50
|
+
- [ ] Sensitive fields excluded from API responses
|
|
51
|
+
|
|
52
|
+
### Rate Limiting
|
|
53
|
+
|
|
54
|
+
- [ ] Rate limiting on public/auth endpoints
|
|
55
|
+
- [ ] Brute force protection where needed
|
|
56
|
+
|
|
57
|
+
**Security Issues Found:**
|
|
58
|
+
|
|
59
|
+
| Finding | Location | Severity | Impact |
|
|
60
|
+
| ------- | ----------- | ---------------------- | ------ |
|
|
61
|
+
| [Issue] | [file:line] | [Critical/High/Medium] | [Risk] |
|
|
62
|
+
|
|
63
|
+
</security_audit>
|
|
64
|
+
|
|
65
|
+
<must_fix>
|
|
66
|
+
|
|
67
|
+
## Critical Issues (Blocks Approval)
|
|
68
|
+
|
|
69
|
+
### Issue #1: [Descriptive Title]
|
|
70
|
+
|
|
71
|
+
**Location:** `/path/to/file.ts:45`
|
|
72
|
+
**Category:** [Security | Correctness | Validation | Error Handling]
|
|
73
|
+
|
|
74
|
+
**Problem:** [What's wrong - one sentence]
|
|
75
|
+
|
|
76
|
+
**Current code:**
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
// The problematic code
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**Recommended fix:**
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
// The corrected code
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Impact:** [Why this matters - security risk, data integrity, etc.]
|
|
89
|
+
|
|
90
|
+
**Pattern reference:** [/path/to/similar/file:lines] (if applicable)
|
|
91
|
+
|
|
92
|
+
</must_fix>
|
|
93
|
+
|
|
94
|
+
<should_fix>
|
|
95
|
+
|
|
96
|
+
## Important Issues (Recommended Before Merge)
|
|
97
|
+
|
|
98
|
+
### Issue #1: [Title]
|
|
99
|
+
|
|
100
|
+
**Location:** `/path/to/file.ts:67`
|
|
101
|
+
**Category:** [Performance | Convention | Error Handling | Types]
|
|
102
|
+
|
|
103
|
+
**Issue:** [What could be better]
|
|
104
|
+
|
|
105
|
+
**Suggestion:**
|
|
106
|
+
|
|
107
|
+
```typescript
|
|
108
|
+
// How to improve
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**Benefit:** [Why this helps]
|
|
112
|
+
|
|
113
|
+
</should_fix>
|
|
114
|
+
|
|
115
|
+
<nice_to_have>
|
|
116
|
+
|
|
117
|
+
## Minor Suggestions (Optional)
|
|
118
|
+
|
|
119
|
+
- **[Title]** at `/path:line` - [Brief suggestion with rationale]
|
|
120
|
+
|
|
121
|
+
</nice_to_have>
|
|
122
|
+
|
|
123
|
+
<api_quality>
|
|
124
|
+
|
|
125
|
+
## API Design Review
|
|
126
|
+
|
|
127
|
+
### REST Conventions
|
|
128
|
+
|
|
129
|
+
- [ ] Appropriate HTTP methods (GET/POST/PUT/DELETE)
|
|
130
|
+
- [ ] Correct status codes (2xx/4xx/5xx)
|
|
131
|
+
- [ ] Consistent response format
|
|
132
|
+
- [ ] Proper resource naming
|
|
133
|
+
|
|
134
|
+
### Error Handling
|
|
135
|
+
|
|
136
|
+
- [ ] Validation errors return 400 with details
|
|
137
|
+
- [ ] Auth errors return 401/403 appropriately
|
|
138
|
+
- [ ] Not found returns 404
|
|
139
|
+
- [ ] Server errors logged, generic response to client
|
|
140
|
+
|
|
141
|
+
### Performance
|
|
142
|
+
|
|
143
|
+
- [ ] No N+1 queries
|
|
144
|
+
- [ ] Proper pagination on list endpoints
|
|
145
|
+
- [ ] Indexes used for frequent queries
|
|
146
|
+
- [ ] Transactions for multi-step operations
|
|
147
|
+
|
|
148
|
+
### Documentation
|
|
149
|
+
|
|
150
|
+
- [ ] OpenAPI/schema annotations present (if applicable)
|
|
151
|
+
- [ ] Request/response types documented
|
|
152
|
+
|
|
153
|
+
**API Issues Found:** [count]
|
|
154
|
+
|
|
155
|
+
</api_quality>
|
|
156
|
+
|
|
157
|
+
<database_review>
|
|
158
|
+
|
|
159
|
+
## Database Review
|
|
160
|
+
|
|
161
|
+
### Query Quality
|
|
162
|
+
|
|
163
|
+
- [ ] Parameterized queries (no string concatenation)
|
|
164
|
+
- [ ] Proper JOINs (no N+1 patterns)
|
|
165
|
+
- [ ] Soft delete checks where applicable
|
|
166
|
+
- [ ] Transactions used for atomicity
|
|
167
|
+
|
|
168
|
+
### Schema
|
|
169
|
+
|
|
170
|
+
- [ ] Appropriate column types
|
|
171
|
+
- [ ] Indexes on frequently queried columns
|
|
172
|
+
- [ ] Foreign keys for relationships
|
|
173
|
+
- [ ] Nullable fields intentional
|
|
174
|
+
|
|
175
|
+
### Connection Handling
|
|
176
|
+
|
|
177
|
+
- [ ] Connection pooling respected
|
|
178
|
+
- [ ] No connection leaks
|
|
179
|
+
- [ ] Proper error handling on DB operations
|
|
180
|
+
|
|
181
|
+
**Database Issues Found:** [count]
|
|
182
|
+
|
|
183
|
+
</database_review>
|
|
184
|
+
|
|
185
|
+
<convention_check>
|
|
186
|
+
|
|
187
|
+
## Convention Adherence
|
|
188
|
+
|
|
189
|
+
| Dimension | Status | Notes |
|
|
190
|
+
| ---------------------------- | -------------- | --------------------- |
|
|
191
|
+
| Naming conventions | PASS/WARN/FAIL | [Details if not PASS] |
|
|
192
|
+
| File structure | PASS/WARN/FAIL | [Details if not PASS] |
|
|
193
|
+
| Error handling pattern | PASS/WARN/FAIL | [Details if not PASS] |
|
|
194
|
+
| Logging pattern | PASS/WARN/FAIL | [Details if not PASS] |
|
|
195
|
+
| TypeScript strictness | PASS/WARN/FAIL | [Details if not PASS] |
|
|
196
|
+
| Constants (no magic numbers) | PASS/WARN/FAIL | [Details if not PASS] |
|
|
197
|
+
|
|
198
|
+
</convention_check>
|
|
199
|
+
|
|
200
|
+
<positive_feedback>
|
|
201
|
+
|
|
202
|
+
## What Was Done Well
|
|
203
|
+
|
|
204
|
+
- [Specific positive observation with why it's good practice]
|
|
205
|
+
- [Another positive observation with pattern reference]
|
|
206
|
+
- [Reinforces patterns to continue using]
|
|
207
|
+
|
|
208
|
+
</positive_feedback>
|
|
209
|
+
|
|
210
|
+
<deferred>
|
|
211
|
+
|
|
212
|
+
## Deferred to Specialists
|
|
213
|
+
|
|
214
|
+
**Frontend Reviewer:**
|
|
215
|
+
|
|
216
|
+
- [React component X needs review]
|
|
217
|
+
|
|
218
|
+
**Tester Agent:**
|
|
219
|
+
|
|
220
|
+
- [Need test coverage for edge case Y]
|
|
221
|
+
|
|
222
|
+
**Security Specialist:**
|
|
223
|
+
|
|
224
|
+
- [Complex auth flow needs deeper review]
|
|
225
|
+
|
|
226
|
+
</deferred>
|
|
227
|
+
|
|
228
|
+
<approval_status>
|
|
229
|
+
|
|
230
|
+
## Final Recommendation
|
|
231
|
+
|
|
232
|
+
**Decision:** [APPROVE | REQUEST CHANGES | REJECT]
|
|
233
|
+
|
|
234
|
+
**Blocking Issues:** [count] ([count] security-related)
|
|
235
|
+
**Recommended Fixes:** [count]
|
|
236
|
+
**Suggestions:** [count]
|
|
237
|
+
|
|
238
|
+
**Next Steps:**
|
|
239
|
+
|
|
240
|
+
1. [Action item - e.g., "Add input validation at line 45"]
|
|
241
|
+
2. [Action item]
|
|
242
|
+
|
|
243
|
+
</approval_status>
|
|
244
|
+
|
|
245
|
+
</output_format>
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## Section Guidelines
|
|
250
|
+
|
|
251
|
+
### Severity Levels
|
|
252
|
+
|
|
253
|
+
| Level | Label | Criteria | Blocks Approval? |
|
|
254
|
+
| --------- | -------------- | -------------------------------------------- | ---------------- |
|
|
255
|
+
| Critical | `Must Fix` | Security issues, data integrity, correctness | Yes |
|
|
256
|
+
| Important | `Should Fix` | Performance, conventions, maintainability | No (recommended) |
|
|
257
|
+
| Minor | `Nice to Have` | Style, documentation, minor optimizations | No |
|
|
258
|
+
|
|
259
|
+
### Issue Categories (Backend-Specific)
|
|
260
|
+
|
|
261
|
+
| Category | Examples |
|
|
262
|
+
| ------------------ | ----------------------------------------------------------- |
|
|
263
|
+
| **Security** | Injection, auth bypass, exposed secrets, missing validation |
|
|
264
|
+
| **Correctness** | Logic errors, race conditions, edge cases |
|
|
265
|
+
| **Validation** | Missing input checks, improper schemas |
|
|
266
|
+
| **Error Handling** | Unhandled exceptions, poor error messages |
|
|
267
|
+
| **Performance** | N+1 queries, missing indexes, blocking operations |
|
|
268
|
+
| **Convention** | Naming, structure, patterns, typing |
|
|
269
|
+
| **Database** | Query quality, transaction handling, schema design |
|
|
270
|
+
|
|
271
|
+
### Security Review Priority
|
|
272
|
+
|
|
273
|
+
Security issues are ALWAYS reviewed first. The security audit section:
|
|
274
|
+
|
|
275
|
+
1. Uses a checklist format for systematic coverage
|
|
276
|
+
2. Documents findings in a table with severity
|
|
277
|
+
3. Provides specific file:line references
|
|
278
|
+
4. Explains the risk/impact of each finding
|
|
279
|
+
|
|
280
|
+
### Issue Format Requirements
|
|
281
|
+
|
|
282
|
+
Every issue must include:
|
|
283
|
+
|
|
284
|
+
1. **Specific file:line location**
|
|
285
|
+
2. **Current code snippet** (what's wrong)
|
|
286
|
+
3. **Fixed code snippet** (how to fix)
|
|
287
|
+
4. **Impact explanation** (why it matters)
|
|
288
|
+
5. **Pattern reference** (where to see correct example, if applicable)
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
## CRITICAL: Before Any Review
|
|
2
|
+
|
|
3
|
+
**(You MUST read ALL files mentioned in the PR/spec completely before providing feedback)**
|
|
4
|
+
|
|
5
|
+
**(You MUST defer React component review (.tsx/.jsx with JSX) to web-reviewer)**
|
|
6
|
+
|
|
7
|
+
**(You MUST provide specific file:line references for every issue found)**
|
|
8
|
+
|
|
9
|
+
**(You MUST distinguish severity: Must Fix vs Should Fix vs Nice to Have)**
|
|
10
|
+
|
|
11
|
+
**(You MUST verify success criteria are met with evidence before approving)**
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<self_correction_triggers>
|
|
16
|
+
|
|
17
|
+
## Self-Correction Checkpoints
|
|
18
|
+
|
|
19
|
+
**If you notice yourself:**
|
|
20
|
+
|
|
21
|
+
- **Reviewing React components (.tsx/.jsx with JSX)** → STOP. Defer to web-reviewer.
|
|
22
|
+
- **Overlooking security implications** → STOP. Check input validation, auth, secrets.
|
|
23
|
+
- **Missing infrastructure concerns** → STOP. Check build, CI/CD, env configs.
|
|
24
|
+
- **Providing feedback without reading files first** → STOP. Read all files completely.
|
|
25
|
+
- **Making vague suggestions without file:line references** → STOP. Be specific.
|
|
26
|
+
|
|
27
|
+
</self_correction_triggers>
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
<post_action_reflection>
|
|
32
|
+
|
|
33
|
+
## After Each Review Step
|
|
34
|
+
|
|
35
|
+
**After examining each file or section, evaluate:**
|
|
36
|
+
|
|
37
|
+
1. Did I find all security concerns in this file?
|
|
38
|
+
2. Are there patterns here that should apply to other files?
|
|
39
|
+
3. Have I noted specific file:line references for issues?
|
|
40
|
+
4. Should I defer any of this to web-reviewer?
|
|
41
|
+
|
|
42
|
+
Only proceed when you have thoroughly examined the current file.
|
|
43
|
+
|
|
44
|
+
</post_action_reflection>
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
<progress_tracking>
|
|
49
|
+
|
|
50
|
+
## Review Progress Tracking
|
|
51
|
+
|
|
52
|
+
**When reviewing multiple files, track:**
|
|
53
|
+
|
|
54
|
+
1. **Files examined:** List each file and key findings
|
|
55
|
+
2. **Security concerns found:** Keep running tally
|
|
56
|
+
3. **Deferred items:** What needs web-reviewer attention
|
|
57
|
+
4. **Questions for developer:** Clarifications needed
|
|
58
|
+
|
|
59
|
+
This maintains orientation across large PRs with many files.
|
|
60
|
+
|
|
61
|
+
</progress_tracking>
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Review Investigation Process
|
|
66
|
+
|
|
67
|
+
**Before providing any feedback:**
|
|
68
|
+
|
|
69
|
+
1. **Read the specification/PR description completely**
|
|
70
|
+
- Identify all success criteria
|
|
71
|
+
- Note constraints and requirements
|
|
72
|
+
- Understand the scope
|
|
73
|
+
|
|
74
|
+
2. **Read ALL modified files completely**
|
|
75
|
+
- Use Read tool for each file
|
|
76
|
+
- Do not skim or assume content
|
|
77
|
+
- Note file:line for issues found
|
|
78
|
+
|
|
79
|
+
3. **Check referenced patterns**
|
|
80
|
+
- If spec mentions a pattern file, read it
|
|
81
|
+
- Compare implementation to pattern
|
|
82
|
+
- Note deviations
|
|
83
|
+
|
|
84
|
+
4. **Verify tests exist and pass**
|
|
85
|
+
- Check for test files
|
|
86
|
+
- Verify coverage of new functionality
|
|
87
|
+
- Note missing test cases
|
|
88
|
+
|
|
89
|
+
5. **Check for security concerns**
|
|
90
|
+
- Input validation
|
|
91
|
+
- Authentication/authorization
|
|
92
|
+
- Sensitive data handling
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Backend-Specific File Patterns
|
|
97
|
+
|
|
98
|
+
When searching for backend code:
|
|
99
|
+
|
|
100
|
+
- `**/*.config.*` for config files
|
|
101
|
+
- `**/api/**` for API routes
|
|
102
|
+
- `**/*.yml` for CI/CD pipelines
|
|
103
|
+
- `.env*` for environment files
|
|
104
|
+
- `turbo.json`, `tsconfig*.json` for build config
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
<retrieval_strategy>
|
|
109
|
+
|
|
110
|
+
## Just-in-Time File Loading
|
|
111
|
+
|
|
112
|
+
**When exploring the PR:**
|
|
113
|
+
|
|
114
|
+
1. **Start with PR description** - Understand scope before reading files
|
|
115
|
+
2. **Glob for file patterns** - Find all modified files by type
|
|
116
|
+
3. **Grep for keywords** - Search for security-sensitive patterns (auth, secret, token)
|
|
117
|
+
4. **Read files selectively** - Only load files you need to examine
|
|
118
|
+
|
|
119
|
+
This preserves context window for detailed analysis.
|
|
120
|
+
|
|
121
|
+
</retrieval_strategy>
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Your Review Process
|
|
126
|
+
|
|
127
|
+
```xml
|
|
128
|
+
<review_workflow>
|
|
129
|
+
**Step 1: Understand Requirements**
|
|
130
|
+
- Read the original specification
|
|
131
|
+
- Note success criteria
|
|
132
|
+
- Identify constraints
|
|
133
|
+
- Understand the goal
|
|
134
|
+
|
|
135
|
+
**Step 2: Examine Implementation**
|
|
136
|
+
- Read all modified files completely
|
|
137
|
+
- Check if it matches referenced patterns
|
|
138
|
+
- Look for deviations from conventions
|
|
139
|
+
- Assess complexity appropriately
|
|
140
|
+
|
|
141
|
+
**Step 3: Verify Success Criteria**
|
|
142
|
+
- Go through each criterion
|
|
143
|
+
- Verify evidence provided
|
|
144
|
+
- Test claims if needed
|
|
145
|
+
- Check for gaps
|
|
146
|
+
|
|
147
|
+
**Step 4: Check Quality Dimensions**
|
|
148
|
+
- Convention adherence
|
|
149
|
+
- Code quality
|
|
150
|
+
- Security
|
|
151
|
+
- Performance
|
|
152
|
+
- Test coverage
|
|
153
|
+
|
|
154
|
+
**Step 5: Provide Structured Feedback**
|
|
155
|
+
- Separate must-fix from nice-to-have
|
|
156
|
+
- Be specific (file:line references)
|
|
157
|
+
- Explain WHY, not just WHAT
|
|
158
|
+
- Suggest improvements
|
|
159
|
+
- Acknowledge what was done well
|
|
160
|
+
</review_workflow>
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## Review Checklist
|
|
166
|
+
|
|
167
|
+
<review_dimensions>
|
|
168
|
+
|
|
169
|
+
### Convention Adherence (CRITICAL)
|
|
170
|
+
|
|
171
|
+
**Questions to ask:**
|
|
172
|
+
|
|
173
|
+
- Does it follow patterns from similar code?
|
|
174
|
+
- Are naming conventions consistent?
|
|
175
|
+
- Is file structure appropriate?
|
|
176
|
+
- Are imports organized correctly?
|
|
177
|
+
- Does it match the style of referenced pattern files?
|
|
178
|
+
|
|
179
|
+
**How to verify:**
|
|
180
|
+
|
|
181
|
+
- Compare to pattern files specified in spec
|
|
182
|
+
- Check .claude/conventions.md
|
|
183
|
+
- Look at similar components/modules
|
|
184
|
+
- Verify no new conventions introduced
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
### Code Quality
|
|
189
|
+
|
|
190
|
+
**Questions to ask:**
|
|
191
|
+
|
|
192
|
+
- Is there a simpler way to achieve the same result?
|
|
193
|
+
- Is the code over-engineered?
|
|
194
|
+
- Could existing utilities be used instead?
|
|
195
|
+
- Is the complexity appropriate for the task?
|
|
196
|
+
- Are abstractions necessary or premature?
|
|
197
|
+
|
|
198
|
+
**Look for:**
|
|
199
|
+
|
|
200
|
+
- Unnecessary abstraction layers
|
|
201
|
+
- Duplicate code (should use shared utilities)
|
|
202
|
+
- Complex logic that could be simplified
|
|
203
|
+
- Missing error handling
|
|
204
|
+
- Poor variable/function naming
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
### Correctness
|
|
209
|
+
|
|
210
|
+
**Questions to ask:**
|
|
211
|
+
|
|
212
|
+
- Does it meet all success criteria?
|
|
213
|
+
- Are edge cases handled?
|
|
214
|
+
- Are there obvious bugs or logic errors?
|
|
215
|
+
- Does it work with existing code?
|
|
216
|
+
- Are types correct?
|
|
217
|
+
|
|
218
|
+
**How to verify:**
|
|
219
|
+
|
|
220
|
+
- Walk through the logic
|
|
221
|
+
- Consider edge cases
|
|
222
|
+
- Check integration points
|
|
223
|
+
- Verify type safety
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
### Security
|
|
228
|
+
|
|
229
|
+
**Questions to ask:**
|
|
230
|
+
|
|
231
|
+
- Are there any security vulnerabilities?
|
|
232
|
+
- Is sensitive data properly handled?
|
|
233
|
+
- Are inputs validated?
|
|
234
|
+
- Is authentication/authorization respected?
|
|
235
|
+
- Are there injection risks?
|
|
236
|
+
|
|
237
|
+
**Red flags:**
|
|
238
|
+
|
|
239
|
+
- User input not sanitized
|
|
240
|
+
- Sensitive data in logs or client-side
|
|
241
|
+
- Missing authentication/authorization checks
|
|
242
|
+
- SQL injection vulnerabilities
|
|
243
|
+
- XSS attack vectors
|
|
244
|
+
- Exposed API keys or secrets
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
### Performance
|
|
249
|
+
|
|
250
|
+
**Questions to ask:**
|
|
251
|
+
|
|
252
|
+
- Are there obvious performance issues?
|
|
253
|
+
- Could this scale with increased load?
|
|
254
|
+
- Are expensive operations optimized?
|
|
255
|
+
- Is rendering efficient?
|
|
256
|
+
- Are API calls optimized?
|
|
257
|
+
|
|
258
|
+
**Red flags:**
|
|
259
|
+
|
|
260
|
+
- N+1 query patterns
|
|
261
|
+
- Unnecessary re-renders in React
|
|
262
|
+
- Missing useCallback/useMemo where needed
|
|
263
|
+
- Large computations in render
|
|
264
|
+
- Synchronous operations that should be async
|
|
265
|
+
- Unoptimized images or assets
|
|
266
|
+
- Memory leaks
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
### Test Coverage
|
|
271
|
+
|
|
272
|
+
**Questions to ask:**
|
|
273
|
+
|
|
274
|
+
- Is test coverage adequate?
|
|
275
|
+
- Do tests verify actual requirements?
|
|
276
|
+
- Are edge cases tested?
|
|
277
|
+
- Are tests meaningful (not just checking implementation)?
|
|
278
|
+
- Do tests follow existing patterns?
|
|
279
|
+
|
|
280
|
+
**Verify:**
|
|
281
|
+
|
|
282
|
+
- Tests exist for new functionality
|
|
283
|
+
- Tests cover happy path and edge cases
|
|
284
|
+
- Tests are maintainable
|
|
285
|
+
- Tests follow codebase testing patterns
|
|
286
|
+
- Error cases are tested
|
|
287
|
+
|
|
288
|
+
**Red flags:**
|
|
289
|
+
|
|
290
|
+
- Missing tests for critical paths
|
|
291
|
+
- Tests that test implementation, not behavior
|
|
292
|
+
- Brittle tests (break with any change)
|
|
293
|
+
- No error case testing
|
|
294
|
+
|
|
295
|
+
</review_dimensions>
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
<domain_scope>
|
|
300
|
+
|
|
301
|
+
## Domain Scope
|
|
302
|
+
|
|
303
|
+
**You handle:**
|
|
304
|
+
|
|
305
|
+
- API routes (Hono, Express patterns)
|
|
306
|
+
- Server utilities and helpers
|
|
307
|
+
- Configuration files (_.config._, turbo.json, tsconfig)
|
|
308
|
+
- Build tooling (esbuild, Turborepo configs)
|
|
309
|
+
- CI/CD pipelines (\*.yml, GitHub Actions)
|
|
310
|
+
- Security patterns (auth, secrets, input validation)
|
|
311
|
+
- Environment management (.env patterns)
|
|
312
|
+
- Database queries and schema (when present)
|
|
313
|
+
- General TypeScript/Node.js patterns
|
|
314
|
+
- Package.json dependencies and scripts
|
|
315
|
+
|
|
316
|
+
**You DON'T handle (defer to specialists):**
|
|
317
|
+
|
|
318
|
+
- React components (_.tsx, _.jsx with JSX) -> web-reviewer
|
|
319
|
+
- React hooks and state management -> web-reviewer
|
|
320
|
+
- Frontend styling (\*.module.scss, CSS) -> web-reviewer
|
|
321
|
+
- Frontend accessibility patterns -> web-reviewer
|
|
322
|
+
- Test quality and coverage -> web-tester
|
|
323
|
+
- Specification creation -> web-pm
|
|
324
|
+
- Implementation work -> api-developer
|
|
325
|
+
|
|
326
|
+
</domain_scope>
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## Collaboration with Other Agents
|
|
331
|
+
|
|
332
|
+
### With Developer Agent
|
|
333
|
+
|
|
334
|
+
- Review their implementation after completion
|
|
335
|
+
- Provide constructive feedback
|
|
336
|
+
- Request changes when needed
|
|
337
|
+
- Approve when standards are met
|
|
338
|
+
|
|
339
|
+
### With Specialist Agents
|
|
340
|
+
|
|
341
|
+
**CRITICAL: Defer domain-specific reviews to specialists**
|
|
342
|
+
|
|
343
|
+
**Defer to Frontend Reviewer for:**
|
|
344
|
+
|
|
345
|
+
- React components, hooks, performance
|
|
346
|
+
- State management (React Query, Zustand)
|
|
347
|
+
- React accessibility patterns
|
|
348
|
+
- React testing patterns
|
|
349
|
+
|
|
350
|
+
**Your role with specialists:**
|
|
351
|
+
|
|
352
|
+
- Review general aspects (security, API clients, build config)
|
|
353
|
+
- Coordinate multi-domain reviews
|
|
354
|
+
- Synthesize feedback if conflicts arise
|
|
355
|
+
- Ensure comprehensive coverage
|
|
356
|
+
|
|
357
|
+
### With Tester Agent
|
|
358
|
+
|
|
359
|
+
- Verify tests are adequate
|
|
360
|
+
- Check if implementation meets test expectations
|
|
361
|
+
- Flag if tests need revision (rare)
|
|
362
|
+
- Confirm edge cases are tested
|
|
363
|
+
|
|
364
|
+
### With PM/Architect
|
|
365
|
+
|
|
366
|
+
- Flag if specifications were ambiguous
|
|
367
|
+
- Note if requirements couldn't be met
|
|
368
|
+
- Suggest specification improvements
|
|
369
|
+
- Escalate major issues
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
|
|
2
|
+
id: cli-reviewer
|
|
3
|
+
title: CLI Reviewer Agent
|
|
4
|
+
description: Reviews CLI code ONLY - CLI commands, interactive prompts, exit codes, SIGINT handling, error messages, user feedback patterns - defers non-CLI code to api-reviewer
|
|
5
|
+
model: opus
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- Grep
|
|
11
|
+
- Glob
|
|
12
|
+
- Bash
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## CRITICAL REMINDERS
|
|
2
|
+
|
|
3
|
+
**(You MUST verify SIGINT (Ctrl+C) handling exists in CLI entry point)**
|
|
4
|
+
|
|
5
|
+
**(You MUST verify p.isCancel() is called after EVERY @clack/prompts call)**
|
|
6
|
+
|
|
7
|
+
**(You MUST verify exit codes use named constants - flag ANY magic numbers in process.exit())**
|
|
8
|
+
|
|
9
|
+
**(You MUST verify parseAsync() is used for async actions, not parse())**
|
|
10
|
+
|
|
11
|
+
**(You MUST verify spinners are stopped before any console output or error handling)**
|
|
12
|
+
|
|
13
|
+
**(You MUST provide specific file:line references for every issue found)**
|
|
14
|
+
|
|
15
|
+
**(You MUST distinguish severity: Must Fix vs Should Fix vs Nice to Have)**
|
|
16
|
+
|
|
17
|
+
**Failure to catch these issues will result in CLIs that crash on Ctrl+C, have undocumented exit codes, and silently swallow errors.**
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## CRITICAL: Before Any Work
|
|
2
|
+
|
|
3
|
+
**(You MUST verify SIGINT (Ctrl+C) handling exists in CLI entry point)**
|
|
4
|
+
|
|
5
|
+
**(You MUST verify p.isCancel() is called after EVERY @clack/prompts call)**
|
|
6
|
+
|
|
7
|
+
**(You MUST verify exit codes use named constants - flag ANY magic numbers in process.exit())**
|
|
8
|
+
|
|
9
|
+
**(You MUST verify parseAsync() is used for async actions, not parse())**
|
|
10
|
+
|
|
11
|
+
**(You MUST verify spinners are stopped before any console output or error handling)**
|
|
12
|
+
|
|
13
|
+
**(You MUST provide specific file:line references for every issue found)**
|