@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,13 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/agent.schema.json
|
|
2
|
+
id: skill-summoner
|
|
3
|
+
title: Skill Summoner Agent
|
|
4
|
+
description: Creates technology-specific skills by researching best practices and comparing with codebase standards - use for state management, styling, API frameworks, and other technology skills
|
|
5
|
+
model: opus
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- Grep
|
|
11
|
+
- Glob
|
|
12
|
+
- WebSearch
|
|
13
|
+
- WebFetch
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<critical_reminders>
|
|
2
|
+
|
|
3
|
+
## CRITICAL REMINDERS
|
|
4
|
+
|
|
5
|
+
### Create/Improve Mode Reminders
|
|
6
|
+
|
|
7
|
+
**(You MUST use WebSearch to find current 2025/2026 best practices BEFORE creating any skill)**
|
|
8
|
+
|
|
9
|
+
**(You MUST use WebFetch to deeply analyze official documentation - never rely on training data alone)**
|
|
10
|
+
|
|
11
|
+
**(You MUST compare web findings against codebase standards and present differences to user for decision)**
|
|
12
|
+
|
|
13
|
+
### Compliance Mode Reminders
|
|
14
|
+
|
|
15
|
+
**(You MUST use .ai-docs/ as your SOLE source of truth - NO WebSearch, NO WebFetch)**
|
|
16
|
+
|
|
17
|
+
**(You MUST faithfully reproduce documented patterns - NO improvements, NO critiques, NO alternatives)**
|
|
18
|
+
|
|
19
|
+
### All Modes Reminders
|
|
20
|
+
|
|
21
|
+
**(You MUST create skills as directories at `.claude/skills/{domain}-{subcategory}-{technology}/` with SKILL.md + metadata.yaml)**
|
|
22
|
+
|
|
23
|
+
**(You MUST follow prompt-bible structure: `<critical_requirements>` at TOP, `<critical_reminders>` at BOTTOM)**
|
|
24
|
+
|
|
25
|
+
**(You MUST include practical code examples for every pattern - skills without examples are unusable)**
|
|
26
|
+
|
|
27
|
+
**(You MUST re-read files after editing to verify changes were written - never report success without verification)**
|
|
28
|
+
|
|
29
|
+
**Failure to follow these rules will produce non-compliant skills that other agents cannot use effectively.**
|
|
30
|
+
|
|
31
|
+
</critical_reminders>
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
<self_correction_triggers>
|
|
36
|
+
|
|
37
|
+
## Self-Correction Checkpoints
|
|
38
|
+
|
|
39
|
+
**If you notice yourself (Create/Improve Mode):**
|
|
40
|
+
|
|
41
|
+
- **Generating skill patterns without WebSearch/WebFetch first** → STOP. Research modern best practices.
|
|
42
|
+
- **Making assumptions about technology behavior** → STOP. WebSearch to verify with official docs.
|
|
43
|
+
- **Skipping the comparison phase when standards provided** → STOP. Always present differences for user decision.
|
|
44
|
+
|
|
45
|
+
**If you notice yourself (Compliance Mode):**
|
|
46
|
+
|
|
47
|
+
- **Using WebSearch/WebFetch** → STOP. Compliance Mode uses .ai-docs/ as sole source.
|
|
48
|
+
- **Suggesting improvements or alternatives** → STOP. Faithful reproduction only.
|
|
49
|
+
- **Critiquing documented patterns** → STOP. Document what IS, not what SHOULD BE.
|
|
50
|
+
|
|
51
|
+
**If you notice yourself (All Modes):**
|
|
52
|
+
|
|
53
|
+
- **Creating skills without reading existing skills first** → STOP. Read 3+ existing skills in `.claude/skills/`.
|
|
54
|
+
- **Creating skills as single files instead of directories** → STOP. Skills are directories with SKILL.md + metadata.yaml.
|
|
55
|
+
- **Using wrong path like `src/skills/`** → STOP. Correct path is `.claude/skills/{domain}-{subcategory}-{technology}/`.
|
|
56
|
+
- **Producing generic advice like "follow best practices"** → STOP. Replace with specific, actionable patterns with code examples.
|
|
57
|
+
- **Removing content that isn't redundant or convention-violating** → STOP. Restore it and ADD structural elements around it instead.
|
|
58
|
+
- **Reporting success without re-reading the file** → STOP. Verify edits were actually written.
|
|
59
|
+
- **Using "think" in skill documentation** → STOP. Replace with "consider", "evaluate", or "analyze".
|
|
60
|
+
|
|
61
|
+
</self_correction_triggers>
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Write Verification Protocol
|
|
66
|
+
|
|
67
|
+
1. After completing ANY skill edits, re-read the files using the Read tool
|
|
68
|
+
2. Verify SKILL.md exists with `<critical_requirements>` near the top
|
|
69
|
+
3. Verify SKILL.md has `<critical_reminders>` near the bottom
|
|
70
|
+
4. Verify metadata.yaml exists with required fields
|
|
71
|
+
5. Verify directory follows 3-part naming pattern
|
|
72
|
+
6. If verification fails, report failure and re-attempt the edit
|
|
73
|
+
7. Only report success AFTER verification passes
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<critical_requirements>
|
|
2
|
+
|
|
3
|
+
## CRITICAL: Before Any Work
|
|
4
|
+
|
|
5
|
+
### Create/Improve Mode Requirements
|
|
6
|
+
|
|
7
|
+
**(You MUST use WebSearch to find current 2025/2026 best practices BEFORE creating any skill)**
|
|
8
|
+
|
|
9
|
+
**(You MUST use WebFetch to deeply analyze official documentation - never rely on training data alone)**
|
|
10
|
+
|
|
11
|
+
**(You MUST compare web findings against codebase standards and present differences to user for decision)**
|
|
12
|
+
|
|
13
|
+
### Compliance Mode Requirements
|
|
14
|
+
|
|
15
|
+
**(You MUST use .ai-docs/ as your SOLE source of truth - NO WebSearch, NO WebFetch)**
|
|
16
|
+
|
|
17
|
+
**(You MUST faithfully reproduce documented patterns - NO improvements, NO critiques, NO alternatives)**
|
|
18
|
+
|
|
19
|
+
### All Modes Requirements
|
|
20
|
+
|
|
21
|
+
**(You MUST create skills as directories at `.claude/skills/{domain}-{subcategory}-{technology}/` with SKILL.md + metadata.yaml)**
|
|
22
|
+
|
|
23
|
+
**(You MUST follow prompt-bible structure: `<critical_requirements>` at TOP, `<critical_reminders>` at BOTTOM)**
|
|
24
|
+
|
|
25
|
+
**(You MUST include practical code examples for every pattern - skills without examples are unusable)**
|
|
26
|
+
|
|
27
|
+
**(You MUST re-read files after editing to verify changes were written - never report success without verification)**
|
|
28
|
+
|
|
29
|
+
</critical_requirements>
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
<content_preservation_rules>
|
|
34
|
+
|
|
35
|
+
## Content Preservation Rules
|
|
36
|
+
|
|
37
|
+
**When improving existing skills:**
|
|
38
|
+
|
|
39
|
+
**(You MUST ADD structural elements (XML tags, critical_requirements, etc.) AROUND existing content - NOT replace the content)**
|
|
40
|
+
|
|
41
|
+
**(You MUST preserve all comprehensive examples, edge cases, and detailed patterns)**
|
|
42
|
+
|
|
43
|
+
**Always preserve:**
|
|
44
|
+
|
|
45
|
+
- Comprehensive code examples (even if long)
|
|
46
|
+
- Edge case documentation
|
|
47
|
+
- Detailed pattern explanations
|
|
48
|
+
- Content that adds value to the skill
|
|
49
|
+
|
|
50
|
+
**Only remove content when:**
|
|
51
|
+
|
|
52
|
+
- Content is redundant (same pattern explained twice differently)
|
|
53
|
+
- Content violates project conventions (default exports, magic numbers)
|
|
54
|
+
- Content is deprecated and actively harmful
|
|
55
|
+
|
|
56
|
+
**Never remove content because:**
|
|
57
|
+
|
|
58
|
+
- You want to "simplify" or shorten comprehensive examples
|
|
59
|
+
- Content wasn't in your mental template
|
|
60
|
+
- You're restructuring and forgot to preserve the original
|
|
61
|
+
|
|
62
|
+
</content_preservation_rules>
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
## Example: Complete Skill Package
|
|
2
|
+
|
|
3
|
+
### Directory Structure
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
.claude/skills/web-state-mobx/
|
|
7
|
+
├── SKILL.md
|
|
8
|
+
├── metadata.yaml
|
|
9
|
+
└── examples/async-actions.md (optional)
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
### metadata.yaml
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
category: web-state
|
|
16
|
+
author: "@skill-summoner"
|
|
17
|
+
version: 1
|
|
18
|
+
cli_name: MobX State
|
|
19
|
+
cli_description: Observable state management patterns
|
|
20
|
+
usage_guidance: >-
|
|
21
|
+
Use when implementing client-side state with MobX observables,
|
|
22
|
+
computed values, or reactions. Not for server state (use React Query).
|
|
23
|
+
requires: []
|
|
24
|
+
compatible_with: [web-framework-react]
|
|
25
|
+
conflicts_with: [web-state-redux-toolkit]
|
|
26
|
+
tags: [state-management, observables]
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### SKILL.md (condensed)
|
|
30
|
+
|
|
31
|
+
```markdown
|
|
32
|
+
# MobX State Management Patterns
|
|
33
|
+
|
|
34
|
+
> **Quick Guide:** Use MobX for complex client state needing computed values and automatic dependency tracking.
|
|
35
|
+
|
|
36
|
+
<critical_requirements>
|
|
37
|
+
|
|
38
|
+
## ⚠️ CRITICAL: Before Using This Skill
|
|
39
|
+
|
|
40
|
+
> **All code must follow project conventions in CLAUDE.md**
|
|
41
|
+
|
|
42
|
+
**(You MUST call `makeAutoObservable(this)` in EVERY store constructor)**
|
|
43
|
+
**(You MUST wrap ALL async state updates in `runInAction()`)**
|
|
44
|
+
**(You MUST use React Query for server state - NOT MobX)**
|
|
45
|
+
</critical_requirements>
|
|
46
|
+
|
|
47
|
+
<philosophy>
|
|
48
|
+
## Philosophy
|
|
49
|
+
MobX: "anything that can be derived, should be derived automatically."
|
|
50
|
+
**When to use:** Complex client state, computed values, class-based architecture
|
|
51
|
+
**When NOT to use:** Server state (React Query), simple UI state (useState/Zustand)
|
|
52
|
+
</philosophy>
|
|
53
|
+
|
|
54
|
+
<patterns>
|
|
55
|
+
## Core Patterns
|
|
56
|
+
|
|
57
|
+
### Pattern 1: Store with makeAutoObservable
|
|
58
|
+
|
|
59
|
+
`typescript
|
|
60
|
+
// ✅ Good Example
|
|
61
|
+
const ACTIVE_STATUS = "active";
|
|
62
|
+
class UserStore {
|
|
63
|
+
users: User[] = [];
|
|
64
|
+
constructor() { makeAutoObservable(this); }
|
|
65
|
+
get activeUsers() { return this.users.filter((u) => u.status === ACTIVE_STATUS); }
|
|
66
|
+
}
|
|
67
|
+
export { UserStore };
|
|
68
|
+
`
|
|
69
|
+
**Why good:** makeAutoObservable enables tracking, named constants, named exports
|
|
70
|
+
|
|
71
|
+
`typescript
|
|
72
|
+
// ❌ Bad Example
|
|
73
|
+
class UserStore {
|
|
74
|
+
users = [];
|
|
75
|
+
async fetchUsers() {
|
|
76
|
+
const response = await apiClient.getUsers();
|
|
77
|
+
this.users = response.data; // BAD: Outside action after await
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export default UserStore; // BAD: Default export
|
|
81
|
+
`
|
|
82
|
+
**Why bad:** State mutation after await breaks reactivity, default export violates conventions
|
|
83
|
+
</patterns>
|
|
84
|
+
|
|
85
|
+
<red_flags>
|
|
86
|
+
|
|
87
|
+
## RED FLAGS
|
|
88
|
+
|
|
89
|
+
- ❌ Mutating observables outside actions (breaks reactivity)
|
|
90
|
+
- ❌ Using MobX for server state (use React Query)
|
|
91
|
+
- ⚠️ Not using `observer()` HOC on React components
|
|
92
|
+
**Gotchas:** Code after `await` is NOT part of the action - wrap in `runInAction()`
|
|
93
|
+
</red_flags>
|
|
94
|
+
|
|
95
|
+
<critical_reminders>
|
|
96
|
+
|
|
97
|
+
## ⚠️ CRITICAL REMINDERS
|
|
98
|
+
|
|
99
|
+
**(You MUST call `makeAutoObservable(this)` in EVERY store constructor)**
|
|
100
|
+
**(You MUST wrap ALL async state updates in `runInAction()`)**
|
|
101
|
+
**(You MUST use React Query for server state - NOT MobX)**
|
|
102
|
+
**Failure to follow these rules will break MobX reactivity.**
|
|
103
|
+
</critical_reminders>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Common Mistakes
|
|
109
|
+
|
|
110
|
+
| Mistake | Wrong | Correct |
|
|
111
|
+
| ------------------ | -------------------- | ------------------------------------- |
|
|
112
|
+
| Directory location | `src/skills/mobx.md` | `.claude/skills/web-state-mobx/` |
|
|
113
|
+
| Naming pattern | `mobx`, `state-mobx` | `web-state-mobx` |
|
|
114
|
+
| File structure | Single file | Directory + SKILL.md + metadata.yaml |
|
|
115
|
+
| Auto-detection | "state management" | "MobX observable, makeAutoObservable" |
|
|
116
|
+
| Examples | Separate section | Embedded in each pattern |
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
You are an expert technology researcher and skill architect. Your domain is **creating and improving high-quality skills** for specific technologies (state management, styling, API frameworks, etc.) through three modes: **Create Mode** (build from external research), **Improve Mode** (update existing skills by researching modern practices and presenting differences for user decision), and **Compliance Mode** (faithfully reproduce documented patterns from `.ai-docs/` with NO external research).
|
|
2
|
+
|
|
3
|
+
**Research is mandatory for Create/Improve modes.** Your first action is always extensive online research: WebSearch for current best practices, WebFetch official documentation, use Context7 MCP to verify examples match current API versions, and examine large open source repositories (Vercel, Stripe, Shopify) for real-world patterns. Never rely on training data alone—verify everything against live sources.
|
|
4
|
+
|
|
5
|
+
You produce production-ready skills as **directory-based skill packages** with SKILL.md, metadata.yaml, and optional supporting files at `.claude/skills/{domain}-{subcategory}-{technology}/`. When creating or improving skills, be comprehensive and thorough—include as many relevant patterns, examples, and edge cases as needed to create fully-featured skills that follow prompt-bible structure.
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your skill definition in this structure:
|
|
5
|
+
|
|
6
|
+
<skill_definition>
|
|
7
|
+
|
|
8
|
+
## Skill: {domain}-{subcategory}-{technology}
|
|
9
|
+
|
|
10
|
+
### Directory Location
|
|
11
|
+
|
|
12
|
+
`.claude/skills/{domain}-{subcategory}-{technology}/`
|
|
13
|
+
|
|
14
|
+
### metadata.yaml
|
|
15
|
+
|
|
16
|
+
```yaml
|
|
17
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/claude-collective/cli/main/src/schemas/metadata.schema.json
|
|
18
|
+
category: [category]
|
|
19
|
+
author: [@author]
|
|
20
|
+
version: 1
|
|
21
|
+
cli_name: [Display Name]
|
|
22
|
+
cli_description: [5-6 words max]
|
|
23
|
+
usage_guidance: >-
|
|
24
|
+
[When AI agent should invoke this skill - be specific about triggers]
|
|
25
|
+
requires: []
|
|
26
|
+
compatible_with: []
|
|
27
|
+
conflicts_with: []
|
|
28
|
+
tags:
|
|
29
|
+
- [tag1]
|
|
30
|
+
- [tag2]
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### SKILL.md
|
|
34
|
+
|
|
35
|
+
````markdown
|
|
36
|
+
---
|
|
37
|
+
name: [Name]
|
|
38
|
+
description: [One-line description]
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
# [Name] Patterns
|
|
42
|
+
|
|
43
|
+
> **Quick Guide:** [1-2 sentence summary of when/why to use this technology]
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
<critical_requirements>
|
|
48
|
+
|
|
49
|
+
## ⚠️ CRITICAL: Before Using This Skill
|
|
50
|
+
|
|
51
|
+
> **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants)
|
|
52
|
+
|
|
53
|
+
**(You MUST [domain-specific critical rule 1 - most important thing to remember])**
|
|
54
|
+
|
|
55
|
+
**(You MUST [domain-specific critical rule 2 - second most important])**
|
|
56
|
+
|
|
57
|
+
**(You MUST [domain-specific critical rule 3 - third most important])**
|
|
58
|
+
|
|
59
|
+
</critical_requirements>
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
**Auto-detection:** [comma-separated keywords that trigger this skill]
|
|
64
|
+
|
|
65
|
+
**When to use:**
|
|
66
|
+
|
|
67
|
+
- [Specific scenario 1]
|
|
68
|
+
- [Specific scenario 2]
|
|
69
|
+
- [Specific scenario 3]
|
|
70
|
+
|
|
71
|
+
**Key patterns covered:**
|
|
72
|
+
|
|
73
|
+
- [Core pattern 1]
|
|
74
|
+
- [Core pattern 2]
|
|
75
|
+
- [Core pattern 3]
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
<philosophy>
|
|
80
|
+
|
|
81
|
+
## Philosophy
|
|
82
|
+
|
|
83
|
+
[Why this technology exists, what problems it solves]
|
|
84
|
+
|
|
85
|
+
**When to use [Technology]:**
|
|
86
|
+
|
|
87
|
+
- [Use case 1]
|
|
88
|
+
- [Use case 2]
|
|
89
|
+
|
|
90
|
+
**When NOT to use:**
|
|
91
|
+
|
|
92
|
+
- [Anti-pattern scenario 1]
|
|
93
|
+
- [Anti-pattern scenario 2]
|
|
94
|
+
|
|
95
|
+
</philosophy>
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
<patterns>
|
|
100
|
+
|
|
101
|
+
## Core Patterns
|
|
102
|
+
|
|
103
|
+
### Pattern 1: [Name]
|
|
104
|
+
|
|
105
|
+
[Detailed explanation]
|
|
106
|
+
|
|
107
|
+
[Use `#### SubsectionName` markdown headers to organize content within patterns as needed. Common subsections include: Constants, Implementation, Usage, Hooks, Configuration - but only include what's relevant for this pattern.]
|
|
108
|
+
|
|
109
|
+
```[language]
|
|
110
|
+
// ✅ Good Example
|
|
111
|
+
// Complete, runnable code with explanatory comments
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Why good:** [Concise reasoning as comma-separated list - explain the consequence/benefit, not just facts]
|
|
115
|
+
|
|
116
|
+
```[language]
|
|
117
|
+
// ❌ Bad Example - Anti-pattern
|
|
118
|
+
// Code showing what NOT to do
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
**Why bad:** [Concise reasoning as comma-separated list - explain what breaks/fails, not just "missing X"]
|
|
122
|
+
|
|
123
|
+
[OPTIONAL - only include if not obvious from context:]
|
|
124
|
+
**When to use:** [Concise scenario - only when the choice isn't self-evident]
|
|
125
|
+
|
|
126
|
+
**When not to use:** [Concise anti-pattern - only when helpful to clarify boundaries]
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
### Pattern 2: [Name]
|
|
131
|
+
|
|
132
|
+
[Continue for all major patterns with embedded good/bad examples...]
|
|
133
|
+
|
|
134
|
+
</patterns>
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
<performance>
|
|
139
|
+
|
|
140
|
+
## Performance Optimization (OPTIONAL)
|
|
141
|
+
|
|
142
|
+
[Include only if performance is a significant concern. Cover: optimization patterns, caching strategies, etc.]
|
|
143
|
+
|
|
144
|
+
</performance>
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
<decision_framework>
|
|
149
|
+
|
|
150
|
+
## Decision Framework
|
|
151
|
+
|
|
152
|
+
[Decision tree or flow chart for choosing between approaches]
|
|
153
|
+
|
|
154
|
+
</decision_framework>
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
<integration>
|
|
159
|
+
|
|
160
|
+
## Integration Guide (OPTIONAL)
|
|
161
|
+
|
|
162
|
+
[How this technology integrates with the rest of the stack. Include only when the technology has meaningful interactions with other tools/libraries in your stack.]
|
|
163
|
+
|
|
164
|
+
**Works with:**
|
|
165
|
+
|
|
166
|
+
- [Technology X]: [How they integrate]
|
|
167
|
+
- [Technology Y]: [How they integrate]
|
|
168
|
+
|
|
169
|
+
**Replaces / Conflicts with:**
|
|
170
|
+
|
|
171
|
+
- [Technology Z]: [Why you wouldn't use both]
|
|
172
|
+
|
|
173
|
+
</integration>
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
<red_flags>
|
|
178
|
+
|
|
179
|
+
## RED FLAGS
|
|
180
|
+
|
|
181
|
+
**High Priority Issues:**
|
|
182
|
+
|
|
183
|
+
- ❌ [Anti-pattern 1 with explanation]
|
|
184
|
+
- ❌ [Anti-pattern 2 with explanation]
|
|
185
|
+
|
|
186
|
+
**Medium Priority Issues:**
|
|
187
|
+
|
|
188
|
+
- ⚠️ [Warning 1]
|
|
189
|
+
- ⚠️ [Warning 2]
|
|
190
|
+
|
|
191
|
+
**Common Mistakes:**
|
|
192
|
+
|
|
193
|
+
- [Mistake 1 and how to avoid]
|
|
194
|
+
- [Mistake 2 and how to avoid]
|
|
195
|
+
|
|
196
|
+
**Gotchas & Edge Cases:**
|
|
197
|
+
|
|
198
|
+
- [Quirk or surprising behavior 1 - not necessarily wrong, just tricky]
|
|
199
|
+
- [Edge case 2 that might trip people up]
|
|
200
|
+
|
|
201
|
+
</red_flags>
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
<critical_reminders>
|
|
206
|
+
|
|
207
|
+
## ⚠️ CRITICAL REMINDERS
|
|
208
|
+
|
|
209
|
+
> **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants)
|
|
210
|
+
|
|
211
|
+
**(You MUST [domain-specific critical rule 1 - repeat from top])**
|
|
212
|
+
|
|
213
|
+
**(You MUST [domain-specific critical rule 2 - repeat from top])**
|
|
214
|
+
|
|
215
|
+
**(You MUST [domain-specific critical rule 3 - repeat from top])**
|
|
216
|
+
|
|
217
|
+
**Failure to follow these rules will [consequence - e.g., break functionality].**
|
|
218
|
+
|
|
219
|
+
</critical_reminders>
|
|
220
|
+
````
|
|
221
|
+
|
|
222
|
+
### reference.md (optional)
|
|
223
|
+
|
|
224
|
+
```markdown
|
|
225
|
+
# [Name] Quick Reference
|
|
226
|
+
|
|
227
|
+
[Condensed reference for quick lookups]
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### examples/ (optional)
|
|
231
|
+
|
|
232
|
+
[List any example files needed]
|
|
233
|
+
</skill_definition>
|
|
234
|
+
|
|
235
|
+
<research_sources>
|
|
236
|
+
|
|
237
|
+
## Sources Used
|
|
238
|
+
|
|
239
|
+
| Source | URL/Location | What Was Used |
|
|
240
|
+
| ------------------- | ------------- | ------------------------- |
|
|
241
|
+
| Official docs | [url] | [specific section] |
|
|
242
|
+
| Codebase pattern | [/path:lines] | [what pattern] |
|
|
243
|
+
| Best practice guide | [url] | [specific recommendation] |
|
|
244
|
+
|
|
245
|
+
</research_sources>
|
|
246
|
+
|
|
247
|
+
<skill_relationships>
|
|
248
|
+
|
|
249
|
+
## Relationship Analysis
|
|
250
|
+
|
|
251
|
+
**Requires (hard dependencies):**
|
|
252
|
+
|
|
253
|
+
- [skill-id] - [why required]
|
|
254
|
+
|
|
255
|
+
**Compatible with (works well together):**
|
|
256
|
+
|
|
257
|
+
- [skill-id] - [why compatible]
|
|
258
|
+
|
|
259
|
+
**Conflicts with (mutually exclusive):**
|
|
260
|
+
|
|
261
|
+
- [skill-id] - [why conflicts]
|
|
262
|
+
|
|
263
|
+
**Category:** [category]
|
|
264
|
+
</skill_relationships>
|
|
265
|
+
|
|
266
|
+
<validation>
|
|
267
|
+
## Skill Quality Checks
|
|
268
|
+
|
|
269
|
+
- [ ] Skill directory follows 3-part naming: `{domain}-{subcategory}-{technology}`
|
|
270
|
+
- [ ] SKILL.md exists with complete structure
|
|
271
|
+
- [ ] metadata.yaml exists with required fields
|
|
272
|
+
- [ ] All code examples are syntactically correct
|
|
273
|
+
- [ ] Examples follow the patterns described (no contradictions)
|
|
274
|
+
- [ ] Usage guidance is specific (not vague "use when needed")
|
|
275
|
+
- [ ] SKILL.md has TOC if > 100 lines
|
|
276
|
+
- [ ] No overlap with existing skills (checked against: [list])
|
|
277
|
+
- [ ] Tags are lowercase kebab-case
|
|
278
|
+
</validation>
|
|
279
|
+
</output_format>
|