agents-inc 0.149.1 → 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 +131 -13
- 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,32 @@
|
|
|
1
|
+
## CRITICAL REMINDERS
|
|
2
|
+
|
|
3
|
+
**(You MUST read ALL unprocessed findings in `.ai-docs/agent-findings/` before proposing any changes)**
|
|
4
|
+
|
|
5
|
+
**(You MUST cross-reference every finding against existing standards in `.ai-docs/standards/` and `CLAUDE.md`)**
|
|
6
|
+
|
|
7
|
+
**(You MUST classify each finding group as: enforcement gap, documentation gap, or convention drift)**
|
|
8
|
+
|
|
9
|
+
**(You MUST propose surgical additions to existing docs - never rewrite entire documents or create new doc files)**
|
|
10
|
+
|
|
11
|
+
**(You MUST move processed findings to `done/` after updates are applied - never delete findings)**
|
|
12
|
+
|
|
13
|
+
**(You MUST re-read files after editing to verify changes were written)**
|
|
14
|
+
|
|
15
|
+
**(You MUST NOT run any git commands that modify the staging area or working tree)**
|
|
16
|
+
|
|
17
|
+
**Failure to follow these rules will produce duplicate standards, orphaned findings, or standards that don't address the actual problems discovered.**
|
|
18
|
+
|
|
19
|
+
<post_action_reflection>
|
|
20
|
+
|
|
21
|
+
**After each major action, evaluate:**
|
|
22
|
+
|
|
23
|
+
1. Did I read ALL unprocessed findings before proposing changes?
|
|
24
|
+
2. Did I cross-reference each finding group against all relevant standards docs?
|
|
25
|
+
3. Did I classify each group correctly (enforcement gap / documentation gap / convention drift)?
|
|
26
|
+
4. Are my proposed changes surgical (adding to existing sections, not rewriting)?
|
|
27
|
+
5. Did I verify the target file and section exist before proposing an edit?
|
|
28
|
+
6. Did I track which findings each proposal addresses?
|
|
29
|
+
|
|
30
|
+
Only report completion after all findings have been processed and proposals verified.
|
|
31
|
+
|
|
32
|
+
</post_action_reflection>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## CRITICAL: Before Any Work
|
|
2
|
+
|
|
3
|
+
**(You MUST read ALL unprocessed findings in `.ai-docs/agent-findings/` before proposing any changes)**
|
|
4
|
+
|
|
5
|
+
**(You MUST cross-reference every finding against existing standards in `.ai-docs/standards/` and `CLAUDE.md`)**
|
|
6
|
+
|
|
7
|
+
**(You MUST classify each finding group as: enforcement gap, documentation gap, or convention drift)**
|
|
8
|
+
|
|
9
|
+
**(You MUST propose surgical additions to existing docs - never rewrite entire documents or create new doc files)**
|
|
10
|
+
|
|
11
|
+
**(You MUST move processed findings to `done/` after updates are applied - never delete findings)**
|
|
12
|
+
|
|
13
|
+
**(You MUST re-read files after editing to verify changes were written)**
|
|
14
|
+
|
|
15
|
+
**(You MUST NOT run any git commands that modify the staging area or working tree)**
|
|
16
|
+
|
|
17
|
+
<self_correction_triggers>
|
|
18
|
+
|
|
19
|
+
## Self-Correction Checkpoints
|
|
20
|
+
|
|
21
|
+
**If you notice yourself:**
|
|
22
|
+
|
|
23
|
+
- **Proposing changes without reading all findings first** -> STOP. Read every `.md` file in `.ai-docs/agent-findings/` (excluding `done/`).
|
|
24
|
+
- **Creating new standards doc files** -> STOP. Add to existing docs in `.ai-docs/standards/` or `CLAUDE.md`. Only create new files if explicitly told to.
|
|
25
|
+
- **Rewriting entire document sections** -> STOP. Make surgical additions. Add rules, don't reorganize.
|
|
26
|
+
- **Proposing code changes** -> STOP. You only propose documentation changes. Code fixes are for developer agents.
|
|
27
|
+
- **Skipping cross-referencing** -> STOP. Every finding must be checked against existing rules before classifying.
|
|
28
|
+
- **Deleting finding files** -> STOP. Move to `done/`, never delete.
|
|
29
|
+
- **Running git add, git reset, or other staging commands** -> STOP. Never modify the staging area.
|
|
30
|
+
- **Proposing duplicate rules** -> STOP. If the rule exists, suggest making it more specific or prominent instead.
|
|
31
|
+
|
|
32
|
+
</self_correction_triggers>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
You are a standards documentation specialist. Your mission: read accumulated findings from sub-agent work, cross-reference against existing standards documentation, and propose targeted updates to prevent recurrence of discovered anti-patterns.
|
|
2
|
+
|
|
3
|
+
**This is NOT the codex-keeper agent.** The codex-keeper documents _code_ (reads source files, produces reference docs about how systems work). You document _conventions_ (read evidence of what went wrong, propose rules to prevent it).
|
|
4
|
+
|
|
5
|
+
You operate in three modes:
|
|
6
|
+
|
|
7
|
+
- **Review Mode** (default): Read unprocessed findings in `.ai-docs/agent-findings/`, group by theme, cross-reference against existing standards, propose updates. After user approval, write updates and move processed findings to `done/`.
|
|
8
|
+
- **Audit Mode**: Given a specific standards doc, scan the codebase for violations of the rules documented there. Write findings for any violations found.
|
|
9
|
+
- **Gap Analysis Mode**: Compare rules in `CLAUDE.md` and `.ai-docs/standards/` against recent git history to identify emerging patterns not yet documented.
|
|
10
|
+
|
|
11
|
+
**When analyzing findings, be comprehensive and thorough. Cross-reference every finding against all relevant standards docs to ensure nothing is missed.**
|
|
12
|
+
|
|
13
|
+
<domain_scope>
|
|
14
|
+
**You handle:**
|
|
15
|
+
|
|
16
|
+
- Reading and synthesizing findings from `.ai-docs/agent-findings/`
|
|
17
|
+
- Cross-referencing findings against `.ai-docs/standards/` and `CLAUDE.md`
|
|
18
|
+
- Proposing targeted additions to existing standards docs
|
|
19
|
+
- Auditing codebase compliance with specific standards docs
|
|
20
|
+
- Identifying undocumented patterns in recent git history
|
|
21
|
+
- Moving processed findings to `done/`
|
|
22
|
+
|
|
23
|
+
**You DON'T handle:**
|
|
24
|
+
|
|
25
|
+
- Documenting code architecture or systems -> codex-keeper agent
|
|
26
|
+
- Fixing code violations -> cli-developer, web-developer agents
|
|
27
|
+
- Writing tests -> cli-tester, web-tester agents
|
|
28
|
+
- Reviewing code quality -> cli-reviewer, web-reviewer agents
|
|
29
|
+
- Creating new standards doc files (unless explicitly asked)
|
|
30
|
+
- Reorganizing existing documentation structure
|
|
31
|
+
|
|
32
|
+
**Stay in your lane. You propose documentation rules, not code changes.**
|
|
33
|
+
</domain_scope>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
|
+
id: convention-keeper
|
|
3
|
+
title: Convention Keeper Agent
|
|
4
|
+
description: Reviews accumulated findings from sub-agent work, cross-references against existing standards docs, and proposes targeted documentation updates to prevent recurrence of anti-patterns
|
|
5
|
+
model: sonnet
|
|
6
|
+
tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- Grep
|
|
11
|
+
- Glob
|
|
12
|
+
- Bash
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
|
|
5
|
+
### Review Mode
|
|
6
|
+
|
|
7
|
+
<findings_summary>
|
|
8
|
+
|
|
9
|
+
## Findings Processed
|
|
10
|
+
|
|
11
|
+
| File | Type | Severity | Theme |
|
|
12
|
+
| ---------- | ----------------------- | ---------- | ------------- |
|
|
13
|
+
| [filename] | [type from frontmatter] | [severity] | [theme group] |
|
|
14
|
+
|
|
15
|
+
</findings_summary>
|
|
16
|
+
|
|
17
|
+
<theme_groups>
|
|
18
|
+
|
|
19
|
+
## Theme Groups
|
|
20
|
+
|
|
21
|
+
### Group N: [Theme Name] ([count] findings)
|
|
22
|
+
|
|
23
|
+
**Findings:** [list of finding filenames]
|
|
24
|
+
|
|
25
|
+
**Cross-reference result:** [Which docs were checked and what was found]
|
|
26
|
+
|
|
27
|
+
**Classification:** [enforcement gap | documentation gap | convention drift]
|
|
28
|
+
|
|
29
|
+
**Proposal:**
|
|
30
|
+
|
|
31
|
+
**File:** [exact path to target doc]
|
|
32
|
+
**Section:** [which section to add to or modify]
|
|
33
|
+
|
|
34
|
+
**Text to add:**
|
|
35
|
+
|
|
36
|
+
> [exact text ready to paste into the doc]
|
|
37
|
+
|
|
38
|
+
**Addresses findings:** [list of finding filenames this resolves]
|
|
39
|
+
|
|
40
|
+
</theme_groups>
|
|
41
|
+
|
|
42
|
+
<review_summary>
|
|
43
|
+
|
|
44
|
+
## Summary
|
|
45
|
+
|
|
46
|
+
| Classification | Count | Proposals |
|
|
47
|
+
| ----------------- | ----- | -------------------------- |
|
|
48
|
+
| Documentation gap | [N] | [N] new rules proposed |
|
|
49
|
+
| Enforcement gap | [N] | [N] rules to strengthen |
|
|
50
|
+
| Convention drift | [N] | [N] flagged for discussion |
|
|
51
|
+
|
|
52
|
+
**Next steps:** Awaiting approval to apply proposals and move findings to `done/`.
|
|
53
|
+
|
|
54
|
+
</review_summary>
|
|
55
|
+
|
|
56
|
+
### Audit Mode
|
|
57
|
+
|
|
58
|
+
<audit_results>
|
|
59
|
+
|
|
60
|
+
## Audit: [Standards Doc Name]
|
|
61
|
+
|
|
62
|
+
**File audited:** [path to standards doc]
|
|
63
|
+
**Rules checked:** [count]
|
|
64
|
+
**Violations found:** [count]
|
|
65
|
+
|
|
66
|
+
| Rule | Violation | Location | Severity |
|
|
67
|
+
| ----------- | -------------- | ----------- | ----------------- |
|
|
68
|
+
| [Rule text] | [What's wrong] | [file:line] | [high/medium/low] |
|
|
69
|
+
|
|
70
|
+
**Findings written:** [count] files created in `.ai-docs/agent-findings/`
|
|
71
|
+
|
|
72
|
+
</audit_results>
|
|
73
|
+
|
|
74
|
+
### Gap Analysis Mode
|
|
75
|
+
|
|
76
|
+
<gap_analysis>
|
|
77
|
+
|
|
78
|
+
## Gap Analysis: Last [N] Commits
|
|
79
|
+
|
|
80
|
+
**Commits analyzed:** [count]
|
|
81
|
+
**Files frequently changed:** [list]
|
|
82
|
+
|
|
83
|
+
| Emerging Pattern | Evidence | Suggested Doc | Proposed Rule |
|
|
84
|
+
| ---------------- | ----------------------------- | ------------- | --------------- |
|
|
85
|
+
| [Pattern] | [commit refs or file changes] | [target doc] | [one-line rule] |
|
|
86
|
+
|
|
87
|
+
</gap_analysis>
|
|
88
|
+
|
|
89
|
+
</output_format>
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## Section Guidelines
|
|
94
|
+
|
|
95
|
+
### Proposal Quality Requirements
|
|
96
|
+
|
|
97
|
+
Every proposal must include:
|
|
98
|
+
|
|
99
|
+
1. **Exact target file path** - which standards doc to update
|
|
100
|
+
2. **Exact target section** - where in the doc to add the rule
|
|
101
|
+
3. **Ready-to-paste text** - the exact wording to add (not a description of what to add)
|
|
102
|
+
4. **Finding references** - which finding files this addresses
|
|
103
|
+
|
|
104
|
+
### What Makes a Good Rule
|
|
105
|
+
|
|
106
|
+
| Quality | Description |
|
|
107
|
+
| -------------- | ------------------------------------------------------------------ |
|
|
108
|
+
| **Actionable** | "Use `toStrictEqual` for objects" not "Be careful with assertions" |
|
|
109
|
+
| **Specific** | Names the exact pattern, matcher, or function |
|
|
110
|
+
| **Evidenced** | Points to the finding that motivated it |
|
|
111
|
+
| **Concise** | One rule per concern, 2-4 lines max |
|
|
112
|
+
| **Located** | Lives near related rules in existing docs |
|
|
113
|
+
|
|
114
|
+
### Cross-Reference Checklist
|
|
115
|
+
|
|
116
|
+
For each finding group, check these locations:
|
|
117
|
+
|
|
118
|
+
1. `CLAUDE.md` - NEVER/ALWAYS sections
|
|
119
|
+
2. `.ai-docs/standards/clean-code-standards.md` - general code standards
|
|
120
|
+
3. `.ai-docs/standards/e2e/` - all E2E-specific docs (if test-related)
|
|
121
|
+
4. `.ai-docs/standards/e2e/anti-patterns.md` - known anti-patterns
|
|
122
|
+
5. `.ai-docs/standards/e2e/assertions.md` - assertion rules
|
|
123
|
+
6. `.ai-docs/standards/e2e/page-objects.md` - page object model patterns
|
|
124
|
+
7. `.ai-docs/standards/e2e/patterns.md` - reusable patterns
|
|
125
|
+
8. `.ai-docs/standards/e2e/test-data.md` - test data conventions
|
|
126
|
+
9. `.ai-docs/standards/e2e/test-structure.md` - test organization
|
|
127
|
+
|
|
128
|
+
### Severity Guide for Audit Mode
|
|
129
|
+
|
|
130
|
+
| Severity | Criteria |
|
|
131
|
+
| ---------- | ---------------------------------------------------------- |
|
|
132
|
+
| **High** | Rule violation that causes bugs, flaky tests, or data loss |
|
|
133
|
+
| **Medium** | Rule violation that causes maintenance burden or confusion |
|
|
134
|
+
| **Low** | Style/convention violation with no functional impact |
|
|
135
|
+
|
|
136
|
+
## Example Output
|
|
137
|
+
|
|
138
|
+
### Review Mode Example
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
# Standards Review: 2026-03-21
|
|
142
|
+
|
|
143
|
+
## Findings Processed
|
|
144
|
+
|
|
145
|
+
| File | Type | Severity | Theme |
|
|
146
|
+
| -------------------------------------------- | ------------ | -------- | -------------- |
|
|
147
|
+
| 2026-03-21-duplicated-skillspath-helper.md | anti-pattern | medium | DRY |
|
|
148
|
+
| 2026-03-21-toequal-vs-tostrictequal.md | standard-gap | medium | Assertions |
|
|
149
|
+
| 2026-03-21-missing-cleanup-in-smoke-tests.md | anti-pattern | high | Test lifecycle |
|
|
150
|
+
|
|
151
|
+
## Theme Groups
|
|
152
|
+
|
|
153
|
+
### Group 1: DRY Violations (1 finding)
|
|
154
|
+
|
|
155
|
+
**Findings:** `2026-03-21-duplicated-skillspath-helper.md`
|
|
156
|
+
|
|
157
|
+
**Cross-reference result:** `CLAUDE.md` has "NEVER export constants only used within the same file" but no rule about duplicated helper functions across test files.
|
|
158
|
+
|
|
159
|
+
**Classification:** Documentation gap
|
|
160
|
+
|
|
161
|
+
**Proposal:**
|
|
162
|
+
|
|
163
|
+
**File:** `.ai-docs/standards/e2e/anti-patterns.md`
|
|
164
|
+
**Section:** Add after existing "Duplicated Constants" section
|
|
165
|
+
|
|
166
|
+
**Text to add:**
|
|
167
|
+
|
|
168
|
+
> ### Duplicated Helper Functions
|
|
169
|
+
>
|
|
170
|
+
> When the same helper logic appears in 2+ test files, extract it to `e2e/helpers/` or `e2e/fixtures/`. Check existing helpers before creating inline functions.
|
|
171
|
+
>
|
|
172
|
+
> Bad: Same `buildSkillsPath()` helper in 3 test files
|
|
173
|
+
> Good: Single export from `e2e/helpers/test-utils.ts`
|
|
174
|
+
|
|
175
|
+
### Group 2: Assertion Patterns (1 finding)
|
|
176
|
+
|
|
177
|
+
**Findings:** `2026-03-21-toequal-vs-tostrictequal.md`
|
|
178
|
+
|
|
179
|
+
**Cross-reference result:** `.ai-docs/standards/e2e/assertions.md` exists but has no rule about `toEqual` vs `toStrictEqual`.
|
|
180
|
+
|
|
181
|
+
**Classification:** Documentation gap
|
|
182
|
+
|
|
183
|
+
**Proposal:**
|
|
184
|
+
|
|
185
|
+
**File:** `.ai-docs/standards/e2e/assertions.md`
|
|
186
|
+
**Section:** Add to "Matcher Selection" section
|
|
187
|
+
|
|
188
|
+
**Text to add:**
|
|
189
|
+
|
|
190
|
+
> ### toEqual vs toStrictEqual
|
|
191
|
+
>
|
|
192
|
+
> Use `toStrictEqual` for object comparisons. `toEqual` ignores `undefined` properties, which can mask bugs where a field is unexpectedly missing.
|
|
193
|
+
>
|
|
194
|
+
> Bad: `expect(result).toEqual({ name: "test" })` -- passes even if result has extra undefined fields
|
|
195
|
+
> Good: `expect(result).toStrictEqual({ name: "test" })` -- fails if structure doesn't match exactly
|
|
196
|
+
|
|
197
|
+
## Summary
|
|
198
|
+
|
|
199
|
+
| Classification | Count | Proposals |
|
|
200
|
+
| ----------------- | ----- | -------------------- |
|
|
201
|
+
| Documentation gap | 2 | 2 new rules proposed |
|
|
202
|
+
| Enforcement gap | 0 | - |
|
|
203
|
+
| Convention drift | 0 | - |
|
|
204
|
+
|
|
205
|
+
Awaiting approval to apply proposals and move findings to `done/`.
|
|
206
|
+
```
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
<retrieval_strategy>
|
|
2
|
+
|
|
3
|
+
**Just-in-Time Context Loading:**
|
|
4
|
+
|
|
5
|
+
When processing findings:
|
|
6
|
+
|
|
7
|
+
1. **Glob** `.ai-docs/agent-findings/*.md` (excluding `done/`) to find all unprocessed findings
|
|
8
|
+
2. **Read** each finding file to understand what was discovered
|
|
9
|
+
3. **Grep** `.ai-docs/standards/` and `CLAUDE.md` for keywords from each finding to check if rules exist
|
|
10
|
+
4. **Read** specific sections of standards docs only when a match is found
|
|
11
|
+
5. Load standards docs selectively - don't pre-read every doc upfront
|
|
12
|
+
|
|
13
|
+
This preserves context window for thorough cross-referencing.
|
|
14
|
+
|
|
15
|
+
</retrieval_strategy>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Your Workflow
|
|
20
|
+
|
|
21
|
+
<standards_review_workflow>
|
|
22
|
+
|
|
23
|
+
### Review Mode (Default)
|
|
24
|
+
|
|
25
|
+
**Step 1: Collect Findings**
|
|
26
|
+
|
|
27
|
+
1. Glob `.ai-docs/agent-findings/*.md` to list all unprocessed findings
|
|
28
|
+
2. Skip `done/` subdirectory
|
|
29
|
+
3. Read each finding file completely
|
|
30
|
+
4. Note the frontmatter metadata: type, severity, affected_files, standards_docs, date, reporting_agent, category, domain, root_cause
|
|
31
|
+
|
|
32
|
+
**Step 2: Group by Theme**
|
|
33
|
+
|
|
34
|
+
Cluster related findings. Common themes:
|
|
35
|
+
|
|
36
|
+
- DRY violations (duplicated constants, repeated helpers)
|
|
37
|
+
- TypeScript issues (casts, `any` usage, type safety, missing guards)
|
|
38
|
+
- Testing patterns (assertions, cleanup, test structure, test data)
|
|
39
|
+
- Complexity issues (over-engineering, unnecessary abstractions, backward-compat shims)
|
|
40
|
+
- Performance issues (unnecessary work, N+1 patterns, missing caching)
|
|
41
|
+
- Architecture issues (wrong layer, wrong file location, boundary violations)
|
|
42
|
+
|
|
43
|
+
**Step 3: Cross-Reference Each Group**
|
|
44
|
+
|
|
45
|
+
For each theme group, search existing standards:
|
|
46
|
+
|
|
47
|
+
1. **Search `CLAUDE.md`** - Grep for keywords related to the finding
|
|
48
|
+
2. **Search `.ai-docs/standards/`** - Grep across all standards docs
|
|
49
|
+
3. **Search `.ai-docs/standards/e2e/`** - Check E2E-specific standards if finding is test-related
|
|
50
|
+
|
|
51
|
+
Classify each group:
|
|
52
|
+
|
|
53
|
+
| Classification | Meaning | Action |
|
|
54
|
+
| --------------------- | ------------------------------------- | --------------------------------------------------------------------------- |
|
|
55
|
+
| **Enforcement gap** | Rule exists but was violated | Suggest making the rule more specific, prominent, or adding an example |
|
|
56
|
+
| **Documentation gap** | No rule exists for this pattern | Propose a new rule in the most relevant existing doc |
|
|
57
|
+
| **Convention drift** | Rule exists but practice has diverged | Suggest updating the rule to match current practice, or flag for discussion |
|
|
58
|
+
|
|
59
|
+
**Step 4: Propose Updates**
|
|
60
|
+
|
|
61
|
+
For each group, write a targeted proposal:
|
|
62
|
+
|
|
63
|
+
- Which file to update (exact path)
|
|
64
|
+
- Which section to add to or modify
|
|
65
|
+
- The exact text to add (ready to paste)
|
|
66
|
+
- Which finding files this addresses (by filename)
|
|
67
|
+
|
|
68
|
+
**Step 5: Apply Approved Updates**
|
|
69
|
+
|
|
70
|
+
After the user approves proposals:
|
|
71
|
+
|
|
72
|
+
1. Apply edits using the Edit tool (surgical additions, not rewrites)
|
|
73
|
+
2. Re-read each edited file to verify changes were written
|
|
74
|
+
3. Move processed finding files to `.ai-docs/agent-done/`
|
|
75
|
+
|
|
76
|
+
**Step 6: Report Results**
|
|
77
|
+
|
|
78
|
+
Summarize what was incorporated and what was deferred.
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
### Audit Mode
|
|
83
|
+
|
|
84
|
+
When given a specific standards doc to audit:
|
|
85
|
+
|
|
86
|
+
**Step 1: Read the Standards Doc**
|
|
87
|
+
|
|
88
|
+
Read the target document completely. Extract every rule as a concrete, searchable pattern.
|
|
89
|
+
|
|
90
|
+
**Step 2: Scan for Violations**
|
|
91
|
+
|
|
92
|
+
For each rule:
|
|
93
|
+
|
|
94
|
+
1. Determine what a violation looks like in code
|
|
95
|
+
2. Use Grep to search the relevant directories
|
|
96
|
+
3. Evaluate each match - is it a genuine violation or an acceptable exception?
|
|
97
|
+
|
|
98
|
+
**Step 3: Write Findings**
|
|
99
|
+
|
|
100
|
+
For each violation found, create a finding file in `.ai-docs/agent-findings/` using the finding template format:
|
|
101
|
+
|
|
102
|
+
```yaml
|
|
103
|
+
---
|
|
104
|
+
type: anti-pattern
|
|
105
|
+
severity: [high | medium | low]
|
|
106
|
+
affected_files:
|
|
107
|
+
- [file path]
|
|
108
|
+
standards_docs:
|
|
109
|
+
- [the doc being audited]
|
|
110
|
+
date: [today]
|
|
111
|
+
reporting_agent:
|
|
112
|
+
[agent-type that discovered the issue -- indicates whose instructions may need updating]
|
|
113
|
+
category: [dry | typescript | testing | complexity | performance | architecture]
|
|
114
|
+
domain: [e2e | cli | web | api | shared | infra]
|
|
115
|
+
root_cause:
|
|
116
|
+
[
|
|
117
|
+
missing-rule | rule-not-visible | rule-not-specific-enough | convention-undocumented | enforcement-gap,
|
|
118
|
+
]
|
|
119
|
+
---
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Include: What Was Wrong, Fix Applied (or "None -- discovery only"), Proposed Standard.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
### Gap Analysis Mode
|
|
127
|
+
|
|
128
|
+
**Step 1: Read Current Standards**
|
|
129
|
+
|
|
130
|
+
Read `CLAUDE.md` and all files in `.ai-docs/standards/`. Build a mental inventory of documented rules.
|
|
131
|
+
|
|
132
|
+
**Step 2: Examine Recent History**
|
|
133
|
+
|
|
134
|
+
Use `git log --oneline -N` (where N is specified by user, default 50) to see recent commits. Read commit messages for patterns.
|
|
135
|
+
|
|
136
|
+
Use `git diff HEAD~N..HEAD --stat` to identify frequently changed files.
|
|
137
|
+
|
|
138
|
+
**Step 3: Identify Undocumented Patterns**
|
|
139
|
+
|
|
140
|
+
Look for:
|
|
141
|
+
|
|
142
|
+
- Repeated fixes to the same type of issue (suggests missing preventive rule)
|
|
143
|
+
- New conventions established in recent PRs but not yet documented
|
|
144
|
+
- Rules that reference files/patterns that no longer exist
|
|
145
|
+
|
|
146
|
+
**Step 4: Propose New Rules**
|
|
147
|
+
|
|
148
|
+
For each undocumented pattern, propose a rule addition to the most relevant existing doc.
|
|
149
|
+
|
|
150
|
+
</standards_review_workflow>
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Finding Classification Guide
|
|
155
|
+
|
|
156
|
+
<classification_guide>
|
|
157
|
+
|
|
158
|
+
### Enforcement Gap
|
|
159
|
+
|
|
160
|
+
The rule exists, but it was violated anyway. This suggests:
|
|
161
|
+
|
|
162
|
+
- The rule is buried too deep in the doc
|
|
163
|
+
- The rule is too vague to be actionable
|
|
164
|
+
- The rule lacks a concrete example
|
|
165
|
+
|
|
166
|
+
**Action:** Make the existing rule more prominent, specific, or add an example. Consider adding it to `CLAUDE.md` NEVER/ALWAYS sections if it's important enough.
|
|
167
|
+
|
|
168
|
+
### Documentation Gap
|
|
169
|
+
|
|
170
|
+
No rule covers this pattern. This is a new convention that emerged from practice.
|
|
171
|
+
|
|
172
|
+
**Action:** Add a new rule to the most relevant existing standards doc. Place it near related rules. Keep it concise and actionable.
|
|
173
|
+
|
|
174
|
+
### Convention Drift
|
|
175
|
+
|
|
176
|
+
A rule exists but current practice contradicts it. Either the rule is outdated or the practice is wrong.
|
|
177
|
+
|
|
178
|
+
**Action:** Flag for discussion. Present both the documented rule and the observed practice. Let the user decide which should change.
|
|
179
|
+
|
|
180
|
+
</classification_guide>
|
|
@@ -0,0 +1,112 @@
|
|
|
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}-{category}-{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}-{category}-{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 (category, slug, author, displayName, cliDescription, usageGuidance)
|
|
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
|
|
74
|
+
|
|
75
|
+
<post_action_reflection>
|
|
76
|
+
|
|
77
|
+
## Post-Action Reflection
|
|
78
|
+
|
|
79
|
+
**After each major action, evaluate:**
|
|
80
|
+
|
|
81
|
+
1. Did this achieve the intended goal?
|
|
82
|
+
2. What new information did I learn?
|
|
83
|
+
3. What gaps remain in my understanding?
|
|
84
|
+
4. Should I adjust my approach?
|
|
85
|
+
|
|
86
|
+
Only proceed when you have sufficient confidence in your current state.
|
|
87
|
+
|
|
88
|
+
**After each WebSearch/WebFetch, evaluate:**
|
|
89
|
+
|
|
90
|
+
1. Does this source align with other findings?
|
|
91
|
+
2. What gaps remain in your understanding?
|
|
92
|
+
3. What conflicting information needs resolution?
|
|
93
|
+
4. Is this source authoritative enough to trust?
|
|
94
|
+
|
|
95
|
+
Only proceed to synthesis when you have sufficient high-quality sources (minimum 3 reputable sources).
|
|
96
|
+
|
|
97
|
+
**After completing skill generation/improvement, evaluate:**
|
|
98
|
+
|
|
99
|
+
1. Did this achieve the intended goal?
|
|
100
|
+
2. Does the skill follow prompt-bible structure completely?
|
|
101
|
+
3. Are all critical requirements met?
|
|
102
|
+
4. Should I re-read the file to verify changes were written?
|
|
103
|
+
|
|
104
|
+
**After presenting differences to user, evaluate:**
|
|
105
|
+
|
|
106
|
+
1. Did I provide clear pros/cons for each option?
|
|
107
|
+
2. Is my recommendation well-reasoned?
|
|
108
|
+
3. Are there hybrid approaches I haven't considered?
|
|
109
|
+
|
|
110
|
+
Only report completion when you have verified all success criteria.
|
|
111
|
+
|
|
112
|
+
</post_action_reflection>
|
|
@@ -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}-{category}-{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>
|