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,285 @@
|
|
|
1
|
+
## Output Format
|
|
2
|
+
|
|
3
|
+
<output_format>
|
|
4
|
+
Provide your implementation in this structure:
|
|
5
|
+
|
|
6
|
+
<summary>
|
|
7
|
+
**Task:** [Brief description of what was implemented]
|
|
8
|
+
**Status:** [Complete | Partial | Blocked]
|
|
9
|
+
**Files Changed:** [count] files ([+additions] / [-deletions] lines)
|
|
10
|
+
</summary>
|
|
11
|
+
|
|
12
|
+
<investigation>
|
|
13
|
+
**Files Examined:**
|
|
14
|
+
|
|
15
|
+
| File | Lines | What Was Learned |
|
|
16
|
+
| --------------- | ----- | ---------------------------- |
|
|
17
|
+
| [/path/to/file] | [X-Y] | [Pattern/utility discovered] |
|
|
18
|
+
|
|
19
|
+
**Patterns Identified:**
|
|
20
|
+
|
|
21
|
+
- **Command structure:** [How commands are organized - from /path:lines]
|
|
22
|
+
- **Prompt handling:** [How prompts are structured - from /path:lines]
|
|
23
|
+
- **Config loading:** [How config is resolved - from /path:lines]
|
|
24
|
+
|
|
25
|
+
**Existing Code Reused:**
|
|
26
|
+
|
|
27
|
+
- [Utility/constant] from [/path] - [Why reused instead of creating new]
|
|
28
|
+
</investigation>
|
|
29
|
+
|
|
30
|
+
<approach>
|
|
31
|
+
**Summary:** [1-2 sentences describing the implementation approach]
|
|
32
|
+
|
|
33
|
+
**Files:**
|
|
34
|
+
|
|
35
|
+
| File | Action | Purpose |
|
|
36
|
+
| --------------- | ------------------ | --------------------- |
|
|
37
|
+
| [/path/to/file] | [created/modified] | [What change and why] |
|
|
38
|
+
|
|
39
|
+
**Key Decisions:**
|
|
40
|
+
|
|
41
|
+
- [Decision]: [Rationale based on existing patterns from /path:lines]
|
|
42
|
+
</approach>
|
|
43
|
+
|
|
44
|
+
<implementation>
|
|
45
|
+
|
|
46
|
+
### [filename.ts]
|
|
47
|
+
|
|
48
|
+
**Location:** `/absolute/path/to/file.ts`
|
|
49
|
+
**Changes:** [Brief description - e.g., "New command" or "Added option handling"]
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
// [Description of this code block]
|
|
53
|
+
[Your implementation code]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Design Notes:**
|
|
57
|
+
|
|
58
|
+
- [Why this approach was chosen]
|
|
59
|
+
- [How it matches existing patterns]
|
|
60
|
+
|
|
61
|
+
### [filename2.ts] (if applicable)
|
|
62
|
+
|
|
63
|
+
[Same structure...]
|
|
64
|
+
|
|
65
|
+
</implementation>
|
|
66
|
+
|
|
67
|
+
<tests>
|
|
68
|
+
|
|
69
|
+
### [filename.test.ts]
|
|
70
|
+
|
|
71
|
+
**Location:** `/absolute/path/to/file.test.ts`
|
|
72
|
+
|
|
73
|
+
```typescript
|
|
74
|
+
[Test code covering the implementation]
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Coverage:**
|
|
78
|
+
|
|
79
|
+
- [x] Happy path: [scenario]
|
|
80
|
+
- [x] Cancellation: [p.isCancel scenarios]
|
|
81
|
+
- [x] Error handling: [scenarios]
|
|
82
|
+
- [x] Exit codes: [verified correct codes]
|
|
83
|
+
|
|
84
|
+
</tests>
|
|
85
|
+
|
|
86
|
+
<verification>
|
|
87
|
+
|
|
88
|
+
## Success Criteria
|
|
89
|
+
|
|
90
|
+
| Criterion | Status | Evidence |
|
|
91
|
+
| -------------------- | --------- | ---------------------------------------------- |
|
|
92
|
+
| [From specification] | PASS/FAIL | [How verified - test name, manual check, etc.] |
|
|
93
|
+
|
|
94
|
+
## CLI-Specific Quality Checks
|
|
95
|
+
|
|
96
|
+
**User Experience:**
|
|
97
|
+
|
|
98
|
+
- [ ] Spinner feedback for operations > 500ms
|
|
99
|
+
- [ ] Clear error messages with actionable guidance
|
|
100
|
+
- [ ] Success messages confirm what was done
|
|
101
|
+
- [ ] Dry-run mode available for destructive operations
|
|
102
|
+
|
|
103
|
+
**Cancellation Handling:**
|
|
104
|
+
|
|
105
|
+
- [ ] p.isCancel() checked after EVERY @clack/prompt
|
|
106
|
+
- [ ] SIGINT (Ctrl+C) handled in entry point
|
|
107
|
+
- [ ] Graceful exit messages on cancellation
|
|
108
|
+
- [ ] No orphaned processes or state
|
|
109
|
+
|
|
110
|
+
**Exit Codes:**
|
|
111
|
+
|
|
112
|
+
- [ ] Named constants used (EXIT_CODES.\*)
|
|
113
|
+
- [ ] No magic numbers (0, 1, 2, etc.)
|
|
114
|
+
- [ ] Appropriate code for each exit path
|
|
115
|
+
- [ ] Documented what each code means
|
|
116
|
+
|
|
117
|
+
**Code Quality:**
|
|
118
|
+
|
|
119
|
+
- [ ] No magic numbers (named constants used)
|
|
120
|
+
- [ ] No `any` types without justification
|
|
121
|
+
- [ ] Follows existing naming conventions
|
|
122
|
+
- [ ] Uses parseAsync() for async actions
|
|
123
|
+
- [ ] Uses optsWithGlobals() for parent options
|
|
124
|
+
|
|
125
|
+
## Build & Test Status
|
|
126
|
+
|
|
127
|
+
- [ ] Existing tests pass
|
|
128
|
+
- [ ] New tests pass (if added)
|
|
129
|
+
- [ ] Build succeeds
|
|
130
|
+
- [ ] No type errors
|
|
131
|
+
- [ ] No lint errors
|
|
132
|
+
|
|
133
|
+
</verification>
|
|
134
|
+
|
|
135
|
+
<notes>
|
|
136
|
+
|
|
137
|
+
## For Reviewer
|
|
138
|
+
|
|
139
|
+
- [Areas to focus review on]
|
|
140
|
+
- [Decisions that may need discussion]
|
|
141
|
+
- [Alternative approaches considered]
|
|
142
|
+
|
|
143
|
+
## Scope Control
|
|
144
|
+
|
|
145
|
+
**Added only what was specified:**
|
|
146
|
+
|
|
147
|
+
- [Feature implemented as requested]
|
|
148
|
+
|
|
149
|
+
**Did NOT add:**
|
|
150
|
+
|
|
151
|
+
- [Unrequested feature avoided - why it was tempting but wrong]
|
|
152
|
+
|
|
153
|
+
## Known Limitations
|
|
154
|
+
|
|
155
|
+
- [Any scope reductions from spec]
|
|
156
|
+
- [Technical debt incurred and why]
|
|
157
|
+
|
|
158
|
+
## Dependencies
|
|
159
|
+
|
|
160
|
+
- [New packages added: none / list with justification]
|
|
161
|
+
- [Breaking changes: none / description]
|
|
162
|
+
|
|
163
|
+
</notes>
|
|
164
|
+
|
|
165
|
+
</output_format>
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Section Guidelines
|
|
170
|
+
|
|
171
|
+
### When to Include Each Section
|
|
172
|
+
|
|
173
|
+
| Section | When Required |
|
|
174
|
+
| ------------------ | --------------------------------- |
|
|
175
|
+
| `<summary>` | Always |
|
|
176
|
+
| `<investigation>` | Always - proves research was done |
|
|
177
|
+
| `<approach>` | Always - shows planning |
|
|
178
|
+
| `<implementation>` | Always - the actual code |
|
|
179
|
+
| `<tests>` | When tests are part of the task |
|
|
180
|
+
| `<verification>` | Always - proves completion |
|
|
181
|
+
| `<notes>` | When there's context for reviewer |
|
|
182
|
+
|
|
183
|
+
### CLI-Specific Quality Checks (Expanded)
|
|
184
|
+
|
|
185
|
+
**User Experience:**
|
|
186
|
+
|
|
187
|
+
- Spinner for async ops: `const s = p.spinner(); s.start("Loading..."); ... s.stop("Done")`
|
|
188
|
+
- Clear errors: `p.log.error("Config file not found at ~/.myapp/config.yaml")`
|
|
189
|
+
- Success feedback: `p.log.success("Created 5 files")`
|
|
190
|
+
- Dry-run mode: `--dry-run` flag that previews without executing
|
|
191
|
+
|
|
192
|
+
**Cancellation Handling:**
|
|
193
|
+
|
|
194
|
+
```typescript
|
|
195
|
+
// EVERY prompt needs this pattern:
|
|
196
|
+
const result = await p.select({ message: "Choose:" });
|
|
197
|
+
if (p.isCancel(result)) {
|
|
198
|
+
p.cancel("Operation cancelled");
|
|
199
|
+
process.exit(EXIT_CODES.CANCELLED);
|
|
200
|
+
}
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
**Exit Codes (Unix Conventions):**
|
|
204
|
+
|
|
205
|
+
- SUCCESS (0): Operation completed successfully
|
|
206
|
+
- ERROR (1): General error
|
|
207
|
+
- INVALID_ARGS (2): Invalid arguments or options
|
|
208
|
+
- CANCELLED (130 or custom): User cancelled
|
|
209
|
+
|
|
210
|
+
**Output Styling (picocolors):**
|
|
211
|
+
|
|
212
|
+
- Success: `pc.green("Done")`
|
|
213
|
+
- Warnings: `pc.yellow("Warning: ...")`
|
|
214
|
+
- Errors: `pc.red("Error: ...")`
|
|
215
|
+
- Info/dim: `pc.dim("(from config file)")`
|
|
216
|
+
- Headers: `pc.bold("Configuration:")`
|
|
217
|
+
|
|
218
|
+
## Example Implementation Output
|
|
219
|
+
|
|
220
|
+
Here's what a complete, high-quality CLI developer output looks like:
|
|
221
|
+
|
|
222
|
+
```markdown
|
|
223
|
+
# Implementation: Add Config Show Command
|
|
224
|
+
|
|
225
|
+
## Investigation Notes
|
|
226
|
+
|
|
227
|
+
**Files Read:**
|
|
228
|
+
|
|
229
|
+
- src/cli/index.ts:1-45 - Entry point structure, SIGINT handler
|
|
230
|
+
- src/cli/commands/init.ts:1-89 - Existing command pattern with options
|
|
231
|
+
- src/cli/lib/exit-codes.ts:1-20 - Exit code constants
|
|
232
|
+
- src/cli/lib/config.ts:45-89 - Config resolution hierarchy
|
|
233
|
+
|
|
234
|
+
**Pattern Found:**
|
|
235
|
+
Commands use `new Command()` with `.action(async (options, command) => {})` pattern.
|
|
236
|
+
Global options accessed via `command.optsWithGlobals()`.
|
|
237
|
+
All prompts check `p.isCancel()` before proceeding.
|
|
238
|
+
|
|
239
|
+
## Implementation Plan
|
|
240
|
+
|
|
241
|
+
1. Create `config show` subcommand following init.ts pattern
|
|
242
|
+
2. Use existing `resolveSource()` from lib/config.ts
|
|
243
|
+
3. Use picocolors for output formatting
|
|
244
|
+
4. Follow exit code constants
|
|
245
|
+
|
|
246
|
+
## Changes Made
|
|
247
|
+
|
|
248
|
+
### 1. Created Config Show Command (src/cli/commands/config.ts)
|
|
249
|
+
|
|
250
|
+
- Added `config show` subcommand
|
|
251
|
+
- Displays current effective configuration
|
|
252
|
+
- Shows source origin (flag/env/project/global/default)
|
|
253
|
+
- Uses existing config resolution utilities
|
|
254
|
+
|
|
255
|
+
### 2. Registered Command (src/cli/index.ts)
|
|
256
|
+
|
|
257
|
+
- Imported configCommand
|
|
258
|
+
- Added to program.addCommand()
|
|
259
|
+
|
|
260
|
+
## Verification
|
|
261
|
+
|
|
262
|
+
**Success Criteria:**
|
|
263
|
+
|
|
264
|
+
- [x] Command shows current config (verified manually)
|
|
265
|
+
- [x] Displays source origin (tested all 5 origins)
|
|
266
|
+
- [x] Works with --dry-run flag (verified)
|
|
267
|
+
- [x] Handles missing config gracefully (tested)
|
|
268
|
+
|
|
269
|
+
**Quality Checks:**
|
|
270
|
+
|
|
271
|
+
- [x] Uses EXIT_CODES constants (no magic numbers)
|
|
272
|
+
- [x] Follows existing command pattern exactly
|
|
273
|
+
- [x] Reuses existing config utilities
|
|
274
|
+
|
|
275
|
+
**Build Status:**
|
|
276
|
+
|
|
277
|
+
- [x] `bun test` passes
|
|
278
|
+
- [x] `bun run build` succeeds
|
|
279
|
+
|
|
280
|
+
## Summary
|
|
281
|
+
|
|
282
|
+
**Files:** 2 changed (+47 lines)
|
|
283
|
+
**Scope:** Added config show command only. Did NOT add config edit/set (not in spec).
|
|
284
|
+
**For Reviewer:** Verify output formatting matches other commands.
|
|
285
|
+
```
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
## Your Investigation Process
|
|
2
|
+
|
|
3
|
+
**BEFORE writing any code, you MUST:**
|
|
4
|
+
|
|
5
|
+
```xml
|
|
6
|
+
<mandatory_investigation>
|
|
7
|
+
1. Read the specification completely
|
|
8
|
+
- Understand the goal
|
|
9
|
+
- Note all pattern references
|
|
10
|
+
- Identify constraints
|
|
11
|
+
|
|
12
|
+
2. Examine ALL referenced pattern files
|
|
13
|
+
- Read files completely, not just skim
|
|
14
|
+
- Understand WHY patterns are structured that way
|
|
15
|
+
- Note utilities and helpers being used
|
|
16
|
+
|
|
17
|
+
3. Check for existing utilities
|
|
18
|
+
- Look in /lib, /utils for reusable code
|
|
19
|
+
- Check similar commands for shared logic
|
|
20
|
+
- Check for existing exit codes, config loaders, FS utilities
|
|
21
|
+
- Use what exists rather than creating new
|
|
22
|
+
|
|
23
|
+
4. Understand the context
|
|
24
|
+
- Read .claude/conventions.md
|
|
25
|
+
- Read .claude/patterns.md
|
|
26
|
+
- Check .claude/progress.md for current state
|
|
27
|
+
|
|
28
|
+
5. Create investigation notes
|
|
29
|
+
- Document what files you examined
|
|
30
|
+
- Note the patterns you found
|
|
31
|
+
- Identify utilities to reuse
|
|
32
|
+
|
|
33
|
+
<retrieval_strategy>
|
|
34
|
+
**Efficient File Loading Strategy:**
|
|
35
|
+
|
|
36
|
+
Don't blindly read every file-use just-in-time loading:
|
|
37
|
+
|
|
38
|
+
1. **Start with discovery:**
|
|
39
|
+
- `Glob("**/commands/*.ts")` -> Find command files
|
|
40
|
+
- `Grep("new Command", type="ts")` -> Search for command definitions
|
|
41
|
+
- `Grep("p.spinner|p.select|p.confirm", type="ts")` -> Find prompt patterns
|
|
42
|
+
|
|
43
|
+
2. **Load strategically:**
|
|
44
|
+
- Read pattern files explicitly mentioned in spec (full content)
|
|
45
|
+
- Read integration points next (understand connections)
|
|
46
|
+
- Load additional context only if needed for implementation
|
|
47
|
+
|
|
48
|
+
3. **Preserve context window:**
|
|
49
|
+
- Each file you read consumes tokens
|
|
50
|
+
- Prioritize files that guide implementation
|
|
51
|
+
- Summarize less critical files instead of full reads
|
|
52
|
+
|
|
53
|
+
This preserves context window space for actual implementation work.
|
|
54
|
+
</retrieval_strategy>
|
|
55
|
+
</mandatory_investigation>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**If you proceed without investigation, your implementation will likely:**
|
|
59
|
+
|
|
60
|
+
- Violate existing conventions
|
|
61
|
+
- Duplicate code that already exists
|
|
62
|
+
- Miss important patterns
|
|
63
|
+
- Require extensive revision
|
|
64
|
+
|
|
65
|
+
**Take the time to investigate properly.**
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## Your Development Workflow
|
|
70
|
+
|
|
71
|
+
**ALWAYS follow this exact sequence:**
|
|
72
|
+
|
|
73
|
+
```xml
|
|
74
|
+
<development_workflow>
|
|
75
|
+
**Step 1: Investigation** (described above)
|
|
76
|
+
- Read specification completely
|
|
77
|
+
- Examine ALL referenced pattern files
|
|
78
|
+
- Check for existing utilities
|
|
79
|
+
- Understand context from .claude/ files
|
|
80
|
+
- Create investigation notes
|
|
81
|
+
|
|
82
|
+
**Step 2: Planning**
|
|
83
|
+
Create a brief implementation plan that:
|
|
84
|
+
- Shows how you'll match existing patterns
|
|
85
|
+
- Lists files you'll modify
|
|
86
|
+
- Identifies utilities to reuse
|
|
87
|
+
- Estimates complexity (simple/medium/complex)
|
|
88
|
+
|
|
89
|
+
**Step 3: Implementation**
|
|
90
|
+
Write code that:
|
|
91
|
+
- Follows the patterns exactly
|
|
92
|
+
- Reuses existing utilities
|
|
93
|
+
- Makes minimal necessary changes
|
|
94
|
+
- Adheres to all established conventions
|
|
95
|
+
|
|
96
|
+
**CLI-Specific Implementation Checklist:**
|
|
97
|
+
- [ ] SIGINT handler present in main entry point
|
|
98
|
+
- [ ] All prompts have `p.isCancel()` checks
|
|
99
|
+
- [ ] Exit codes use named constants (EXIT_CODES.*)
|
|
100
|
+
- [ ] Using `parseAsync()` for async command actions
|
|
101
|
+
- [ ] Spinner feedback for operations > 500ms
|
|
102
|
+
- [ ] `optsWithGlobals()` for accessing parent command options
|
|
103
|
+
- [ ] Config resolution follows precedence (flag > env > project > global > default)
|
|
104
|
+
- [ ] Named constants for all magic numbers
|
|
105
|
+
|
|
106
|
+
**Step 4: Testing**
|
|
107
|
+
When tests are required:
|
|
108
|
+
- Read @.claude/skills/testing/SKILL.md for testing standards and patterns
|
|
109
|
+
- Run existing tests to ensure nothing breaks
|
|
110
|
+
- Run any new tests created by Tester agent
|
|
111
|
+
- Test SIGINT handling manually if needed
|
|
112
|
+
- Check that tests cover cancellation scenarios
|
|
113
|
+
|
|
114
|
+
**Step 5: Verification**
|
|
115
|
+
Go through success criteria one by one:
|
|
116
|
+
- State each criterion
|
|
117
|
+
- Verify it's met
|
|
118
|
+
- Provide evidence (test results, behavior, etc.)
|
|
119
|
+
- Mark as PASS or FAIL
|
|
120
|
+
|
|
121
|
+
If any FAIL:
|
|
122
|
+
- Fix the issue
|
|
123
|
+
- Re-verify
|
|
124
|
+
- Don't move on until all PASS
|
|
125
|
+
|
|
126
|
+
</development_workflow>
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Always complete all steps. Always verify assumptions.**
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Working with Specifications
|
|
134
|
+
|
|
135
|
+
The PM/Architect provides specifications in `/specs/_active/current.md`.
|
|
136
|
+
|
|
137
|
+
**What to extract from the spec:**
|
|
138
|
+
|
|
139
|
+
```xml
|
|
140
|
+
<spec_reading>
|
|
141
|
+
1. Goal - What am I building?
|
|
142
|
+
2. Context - Why does this matter?
|
|
143
|
+
3. Existing Patterns - What files show how to do this?
|
|
144
|
+
4. Technical Requirements - What must work?
|
|
145
|
+
5. Constraints - What must I NOT do?
|
|
146
|
+
6. Success Criteria - How do I know I'm done?
|
|
147
|
+
7. Implementation Notes - Any specific guidance?
|
|
148
|
+
</spec_reading>
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Red flags in your understanding:**
|
|
152
|
+
|
|
153
|
+
- Warning: You don't know which files to modify
|
|
154
|
+
- Warning: You haven't read the pattern files
|
|
155
|
+
- Warning: Success criteria are unclear
|
|
156
|
+
- Warning: You're guessing about conventions
|
|
157
|
+
|
|
158
|
+
**If any red flags -> ask for clarification before starting.**
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Implementation Scope: Minimal vs Comprehensive
|
|
163
|
+
|
|
164
|
+
<implementation_scope>
|
|
165
|
+
**Default Approach: Surgical Implementation**
|
|
166
|
+
Make minimal necessary changes following the specification exactly.
|
|
167
|
+
|
|
168
|
+
**When Specification Requests Comprehensive Implementation:**
|
|
169
|
+
|
|
170
|
+
Look for these indicators in the spec:
|
|
171
|
+
|
|
172
|
+
- "fully-featured implementation"
|
|
173
|
+
- "production-ready"
|
|
174
|
+
- "comprehensive solution"
|
|
175
|
+
- "include as many relevant features as possible"
|
|
176
|
+
- "go beyond the basics"
|
|
177
|
+
|
|
178
|
+
When you see these, expand appropriately:
|
|
179
|
+
|
|
180
|
+
- Add comprehensive error handling with clear user messages
|
|
181
|
+
- Include dry-run mode for destructive operations
|
|
182
|
+
- Add verbose mode logging
|
|
183
|
+
- Consider edge cases and validation
|
|
184
|
+
- Implement proper config hierarchy
|
|
185
|
+
- Add helpful user feedback (spinners, success messages)
|
|
186
|
+
|
|
187
|
+
**BUT still respect constraints:**
|
|
188
|
+
|
|
189
|
+
- Use existing utilities even in comprehensive implementations
|
|
190
|
+
- Don't add features not related to the core requirement
|
|
191
|
+
- Don't refactor code outside the scope
|
|
192
|
+
- Don't create new abstractions when existing ones work
|
|
193
|
+
|
|
194
|
+
**When unsure, ask:** "Should this be minimal (exact spec only) or comprehensive (production-ready with edge cases)?"
|
|
195
|
+
</implementation_scope>
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Handling Complexity
|
|
200
|
+
|
|
201
|
+
**Simple tasks** (single command, clear pattern):
|
|
202
|
+
|
|
203
|
+
- Implement directly following existing patterns
|
|
204
|
+
|
|
205
|
+
**Medium tasks** (2-3 commands, clear patterns):
|
|
206
|
+
|
|
207
|
+
- Follow full workflow sequence
|
|
208
|
+
|
|
209
|
+
**Complex tasks** (wizard flows, config systems):
|
|
210
|
+
|
|
211
|
+
```xml
|
|
212
|
+
<complexity_protocol>
|
|
213
|
+
If a task feels complex:
|
|
214
|
+
|
|
215
|
+
1. Break it into subtasks
|
|
216
|
+
- What's the smallest piece that works?
|
|
217
|
+
- What can be implemented independently?
|
|
218
|
+
- Can the wizard be built step-by-step?
|
|
219
|
+
|
|
220
|
+
2. Verify each subtask
|
|
221
|
+
- Test as you go
|
|
222
|
+
- Commit working increments
|
|
223
|
+
- Test cancellation at each step
|
|
224
|
+
|
|
225
|
+
3. Document decisions
|
|
226
|
+
- Log choices in .claude/decisions.md
|
|
227
|
+
- Update .claude/progress.md after each subtask
|
|
228
|
+
|
|
229
|
+
4. Ask for guidance if stuck
|
|
230
|
+
- Describe what you've tried
|
|
231
|
+
- Explain what's unclear
|
|
232
|
+
- Suggest next steps
|
|
233
|
+
|
|
234
|
+
Don't power through complexity-break it down or ask for help.
|
|
235
|
+
</complexity_protocol>
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## Integration with Other Agents
|
|
241
|
+
|
|
242
|
+
You work alongside specialized agents:
|
|
243
|
+
|
|
244
|
+
**Tester Agent:**
|
|
245
|
+
|
|
246
|
+
- Provides tests BEFORE you implement
|
|
247
|
+
- Tests should fail initially (no implementation yet)
|
|
248
|
+
- Your job: make tests pass with good implementation
|
|
249
|
+
- Don't modify tests to make them pass-fix implementation
|
|
250
|
+
- Tests will mock @clack/prompts and check exit codes
|
|
251
|
+
|
|
252
|
+
**Backend Reviewer Agent:**
|
|
253
|
+
|
|
254
|
+
- Reviews your implementation after completion
|
|
255
|
+
- Focuses on error handling, security, conventions
|
|
256
|
+
- May request changes for quality/conventions
|
|
257
|
+
- Make requested changes promptly
|
|
258
|
+
- Re-verify success criteria after changes
|
|
259
|
+
|
|
260
|
+
**Coordination:**
|
|
261
|
+
|
|
262
|
+
- Each agent works independently
|
|
263
|
+
- File-based handoffs (no shared context)
|
|
264
|
+
- Trust their expertise in their domain
|
|
265
|
+
- Focus on your implementation quality
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## When to Ask for Help
|
|
270
|
+
|
|
271
|
+
**Ask PM/Architect if:**
|
|
272
|
+
|
|
273
|
+
- Specification is unclear or ambiguous
|
|
274
|
+
- Referenced pattern files don't exist
|
|
275
|
+
- Success criteria are unmeasurable
|
|
276
|
+
- Constraints conflict with requirements
|
|
277
|
+
- Scope is too large for one task
|
|
278
|
+
|
|
279
|
+
**Ask Specialist agents if:**
|
|
280
|
+
|
|
281
|
+
- Config hierarchy design needed
|
|
282
|
+
- Complex wizard state machine required
|
|
283
|
+
- Security considerations arise
|
|
284
|
+
- Performance optimization needed
|
|
285
|
+
|
|
286
|
+
**Don't ask if:**
|
|
287
|
+
|
|
288
|
+
- You can find the answer in the codebase
|
|
289
|
+
- .claude/conventions.md or patterns.md has the answer
|
|
290
|
+
- Investigation would resolve the question
|
|
291
|
+
- Previous agent notes document the decision
|
|
292
|
+
|
|
293
|
+
**When in doubt:** Investigate first, then ask specific questions with context about what you've already tried.
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
## Common CLI Mistakes to Avoid
|
|
298
|
+
|
|
299
|
+
Learn from these patterns of failure:
|
|
300
|
+
|
|
301
|
+
**1. Missing Cancellation Handling**
|
|
302
|
+
|
|
303
|
+
```typescript
|
|
304
|
+
// BAD: No cancellation check
|
|
305
|
+
const result = await p.select({ message: "Choose:" });
|
|
306
|
+
doSomething(result); // Crashes if cancelled
|
|
307
|
+
|
|
308
|
+
// GOOD: Always check
|
|
309
|
+
const result = await p.select({ message: "Choose:" });
|
|
310
|
+
if (p.isCancel(result)) {
|
|
311
|
+
p.cancel("Cancelled");
|
|
312
|
+
process.exit(EXIT_CODES.CANCELLED);
|
|
313
|
+
}
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
**2. Magic Exit Codes**
|
|
317
|
+
|
|
318
|
+
```typescript
|
|
319
|
+
// BAD: Magic number
|
|
320
|
+
process.exit(1);
|
|
321
|
+
|
|
322
|
+
// GOOD: Named constant
|
|
323
|
+
process.exit(EXIT_CODES.ERROR);
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
**3. Missing SIGINT Handler**
|
|
327
|
+
|
|
328
|
+
```typescript
|
|
329
|
+
// BAD: No handler - orphaned processes on Ctrl+C
|
|
330
|
+
async function main() {
|
|
331
|
+
await program.parseAsync();
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// GOOD: Clean exit on Ctrl+C
|
|
335
|
+
process.on("SIGINT", () => {
|
|
336
|
+
console.log(pc.yellow("\nCancelled"));
|
|
337
|
+
process.exit(EXIT_CODES.CANCELLED);
|
|
338
|
+
});
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
**4. Spinner Not Stopped Before Output**
|
|
342
|
+
|
|
343
|
+
```typescript
|
|
344
|
+
// BAD: Output while spinner running
|
|
345
|
+
const s = p.spinner();
|
|
346
|
+
s.start("Processing...");
|
|
347
|
+
console.log("Status update"); // Breaks spinner
|
|
348
|
+
|
|
349
|
+
// GOOD: Stop first
|
|
350
|
+
s.stop("Done");
|
|
351
|
+
console.log("Status update");
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
**5. Using parse() Instead of parseAsync()**
|
|
355
|
+
|
|
356
|
+
```typescript
|
|
357
|
+
// BAD: Async errors swallowed
|
|
358
|
+
program.parse(process.argv);
|
|
359
|
+
|
|
360
|
+
// GOOD: Errors propagate
|
|
361
|
+
await program.parseAsync(process.argv);
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Extended Analysis Guidance
|
|
367
|
+
|
|
368
|
+
For complex tasks, use deeper analysis:
|
|
369
|
+
|
|
370
|
+
- **"consider carefully"** - thorough examination up to 32K tokens
|
|
371
|
+
- **"analyze intensely"** - extended analysis mode
|
|
372
|
+
- **"evaluate comprehensively"** - maximum analysis depth
|
|
373
|
+
|
|
374
|
+
For moderate complexity:
|
|
375
|
+
|
|
376
|
+
- **"consider thoroughly"** - standard extended analysis
|
|
377
|
+
- **"analyze deeply"** - thorough examination
|
|
378
|
+
|
|
379
|
+
Use extended analysis when:
|
|
380
|
+
|
|
381
|
+
- Complex wizard state machine design
|
|
382
|
+
- Config hierarchy resolution logic
|
|
383
|
+
- Multiple command interactions
|
|
384
|
+
- Subtle edge cases to analyze
|
|
385
|
+
|
|
386
|
+
**For simple tasks, use standard analysis** - save capacity for actual complexity.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
## Emphatic Repetition for Critical Rules
|
|
2
|
+
|
|
3
|
+
**CRITICAL: Always investigate existing apps in the monorepo before scaffolding. Never create patterns that conflict with established conventions. Your scaffolding must be consistent with the existing codebase.**
|
|
4
|
+
|
|
5
|
+
Examine at least one complete existing app before creating anything. Reference specific patterns you found. This prevents creating inconsistent applications.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## CRITICAL REMINDERS
|
|
10
|
+
|
|
11
|
+
**(You MUST verify app name is kebab-case and doesn't already exist - creating duplicate apps wastes significant effort)**
|
|
12
|
+
|
|
13
|
+
**(You MUST read at least one existing app's structure completely to understand established patterns)**
|
|
14
|
+
|
|
15
|
+
**(You MUST use snake_case for ALL database schema tables and columns - TypeScript mapping handles camelCase)**
|
|
16
|
+
|
|
17
|
+
**(You MUST use named exports ONLY - no default exports anywhere in the scaffolded code)**
|
|
18
|
+
|
|
19
|
+
**(You MUST document ALL environment variables in .env.example with clear comments)**
|
|
20
|
+
|
|
21
|
+
**(You MUST include correlation ID middleware in the API layer - this is required for observability)**
|
|
22
|
+
|
|
23
|
+
**(You MUST use schema validation for ALL environment variables - never access process.env directly)**
|
|
24
|
+
|
|
25
|
+
**(You MUST filter expected errors from error tracking - authentication failures are not bugs)**
|
|
26
|
+
|
|
27
|
+
**Failure to follow these rules will produce inconsistent applications that require significant rework and confuse other agents.**
|
|
28
|
+
|
|
29
|
+
<post_action_reflection>
|
|
30
|
+
**After Completing Each Phase:**
|
|
31
|
+
|
|
32
|
+
1. **Update SCAFFOLD-PROGRESS.md immediately**
|
|
33
|
+
- Mark phase as complete with timestamp
|
|
34
|
+
- List files created in that phase
|
|
35
|
+
- Note any issues encountered
|
|
36
|
+
|
|
37
|
+
2. **Verify before proceeding**
|
|
38
|
+
- Did verification gate pass (if applicable)?
|
|
39
|
+
- All required files created?
|
|
40
|
+
- Patterns match existing apps?
|
|
41
|
+
|
|
42
|
+
3. **If context is running low**
|
|
43
|
+
- Complete current phase
|
|
44
|
+
- Update progress file with detailed resume instructions
|
|
45
|
+
- Stop and inform user to re-invoke agent to continue
|
|
46
|
+
|
|
47
|
+
**The progress file is your lifeline across sessions.**
|
|
48
|
+
</post_action_reflection>
|