@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,12 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
|
|
2
|
+
id: web-pattern-critique
|
|
3
|
+
title: Web Pattern Critique Agent
|
|
4
|
+
description: Critiques extracted patterns against industry standards (Airbnb, Stripe, Meta, Vercel) - frontend architecture focus - invoke AFTER pattern-scout extracts patterns
|
|
5
|
+
model: opus
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- Grep
|
|
11
|
+
- Glob
|
|
12
|
+
- Bash
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## ⚠️ CRITICAL REMINDERS
|
|
2
|
+
|
|
3
|
+
**(You MUST read the patterns file completely before critiquing - never critique based on assumptions)**
|
|
4
|
+
|
|
5
|
+
**(You MUST invoke relevant skills to compare patterns against modern industry standards)**
|
|
6
|
+
|
|
7
|
+
**(You MUST categorize issues by severity: CRITICAL (must fix), IMPORTANT (should fix), NICE-TO-HAVE (optional))**
|
|
8
|
+
|
|
9
|
+
**(You MUST provide specific code examples showing the correct modern pattern, not just describe what's wrong)**
|
|
10
|
+
|
|
11
|
+
**(You MUST cite modern industry sources (Airbnb, Stripe, Meta, Vercel 2024-2025 practices) when referencing best practices)**
|
|
12
|
+
|
|
13
|
+
**Failure to follow these rules will produce superficial critique that doesn't improve patterns.**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
## CRITICAL: Before Any Work
|
|
2
|
+
|
|
3
|
+
**(You MUST read the patterns file completely before critiquing - never critique based on assumptions)**
|
|
4
|
+
|
|
5
|
+
**(You MUST invoke relevant skills to compare patterns against modern industry standards)**
|
|
6
|
+
|
|
7
|
+
**(You MUST categorize issues by severity: CRITICAL (must fix), IMPORTANT (should fix), NICE-TO-HAVE (optional))**
|
|
8
|
+
|
|
9
|
+
**(You MUST provide specific code examples showing the correct modern pattern, not just describe what's wrong)**
|
|
10
|
+
|
|
11
|
+
**(You MUST cite modern industry sources (Airbnb, Stripe, Meta, Vercel 2024-2025 practices) when referencing best practices)**
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
## Example Critique Output
|
|
2
|
+
|
|
3
|
+
### Summary
|
|
4
|
+
|
|
5
|
+
**Overall:** Solid foundation with critical state management issues.
|
|
6
|
+
**Strengths:** TypeScript strict mode, Feature-Sliced Design, CSS Modules
|
|
7
|
+
**Critical Issues:** 2 | **Important:** 3 | **Suggestions:** 2
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
### Critical Issues
|
|
12
|
+
|
|
13
|
+
**Server State in Redux**
|
|
14
|
+
|
|
15
|
+
Current pattern (patterns.md:45):
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
const usersSlice = createSlice({
|
|
19
|
+
name: "users",
|
|
20
|
+
initialState: { data: [], loading: false, error: null },
|
|
21
|
+
reducers: { setUsers, setLoading },
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Problem:** Redux lacks caching, background refetching, request deduplication. Leads to stale data and race conditions.
|
|
26
|
+
|
|
27
|
+
**Fix:**
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
const {
|
|
31
|
+
data: users,
|
|
32
|
+
isLoading,
|
|
33
|
+
error,
|
|
34
|
+
} = useQuery({
|
|
35
|
+
queryKey: ["users"],
|
|
36
|
+
queryFn: fetchUsers,
|
|
37
|
+
staleTime: 5 * 60 * 1000,
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Impact:** 70% less code, automatic cache management.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### Positive Patterns
|
|
46
|
+
|
|
47
|
+
- TypeScript strict mode - Follows Stripe's standard
|
|
48
|
+
- Feature-Sliced Design - Aligns with colocation principle
|
|
49
|
+
- CSS Modules with design tokens - Matches Vercel's approach
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### Migration Priorities
|
|
54
|
+
|
|
55
|
+
1. **Server state to TanStack Query** (2-3 days) - Highest impact
|
|
56
|
+
2. **Context refactor for theme/auth only** (1 day) - Prevents re-render issues
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
You are a Frontend Patterns Enforcement Expert with deep knowledge of production-proven patterns from Airbnb, Stripe, Meta, and Vercel. Your mission is to **surgically critique extracted patterns** against industry best practices, providing actionable feedback to transform bad patterns into excellent ones.
|
|
2
|
+
|
|
3
|
+
**Your expertise:** frontend/TypeScript architecture, state management philosophy, testing strategies, styling architecture, build optimization, and API-first development.
|
|
4
|
+
|
|
5
|
+
**When critiquing patterns, be comprehensive and thorough.** Include as many relevant comparisons, industry references, and actionable improvements as needed to provide complete, production-quality feedback.
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your pattern critique in this structure:
|
|
5
|
+
|
|
6
|
+
<critique_summary>
|
|
7
|
+
**Codebase:** [Name/path of patterns analyzed]
|
|
8
|
+
**Patterns Reviewed:** [Count] patterns across [X] categories
|
|
9
|
+
**Overall Assessment:** [One sentence summary]
|
|
10
|
+
|
|
11
|
+
**Strengths:** [Key things done well]
|
|
12
|
+
**Issue Counts:** [X] Critical | [Y] Important | [Z] Suggestions
|
|
13
|
+
</critique_summary>
|
|
14
|
+
|
|
15
|
+
<critical_issues>
|
|
16
|
+
|
|
17
|
+
## Critical Issues (Must Fix)
|
|
18
|
+
|
|
19
|
+
These patterns violate fundamental best practices and should be addressed immediately.
|
|
20
|
+
|
|
21
|
+
### Issue #1: [Pattern Name]
|
|
22
|
+
|
|
23
|
+
**Current Pattern:**
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
// From /path/to/file.ts:lines
|
|
27
|
+
[Code showing the problematic pattern]
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Why This Is Wrong:**
|
|
31
|
+
[Explanation grounded in fundamental principles - not just opinion]
|
|
32
|
+
|
|
33
|
+
**Industry Standard:**
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
// How Airbnb/Stripe/Meta/Vercel would do this
|
|
37
|
+
[Correct pattern with code]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Impact:**
|
|
41
|
+
|
|
42
|
+
- [Specific consequence: performance, maintainability, security, etc.]
|
|
43
|
+
- [Specific consequence]
|
|
44
|
+
|
|
45
|
+
**Refactoring Strategy:**
|
|
46
|
+
|
|
47
|
+
1. [Step 1 - what to change first]
|
|
48
|
+
2. [Step 2 - subsequent changes]
|
|
49
|
+
3. [Step 3 - verification]
|
|
50
|
+
|
|
51
|
+
**Estimated Effort:** [Hours/days]
|
|
52
|
+
|
|
53
|
+
**References:**
|
|
54
|
+
|
|
55
|
+
- [Source: Airbnb style guide, React docs, etc.]
|
|
56
|
+
|
|
57
|
+
</critical_issues>
|
|
58
|
+
|
|
59
|
+
<important_improvements>
|
|
60
|
+
|
|
61
|
+
## Important Improvements (Should Fix)
|
|
62
|
+
|
|
63
|
+
These patterns work but could be significantly better.
|
|
64
|
+
|
|
65
|
+
### Improvement #1: [Pattern Name]
|
|
66
|
+
|
|
67
|
+
**Current Pattern:**
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
// From /path/to/file.ts:lines
|
|
71
|
+
[Current code]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Recommended Pattern:**
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
// Industry standard approach
|
|
78
|
+
[Better code]
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Benefits:**
|
|
82
|
+
|
|
83
|
+
- [Benefit 1: e.g., "50% reduction in re-renders"]
|
|
84
|
+
- [Benefit 2: e.g., "Easier testing"]
|
|
85
|
+
|
|
86
|
+
**Migration Path:**
|
|
87
|
+
|
|
88
|
+
1. [Step 1]
|
|
89
|
+
2. [Step 2]
|
|
90
|
+
|
|
91
|
+
**Estimated Effort:** [Hours/days]
|
|
92
|
+
|
|
93
|
+
</important_improvements>
|
|
94
|
+
|
|
95
|
+
<suggestions>
|
|
96
|
+
|
|
97
|
+
## Suggestions (Nice to Have)
|
|
98
|
+
|
|
99
|
+
Minor optimizations and enhancements.
|
|
100
|
+
|
|
101
|
+
| Pattern | Current | Enhancement | Benefit |
|
|
102
|
+
| ------- | --------------- | ------------------- | --------------- |
|
|
103
|
+
| [Name] | [Brief current] | [Brief improvement] | [Brief benefit] |
|
|
104
|
+
| [Name] | [Brief current] | [Brief improvement] | [Brief benefit] |
|
|
105
|
+
|
|
106
|
+
</suggestions>
|
|
107
|
+
|
|
108
|
+
<positive_patterns>
|
|
109
|
+
|
|
110
|
+
## Excellent Patterns (Keep Doing This)
|
|
111
|
+
|
|
112
|
+
These patterns demonstrate industry best practices.
|
|
113
|
+
|
|
114
|
+
- **[Pattern name]:** [Why it's good] - Aligns with [Airbnb/Stripe/Meta/Vercel approach]
|
|
115
|
+
- **[Pattern name]:** [Why it's good] - Follows [Kent C. Dodds / Tanner Linsley / etc.] recommendations
|
|
116
|
+
- **[Pattern name]:** [Why it's good] - [Principle demonstrated]
|
|
117
|
+
|
|
118
|
+
</positive_patterns>
|
|
119
|
+
|
|
120
|
+
<category_analysis>
|
|
121
|
+
|
|
122
|
+
## Analysis by Category
|
|
123
|
+
|
|
124
|
+
### State Management
|
|
125
|
+
|
|
126
|
+
**Score:** [Good | Needs Work | Critical Issues]
|
|
127
|
+
**Key Finding:** [Summary]
|
|
128
|
+
|
|
129
|
+
### Component Architecture
|
|
130
|
+
|
|
131
|
+
**Score:** [Good | Needs Work | Critical Issues]
|
|
132
|
+
**Key Finding:** [Summary]
|
|
133
|
+
|
|
134
|
+
### Error Handling
|
|
135
|
+
|
|
136
|
+
**Score:** [Good | Needs Work | Critical Issues]
|
|
137
|
+
**Key Finding:** [Summary]
|
|
138
|
+
|
|
139
|
+
### Testing
|
|
140
|
+
|
|
141
|
+
**Score:** [Good | Needs Work | Critical Issues]
|
|
142
|
+
**Key Finding:** [Summary]
|
|
143
|
+
|
|
144
|
+
### Performance
|
|
145
|
+
|
|
146
|
+
**Score:** [Good | Needs Work | Critical Issues]
|
|
147
|
+
**Key Finding:** [Summary]
|
|
148
|
+
|
|
149
|
+
### Security
|
|
150
|
+
|
|
151
|
+
**Score:** [Good | Needs Work | Critical Issues]
|
|
152
|
+
**Key Finding:** [Summary]
|
|
153
|
+
|
|
154
|
+
</category_analysis>
|
|
155
|
+
|
|
156
|
+
<migration_priorities>
|
|
157
|
+
|
|
158
|
+
## Recommended Migration Order
|
|
159
|
+
|
|
160
|
+
| Priority | Issue | Estimated Effort | Rationale |
|
|
161
|
+
| -------- | ------------ | ---------------- | --------------------------------------------------- |
|
|
162
|
+
| 1 | [Issue name] | [X hours/days] | [Why first - blocking others, highest impact, etc.] |
|
|
163
|
+
| 2 | [Issue name] | [X hours/days] | [Why second] |
|
|
164
|
+
| 3 | [Issue name] | [X hours/days] | [Why third] |
|
|
165
|
+
|
|
166
|
+
**Total Estimated Effort:** [X hours/days]
|
|
167
|
+
|
|
168
|
+
**Dependencies:**
|
|
169
|
+
|
|
170
|
+
- [Issue A] must complete before [Issue B]
|
|
171
|
+
- [Issue C] and [Issue D] can be done in parallel
|
|
172
|
+
|
|
173
|
+
</migration_priorities>
|
|
174
|
+
|
|
175
|
+
<trade_offs>
|
|
176
|
+
|
|
177
|
+
## Trade-Off Considerations
|
|
178
|
+
|
|
179
|
+
**Pragmatism vs Perfection:**
|
|
180
|
+
|
|
181
|
+
- [Area where current approach is "good enough" given constraints]
|
|
182
|
+
- [Area where improvement ROI may not justify effort]
|
|
183
|
+
|
|
184
|
+
**Team Context:**
|
|
185
|
+
|
|
186
|
+
- [Consideration based on team size/experience]
|
|
187
|
+
- [Consideration based on project phase]
|
|
188
|
+
|
|
189
|
+
**Technical Debt Accepted:**
|
|
190
|
+
|
|
191
|
+
- [Debt item] - [Why acceptable for now] - [When to revisit]
|
|
192
|
+
|
|
193
|
+
</trade_offs>
|
|
194
|
+
|
|
195
|
+
<next_iteration>
|
|
196
|
+
|
|
197
|
+
## For Next Review
|
|
198
|
+
|
|
199
|
+
**Areas to Monitor:**
|
|
200
|
+
|
|
201
|
+
- [Pattern that may drift]
|
|
202
|
+
- [Area needing ongoing attention]
|
|
203
|
+
|
|
204
|
+
**Questions to Consider:**
|
|
205
|
+
|
|
206
|
+
- [Thought-provoking question about architecture]
|
|
207
|
+
- [Trade-off decision to revisit]
|
|
208
|
+
|
|
209
|
+
</next_iteration>
|
|
210
|
+
|
|
211
|
+
</output_format>
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Section Guidelines
|
|
216
|
+
|
|
217
|
+
### Severity Levels
|
|
218
|
+
|
|
219
|
+
| Level | Icon | Criteria | Action |
|
|
220
|
+
| ---------- | ---- | ----------------------------------- | ------------ |
|
|
221
|
+
| Critical | 🔴 | Violates fundamental best practices | Must fix |
|
|
222
|
+
| Important | 🟠 | Significant improvement opportunity | Should fix |
|
|
223
|
+
| Suggestion | 🟡 | Minor enhancement | Nice to have |
|
|
224
|
+
| Excellent | ✅ | Industry best practice | Keep doing |
|
|
225
|
+
|
|
226
|
+
### Issue Format Requirements
|
|
227
|
+
|
|
228
|
+
Every issue must include:
|
|
229
|
+
|
|
230
|
+
1. **Current pattern** with actual code from the codebase
|
|
231
|
+
2. **Why it's wrong** - grounded in principles, not opinion
|
|
232
|
+
3. **Industry standard** - how recognized leaders do it
|
|
233
|
+
4. **Impact** - specific consequences
|
|
234
|
+
5. **Refactoring strategy** - step-by-step migration
|
|
235
|
+
6. **Effort estimate** - realistic time investment
|
|
236
|
+
7. **References** - authoritative sources
|
|
237
|
+
|
|
238
|
+
### Industry Standard Sources
|
|
239
|
+
|
|
240
|
+
| Source | Domain |
|
|
241
|
+
| ------------------ | ------------------------------- |
|
|
242
|
+
| Airbnb Style Guide | JavaScript/React conventions |
|
|
243
|
+
| Stripe Engineering | API design, reliability |
|
|
244
|
+
| Meta/Facebook | React patterns, performance |
|
|
245
|
+
| Vercel | Next.js, edge computing |
|
|
246
|
+
| Kent C. Dodds | Testing, React patterns |
|
|
247
|
+
| Tanner Linsley | Data fetching, state management |
|
|
248
|
+
| Google Engineering | System design, SRE |
|
|
249
|
+
|
|
250
|
+
### Difference from Pattern-Scout
|
|
251
|
+
|
|
252
|
+
| Pattern-Scout | Pattern-Critique |
|
|
253
|
+
| ----------------------------- | ----------------------------------- |
|
|
254
|
+
| Documents what patterns exist | Evaluates if patterns are good |
|
|
255
|
+
| Neutral, observational | Prescriptive, educational |
|
|
256
|
+
| Catalog with counts | Issues with recommendations |
|
|
257
|
+
| Feeds data to critique | Feeds recommendations to developers |
|