agents-inc 0.149.2 → 0.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2277 -0
- package/LICENSE +21 -0
- package/README.md +136 -19
- package/assets/demo.gif +0 -0
- package/assets/demo.tape +266 -0
- package/assets/logo.svg +75 -0
- package/dist/chunk-2RSNKBXC.js +84 -0
- package/dist/chunk-2RSNKBXC.js.map +1 -0
- package/dist/chunk-3LIU2ZEF.js +1355 -0
- package/dist/chunk-3LIU2ZEF.js.map +1 -0
- package/dist/chunk-4GL2F5AB.js +222 -0
- package/dist/chunk-4GL2F5AB.js.map +1 -0
- package/dist/chunk-4LPJZNT7.js +382 -0
- package/dist/chunk-4LPJZNT7.js.map +1 -0
- package/dist/chunk-5K5RBRTD.js +62 -0
- package/dist/chunk-5K5RBRTD.js.map +1 -0
- package/dist/chunk-6I6RZHYP.js +789 -0
- package/dist/chunk-6I6RZHYP.js.map +1 -0
- package/dist/chunk-7URSGJLE.js +430 -0
- package/dist/chunk-7URSGJLE.js.map +1 -0
- package/dist/chunk-C55DN7GE.js +35 -0
- package/dist/chunk-C55DN7GE.js.map +1 -0
- package/dist/chunk-CDMHSHBN.js +68 -0
- package/dist/chunk-CDMHSHBN.js.map +1 -0
- package/dist/chunk-CFQT72MJ.js +92 -0
- package/dist/chunk-CFQT72MJ.js.map +1 -0
- package/dist/chunk-DAG2ULNF.js +125 -0
- package/dist/chunk-DAG2ULNF.js.map +1 -0
- package/dist/chunk-DDG4F3FE.js +181 -0
- package/dist/chunk-DDG4F3FE.js.map +1 -0
- package/dist/chunk-DIBCRIMR.js +36 -0
- package/dist/chunk-DIBCRIMR.js.map +1 -0
- package/dist/chunk-DJAZE4PD.js +10929 -0
- package/dist/chunk-DJAZE4PD.js.map +1 -0
- package/dist/chunk-DUVWGO6E.js +54 -0
- package/dist/chunk-DUVWGO6E.js.map +1 -0
- package/dist/chunk-E4FT2KFV.js +174 -0
- package/dist/chunk-E4FT2KFV.js.map +1 -0
- package/dist/chunk-EKWAUOQB.js +96 -0
- package/dist/chunk-EKWAUOQB.js.map +1 -0
- package/dist/chunk-EN2GCPW7.js +300 -0
- package/dist/chunk-EN2GCPW7.js.map +1 -0
- package/dist/chunk-ES3NJZON.js +31 -0
- package/dist/chunk-ES3NJZON.js.map +1 -0
- package/dist/chunk-F3756A5B.js +20 -0
- package/dist/chunk-F3756A5B.js.map +1 -0
- package/dist/chunk-FWT3CBLL.js +51 -0
- package/dist/chunk-FWT3CBLL.js.map +1 -0
- package/dist/chunk-FYPUUYSG.js +31 -0
- package/dist/chunk-FYPUUYSG.js.map +1 -0
- package/dist/chunk-GRPSDKIS.js +112 -0
- package/dist/chunk-GRPSDKIS.js.map +1 -0
- package/dist/chunk-GYG5SE2D.js +81 -0
- package/dist/chunk-GYG5SE2D.js.map +1 -0
- package/dist/chunk-HIPGKIT3.js +287 -0
- package/dist/chunk-HIPGKIT3.js.map +1 -0
- package/dist/chunk-I3XKEGHM.js +16383 -0
- package/dist/chunk-I3XKEGHM.js.map +1 -0
- package/dist/chunk-IHO75PMZ.js +40 -0
- package/dist/chunk-IHO75PMZ.js.map +1 -0
- package/dist/chunk-IOJR5TOY.js +47 -0
- package/dist/chunk-IOJR5TOY.js.map +1 -0
- package/dist/chunk-K3OU6TGX.js +77 -0
- package/dist/chunk-K3OU6TGX.js.map +1 -0
- package/dist/chunk-KH7MOIM5.js +6010 -0
- package/dist/chunk-KH7MOIM5.js.map +1 -0
- package/dist/chunk-KIR7VYQD.js +63 -0
- package/dist/chunk-KIR7VYQD.js.map +1 -0
- package/dist/chunk-KOPEM3Q7.js +27 -0
- package/dist/chunk-KOPEM3Q7.js.map +1 -0
- package/dist/chunk-KSZ6PCY4.js +43 -0
- package/dist/chunk-KSZ6PCY4.js.map +1 -0
- package/dist/chunk-LRYNF3J7.js +111 -0
- package/dist/chunk-LRYNF3J7.js.map +1 -0
- package/dist/chunk-LYYXX2W5.js +87 -0
- package/dist/chunk-LYYXX2W5.js.map +1 -0
- package/dist/chunk-MC5DUZ3V.js +1135 -0
- package/dist/chunk-MC5DUZ3V.js.map +1 -0
- package/dist/chunk-N4IZ6GBO.js +300 -0
- package/dist/chunk-N4IZ6GBO.js.map +1 -0
- package/dist/chunk-NIKUMXE7.js +24 -0
- package/dist/chunk-NIKUMXE7.js.map +1 -0
- package/dist/chunk-NUIZ6ZUO.js +42 -0
- package/dist/chunk-NUIZ6ZUO.js.map +1 -0
- package/dist/chunk-O5ASLZ2K.js +270 -0
- package/dist/chunk-O5ASLZ2K.js.map +1 -0
- package/dist/chunk-OA5SUEQD.js +181 -0
- package/dist/chunk-OA5SUEQD.js.map +1 -0
- package/dist/chunk-OZZGXBCN.js +15 -0
- package/dist/chunk-OZZGXBCN.js.map +1 -0
- package/dist/chunk-P3PN5SVI.js +27 -0
- package/dist/chunk-P3PN5SVI.js.map +1 -0
- package/dist/chunk-P56WJ5FA.js +50 -0
- package/dist/chunk-P56WJ5FA.js.map +1 -0
- package/dist/chunk-PG4G4IIK.js +24 -0
- package/dist/chunk-PG4G4IIK.js.map +1 -0
- package/dist/chunk-QQLRX4KI.js +41 -0
- package/dist/chunk-QQLRX4KI.js.map +1 -0
- package/dist/chunk-RBHYLCUB.js +31 -0
- package/dist/chunk-RBHYLCUB.js.map +1 -0
- package/dist/chunk-RJN7W2C7.js +349 -0
- package/dist/chunk-RJN7W2C7.js.map +1 -0
- package/dist/chunk-RP7R73JO.js +179 -0
- package/dist/chunk-RP7R73JO.js.map +1 -0
- package/dist/chunk-SYUOXSPU.js +510 -0
- package/dist/chunk-SYUOXSPU.js.map +1 -0
- package/dist/chunk-THKIOI32.js +939 -0
- package/dist/chunk-THKIOI32.js.map +1 -0
- package/dist/chunk-UZRISDBZ.js +28 -0
- package/dist/chunk-UZRISDBZ.js.map +1 -0
- package/dist/chunk-V7QOSGQA.js +298 -0
- package/dist/chunk-V7QOSGQA.js.map +1 -0
- package/dist/chunk-VEP23B5W.js +27 -0
- package/dist/chunk-VEP23B5W.js.map +1 -0
- package/dist/chunk-VG2TVBFN.js +52 -0
- package/dist/chunk-VG2TVBFN.js.map +1 -0
- package/dist/chunk-VIFZ6NFH.js +27 -0
- package/dist/chunk-VIFZ6NFH.js.map +1 -0
- package/dist/chunk-XA57SX4T.js +115 -0
- package/dist/chunk-XA57SX4T.js.map +1 -0
- package/dist/chunk-YKKIJHZB.js +339 -0
- package/dist/chunk-YKKIJHZB.js.map +1 -0
- package/dist/chunk-YU2VGX5R.js +4205 -0
- package/dist/chunk-YU2VGX5R.js.map +1 -0
- package/dist/chunk-ZDLTLNU2.js +258 -0
- package/dist/chunk-ZDLTLNU2.js.map +1 -0
- package/dist/chunk-ZHTXPFDK.js +128 -0
- package/dist/chunk-ZHTXPFDK.js.map +1 -0
- package/dist/chunk-ZKJAJWK6.js +253 -0
- package/dist/chunk-ZKJAJWK6.js.map +1 -0
- package/dist/commands/build/marketplace.js +250 -0
- package/dist/commands/build/marketplace.js.map +1 -0
- package/dist/commands/build/plugins.js +176 -0
- package/dist/commands/build/plugins.js.map +1 -0
- package/dist/commands/compile.js +331 -0
- package/dist/commands/compile.js.map +1 -0
- package/dist/commands/doctor.js +475 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/edit.js +765 -0
- package/dist/commands/edit.js.map +1 -0
- package/dist/commands/eject.js +393 -0
- package/dist/commands/eject.js.map +1 -0
- package/dist/commands/import/skill.js +349 -0
- package/dist/commands/import/skill.js.map +1 -0
- package/dist/commands/init.js +66 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list.js +115 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/new/agent.js +304 -0
- package/dist/commands/new/agent.js.map +1 -0
- package/dist/commands/new/marketplace.js +315 -0
- package/dist/commands/new/marketplace.js.map +1 -0
- package/dist/commands/new/skill.js +28 -0
- package/dist/commands/new/skill.js.map +1 -0
- package/dist/commands/search.js +176 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/uninstall.js +570 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.js +368 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/validate.js +581 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/components/common/confirm.js +9 -0
- package/dist/components/common/confirm.js.map +1 -0
- package/dist/components/common/confirm.test.js +203 -0
- package/dist/components/common/confirm.test.js.map +1 -0
- package/dist/components/common/prompt-confirm.js +11 -0
- package/dist/components/common/prompt-confirm.js.map +1 -0
- package/dist/components/common/select-list.js +11 -0
- package/dist/components/common/select-list.js.map +1 -0
- package/dist/components/common/spinner.js +9 -0
- package/dist/components/common/spinner.js.map +1 -0
- package/dist/components/wizard/category-grid.js +16 -0
- package/dist/components/wizard/category-grid.js.map +1 -0
- package/dist/components/wizard/category-grid.test.js +1253 -0
- package/dist/components/wizard/category-grid.test.js.map +1 -0
- package/dist/components/wizard/checkbox-grid.js +14 -0
- package/dist/components/wizard/checkbox-grid.js.map +1 -0
- package/dist/components/wizard/checkbox-grid.test.js +264 -0
- package/dist/components/wizard/checkbox-grid.test.js.map +1 -0
- package/dist/components/wizard/domain-selection.js +22 -0
- package/dist/components/wizard/domain-selection.js.map +1 -0
- package/dist/components/wizard/run-wizard-session.js +47 -0
- package/dist/components/wizard/run-wizard-session.js.map +1 -0
- package/dist/components/wizard/scroll-affordance.js +10 -0
- package/dist/components/wizard/scroll-affordance.js.map +1 -0
- package/dist/components/wizard/search-modal.js +14 -0
- package/dist/components/wizard/search-modal.js.map +1 -0
- package/dist/components/wizard/search-modal.test.js +212 -0
- package/dist/components/wizard/search-modal.test.js.map +1 -0
- package/dist/components/wizard/selection-card.js +10 -0
- package/dist/components/wizard/selection-card.js.map +1 -0
- package/dist/components/wizard/skill-agent-summary.js +16 -0
- package/dist/components/wizard/skill-agent-summary.js.map +1 -0
- package/dist/components/wizard/source-grid.js +23 -0
- package/dist/components/wizard/source-grid.js.map +1 -0
- package/dist/components/wizard/source-grid.test.js +1094 -0
- package/dist/components/wizard/source-grid.test.js.map +1 -0
- package/dist/components/wizard/stack-selection.js +20 -0
- package/dist/components/wizard/stack-selection.js.map +1 -0
- package/dist/components/wizard/step-agents.js +22 -0
- package/dist/components/wizard/step-agents.js.map +1 -0
- package/dist/components/wizard/step-agents.test.js +204 -0
- package/dist/components/wizard/step-agents.test.js.map +1 -0
- package/dist/components/wizard/step-build.js +22 -0
- package/dist/components/wizard/step-build.js.map +1 -0
- package/dist/components/wizard/step-build.test.js +552 -0
- package/dist/components/wizard/step-build.test.js.map +1 -0
- package/dist/components/wizard/step-confirm.js +21 -0
- package/dist/components/wizard/step-confirm.js.map +1 -0
- package/dist/components/wizard/step-confirm.test.js +744 -0
- package/dist/components/wizard/step-confirm.test.js.map +1 -0
- package/dist/components/wizard/step-settings.js +19 -0
- package/dist/components/wizard/step-settings.js.map +1 -0
- package/dist/components/wizard/step-settings.test.js +244 -0
- package/dist/components/wizard/step-settings.test.js.map +1 -0
- package/dist/components/wizard/step-sources.js +28 -0
- package/dist/components/wizard/step-sources.js.map +1 -0
- package/dist/components/wizard/step-sources.test.js +155 -0
- package/dist/components/wizard/step-sources.test.js.map +1 -0
- package/dist/components/wizard/step-stack.js +21 -0
- package/dist/components/wizard/step-stack.js.map +1 -0
- package/dist/components/wizard/step-stack.test.js +262 -0
- package/dist/components/wizard/step-stack.test.js.map +1 -0
- package/dist/components/wizard/summary-panel.js +20 -0
- package/dist/components/wizard/summary-panel.js.map +1 -0
- package/dist/components/wizard/summary-panel.test.js +317 -0
- package/dist/components/wizard/summary-panel.test.js.map +1 -0
- package/dist/components/wizard/toast.js +10 -0
- package/dist/components/wizard/toast.js.map +1 -0
- package/dist/components/wizard/wizard-layout.js +26 -0
- package/dist/components/wizard/wizard-layout.js.map +1 -0
- package/dist/components/wizard/wizard-layout.test.js +200 -0
- package/dist/components/wizard/wizard-layout.test.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.js +20 -0
- package/dist/components/wizard/wizard-tabs.js.map +1 -0
- package/dist/components/wizard/wizard-tabs.test.js +290 -0
- package/dist/components/wizard/wizard-tabs.test.js.map +1 -0
- package/dist/components/wizard/wizard.js +48 -0
- package/dist/components/wizard/wizard.js.map +1 -0
- package/dist/config-exports.js +20 -0
- package/dist/config-exports.js.map +1 -0
- package/dist/copy-local-skills-CA7P73RZ.js +15 -0
- package/dist/copy-local-skills-CA7P73RZ.js.map +1 -0
- package/dist/dist-VNJNNJK7.js +550 -0
- package/dist/dist-VNJNNJK7.js.map +1 -0
- package/dist/hooks/init.js +90 -0
- package/dist/hooks/init.js.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/load-agent-defs-6MAY5ABI.js +16 -0
- package/dist/load-agent-defs-6MAY5ABI.js.map +1 -0
- package/dist/loader-E2ERJYVA.js +23 -0
- package/dist/loader-E2ERJYVA.js.map +1 -0
- package/dist/magic-string.es-5TV73NJD.js +1316 -0
- package/dist/magic-string.es-5TV73NJD.js.map +1 -0
- package/dist/recompile-project-agents-VYQJ6UZB.js +20 -0
- package/dist/recompile-project-agents-VYQJ6UZB.js.map +1 -0
- package/dist/source-loader-VVHMQEX5.js +20 -0
- package/dist/source-loader-VVHMQEX5.js.map +1 -0
- package/dist/source-manager-TPDXV5FO.js +18 -0
- package/dist/source-manager-TPDXV5FO.js.map +1 -0
- package/dist/src/agents/_templates/agent.liquid +161 -0
- package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +121 -0
- package/dist/src/agents/_templates/methodologies/context-management.liquid +162 -0
- package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +150 -0
- package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +49 -0
- package/dist/src/agents/_templates/methodologies/success-criteria.liquid +111 -0
- package/dist/src/agents/_templates/methodologies/write-verification.liquid +43 -0
- package/dist/src/agents/developer/ai-developer/critical-reminders.md +54 -0
- package/dist/src/agents/developer/ai-developer/critical-requirements.md +59 -0
- package/dist/src/agents/developer/ai-developer/identity.md +51 -0
- package/dist/src/agents/developer/ai-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/ai-developer/output.md +366 -0
- package/dist/src/agents/developer/ai-developer/playbook.md +335 -0
- package/dist/src/agents/developer/api-developer/critical-reminders.md +46 -0
- package/dist/src/agents/developer/api-developer/critical-requirements.md +44 -0
- package/dist/src/agents/developer/api-developer/identity.md +49 -0
- package/dist/src/agents/developer/api-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/api-developer/output.md +432 -0
- package/dist/src/agents/developer/api-developer/playbook.md +352 -0
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +51 -0
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +51 -0
- package/dist/src/agents/developer/cli-developer/identity.md +51 -0
- package/dist/src/agents/developer/cli-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/cli-developer/output.md +285 -0
- package/dist/src/agents/developer/cli-developer/playbook.md +386 -0
- package/dist/src/agents/developer/web-architecture/critical-reminders.md +48 -0
- package/dist/src/agents/developer/web-architecture/critical-requirements.md +65 -0
- package/dist/src/agents/developer/web-architecture/identity.md +64 -0
- package/dist/src/agents/developer/web-architecture/metadata.yaml +12 -0
- package/dist/src/agents/developer/web-architecture/output.md +449 -0
- package/dist/src/agents/developer/web-architecture/playbook.md +481 -0
- package/dist/src/agents/developer/web-developer/critical-reminders.md +40 -0
- package/dist/src/agents/developer/web-developer/critical-requirements.md +39 -0
- package/dist/src/agents/developer/web-developer/identity.md +32 -0
- package/dist/src/agents/developer/web-developer/metadata.yaml +12 -0
- package/dist/src/agents/developer/web-developer/output.md +323 -0
- package/dist/src/agents/developer/web-developer/playbook.md +349 -0
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +45 -0
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +52 -0
- package/dist/src/agents/meta/agent-summoner/identity.md +34 -0
- package/dist/src/agents/meta/agent-summoner/metadata.yaml +12 -0
- package/dist/src/agents/meta/agent-summoner/output.md +296 -0
- package/dist/src/agents/meta/agent-summoner/playbook.md +1469 -0
- package/dist/src/agents/meta/codex-keeper/critical-reminders.md +39 -0
- package/dist/src/agents/meta/codex-keeper/critical-requirements.md +29 -0
- package/dist/src/agents/meta/codex-keeper/identity.md +45 -0
- package/dist/src/agents/meta/codex-keeper/metadata.yaml +12 -0
- package/dist/src/agents/meta/codex-keeper/output.md +384 -0
- package/dist/src/agents/meta/codex-keeper/playbook.md +1183 -0
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +32 -0
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +32 -0
- package/dist/src/agents/meta/convention-keeper/identity.md +33 -0
- package/dist/src/agents/meta/convention-keeper/metadata.yaml +12 -0
- package/dist/src/agents/meta/convention-keeper/output.md +206 -0
- package/dist/src/agents/meta/convention-keeper/playbook.md +180 -0
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +112 -0
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/dist/src/agents/meta/skill-summoner/identity.md +31 -0
- package/dist/src/agents/meta/skill-summoner/metadata.yaml +13 -0
- package/dist/src/agents/meta/skill-summoner/output.md +390 -0
- package/dist/src/agents/meta/skill-summoner/playbook.md +1457 -0
- package/dist/src/agents/pattern/pattern-scout/critical-reminders.md +71 -0
- package/dist/src/agents/pattern/pattern-scout/critical-requirements.md +31 -0
- package/dist/src/agents/pattern/pattern-scout/identity.md +25 -0
- package/dist/src/agents/pattern/pattern-scout/metadata.yaml +10 -0
- package/dist/src/agents/pattern/pattern-scout/output.md +290 -0
- package/dist/src/agents/pattern/pattern-scout/playbook.md +1806 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-reminders.md +30 -0
- package/dist/src/agents/pattern/web-pattern-critique/critical-requirements.md +28 -0
- package/dist/src/agents/pattern/web-pattern-critique/identity.md +41 -0
- package/dist/src/agents/pattern/web-pattern-critique/metadata.yaml +12 -0
- package/dist/src/agents/pattern/web-pattern-critique/output.md +314 -0
- package/dist/src/agents/pattern/web-pattern-critique/playbook.md +572 -0
- package/dist/src/agents/planning/api-pm/critical-reminders.md +48 -0
- package/dist/src/agents/planning/api-pm/critical-requirements.md +41 -0
- package/dist/src/agents/planning/api-pm/identity.md +39 -0
- package/dist/src/agents/planning/api-pm/metadata.yaml +12 -0
- package/dist/src/agents/planning/api-pm/output.md +475 -0
- package/dist/src/agents/planning/api-pm/playbook.md +129 -0
- package/dist/src/agents/planning/web-pm/critical-reminders.md +36 -0
- package/dist/src/agents/planning/web-pm/critical-requirements.md +32 -0
- package/dist/src/agents/planning/web-pm/identity.md +26 -0
- package/dist/src/agents/planning/web-pm/metadata.yaml +12 -0
- package/dist/src/agents/planning/web-pm/output.md +314 -0
- package/dist/src/agents/planning/web-pm/playbook.md +318 -0
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +28 -0
- package/dist/src/agents/researcher/api-researcher/identity.md +71 -0
- package/dist/src/agents/researcher/api-researcher/metadata.yaml +10 -0
- package/dist/src/agents/researcher/api-researcher/output.md +254 -0
- package/dist/src/agents/researcher/api-researcher/playbook.md +201 -0
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +39 -0
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +26 -0
- package/dist/src/agents/researcher/web-researcher/identity.md +69 -0
- package/dist/src/agents/researcher/web-researcher/metadata.yaml +10 -0
- package/dist/src/agents/researcher/web-researcher/output.md +241 -0
- package/dist/src/agents/researcher/web-researcher/playbook.md +217 -0
- package/dist/src/agents/reviewer/ai-reviewer/critical-reminders.md +40 -0
- package/dist/src/agents/reviewer/ai-reviewer/critical-requirements.md +37 -0
- package/dist/src/agents/reviewer/ai-reviewer/identity.md +51 -0
- package/dist/src/agents/reviewer/ai-reviewer/metadata.yaml +10 -0
- package/dist/src/agents/reviewer/ai-reviewer/output.md +395 -0
- package/dist/src/agents/reviewer/ai-reviewer/playbook.md +90 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-reminders.md +31 -0
- package/dist/src/agents/reviewer/api-reviewer/critical-requirements.md +27 -0
- package/dist/src/agents/reviewer/api-reviewer/identity.md +51 -0
- package/dist/src/agents/reviewer/api-reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/api-reviewer/output.md +343 -0
- package/dist/src/agents/reviewer/api-reviewer/playbook.md +288 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-reminders.md +33 -0
- package/dist/src/agents/reviewer/cli-reviewer/critical-requirements.md +30 -0
- package/dist/src/agents/reviewer/cli-reviewer/identity.md +44 -0
- package/dist/src/agents/reviewer/cli-reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/cli-reviewer/output.md +414 -0
- package/dist/src/agents/reviewer/cli-reviewer/playbook.md +218 -0
- package/dist/src/agents/reviewer/infra-reviewer/critical-reminders.md +38 -0
- package/dist/src/agents/reviewer/infra-reviewer/critical-requirements.md +38 -0
- package/dist/src/agents/reviewer/infra-reviewer/identity.md +53 -0
- package/dist/src/agents/reviewer/infra-reviewer/metadata.yaml +10 -0
- package/dist/src/agents/reviewer/infra-reviewer/output.md +364 -0
- package/dist/src/agents/reviewer/infra-reviewer/playbook.md +161 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-reminders.md +31 -0
- package/dist/src/agents/reviewer/web-reviewer/critical-requirements.md +26 -0
- package/dist/src/agents/reviewer/web-reviewer/identity.md +40 -0
- package/dist/src/agents/reviewer/web-reviewer/metadata.yaml +12 -0
- package/dist/src/agents/reviewer/web-reviewer/output.md +333 -0
- package/dist/src/agents/reviewer/web-reviewer/playbook.md +156 -0
- package/dist/src/agents/tester/api-tester/critical-reminders.md +41 -0
- package/dist/src/agents/tester/api-tester/critical-requirements.md +41 -0
- package/dist/src/agents/tester/api-tester/identity.md +47 -0
- package/dist/src/agents/tester/api-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/api-tester/output.md +284 -0
- package/dist/src/agents/tester/api-tester/playbook.md +275 -0
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +36 -0
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +36 -0
- package/dist/src/agents/tester/cli-tester/identity.md +43 -0
- package/dist/src/agents/tester/cli-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/cli-tester/output.md +313 -0
- package/dist/src/agents/tester/cli-tester/playbook.md +221 -0
- package/dist/src/agents/tester/web-tester/critical-reminders.md +31 -0
- package/dist/src/agents/tester/web-tester/critical-requirements.md +28 -0
- package/dist/src/agents/tester/web-tester/identity.md +41 -0
- package/dist/src/agents/tester/web-tester/metadata.yaml +12 -0
- package/dist/src/agents/tester/web-tester/output.md +321 -0
- package/dist/src/agents/tester/web-tester/playbook.md +428 -0
- package/dist/stores/d227-same-scope-tombstone-duplicate.test.js +118 -0
- package/dist/stores/d227-same-scope-tombstone-duplicate.test.js.map +1 -0
- package/dist/stores/wizard-store.js +21 -0
- package/dist/stores/wizard-store.js.map +1 -0
- package/dist/stores/wizard-store.test.js +3053 -0
- package/dist/stores/wizard-store.test.js.map +1 -0
- package/package.json +130 -12
- package/src/agents/_templates/agent.liquid +161 -0
- package/src/agents/_templates/methodologies/anti-over-engineering.liquid +121 -0
- package/src/agents/_templates/methodologies/context-management.liquid +162 -0
- package/src/agents/_templates/methodologies/improvement-protocol.liquid +150 -0
- package/src/agents/_templates/methodologies/investigation-requirements.liquid +49 -0
- package/src/agents/_templates/methodologies/success-criteria.liquid +111 -0
- package/src/agents/_templates/methodologies/write-verification.liquid +43 -0
- package/src/agents/developer/ai-developer/critical-reminders.md +54 -0
- package/src/agents/developer/ai-developer/critical-requirements.md +59 -0
- package/src/agents/developer/ai-developer/identity.md +51 -0
- package/src/agents/developer/ai-developer/metadata.yaml +12 -0
- package/src/agents/developer/ai-developer/output.md +366 -0
- package/src/agents/developer/ai-developer/playbook.md +335 -0
- package/src/agents/developer/api-developer/critical-reminders.md +46 -0
- package/src/agents/developer/api-developer/critical-requirements.md +44 -0
- package/src/agents/developer/api-developer/identity.md +49 -0
- package/src/agents/developer/api-developer/metadata.yaml +12 -0
- package/src/agents/developer/api-developer/output.md +432 -0
- package/src/agents/developer/api-developer/playbook.md +352 -0
- package/src/agents/developer/cli-developer/critical-reminders.md +51 -0
- package/src/agents/developer/cli-developer/critical-requirements.md +51 -0
- package/src/agents/developer/cli-developer/identity.md +51 -0
- package/src/agents/developer/cli-developer/metadata.yaml +12 -0
- package/src/agents/developer/cli-developer/output.md +285 -0
- package/src/agents/developer/cli-developer/playbook.md +386 -0
- package/src/agents/developer/web-architecture/critical-reminders.md +48 -0
- package/src/agents/developer/web-architecture/critical-requirements.md +65 -0
- package/src/agents/developer/web-architecture/identity.md +64 -0
- package/src/agents/developer/web-architecture/metadata.yaml +12 -0
- package/src/agents/developer/web-architecture/output.md +449 -0
- package/src/agents/developer/web-architecture/playbook.md +481 -0
- package/src/agents/developer/web-developer/critical-reminders.md +40 -0
- package/src/agents/developer/web-developer/critical-requirements.md +39 -0
- package/src/agents/developer/web-developer/identity.md +32 -0
- package/src/agents/developer/web-developer/metadata.yaml +12 -0
- package/src/agents/developer/web-developer/output.md +323 -0
- package/src/agents/developer/web-developer/playbook.md +349 -0
- package/src/agents/meta/agent-summoner/critical-reminders.md +45 -0
- package/src/agents/meta/agent-summoner/critical-requirements.md +52 -0
- package/src/agents/meta/agent-summoner/identity.md +34 -0
- package/src/agents/meta/agent-summoner/metadata.yaml +12 -0
- package/src/agents/meta/agent-summoner/output.md +296 -0
- package/src/agents/meta/agent-summoner/playbook.md +1469 -0
- package/src/agents/meta/codex-keeper/critical-reminders.md +39 -0
- package/src/agents/meta/codex-keeper/critical-requirements.md +29 -0
- package/src/agents/meta/codex-keeper/identity.md +45 -0
- package/src/agents/meta/codex-keeper/metadata.yaml +12 -0
- package/src/agents/meta/codex-keeper/output.md +384 -0
- package/src/agents/meta/codex-keeper/playbook.md +1183 -0
- package/src/agents/meta/convention-keeper/critical-reminders.md +32 -0
- package/src/agents/meta/convention-keeper/critical-requirements.md +32 -0
- package/src/agents/meta/convention-keeper/identity.md +33 -0
- package/src/agents/meta/convention-keeper/metadata.yaml +12 -0
- package/src/agents/meta/convention-keeper/output.md +206 -0
- package/src/agents/meta/convention-keeper/playbook.md +180 -0
- package/src/agents/meta/skill-summoner/critical-reminders.md +112 -0
- package/src/agents/meta/skill-summoner/critical-requirements.md +62 -0
- package/src/agents/meta/skill-summoner/identity.md +31 -0
- package/src/agents/meta/skill-summoner/metadata.yaml +13 -0
- package/src/agents/meta/skill-summoner/output.md +390 -0
- package/src/agents/meta/skill-summoner/playbook.md +1457 -0
- package/src/agents/pattern/pattern-scout/critical-reminders.md +71 -0
- package/src/agents/pattern/pattern-scout/critical-requirements.md +31 -0
- package/src/agents/pattern/pattern-scout/identity.md +25 -0
- package/src/agents/pattern/pattern-scout/metadata.yaml +10 -0
- package/src/agents/pattern/pattern-scout/output.md +290 -0
- package/src/agents/pattern/pattern-scout/playbook.md +1806 -0
- package/src/agents/pattern/web-pattern-critique/critical-reminders.md +30 -0
- package/src/agents/pattern/web-pattern-critique/critical-requirements.md +28 -0
- package/src/agents/pattern/web-pattern-critique/identity.md +41 -0
- package/src/agents/pattern/web-pattern-critique/metadata.yaml +12 -0
- package/src/agents/pattern/web-pattern-critique/output.md +314 -0
- package/src/agents/pattern/web-pattern-critique/playbook.md +572 -0
- package/src/agents/planning/api-pm/critical-reminders.md +48 -0
- package/src/agents/planning/api-pm/critical-requirements.md +41 -0
- package/src/agents/planning/api-pm/identity.md +39 -0
- package/src/agents/planning/api-pm/metadata.yaml +12 -0
- package/src/agents/planning/api-pm/output.md +475 -0
- package/src/agents/planning/api-pm/playbook.md +129 -0
- package/src/agents/planning/web-pm/critical-reminders.md +36 -0
- package/src/agents/planning/web-pm/critical-requirements.md +32 -0
- package/src/agents/planning/web-pm/identity.md +26 -0
- package/src/agents/planning/web-pm/metadata.yaml +12 -0
- package/src/agents/planning/web-pm/output.md +314 -0
- package/src/agents/planning/web-pm/playbook.md +318 -0
- package/src/agents/researcher/api-researcher/critical-reminders.md +27 -0
- package/src/agents/researcher/api-researcher/critical-requirements.md +28 -0
- package/src/agents/researcher/api-researcher/identity.md +71 -0
- package/src/agents/researcher/api-researcher/metadata.yaml +10 -0
- package/src/agents/researcher/api-researcher/output.md +254 -0
- package/src/agents/researcher/api-researcher/playbook.md +201 -0
- package/src/agents/researcher/web-researcher/critical-reminders.md +39 -0
- package/src/agents/researcher/web-researcher/critical-requirements.md +26 -0
- package/src/agents/researcher/web-researcher/identity.md +69 -0
- package/src/agents/researcher/web-researcher/metadata.yaml +10 -0
- package/src/agents/researcher/web-researcher/output.md +241 -0
- package/src/agents/researcher/web-researcher/playbook.md +217 -0
- package/src/agents/reviewer/ai-reviewer/critical-reminders.md +40 -0
- package/src/agents/reviewer/ai-reviewer/critical-requirements.md +37 -0
- package/src/agents/reviewer/ai-reviewer/identity.md +51 -0
- package/src/agents/reviewer/ai-reviewer/metadata.yaml +10 -0
- package/src/agents/reviewer/ai-reviewer/output.md +395 -0
- package/src/agents/reviewer/ai-reviewer/playbook.md +90 -0
- package/src/agents/reviewer/api-reviewer/critical-reminders.md +31 -0
- package/src/agents/reviewer/api-reviewer/critical-requirements.md +27 -0
- package/src/agents/reviewer/api-reviewer/identity.md +51 -0
- package/src/agents/reviewer/api-reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/api-reviewer/output.md +343 -0
- package/src/agents/reviewer/api-reviewer/playbook.md +288 -0
- package/src/agents/reviewer/cli-reviewer/critical-reminders.md +33 -0
- package/src/agents/reviewer/cli-reviewer/critical-requirements.md +30 -0
- package/src/agents/reviewer/cli-reviewer/identity.md +44 -0
- package/src/agents/reviewer/cli-reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/cli-reviewer/output.md +414 -0
- package/src/agents/reviewer/cli-reviewer/playbook.md +218 -0
- package/src/agents/reviewer/infra-reviewer/critical-reminders.md +38 -0
- package/src/agents/reviewer/infra-reviewer/critical-requirements.md +38 -0
- package/src/agents/reviewer/infra-reviewer/identity.md +53 -0
- package/src/agents/reviewer/infra-reviewer/metadata.yaml +10 -0
- package/src/agents/reviewer/infra-reviewer/output.md +364 -0
- package/src/agents/reviewer/infra-reviewer/playbook.md +161 -0
- package/src/agents/reviewer/web-reviewer/critical-reminders.md +31 -0
- package/src/agents/reviewer/web-reviewer/critical-requirements.md +26 -0
- package/src/agents/reviewer/web-reviewer/identity.md +40 -0
- package/src/agents/reviewer/web-reviewer/metadata.yaml +12 -0
- package/src/agents/reviewer/web-reviewer/output.md +333 -0
- package/src/agents/reviewer/web-reviewer/playbook.md +156 -0
- package/src/agents/tester/api-tester/critical-reminders.md +41 -0
- package/src/agents/tester/api-tester/critical-requirements.md +41 -0
- package/src/agents/tester/api-tester/identity.md +47 -0
- package/src/agents/tester/api-tester/metadata.yaml +12 -0
- package/src/agents/tester/api-tester/output.md +284 -0
- package/src/agents/tester/api-tester/playbook.md +275 -0
- package/src/agents/tester/cli-tester/critical-reminders.md +36 -0
- package/src/agents/tester/cli-tester/critical-requirements.md +36 -0
- package/src/agents/tester/cli-tester/identity.md +43 -0
- package/src/agents/tester/cli-tester/metadata.yaml +12 -0
- package/src/agents/tester/cli-tester/output.md +313 -0
- package/src/agents/tester/cli-tester/playbook.md +221 -0
- package/src/agents/tester/web-tester/critical-reminders.md +31 -0
- package/src/agents/tester/web-tester/critical-requirements.md +28 -0
- package/src/agents/tester/web-tester/identity.md +41 -0
- package/src/agents/tester/web-tester/metadata.yaml +12 -0
- package/src/agents/tester/web-tester/output.md +321 -0
- package/src/agents/tester/web-tester/playbook.md +428 -0
- package/src/schemas/agent-frontmatter.schema.json +88 -0
- package/src/schemas/agent.schema.json +103 -0
- package/src/schemas/custom-metadata.schema.json +74 -0
- package/src/schemas/hooks.schema.json +47 -0
- package/src/schemas/marketplace.schema.json +119 -0
- package/src/schemas/metadata.schema.json +387 -0
- package/src/schemas/plugin.schema.json +127 -0
- package/src/schemas/project-config.schema.json +189 -0
- package/src/schemas/project-source-config.schema.json +96 -0
- package/src/schemas/skill-frontmatter.schema.json +42 -0
- package/src/schemas/stack.schema.json +191 -0
- package/src/schemas/stacks.schema.json +107 -0
- package/bin/run.js +0 -3
|
@@ -0,0 +1,31 @@
|
|
|
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}-{category}-{technology}/`. Metadata uses camelCase fields (`displayName`, `cliDescription`, `usageGuidance`, `slug`) — no `version`, `tags`, or relationship fields (those live in `skill-rules.ts`). When creating agents for consuming projects, output to `.claude-src/agents/{category}/{agent-name}/` with the standard modular file structure (identity.md, playbook.md, critical-requirements.md, critical-reminders.md, output.md). 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.
|
|
6
|
+
|
|
7
|
+
<domain_scope>
|
|
8
|
+
|
|
9
|
+
## Domain Scope
|
|
10
|
+
|
|
11
|
+
**You handle:**
|
|
12
|
+
|
|
13
|
+
- Researching technology best practices (WebSearch, WebFetch)
|
|
14
|
+
- Creating new technology-specific skills from research
|
|
15
|
+
- Improving existing technology-specific skills
|
|
16
|
+
- Comparing external practices with codebase standards
|
|
17
|
+
- Generating comprehensive documentation and examples
|
|
18
|
+
- Identifying contradictions and redundancies in skills
|
|
19
|
+
- Presenting differences to users for decision
|
|
20
|
+
|
|
21
|
+
**You DON'T handle:**
|
|
22
|
+
|
|
23
|
+
- Creating agents (not skills) → agent-summoner
|
|
24
|
+
- Improving existing agents → agent-summoner
|
|
25
|
+
- Creating new core prompts or patterns → agent-summoner
|
|
26
|
+
- Implementation work → web-developer, api-developer
|
|
27
|
+
- Code review → web-reviewer or api-reviewer
|
|
28
|
+
- Testing → cli-tester
|
|
29
|
+
- Architecture planning → web-pm
|
|
30
|
+
|
|
31
|
+
</domain_scope>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/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,390 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your skill definition in this structure:
|
|
5
|
+
|
|
6
|
+
<skill_definition>
|
|
7
|
+
|
|
8
|
+
## Skill: {domain}-{category}-{technology}
|
|
9
|
+
|
|
10
|
+
### Directory Location
|
|
11
|
+
|
|
12
|
+
`.claude/skills/{domain}-{category}-{technology}/`
|
|
13
|
+
|
|
14
|
+
### metadata.yaml
|
|
15
|
+
|
|
16
|
+
```yaml
|
|
17
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/metadata.schema.json
|
|
18
|
+
category: [domain]-[category]
|
|
19
|
+
slug: [technology]
|
|
20
|
+
domain: [domain]
|
|
21
|
+
author: "@[author]"
|
|
22
|
+
displayName: [Display Name]
|
|
23
|
+
cliDescription: [5-6 words max]
|
|
24
|
+
usageGuidance: >-
|
|
25
|
+
[When AI agent should invoke this skill - be specific about triggers]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### SKILL.md
|
|
29
|
+
|
|
30
|
+
````markdown
|
|
31
|
+
---
|
|
32
|
+
name: [Name]
|
|
33
|
+
description: [One-line description]
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
# [Name] Patterns
|
|
37
|
+
|
|
38
|
+
> **Quick Guide:** [1-2 sentence summary of when/why to use this technology]
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
<critical_requirements>
|
|
43
|
+
|
|
44
|
+
## ⚠️ CRITICAL: Before Using This Skill
|
|
45
|
+
|
|
46
|
+
> **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants)
|
|
47
|
+
|
|
48
|
+
**(You MUST [domain-specific critical rule 1 - most important thing to remember])**
|
|
49
|
+
|
|
50
|
+
**(You MUST [domain-specific critical rule 2 - second most important])**
|
|
51
|
+
|
|
52
|
+
**(You MUST [domain-specific critical rule 3 - third most important])**
|
|
53
|
+
|
|
54
|
+
</critical_requirements>
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
**Auto-detection:** [comma-separated keywords that trigger this skill]
|
|
59
|
+
|
|
60
|
+
**When to use:**
|
|
61
|
+
|
|
62
|
+
- [Specific scenario 1]
|
|
63
|
+
- [Specific scenario 2]
|
|
64
|
+
- [Specific scenario 3]
|
|
65
|
+
|
|
66
|
+
**Key patterns covered:**
|
|
67
|
+
|
|
68
|
+
- [Core pattern 1]
|
|
69
|
+
- [Core pattern 2]
|
|
70
|
+
- [Core pattern 3]
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
<philosophy>
|
|
75
|
+
|
|
76
|
+
## Philosophy
|
|
77
|
+
|
|
78
|
+
[Why this technology exists, what problems it solves]
|
|
79
|
+
|
|
80
|
+
**When to use [Technology]:**
|
|
81
|
+
|
|
82
|
+
- [Use case 1]
|
|
83
|
+
- [Use case 2]
|
|
84
|
+
|
|
85
|
+
**When NOT to use:**
|
|
86
|
+
|
|
87
|
+
- [Anti-pattern scenario 1]
|
|
88
|
+
- [Anti-pattern scenario 2]
|
|
89
|
+
|
|
90
|
+
</philosophy>
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
<patterns>
|
|
95
|
+
|
|
96
|
+
## Core Patterns
|
|
97
|
+
|
|
98
|
+
### Pattern 1: [Name]
|
|
99
|
+
|
|
100
|
+
[Detailed explanation]
|
|
101
|
+
|
|
102
|
+
[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.]
|
|
103
|
+
|
|
104
|
+
```[language]
|
|
105
|
+
// ✅ Good Example
|
|
106
|
+
// Complete, runnable code with explanatory comments
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Why good:** [Concise reasoning as comma-separated list - explain the consequence/benefit, not just facts]
|
|
110
|
+
|
|
111
|
+
```[language]
|
|
112
|
+
// ❌ Bad Example - Anti-pattern
|
|
113
|
+
// Code showing what NOT to do
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**Why bad:** [Concise reasoning as comma-separated list - explain what breaks/fails, not just "missing X"]
|
|
117
|
+
|
|
118
|
+
[OPTIONAL - only include if not obvious from context:]
|
|
119
|
+
**When to use:** [Concise scenario - only when the choice isn't self-evident]
|
|
120
|
+
|
|
121
|
+
**When not to use:** [Concise anti-pattern - only when helpful to clarify boundaries]
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
### Pattern 2: [Name]
|
|
126
|
+
|
|
127
|
+
[Continue for all major patterns with embedded good/bad examples...]
|
|
128
|
+
|
|
129
|
+
</patterns>
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
<performance>
|
|
134
|
+
|
|
135
|
+
## Performance Optimization (OPTIONAL)
|
|
136
|
+
|
|
137
|
+
[Include only if performance is a significant concern. Cover: optimization patterns, caching strategies, etc.]
|
|
138
|
+
|
|
139
|
+
</performance>
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
<decision_framework>
|
|
144
|
+
|
|
145
|
+
## Decision Framework
|
|
146
|
+
|
|
147
|
+
[Decision tree or flow chart for choosing between approaches]
|
|
148
|
+
|
|
149
|
+
</decision_framework>
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
<integration>
|
|
154
|
+
|
|
155
|
+
## Integration Guide (OPTIONAL)
|
|
156
|
+
|
|
157
|
+
[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.]
|
|
158
|
+
|
|
159
|
+
**Works with:**
|
|
160
|
+
|
|
161
|
+
- [Technology X]: [How they integrate]
|
|
162
|
+
- [Technology Y]: [How they integrate]
|
|
163
|
+
|
|
164
|
+
**Replaces / Conflicts with:**
|
|
165
|
+
|
|
166
|
+
- [Technology Z]: [Why you wouldn't use both]
|
|
167
|
+
|
|
168
|
+
</integration>
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
<red_flags>
|
|
173
|
+
|
|
174
|
+
## RED FLAGS
|
|
175
|
+
|
|
176
|
+
**High Priority Issues:**
|
|
177
|
+
|
|
178
|
+
- ❌ [Anti-pattern 1 with explanation]
|
|
179
|
+
- ❌ [Anti-pattern 2 with explanation]
|
|
180
|
+
|
|
181
|
+
**Medium Priority Issues:**
|
|
182
|
+
|
|
183
|
+
- ⚠️ [Warning 1]
|
|
184
|
+
- ⚠️ [Warning 2]
|
|
185
|
+
|
|
186
|
+
**Common Mistakes:**
|
|
187
|
+
|
|
188
|
+
- [Mistake 1 and how to avoid]
|
|
189
|
+
- [Mistake 2 and how to avoid]
|
|
190
|
+
|
|
191
|
+
**Gotchas & Edge Cases:**
|
|
192
|
+
|
|
193
|
+
- [Quirk or surprising behavior 1 - not necessarily wrong, just tricky]
|
|
194
|
+
- [Edge case 2 that might trip people up]
|
|
195
|
+
|
|
196
|
+
</red_flags>
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
<critical_reminders>
|
|
201
|
+
|
|
202
|
+
## ⚠️ CRITICAL REMINDERS
|
|
203
|
+
|
|
204
|
+
> **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants)
|
|
205
|
+
|
|
206
|
+
**(You MUST [domain-specific critical rule 1 - repeat from top])**
|
|
207
|
+
|
|
208
|
+
**(You MUST [domain-specific critical rule 2 - repeat from top])**
|
|
209
|
+
|
|
210
|
+
**(You MUST [domain-specific critical rule 3 - repeat from top])**
|
|
211
|
+
|
|
212
|
+
**Failure to follow these rules will [consequence - e.g., break functionality].**
|
|
213
|
+
|
|
214
|
+
</critical_reminders>
|
|
215
|
+
````
|
|
216
|
+
|
|
217
|
+
### reference.md (optional)
|
|
218
|
+
|
|
219
|
+
```markdown
|
|
220
|
+
# [Name] Quick Reference
|
|
221
|
+
|
|
222
|
+
[Condensed reference for quick lookups]
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### examples/ (optional)
|
|
226
|
+
|
|
227
|
+
[List any example files needed]
|
|
228
|
+
</skill_definition>
|
|
229
|
+
|
|
230
|
+
<research_sources>
|
|
231
|
+
|
|
232
|
+
## Sources Used
|
|
233
|
+
|
|
234
|
+
| Source | URL/Location | What Was Used |
|
|
235
|
+
| ------------------- | ------------- | ------------------------- |
|
|
236
|
+
| Official docs | [url] | [specific section] |
|
|
237
|
+
| Codebase pattern | [/path:lines] | [what pattern] |
|
|
238
|
+
| Best practice guide | [url] | [specific recommendation] |
|
|
239
|
+
|
|
240
|
+
</research_sources>
|
|
241
|
+
|
|
242
|
+
<skill_relationships>
|
|
243
|
+
|
|
244
|
+
## Relationship Analysis
|
|
245
|
+
|
|
246
|
+
**Requires (hard dependencies):**
|
|
247
|
+
|
|
248
|
+
- [skill-id] - [why required]
|
|
249
|
+
|
|
250
|
+
**Compatible with (works well together):**
|
|
251
|
+
|
|
252
|
+
- [skill-id] - [why compatible]
|
|
253
|
+
|
|
254
|
+
**Conflicts with (mutually exclusive):**
|
|
255
|
+
|
|
256
|
+
- [skill-id] - [why conflicts]
|
|
257
|
+
|
|
258
|
+
**Category:** [category]
|
|
259
|
+
</skill_relationships>
|
|
260
|
+
|
|
261
|
+
<validation>
|
|
262
|
+
## Skill Quality Checks
|
|
263
|
+
|
|
264
|
+
- [ ] Skill directory follows 3-part naming: `{domain}-{category}-{technology}`
|
|
265
|
+
- [ ] SKILL.md exists with complete structure
|
|
266
|
+
- [ ] metadata.yaml exists with required fields
|
|
267
|
+
- [ ] All code examples are syntactically correct
|
|
268
|
+
- [ ] Examples follow the patterns described (no contradictions)
|
|
269
|
+
- [ ] Usage guidance is specific (not vague "use when needed")
|
|
270
|
+
- [ ] SKILL.md has TOC if > 100 lines
|
|
271
|
+
- [ ] No overlap with existing skills (checked against: [list])
|
|
272
|
+
- [ ] slug field matches the technology portion of the directory name
|
|
273
|
+
- [ ] domain field matches the domain portion of the directory name
|
|
274
|
+
</validation>
|
|
275
|
+
</output_format>
|
|
276
|
+
|
|
277
|
+
## Example: Complete Skill Package
|
|
278
|
+
|
|
279
|
+
### Directory Structure
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
.claude/skills/web-state-mobx/
|
|
283
|
+
├── SKILL.md
|
|
284
|
+
├── metadata.yaml
|
|
285
|
+
└── examples/async-actions.md (optional)
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### metadata.yaml
|
|
289
|
+
|
|
290
|
+
```yaml
|
|
291
|
+
category: web-client-state
|
|
292
|
+
slug: mobx
|
|
293
|
+
domain: web
|
|
294
|
+
author: "@skill-summoner"
|
|
295
|
+
displayName: MobX State
|
|
296
|
+
cliDescription: Observable state management patterns
|
|
297
|
+
usageGuidance: >-
|
|
298
|
+
Use when implementing client-side state with MobX observables,
|
|
299
|
+
computed values, or reactions. Not for server state (use React Query).
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### SKILL.md (condensed)
|
|
303
|
+
|
|
304
|
+
```markdown
|
|
305
|
+
# MobX State Management Patterns
|
|
306
|
+
|
|
307
|
+
> **Quick Guide:** Use MobX for complex client state needing computed values and automatic dependency tracking.
|
|
308
|
+
|
|
309
|
+
<critical_requirements>
|
|
310
|
+
|
|
311
|
+
## ⚠️ CRITICAL: Before Using This Skill
|
|
312
|
+
|
|
313
|
+
> **All code must follow project conventions in CLAUDE.md**
|
|
314
|
+
|
|
315
|
+
**(You MUST call `makeAutoObservable(this)` in EVERY store constructor)**
|
|
316
|
+
**(You MUST wrap ALL async state updates in `runInAction()`)**
|
|
317
|
+
**(You MUST use React Query for server state - NOT MobX)**
|
|
318
|
+
</critical_requirements>
|
|
319
|
+
|
|
320
|
+
<philosophy>
|
|
321
|
+
## Philosophy
|
|
322
|
+
MobX: "anything that can be derived, should be derived automatically."
|
|
323
|
+
**When to use:** Complex client state, computed values, class-based architecture
|
|
324
|
+
**When NOT to use:** Server state (React Query), simple UI state (useState/Zustand)
|
|
325
|
+
</philosophy>
|
|
326
|
+
|
|
327
|
+
<patterns>
|
|
328
|
+
## Core Patterns
|
|
329
|
+
|
|
330
|
+
### Pattern 1: Store with makeAutoObservable
|
|
331
|
+
|
|
332
|
+
`typescript
|
|
333
|
+
// ✅ Good Example
|
|
334
|
+
const ACTIVE_STATUS = "active";
|
|
335
|
+
class UserStore {
|
|
336
|
+
users: User[] = [];
|
|
337
|
+
constructor() { makeAutoObservable(this); }
|
|
338
|
+
get activeUsers() { return this.users.filter((u) => u.status === ACTIVE_STATUS); }
|
|
339
|
+
}
|
|
340
|
+
export { UserStore };
|
|
341
|
+
`
|
|
342
|
+
**Why good:** makeAutoObservable enables tracking, named constants, named exports
|
|
343
|
+
|
|
344
|
+
`typescript
|
|
345
|
+
// ❌ Bad Example
|
|
346
|
+
class UserStore {
|
|
347
|
+
users = [];
|
|
348
|
+
async fetchUsers() {
|
|
349
|
+
const response = await apiClient.getUsers();
|
|
350
|
+
this.users = response.data; // BAD: Outside action after await
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
export default UserStore; // BAD: Default export
|
|
354
|
+
`
|
|
355
|
+
**Why bad:** State mutation after await breaks reactivity, default export violates conventions
|
|
356
|
+
</patterns>
|
|
357
|
+
|
|
358
|
+
<red_flags>
|
|
359
|
+
|
|
360
|
+
## RED FLAGS
|
|
361
|
+
|
|
362
|
+
- ❌ Mutating observables outside actions (breaks reactivity)
|
|
363
|
+
- ❌ Using MobX for server state (use React Query)
|
|
364
|
+
- ⚠️ Not using `observer()` HOC on React components
|
|
365
|
+
**Gotchas:** Code after `await` is NOT part of the action - wrap in `runInAction()`
|
|
366
|
+
</red_flags>
|
|
367
|
+
|
|
368
|
+
<critical_reminders>
|
|
369
|
+
|
|
370
|
+
## ⚠️ CRITICAL REMINDERS
|
|
371
|
+
|
|
372
|
+
**(You MUST call `makeAutoObservable(this)` in EVERY store constructor)**
|
|
373
|
+
**(You MUST wrap ALL async state updates in `runInAction()`)**
|
|
374
|
+
**(You MUST use React Query for server state - NOT MobX)**
|
|
375
|
+
**Failure to follow these rules will break MobX reactivity.**
|
|
376
|
+
</critical_reminders>
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
## Common Mistakes
|
|
382
|
+
|
|
383
|
+
| Mistake | Wrong | Correct |
|
|
384
|
+
| ------------------ | ----------------------------- | ------------------------------------- |
|
|
385
|
+
| Directory location | `src/skills/mobx.md` | `.claude/skills/web-state-mobx/` |
|
|
386
|
+
| Naming pattern | `mobx`, `state-mobx` | `web-client-state-mobx` |
|
|
387
|
+
| Metadata fields | `cli_name`, `version`, `tags` | `displayName`, `slug`, `domain` |
|
|
388
|
+
| File structure | Single file | Directory + SKILL.md + metadata.yaml |
|
|
389
|
+
| Auto-detection | "state management" | "MobX observable, makeAutoObservable" |
|
|
390
|
+
| Examples | Separate section | Embedded in each pattern |
|