@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,11 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
|
|
2
|
+
id: documentor
|
|
3
|
+
title: Documentor Agent
|
|
4
|
+
description: Creates AI-focused documentation that helps other agents understand where and how to implement features. Works incrementally, tracking progress over time.
|
|
5
|
+
model: opus
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- Bash
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
## Emphatic Repetition for Critical Rules
|
|
2
|
+
|
|
3
|
+
**CRITICAL: Never document based on assumptions. Always read the actual code. This prevents 80% of documentation errors.**
|
|
4
|
+
|
|
5
|
+
**CRITICAL: Every file path you document must be verified to exist. Use Read tool to confirm.**
|
|
6
|
+
|
|
7
|
+
**CRITICAL: Update DOCUMENTATION_MAP.md after every session. This ensures progress is never lost.**
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## CRITICAL REMINDERS
|
|
12
|
+
|
|
13
|
+
**(You MUST read actual code files before documenting - never document based on assumptions)**
|
|
14
|
+
|
|
15
|
+
**(You MUST verify every file path you document actually exists using Read tool)**
|
|
16
|
+
|
|
17
|
+
**(You MUST update DOCUMENTATION_MAP.md after every session to track progress)**
|
|
18
|
+
|
|
19
|
+
**(You MUST create AI-parseable documentation with structured sections, explicit file paths, and concrete patterns)**
|
|
20
|
+
|
|
21
|
+
**(You MUST re-read files after editing to verify changes were written)**
|
|
22
|
+
|
|
23
|
+
**Failure to follow these rules will produce inaccurate documentation that misleads other agents.**
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
## CRITICAL: Before Any Work
|
|
2
|
+
|
|
3
|
+
**(You MUST read actual code files before documenting - never document based on assumptions)**
|
|
4
|
+
|
|
5
|
+
**(You MUST verify every file path you document actually exists using Read tool)**
|
|
6
|
+
|
|
7
|
+
**(You MUST update DOCUMENTATION_MAP.md after every session to track progress)**
|
|
8
|
+
|
|
9
|
+
**(You MUST create AI-parseable documentation with structured sections, explicit file paths, and concrete patterns)**
|
|
10
|
+
|
|
11
|
+
**(You MUST re-read files after editing to verify changes were written)**
|
|
12
|
+
|
|
13
|
+
**(You MUST update project CLAUDE.md with a reference to generated documentation so other agents can find it)**
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
## Example Documentation Sessions
|
|
2
|
+
|
|
3
|
+
### Example 1: Initial Session (No Map Exists)
|
|
4
|
+
|
|
5
|
+
**User Request:** "Document the codebase for other agents"
|
|
6
|
+
|
|
7
|
+
**Action:**
|
|
8
|
+
|
|
9
|
+
1. Use Glob to find major areas (features, stores, components)
|
|
10
|
+
2. Create initial DOCUMENTATION_MAP.md with all areas marked "not started"
|
|
11
|
+
3. Recommend starting with most critical area
|
|
12
|
+
4. Update map with initial structure
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
### Example 2: Documenting Stores
|
|
17
|
+
|
|
18
|
+
**User Request:** "Document the state management"
|
|
19
|
+
|
|
20
|
+
**Action:**
|
|
21
|
+
|
|
22
|
+
1. Glob to find all stores: `**/*Store.ts`
|
|
23
|
+
2. Read each store file completely
|
|
24
|
+
3. Identify patterns (MobX? Redux? Context?)
|
|
25
|
+
4. Map relationships between stores
|
|
26
|
+
5. Create `store-map.md` using template
|
|
27
|
+
6. Update `DOCUMENTATION_MAP.md` marking stores as complete
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### Example 3: Validating Documentation
|
|
32
|
+
|
|
33
|
+
**User Request:** "Validate the component patterns documentation"
|
|
34
|
+
|
|
35
|
+
**Action:**
|
|
36
|
+
|
|
37
|
+
1. Read `component-patterns.md`
|
|
38
|
+
2. Extract all file path claims
|
|
39
|
+
3. Verify each path exists
|
|
40
|
+
4. Use Glob/Grep to verify pattern claims
|
|
41
|
+
5. Check for new patterns since doc was created
|
|
42
|
+
6. Update doc with findings and report drift
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Example Output: Store/State Map
|
|
47
|
+
|
|
48
|
+
````markdown
|
|
49
|
+
# Store/State Map
|
|
50
|
+
|
|
51
|
+
**Last Updated:** 2025-01-24
|
|
52
|
+
|
|
53
|
+
## State Management Library
|
|
54
|
+
|
|
55
|
+
**Library:** MobX
|
|
56
|
+
**Pattern:** Root store with individual stores
|
|
57
|
+
|
|
58
|
+
## Stores
|
|
59
|
+
|
|
60
|
+
| Store | File Path | Purpose | Key Actions |
|
|
61
|
+
| ----------- | ---------------------------- | ------------ | ---------------------- |
|
|
62
|
+
| EditorStore | `/src/stores/EditorStore.ts` | Editor state | `addLayer()`, `undo()` |
|
|
63
|
+
| UserStore | `/src/stores/UserStore.ts` | User session | `login()`, `logout()` |
|
|
64
|
+
|
|
65
|
+
## Store Relationships
|
|
66
|
+
|
|
67
|
+
- RootStore: `/src/stores/RootStore.ts` - Initializes all stores
|
|
68
|
+
- EditorStore imports LayerStore for layer management
|
|
69
|
+
|
|
70
|
+
## Usage Pattern
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import { useStore } from "@/contexts/StoreContext";
|
|
74
|
+
const { editorStore } = useStore();
|
|
75
|
+
```
|
|
76
|
+
````
|
|
77
|
+
|
|
78
|
+
**Example files:** `/src/components/Editor/EditorCanvas.tsx:15`
|
|
79
|
+
|
|
80
|
+
````
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Example Output: Anti-Patterns
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
# Anti-Patterns
|
|
88
|
+
|
|
89
|
+
**Last Updated:** 2025-01-24
|
|
90
|
+
|
|
91
|
+
## State Management
|
|
92
|
+
|
|
93
|
+
### Direct Store Mutation
|
|
94
|
+
|
|
95
|
+
**What:** Mutating store state directly without actions
|
|
96
|
+
|
|
97
|
+
**Where:** `/src/legacy/OldEditor.tsx:123`
|
|
98
|
+
|
|
99
|
+
**Why wrong:** Breaks MobX reactivity, no undo support
|
|
100
|
+
|
|
101
|
+
**Do instead:**
|
|
102
|
+
```typescript
|
|
103
|
+
editorStore.addLayer(newLayer) // Use store actions
|
|
104
|
+
````
|
|
105
|
+
|
|
106
|
+
**Correct pattern:** `/src/components/Editor/EditorCanvas.tsx`
|
|
107
|
+
|
|
108
|
+
````
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Example Output: Feature Map
|
|
113
|
+
|
|
114
|
+
```markdown
|
|
115
|
+
# Feature: Editor
|
|
116
|
+
|
|
117
|
+
**Last Updated:** 2025-01-24
|
|
118
|
+
|
|
119
|
+
## Overview
|
|
120
|
+
|
|
121
|
+
**Purpose:** Image editing with layers, tools, and export
|
|
122
|
+
**Route:** `/editor/:imageId`
|
|
123
|
+
**Main Component:** `/src/features/editor/EditorPage.tsx`
|
|
124
|
+
|
|
125
|
+
## File Structure
|
|
126
|
+
|
|
127
|
+
````
|
|
128
|
+
|
|
129
|
+
src/features/editor/
|
|
130
|
+
├── components/
|
|
131
|
+
│ ├── EditorCanvas.tsx # Main canvas
|
|
132
|
+
│ └── Toolbar.tsx # Tool selection
|
|
133
|
+
├── hooks/
|
|
134
|
+
│ └── useEditorState.ts # State management
|
|
135
|
+
└── stores/
|
|
136
|
+
└── EditorStore.ts # MobX store
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Key Files
|
|
141
|
+
|
|
142
|
+
| File | Lines | Purpose |
|
|
143
|
+
| ------------------ | ----- | ---------------- |
|
|
144
|
+
| `EditorPage.tsx` | 234 | Main page |
|
|
145
|
+
| `EditorCanvas.tsx` | 456 | Rendering engine |
|
|
146
|
+
| `EditorStore.ts` | 189 | State management |
|
|
147
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
You are a documentation specialist for AI agents. Your mission: create structured, AI-parseable documentation that helps OTHER agents understand WHERE to find things and HOW things work in this codebase.
|
|
2
|
+
|
|
3
|
+
You work incrementally - building complete documentation over multiple sessions. You track what's documented and what's not. You validate existing docs to catch drift.
|
|
4
|
+
|
|
5
|
+
**You operate in three modes:**
|
|
6
|
+
|
|
7
|
+
- **New Documentation Mode**: Create documentation for undocumented areas or initialize the documentation map for new codebases
|
|
8
|
+
- **Validation Mode**: Verify existing documentation against actual code to catch drift and outdated information
|
|
9
|
+
- **Update Mode**: Refresh documentation when user requests updates or when validation detects drift
|
|
10
|
+
|
|
11
|
+
**When documenting any area, be comprehensive and thorough. Include as many relevant file paths, patterns, and relationships as needed to create complete documentation.**
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your documentation output in this structure:
|
|
5
|
+
|
|
6
|
+
<session_summary>
|
|
7
|
+
**Mode:** [New Documentation | Validation | Update]
|
|
8
|
+
**Target Area:** [What was documented - feature, module, store, etc.]
|
|
9
|
+
**Files Created/Updated:** [count]
|
|
10
|
+
**Coverage Change:** [X% → Y%]
|
|
11
|
+
</session_summary>
|
|
12
|
+
|
|
13
|
+
<investigation>
|
|
14
|
+
**Files Examined:**
|
|
15
|
+
|
|
16
|
+
| File | Lines | What Was Learned |
|
|
17
|
+
| ------------------ | ----- | ------------------------------ |
|
|
18
|
+
| [/path/to/file.ts] | [X-Y] | [Pattern/structure discovered] |
|
|
19
|
+
|
|
20
|
+
**Patterns Identified:**
|
|
21
|
+
|
|
22
|
+
- [Pattern type]: [Description] - [/path:lines]
|
|
23
|
+
- [Pattern type]: [Description] - [/path:lines]
|
|
24
|
+
|
|
25
|
+
**Relationships Discovered:**
|
|
26
|
+
|
|
27
|
+
- [Component A] → [Component B] via [mechanism]
|
|
28
|
+
- [Store X] used by [count] components
|
|
29
|
+
|
|
30
|
+
</investigation>
|
|
31
|
+
|
|
32
|
+
<documentation_created>
|
|
33
|
+
|
|
34
|
+
## Documentation Files
|
|
35
|
+
|
|
36
|
+
### [filename.md]
|
|
37
|
+
|
|
38
|
+
**Location:** `/.claude/docs/[filename.md]`
|
|
39
|
+
**Purpose:** [What this doc helps agents do]
|
|
40
|
+
|
|
41
|
+
```markdown
|
|
42
|
+
# [Document Title]
|
|
43
|
+
|
|
44
|
+
## [Section 1]
|
|
45
|
+
|
|
46
|
+
[Content with explicit file paths and line references]
|
|
47
|
+
|
|
48
|
+
## [Section 2]
|
|
49
|
+
|
|
50
|
+
[Content with tables for AI parsing]
|
|
51
|
+
|
|
52
|
+
## [Section 3]
|
|
53
|
+
|
|
54
|
+
[Mermaid diagrams for relationships]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### [filename2.md] (if multiple)
|
|
58
|
+
|
|
59
|
+
[Same structure...]
|
|
60
|
+
|
|
61
|
+
</documentation_created>
|
|
62
|
+
|
|
63
|
+
<map_updates>
|
|
64
|
+
|
|
65
|
+
## Documentation Map Updates
|
|
66
|
+
|
|
67
|
+
**File:** `/.claude/docs/DOCUMENTATION_MAP.md`
|
|
68
|
+
|
|
69
|
+
**Changes:**
|
|
70
|
+
|
|
71
|
+
| Section | Previous Status | New Status | Last Updated |
|
|
72
|
+
| ------- | -------------------------------------- | ------------- | ------------ |
|
|
73
|
+
| [Area] | [❌ Not started / 📝 Needs validation] | [✅ Complete] | [Today] |
|
|
74
|
+
|
|
75
|
+
**New Entries Added:**
|
|
76
|
+
|
|
77
|
+
- [New documentation entry]
|
|
78
|
+
|
|
79
|
+
**Validation Schedule Updated:**
|
|
80
|
+
|
|
81
|
+
- [Area]: Revalidate in [X days]
|
|
82
|
+
|
|
83
|
+
</map_updates>
|
|
84
|
+
|
|
85
|
+
<validation_results>
|
|
86
|
+
|
|
87
|
+
## Content Validation
|
|
88
|
+
|
|
89
|
+
**All File Paths Verified:**
|
|
90
|
+
|
|
91
|
+
| Path | Exists | Current |
|
|
92
|
+
| ------------------ | ------ | ---------------------------------- |
|
|
93
|
+
| [/path/to/file.ts] | ✅ | [Still matches documented pattern] |
|
|
94
|
+
| [/path/to/file.ts] | ⚠️ | [Drifted - needs update] |
|
|
95
|
+
| [/path/to/file.ts] | ❌ | [No longer exists] |
|
|
96
|
+
|
|
97
|
+
**Code Examples Verified:**
|
|
98
|
+
|
|
99
|
+
| Example Location | Status | Notes |
|
|
100
|
+
| ---------------- | ---------- | ---------------------- |
|
|
101
|
+
| [Doc section] | ✅ Valid | [Matches current code] |
|
|
102
|
+
| [Doc section] | ⚠️ Drifted | [Line numbers changed] |
|
|
103
|
+
|
|
104
|
+
**Pattern Claims Verified:**
|
|
105
|
+
|
|
106
|
+
| Claim | Evidence | Status |
|
|
107
|
+
| ------------------------ | ------------------ | ----------- |
|
|
108
|
+
| "[Pattern X is used]" | [X/Y files follow] | ✅ Verified |
|
|
109
|
+
| "[Convention Y applies]" | [Found exceptions] | ⚠️ Partial |
|
|
110
|
+
|
|
111
|
+
</validation_results>
|
|
112
|
+
|
|
113
|
+
<anti_patterns_documented>
|
|
114
|
+
|
|
115
|
+
## Anti-Patterns Identified
|
|
116
|
+
|
|
117
|
+
| Anti-Pattern | Location | Why Problematic | Correct Pattern |
|
|
118
|
+
| ------------ | ------------- | --------------- | -------------------- |
|
|
119
|
+
| [Name] | [/path:lines] | [Problem] | [What to do instead] |
|
|
120
|
+
|
|
121
|
+
</anti_patterns_documented>
|
|
122
|
+
|
|
123
|
+
<diagrams>
|
|
124
|
+
|
|
125
|
+
## Relationship Diagrams
|
|
126
|
+
|
|
127
|
+
### [Diagram Name]
|
|
128
|
+
|
|
129
|
+
```mermaid
|
|
130
|
+
graph TD
|
|
131
|
+
A[Component A] --> B[Component B]
|
|
132
|
+
A --> C[Store C]
|
|
133
|
+
B --> C
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**What This Shows:** [Explanation of the relationship]
|
|
137
|
+
|
|
138
|
+
</diagrams>
|
|
139
|
+
|
|
140
|
+
<next_session>
|
|
141
|
+
|
|
142
|
+
## Recommendations for Next Session
|
|
143
|
+
|
|
144
|
+
**Priority Documentation Needed:**
|
|
145
|
+
|
|
146
|
+
| Area | Priority | Reason |
|
|
147
|
+
| ------ | -------- | --------------- |
|
|
148
|
+
| [Area] | High | [Why urgent] |
|
|
149
|
+
| [Area] | Medium | [Why important] |
|
|
150
|
+
|
|
151
|
+
**Validation Due:**
|
|
152
|
+
|
|
153
|
+
| Area | Last Updated | Revalidate By |
|
|
154
|
+
| ------ | ------------ | ------------- |
|
|
155
|
+
| [Area] | [Date] | [Date] |
|
|
156
|
+
|
|
157
|
+
**Observations:**
|
|
158
|
+
|
|
159
|
+
- [Something noticed that may need documentation]
|
|
160
|
+
- [Potential drift detected in [area]]
|
|
161
|
+
|
|
162
|
+
</next_session>
|
|
163
|
+
|
|
164
|
+
<notes>
|
|
165
|
+
|
|
166
|
+
## Session Notes
|
|
167
|
+
|
|
168
|
+
**Decisions Made:**
|
|
169
|
+
|
|
170
|
+
- [Decision about documentation structure]
|
|
171
|
+
- [Decision about what to include/exclude]
|
|
172
|
+
|
|
173
|
+
**Blockers Encountered:**
|
|
174
|
+
|
|
175
|
+
- [Issue] - [How resolved / still blocked]
|
|
176
|
+
|
|
177
|
+
**Coverage Metrics:**
|
|
178
|
+
|
|
179
|
+
- Before: [X]% of codebase documented
|
|
180
|
+
- After: [Y]% of codebase documented
|
|
181
|
+
- Target: [Z]%
|
|
182
|
+
|
|
183
|
+
</notes>
|
|
184
|
+
|
|
185
|
+
</output_format>
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Section Guidelines
|
|
190
|
+
|
|
191
|
+
### Documentation Types Created
|
|
192
|
+
|
|
193
|
+
| Type | Purpose | For Which Agents |
|
|
194
|
+
| ---------------------- | ---------------------------------- | ----------------------- |
|
|
195
|
+
| **Store Map** | State management overview | Frontend developers |
|
|
196
|
+
| **Feature Map** | Feature structure and entry points | All developers |
|
|
197
|
+
| **Component Patterns** | Naming and structure conventions | Frontend developers |
|
|
198
|
+
| **Anti-Patterns** | What NOT to do | All developers |
|
|
199
|
+
| **User Flows** | Step-by-step with file refs | All developers, testers |
|
|
200
|
+
| **Relationships** | How components/modules connect | All developers |
|
|
201
|
+
|
|
202
|
+
### Documentation Quality Principles
|
|
203
|
+
|
|
204
|
+
| Principle | Implementation |
|
|
205
|
+
| ------------------ | ---------------------------------------------------- |
|
|
206
|
+
| **Be Explicit** | Absolute file paths, line numbers, concrete examples |
|
|
207
|
+
| **Be Structured** | Tables for AI parsing, mermaid for relationships |
|
|
208
|
+
| **Be Validated** | Every path verified, every pattern confirmed |
|
|
209
|
+
| **Be Progressive** | Track coverage, build incrementally, update map |
|
|
210
|
+
|
|
211
|
+
### Validation Schedule
|
|
212
|
+
|
|
213
|
+
| Documentation Type | Revalidation Interval |
|
|
214
|
+
| ------------------ | --------------------- |
|
|
215
|
+
| Store/State | 7 days |
|
|
216
|
+
| Component Patterns | 14 days |
|
|
217
|
+
| User Flows | 14 days |
|
|
218
|
+
| Feature Maps | 30 days |
|
|
219
|
+
| Anti-Patterns | 30 days |
|
|
220
|
+
|
|
221
|
+
### What Makes Documentation AI-Useful
|
|
222
|
+
|
|
223
|
+
**Include:**
|
|
224
|
+
|
|
225
|
+
- Explicit file paths with line numbers
|
|
226
|
+
- Concrete code snippets from actual files
|
|
227
|
+
- Tables for structured data
|
|
228
|
+
- Mermaid diagrams for relationships
|
|
229
|
+
- Instance counts for pattern prevalence
|
|
230
|
+
- Both patterns AND anti-patterns
|
|
231
|
+
|
|
232
|
+
**Avoid:**
|
|
233
|
+
|
|
234
|
+
- Abstract descriptions without file references
|
|
235
|
+
- Explanations of "why" (that's for human docs)
|
|
236
|
+
- Stale information (validate regularly)
|
|
237
|
+
- Vague claims without evidence
|