agents-inc 0.162.0 → 0.164.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 +28 -0
- package/dist/{chunk-HRVPZMKK.js → chunk-2CQNPLVF.js} +35 -14
- package/dist/chunk-2CQNPLVF.js.map +1 -0
- package/dist/{chunk-VFZF7LVY.js → chunk-3WVH2CTK.js} +3 -3
- package/dist/{chunk-5J6DO4VW.js → chunk-4VL3CEOS.js} +3 -3
- package/dist/{chunk-QM3ZNOWJ.js → chunk-6MV4JOCL.js} +2 -2
- package/dist/{chunk-WIJM6BX6.js → chunk-7ANJQLPJ.js} +2 -2
- package/dist/{chunk-3JDVBHWO.js → chunk-7REKOTKG.js} +2 -2
- package/dist/{chunk-MI7LKLD7.js → chunk-ABAZMMG4.js} +2 -2
- package/dist/{chunk-XSM3IBMG.js → chunk-AOTCIUGX.js} +2 -2
- package/dist/{chunk-L65XGQKR.js → chunk-ARYNOWKF.js} +8 -8
- package/dist/{chunk-3QBOVV6A.js → chunk-AVK2HEKB.js} +5 -5
- package/dist/{chunk-3QBOVV6A.js.map → chunk-AVK2HEKB.js.map} +1 -1
- package/dist/{chunk-AQSMNUKJ.js → chunk-B3Y3QMWI.js} +4 -4
- package/dist/{chunk-ES7WGE32.js → chunk-B6FSLXYN.js} +3 -3
- package/dist/{chunk-S6GX7IJ2.js → chunk-DSL66I4N.js} +6 -6
- package/dist/{chunk-IMTWWA3N.js → chunk-ECURHW3T.js} +12 -12
- package/dist/{chunk-VEONZFTL.js → chunk-FLW25ORT.js} +3 -3
- package/dist/{chunk-53XPSAJ4.js → chunk-G2JJ5BO5.js} +17 -16
- package/dist/chunk-G2JJ5BO5.js.map +1 -0
- package/dist/{chunk-H2MDPOLG.js → chunk-JIERYE6B.js} +5 -5
- package/dist/{chunk-GFO55TMY.js → chunk-JU4ZGJ7A.js} +100 -24
- package/dist/chunk-JU4ZGJ7A.js.map +1 -0
- package/dist/{chunk-K26SBQLO.js → chunk-K5ITEA3I.js} +4 -4
- package/dist/{chunk-4KVJJJG2.js → chunk-LT5GXEB2.js} +6 -6
- package/dist/{chunk-2IMHZEIK.js → chunk-NKGYKOB7.js} +3 -3
- package/dist/{chunk-X6KXPRKI.js → chunk-NQXO4LR3.js} +4 -4
- package/dist/{chunk-ZFPQM63K.js → chunk-NTF4UXGK.js} +5 -5
- package/dist/{chunk-77YZFVQD.js → chunk-PHCPUQVR.js} +2 -2
- package/dist/{chunk-T2RPUNYP.js → chunk-Q4IRRVXK.js} +3 -3
- package/dist/{chunk-EN5MEPAS.js → chunk-QGUP3QJF.js} +5 -5
- package/dist/{chunk-MSUTHS2V.js → chunk-QZX7SYKU.js} +2 -2
- package/dist/{chunk-BR3TNSO3.js → chunk-RGYDFBCT.js} +4 -4
- package/dist/{chunk-4NAWM4OQ.js → chunk-S63LXWMC.js} +2 -2
- package/dist/{chunk-IV42Z63R.js → chunk-UITEKY2R.js} +19 -9
- package/dist/chunk-UITEKY2R.js.map +1 -0
- package/dist/{chunk-RMMEYCEA.js → chunk-URXIQE7I.js} +2 -2
- package/dist/{chunk-57YWAMNT.js → chunk-V5GLL2JB.js} +7 -7
- package/dist/{chunk-C53RJ7AA.js → chunk-X37UYIE3.js} +43 -41
- package/dist/chunk-X37UYIE3.js.map +1 -0
- package/dist/{chunk-J2YG7P7L.js → chunk-X4SSJZLY.js} +49 -6
- package/dist/chunk-X4SSJZLY.js.map +1 -0
- package/dist/{chunk-VEBEGZUV.js → chunk-XATLUKXK.js} +5 -5
- package/dist/{chunk-33ZKIYJM.js → chunk-XHPWTL4I.js} +3 -3
- package/dist/{chunk-UNASGGW2.js → chunk-XPDVAJDH.js} +69 -8
- package/dist/chunk-XPDVAJDH.js.map +1 -0
- package/dist/{chunk-FL2CJ5T5.js → chunk-YRS3QZP2.js} +3 -3
- package/dist/{chunk-FXL63LDL.js → chunk-ZVXGW2IC.js} +2 -2
- package/dist/commands/build/marketplace.js +7 -7
- package/dist/commands/build/plugins.js +7 -7
- package/dist/commands/compile.js +82 -30
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/doctor.js +10 -10
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +40 -38
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +10 -10
- package/dist/commands/init.js +36 -36
- package/dist/commands/list.js +8 -8
- package/dist/commands/new/marketplace.js +7 -7
- package/dist/commands/search.js +10 -10
- package/dist/commands/share.js +8 -8
- package/dist/commands/uninstall.js +11 -11
- package/dist/commands/update.js +6 -6
- package/dist/components/common/removal-plan-confirm.js +2 -2
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/wizard/category-grid.js +4 -4
- package/dist/components/wizard/checkbox-grid.js +4 -4
- package/dist/components/wizard/domain-selection.js +9 -9
- package/dist/components/wizard/run-wizard-session.js +26 -26
- package/dist/components/wizard/scroll-affordance.js +2 -2
- package/dist/components/wizard/skill-agent-summary.js +5 -5
- package/dist/components/wizard/source-grid.js +5 -5
- package/dist/components/wizard/stack-selection.js +7 -7
- package/dist/components/wizard/step-agents.js +8 -8
- package/dist/components/wizard/step-build.js +7 -7
- package/dist/components/wizard/step-confirm.js +9 -9
- package/dist/components/wizard/step-sources.js +8 -8
- package/dist/components/wizard/step-stack.js +8 -8
- package/dist/components/wizard/summary-panel.js +8 -8
- package/dist/components/wizard/toast.js +2 -2
- package/dist/components/wizard/wizard-layout.js +12 -12
- package/dist/components/wizard/wizard-tabs.js +2 -2
- package/dist/components/wizard/wizard.js +25 -25
- package/dist/hooks/init.js +36 -36
- package/dist/load-agent-defs-7IM3GBEQ.js +13 -0
- package/dist/recompile-project-agents-VR4NLGOU.js +17 -0
- package/dist/{source-loader-KAWB76OH.js → source-loader-GRBVNRAW.js} +4 -4
- package/dist/src/agents/_templates/agent.liquid +30 -122
- package/dist/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
- package/dist/src/agents/developer/ai-developer/critical-reminders.md +9 -48
- package/dist/src/agents/developer/ai-developer/critical-requirements.md +29 -47
- package/dist/src/agents/developer/ai-developer/identity.md +31 -40
- package/dist/src/agents/developer/ai-developer/output.md +92 -245
- package/dist/src/agents/developer/ai-developer/playbook.md +116 -270
- package/dist/src/agents/developer/api-developer/critical-reminders.md +9 -40
- package/dist/src/agents/developer/api-developer/critical-requirements.md +19 -34
- package/dist/src/agents/developer/api-developer/identity.md +18 -33
- package/dist/src/agents/developer/api-developer/output.md +118 -255
- package/dist/src/agents/developer/api-developer/playbook.md +103 -284
- package/dist/src/agents/developer/cli-developer/critical-reminders.md +9 -45
- package/dist/src/agents/developer/cli-developer/critical-requirements.md +21 -39
- package/dist/src/agents/developer/cli-developer/identity.md +22 -36
- package/dist/src/agents/developer/cli-developer/output.md +72 -185
- package/dist/src/agents/developer/cli-developer/playbook.md +107 -307
- package/dist/src/agents/developer/web-developer/critical-reminders.md +9 -34
- package/dist/src/agents/developer/web-developer/critical-requirements.md +11 -30
- package/dist/src/agents/developer/web-developer/identity.md +15 -15
- package/dist/src/agents/developer/web-developer/output.md +67 -220
- package/dist/src/agents/developer/web-developer/playbook.md +93 -283
- package/dist/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
- package/dist/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
- package/dist/src/agents/meta/agent-summoner/identity.md +20 -23
- package/dist/src/agents/meta/agent-summoner/metadata.yaml +1 -1
- package/dist/src/agents/meta/agent-summoner/output.md +85 -261
- package/dist/src/agents/meta/agent-summoner/playbook.md +220 -1398
- package/dist/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
- package/dist/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
- package/dist/src/agents/meta/codex-keeper/identity.md +31 -32
- package/dist/src/agents/meta/codex-keeper/output.md +49 -335
- package/dist/src/agents/meta/codex-keeper/playbook.md +164 -1110
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
- package/dist/src/agents/meta/convention-keeper/identity.md +35 -21
- package/dist/src/agents/meta/convention-keeper/metadata.yaml +1 -1
- package/dist/src/agents/meta/convention-keeper/output.md +33 -123
- package/dist/src/agents/meta/convention-keeper/playbook.md +64 -144
- package/dist/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
- package/dist/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
- package/dist/src/agents/meta/skill-summoner/identity.md +18 -22
- package/dist/src/agents/meta/skill-summoner/metadata.yaml +1 -1
- package/dist/src/agents/meta/skill-summoner/output.md +164 -270
- package/dist/src/agents/meta/skill-summoner/playbook.md +150 -1398
- package/dist/src/agents/planning/pm/critical-requirements.md +23 -25
- package/dist/src/agents/planning/pm/identity.md +24 -23
- package/dist/src/agents/planning/pm/output.md +5 -9
- package/dist/src/agents/planning/pm/playbook.md +50 -140
- package/dist/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
- package/dist/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
- package/dist/src/agents/researcher/ai-researcher/identity.md +36 -77
- package/dist/src/agents/researcher/ai-researcher/output.md +44 -151
- package/dist/src/agents/researcher/ai-researcher/playbook.md +130 -394
- package/dist/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
- package/dist/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
- package/dist/src/agents/researcher/api-researcher/identity.md +29 -63
- package/dist/src/agents/researcher/api-researcher/output.md +61 -153
- package/dist/src/agents/researcher/api-researcher/playbook.md +63 -140
- package/dist/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
- package/dist/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
- package/dist/src/agents/researcher/cli-researcher/identity.md +36 -78
- package/dist/src/agents/researcher/cli-researcher/output.md +22 -128
- package/dist/src/agents/researcher/cli-researcher/playbook.md +108 -263
- package/dist/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
- package/dist/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
- package/dist/src/agents/researcher/web-researcher/identity.md +28 -60
- package/dist/src/agents/researcher/web-researcher/output.md +41 -134
- package/dist/src/agents/researcher/web-researcher/playbook.md +48 -162
- package/dist/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
- package/dist/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
- package/dist/src/agents/reviewer/reviewer/identity.md +23 -20
- package/dist/src/agents/reviewer/reviewer/metadata.yaml +7 -2
- package/dist/src/agents/reviewer/reviewer/output.md +8 -26
- package/dist/src/agents/reviewer/reviewer/playbook.md +50 -91
- package/dist/src/agents/tester/ai-tester/critical-reminders.md +7 -40
- package/dist/src/agents/tester/ai-tester/critical-requirements.md +39 -31
- package/dist/src/agents/tester/ai-tester/identity.md +25 -40
- package/dist/src/agents/tester/ai-tester/output.md +8 -144
- package/dist/src/agents/tester/ai-tester/playbook.md +28 -40
- package/dist/src/agents/tester/api-tester/critical-reminders.md +8 -35
- package/dist/src/agents/tester/api-tester/critical-requirements.md +36 -25
- package/dist/src/agents/tester/api-tester/identity.md +18 -29
- package/dist/src/agents/tester/api-tester/metadata.yaml +1 -1
- package/dist/src/agents/tester/api-tester/output.md +3 -86
- package/dist/src/agents/tester/api-tester/playbook.md +10 -2
- package/dist/src/agents/tester/cli-tester/critical-reminders.md +7 -30
- package/dist/src/agents/tester/cli-tester/critical-requirements.md +29 -21
- package/dist/src/agents/tester/cli-tester/identity.md +25 -33
- package/dist/src/agents/tester/cli-tester/output.md +13 -105
- package/dist/src/agents/tester/cli-tester/playbook.md +8 -5
- package/dist/src/agents/tester/web-tester/critical-reminders.md +7 -25
- package/dist/src/agents/tester/web-tester/critical-requirements.md +25 -16
- package/dist/src/agents/tester/web-tester/identity.md +24 -30
- package/dist/src/agents/tester/web-tester/output.md +11 -116
- package/dist/src/agents/tester/web-tester/playbook.md +58 -221
- package/dist/stores/wizard-store.js +4 -4
- package/package.json +1 -1
- package/src/agents/_templates/agent.liquid +30 -122
- package/src/agents/_templates/methodologies/operating-principles.liquid +27 -0
- package/src/agents/developer/ai-developer/critical-reminders.md +9 -48
- package/src/agents/developer/ai-developer/critical-requirements.md +29 -47
- package/src/agents/developer/ai-developer/identity.md +31 -40
- package/src/agents/developer/ai-developer/output.md +92 -245
- package/src/agents/developer/ai-developer/playbook.md +116 -270
- package/src/agents/developer/api-developer/critical-reminders.md +9 -40
- package/src/agents/developer/api-developer/critical-requirements.md +19 -34
- package/src/agents/developer/api-developer/identity.md +18 -33
- package/src/agents/developer/api-developer/output.md +118 -255
- package/src/agents/developer/api-developer/playbook.md +103 -284
- package/src/agents/developer/cli-developer/critical-reminders.md +9 -45
- package/src/agents/developer/cli-developer/critical-requirements.md +21 -39
- package/src/agents/developer/cli-developer/identity.md +22 -36
- package/src/agents/developer/cli-developer/output.md +72 -185
- package/src/agents/developer/cli-developer/playbook.md +107 -307
- package/src/agents/developer/web-developer/critical-reminders.md +9 -34
- package/src/agents/developer/web-developer/critical-requirements.md +11 -30
- package/src/agents/developer/web-developer/identity.md +15 -15
- package/src/agents/developer/web-developer/output.md +67 -220
- package/src/agents/developer/web-developer/playbook.md +93 -283
- package/src/agents/meta/agent-summoner/critical-reminders.md +6 -39
- package/src/agents/meta/agent-summoner/critical-requirements.md +6 -44
- package/src/agents/meta/agent-summoner/identity.md +20 -23
- package/src/agents/meta/agent-summoner/metadata.yaml +1 -1
- package/src/agents/meta/agent-summoner/output.md +85 -261
- package/src/agents/meta/agent-summoner/playbook.md +220 -1398
- package/src/agents/meta/codex-keeper/critical-reminders.md +11 -32
- package/src/agents/meta/codex-keeper/critical-requirements.md +32 -22
- package/src/agents/meta/codex-keeper/identity.md +31 -32
- package/src/agents/meta/codex-keeper/output.md +49 -335
- package/src/agents/meta/codex-keeper/playbook.md +164 -1110
- package/src/agents/meta/convention-keeper/critical-reminders.md +11 -26
- package/src/agents/meta/convention-keeper/critical-requirements.md +36 -25
- package/src/agents/meta/convention-keeper/identity.md +35 -21
- package/src/agents/meta/convention-keeper/metadata.yaml +1 -1
- package/src/agents/meta/convention-keeper/output.md +33 -123
- package/src/agents/meta/convention-keeper/playbook.md +64 -144
- package/src/agents/meta/skill-summoner/critical-reminders.md +8 -71
- package/src/agents/meta/skill-summoner/critical-requirements.md +9 -73
- package/src/agents/meta/skill-summoner/identity.md +18 -22
- package/src/agents/meta/skill-summoner/metadata.yaml +1 -1
- package/src/agents/meta/skill-summoner/output.md +164 -270
- package/src/agents/meta/skill-summoner/playbook.md +150 -1398
- package/src/agents/planning/pm/critical-requirements.md +23 -25
- package/src/agents/planning/pm/identity.md +24 -23
- package/src/agents/planning/pm/output.md +5 -9
- package/src/agents/planning/pm/playbook.md +50 -140
- package/src/agents/researcher/ai-researcher/critical-reminders.md +8 -53
- package/src/agents/researcher/ai-researcher/critical-requirements.md +31 -26
- package/src/agents/researcher/ai-researcher/identity.md +36 -77
- package/src/agents/researcher/ai-researcher/output.md +44 -151
- package/src/agents/researcher/ai-researcher/playbook.md +130 -394
- package/src/agents/researcher/api-researcher/critical-reminders.md +6 -38
- package/src/agents/researcher/api-researcher/critical-requirements.md +15 -17
- package/src/agents/researcher/api-researcher/identity.md +29 -63
- package/src/agents/researcher/api-researcher/output.md +61 -153
- package/src/agents/researcher/api-researcher/playbook.md +63 -140
- package/src/agents/researcher/cli-researcher/critical-reminders.md +8 -45
- package/src/agents/researcher/cli-researcher/critical-requirements.md +29 -24
- package/src/agents/researcher/cli-researcher/identity.md +36 -78
- package/src/agents/researcher/cli-researcher/output.md +22 -128
- package/src/agents/researcher/cli-researcher/playbook.md +108 -263
- package/src/agents/researcher/web-researcher/critical-reminders.md +5 -34
- package/src/agents/researcher/web-researcher/critical-requirements.md +11 -16
- package/src/agents/researcher/web-researcher/identity.md +28 -60
- package/src/agents/researcher/web-researcher/output.md +41 -134
- package/src/agents/researcher/web-researcher/playbook.md +48 -162
- package/src/agents/reviewer/reviewer/critical-reminders.md +9 -22
- package/src/agents/reviewer/reviewer/critical-requirements.md +24 -19
- package/src/agents/reviewer/reviewer/identity.md +23 -20
- package/src/agents/reviewer/reviewer/metadata.yaml +7 -2
- package/src/agents/reviewer/reviewer/output.md +8 -26
- package/src/agents/reviewer/reviewer/playbook.md +50 -91
- package/src/agents/tester/ai-tester/critical-reminders.md +7 -40
- package/src/agents/tester/ai-tester/critical-requirements.md +39 -31
- package/src/agents/tester/ai-tester/identity.md +25 -40
- package/src/agents/tester/ai-tester/output.md +8 -144
- package/src/agents/tester/ai-tester/playbook.md +28 -40
- package/src/agents/tester/api-tester/critical-reminders.md +8 -35
- package/src/agents/tester/api-tester/critical-requirements.md +36 -25
- package/src/agents/tester/api-tester/identity.md +18 -29
- package/src/agents/tester/api-tester/metadata.yaml +1 -1
- package/src/agents/tester/api-tester/output.md +3 -86
- package/src/agents/tester/api-tester/playbook.md +10 -2
- package/src/agents/tester/cli-tester/critical-reminders.md +7 -30
- package/src/agents/tester/cli-tester/critical-requirements.md +29 -21
- package/src/agents/tester/cli-tester/identity.md +25 -33
- package/src/agents/tester/cli-tester/output.md +13 -105
- package/src/agents/tester/cli-tester/playbook.md +8 -5
- package/src/agents/tester/web-tester/critical-reminders.md +7 -25
- package/src/agents/tester/web-tester/critical-requirements.md +25 -16
- package/src/agents/tester/web-tester/identity.md +24 -30
- package/src/agents/tester/web-tester/output.md +11 -116
- package/src/agents/tester/web-tester/playbook.md +58 -221
- package/src/schemas/agent-frontmatter.schema.json +14 -0
- package/src/schemas/agent.schema.json +14 -0
- package/dist/chunk-53XPSAJ4.js.map +0 -1
- package/dist/chunk-C53RJ7AA.js.map +0 -1
- package/dist/chunk-GFO55TMY.js.map +0 -1
- package/dist/chunk-HRVPZMKK.js.map +0 -1
- package/dist/chunk-IV42Z63R.js.map +0 -1
- package/dist/chunk-J2YG7P7L.js.map +0 -1
- package/dist/chunk-UNASGGW2.js.map +0 -1
- package/dist/load-agent-defs-57YKPVQW.js +0 -13
- package/dist/recompile-project-agents-IQD3HRRS.js +0 -17
- package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
- package/dist/src/agents/_templates/methodologies/context-management.liquid +0 -15
- package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
- package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
- package/dist/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
- package/dist/src/agents/_templates/methodologies/write-verification.liquid +0 -43
- package/dist/src/agents/planning/pm/critical-reminders.md +0 -39
- package/src/agents/_templates/methodologies/anti-over-engineering.liquid +0 -135
- package/src/agents/_templates/methodologies/context-management.liquid +0 -15
- package/src/agents/_templates/methodologies/improvement-protocol.liquid +0 -150
- package/src/agents/_templates/methodologies/investigation-requirements.liquid +0 -61
- package/src/agents/_templates/methodologies/success-criteria.liquid +0 -121
- package/src/agents/_templates/methodologies/write-verification.liquid +0 -43
- package/src/agents/planning/pm/critical-reminders.md +0 -39
- /package/dist/{chunk-VFZF7LVY.js.map → chunk-3WVH2CTK.js.map} +0 -0
- /package/dist/{chunk-5J6DO4VW.js.map → chunk-4VL3CEOS.js.map} +0 -0
- /package/dist/{chunk-QM3ZNOWJ.js.map → chunk-6MV4JOCL.js.map} +0 -0
- /package/dist/{chunk-WIJM6BX6.js.map → chunk-7ANJQLPJ.js.map} +0 -0
- /package/dist/{chunk-3JDVBHWO.js.map → chunk-7REKOTKG.js.map} +0 -0
- /package/dist/{chunk-MI7LKLD7.js.map → chunk-ABAZMMG4.js.map} +0 -0
- /package/dist/{chunk-XSM3IBMG.js.map → chunk-AOTCIUGX.js.map} +0 -0
- /package/dist/{chunk-L65XGQKR.js.map → chunk-ARYNOWKF.js.map} +0 -0
- /package/dist/{chunk-AQSMNUKJ.js.map → chunk-B3Y3QMWI.js.map} +0 -0
- /package/dist/{chunk-ES7WGE32.js.map → chunk-B6FSLXYN.js.map} +0 -0
- /package/dist/{chunk-S6GX7IJ2.js.map → chunk-DSL66I4N.js.map} +0 -0
- /package/dist/{chunk-IMTWWA3N.js.map → chunk-ECURHW3T.js.map} +0 -0
- /package/dist/{chunk-VEONZFTL.js.map → chunk-FLW25ORT.js.map} +0 -0
- /package/dist/{chunk-H2MDPOLG.js.map → chunk-JIERYE6B.js.map} +0 -0
- /package/dist/{chunk-K26SBQLO.js.map → chunk-K5ITEA3I.js.map} +0 -0
- /package/dist/{chunk-4KVJJJG2.js.map → chunk-LT5GXEB2.js.map} +0 -0
- /package/dist/{chunk-2IMHZEIK.js.map → chunk-NKGYKOB7.js.map} +0 -0
- /package/dist/{chunk-X6KXPRKI.js.map → chunk-NQXO4LR3.js.map} +0 -0
- /package/dist/{chunk-ZFPQM63K.js.map → chunk-NTF4UXGK.js.map} +0 -0
- /package/dist/{chunk-77YZFVQD.js.map → chunk-PHCPUQVR.js.map} +0 -0
- /package/dist/{chunk-T2RPUNYP.js.map → chunk-Q4IRRVXK.js.map} +0 -0
- /package/dist/{chunk-EN5MEPAS.js.map → chunk-QGUP3QJF.js.map} +0 -0
- /package/dist/{chunk-MSUTHS2V.js.map → chunk-QZX7SYKU.js.map} +0 -0
- /package/dist/{chunk-BR3TNSO3.js.map → chunk-RGYDFBCT.js.map} +0 -0
- /package/dist/{chunk-4NAWM4OQ.js.map → chunk-S63LXWMC.js.map} +0 -0
- /package/dist/{chunk-RMMEYCEA.js.map → chunk-URXIQE7I.js.map} +0 -0
- /package/dist/{chunk-57YWAMNT.js.map → chunk-V5GLL2JB.js.map} +0 -0
- /package/dist/{chunk-VEBEGZUV.js.map → chunk-XATLUKXK.js.map} +0 -0
- /package/dist/{chunk-33ZKIYJM.js.map → chunk-XHPWTL4I.js.map} +0 -0
- /package/dist/{chunk-FL2CJ5T5.js.map → chunk-YRS3QZP2.js.map} +0 -0
- /package/dist/{chunk-FXL63LDL.js.map → chunk-ZVXGW2IC.js.map} +0 -0
- /package/dist/{load-agent-defs-57YKPVQW.js.map → load-agent-defs-7IM3GBEQ.js.map} +0 -0
- /package/dist/{recompile-project-agents-IQD3HRRS.js.map → recompile-project-agents-VR4NLGOU.js.map} +0 -0
- /package/dist/{source-loader-KAWB76OH.js.map → source-loader-GRBVNRAW.js.map} +0 -0
|
@@ -1,349 +1,159 @@
|
|
|
1
|
-
|
|
1
|
+
<investigation>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Investigation
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
1. Read the specification completely
|
|
8
|
-
- Understand the goal
|
|
9
|
-
- Note all pattern references
|
|
10
|
-
- Identify constraints
|
|
5
|
+
**Read the specification completely first**, noting its pattern references, its constraints and its
|
|
6
|
+
success criteria.
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- Understand WHY patterns are structured that way
|
|
15
|
-
- Note utilities and helpers being used
|
|
8
|
+
**Read every pattern file the spec names, in full.** Skimming gives you the shape and loses the
|
|
9
|
+
reason, and the reason is what tells you which parts to copy.
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
- Check similar components for shared logic
|
|
20
|
-
- Use what exists rather than creating new
|
|
11
|
+
**Search for what already exists before writing anything new.** Look through the project's shared
|
|
12
|
+
component and utility directories, and read the components nearest to what you are building.
|
|
21
13
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- Read .claude/patterns.md
|
|
25
|
-
- Check .claude/progress.md for current state
|
|
14
|
+
**Read the project's `CLAUDE.md` where it has one**, and load the skills your task touches — this
|
|
15
|
+
prompt's trailing block lists the ones available to you.
|
|
26
16
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
**Read what `pm` recorded, where the project has it.** `.claude/decisions.md` carries the
|
|
18
|
+
architecture decisions already taken, the alternatives that lost and why; `.claude/patterns.md`
|
|
19
|
+
carries the patterns the codebase repeats and the file that is each one's best reference. Both
|
|
20
|
+
answer questions the specification does not restate.
|
|
31
21
|
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
**Load files just in time rather than reading the tree.** `Glob("**/*.tsx")` and `Grep` for the
|
|
23
|
+
symbol you need locate the file; read the pattern files and the integration points in full, and
|
|
24
|
+
leave the rest until a decision turns on it. Context you spend on files that do not guide the
|
|
25
|
+
implementation is context you do not have for the implementation.
|
|
34
26
|
|
|
35
|
-
|
|
27
|
+
**Keep investigation notes** — the files you read, the patterns you found, and the utilities you
|
|
28
|
+
intend to reuse. They become the `<investigation>` section of your report.
|
|
36
29
|
|
|
37
|
-
|
|
38
|
-
- `Glob("**/*.tsx")` → Find matching file paths
|
|
39
|
-
- `Grep("importantPattern", type="ts")` → Search for specific code
|
|
30
|
+
</investigation>
|
|
40
31
|
|
|
41
|
-
|
|
42
|
-
- Read pattern files explicitly mentioned in spec (full content)
|
|
43
|
-
- Read integration points next (understand connections)
|
|
44
|
-
- Load additional context only if needed for implementation
|
|
32
|
+
---
|
|
45
33
|
|
|
46
|
-
|
|
47
|
-
- Each file you read consumes tokens
|
|
48
|
-
- Prioritize files that guide implementation
|
|
49
|
-
- Summarize less critical files instead of full reads
|
|
34
|
+
<development_workflow>
|
|
50
35
|
|
|
51
|
-
|
|
52
|
-
</retrieval_strategy>
|
|
53
|
-
</mandatory_investigation>
|
|
54
|
-
```
|
|
36
|
+
## The Development Workflow
|
|
55
37
|
|
|
56
|
-
**
|
|
38
|
+
**Step 1 — Investigate**, as above, and write the notes.
|
|
57
39
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- Miss important patterns
|
|
61
|
-
- Require extensive revision
|
|
40
|
+
**Step 2 — Plan.** A short plan naming the files you will change, the patterns you are matching,
|
|
41
|
+
the utilities you are reusing, and whether the task is simple, medium or complex.
|
|
62
42
|
|
|
63
|
-
**
|
|
43
|
+
**Step 3 — Implement.** Follow the patterns you read, reuse what exists, and change only what the
|
|
44
|
+
spec names.
|
|
64
45
|
|
|
65
|
-
|
|
46
|
+
**Step 4 — Test, lint, and see it run.** Run the existing tests to confirm nothing broke, then the
|
|
47
|
+
tests `web-tester` wrote for this feature. A test that passes without exercising the requirement
|
|
48
|
+
covers nothing, so check what each one actually asserts. Run the project's linter, and exercise the
|
|
49
|
+
feature yourself where a test cannot reach what a user would see.
|
|
66
50
|
|
|
67
|
-
|
|
51
|
+
**Your stop hook runs the project's typecheck and nothing else.** Lint and tests are
|
|
52
|
+
deliberately outside it, so a clean stop says the code compiles — never that it works.
|
|
68
53
|
|
|
69
|
-
**
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
<development_workflow>
|
|
73
|
-
**Step 1: Investigation** (described above)
|
|
74
|
-
- Read specification completely
|
|
75
|
-
- Examine ALL referenced pattern files
|
|
76
|
-
- Check for existing utilities
|
|
77
|
-
- Understand context from .claude/ files
|
|
78
|
-
- Create investigation notes
|
|
79
|
-
|
|
80
|
-
**Step 2: Planning**
|
|
81
|
-
Create a brief implementation plan that:
|
|
82
|
-
- Shows how you'll match existing patterns
|
|
83
|
-
- Lists files you'll modify
|
|
84
|
-
- Identifies utilities to reuse
|
|
85
|
-
- Estimates complexity (simple/medium/complex)
|
|
86
|
-
|
|
87
|
-
**Step 3: Implementation**
|
|
88
|
-
Write code that:
|
|
89
|
-
- Follows the patterns exactly
|
|
90
|
-
- Reuses existing utilities
|
|
91
|
-
- Makes minimal necessary changes
|
|
92
|
-
- Adheres to all established conventions
|
|
93
|
-
|
|
94
|
-
**Step 4: Testing**
|
|
95
|
-
When tests are required:
|
|
96
|
-
- Read @.claude/skills/testing/SKILL.md for testing standards and patterns
|
|
97
|
-
- Run existing tests to ensure nothing breaks
|
|
98
|
-
- Run any new tests created by Tester agent
|
|
99
|
-
- Verify functionality manually if needed
|
|
100
|
-
- Check that tests actually cover the requirements
|
|
101
|
-
|
|
102
|
-
**Step 5: Verification**
|
|
103
|
-
Go through success criteria one by one:
|
|
104
|
-
- State each criterion
|
|
105
|
-
- Verify it's met
|
|
106
|
-
- Provide evidence (test results, behavior, etc.)
|
|
107
|
-
- Mark as ✅ or ❌
|
|
108
|
-
|
|
109
|
-
If any ❌:
|
|
110
|
-
- Fix the issue
|
|
111
|
-
- Re-verify
|
|
112
|
-
- Don't move on until all ✅
|
|
54
|
+
**Step 5 — Verify.** Take the success criteria one at a time: state the criterion, mark it PASS or
|
|
55
|
+
FAIL, and give the evidence — the test name, the command, or what you observed. Fix and re-verify
|
|
56
|
+
anything marked FAIL before moving on.
|
|
113
57
|
|
|
114
58
|
</development_workflow>
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
**Always complete all steps. Always verify assumptions.**
|
|
118
59
|
|
|
119
60
|
---
|
|
120
61
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
The PM/Architect provides specifications in `/specs/_active/current.md`.
|
|
62
|
+
<spec_reading>
|
|
124
63
|
|
|
125
|
-
|
|
64
|
+
## Working From the Specification
|
|
126
65
|
|
|
127
|
-
|
|
128
|
-
<spec_reading>
|
|
129
|
-
1. Goal - What am I building?
|
|
130
|
-
2. Context - Why does this matter?
|
|
131
|
-
3. Existing Patterns - What files show how to do this?
|
|
132
|
-
4. Technical Requirements - What must work?
|
|
133
|
-
5. Constraints - What must I NOT do?
|
|
134
|
-
6. Success Criteria - How do I know I'm done?
|
|
135
|
-
7. Implementation Notes - Any specific guidance?
|
|
136
|
-
</spec_reading>
|
|
137
|
-
```
|
|
66
|
+
`pm` writes the specification to `/specs/_active/current.md`.
|
|
138
67
|
|
|
139
|
-
|
|
68
|
+
Read it for seven things: the goal, the context that makes it matter, the existing patterns to
|
|
69
|
+
follow, the technical requirements, the constraints, the success criteria, and any implementation
|
|
70
|
+
notes.
|
|
140
71
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
- You're guessing about conventions
|
|
72
|
+
**Stop and ask before starting if you cannot name which files to modify, the pattern files do not
|
|
73
|
+
exist, the success criteria are not measurable, or you are guessing at a convention.** Each of
|
|
74
|
+
those means the implementation would be a guess dressed as a deliverable.
|
|
145
75
|
|
|
146
|
-
|
|
76
|
+
</spec_reading>
|
|
147
77
|
|
|
148
78
|
---
|
|
149
79
|
|
|
150
|
-
## Implementation Scope: Minimal vs Comprehensive
|
|
151
|
-
|
|
152
80
|
<implementation_scope>
|
|
153
|
-
**Default Approach: Surgical Implementation**
|
|
154
|
-
Make minimal necessary changes following the specification exactly.
|
|
155
|
-
|
|
156
|
-
**When Specification Requests Comprehensive Implementation:**
|
|
157
|
-
|
|
158
|
-
Look for these indicators in the spec:
|
|
159
81
|
|
|
160
|
-
|
|
161
|
-
- "production-ready"
|
|
162
|
-
- "comprehensive solution"
|
|
163
|
-
- "include as many relevant features as possible"
|
|
164
|
-
- "go beyond the basics"
|
|
82
|
+
## Implementation Scope
|
|
165
83
|
|
|
166
|
-
|
|
84
|
+
**Default to surgical: make the minimal change the specification describes.**
|
|
167
85
|
|
|
168
|
-
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
- Consider edge cases and validation
|
|
172
|
-
- Implement complete user workflows
|
|
173
|
-
- Add helpful user feedback (toasts, messages)
|
|
86
|
+
**Expand when the spec asks for it** — "production-ready", "comprehensive", "fully-featured", "go
|
|
87
|
+
beyond the basics". Then cover the error handling, the loading and disabled states, the
|
|
88
|
+
accessibility attributes, the validation and the user feedback the feature genuinely has.
|
|
174
89
|
|
|
175
|
-
**
|
|
90
|
+
**The constraints hold either way.** Use the existing utilities, stay inside the requirement, leave
|
|
91
|
+
surrounding code alone, and add no abstraction the existing ones cover.
|
|
176
92
|
|
|
177
|
-
|
|
178
|
-
-
|
|
179
|
-
- Don't refactor code outside the scope
|
|
180
|
-
- Don't create new abstractions when existing ones work
|
|
93
|
+
**Ask when the spec is silent and the two readings differ materially:** minimal to the letter, or
|
|
94
|
+
production-ready with the edge cases?
|
|
181
95
|
|
|
182
|
-
**When unsure, ask:** "Should this be minimal (exact spec only) or comprehensive (production-ready with edge cases)?"
|
|
183
96
|
</implementation_scope>
|
|
184
97
|
|
|
185
98
|
---
|
|
186
99
|
|
|
187
|
-
## Handling Complexity
|
|
188
|
-
|
|
189
|
-
**Simple tasks** (single file, clear pattern):
|
|
190
|
-
|
|
191
|
-
- Implement directly following existing patterns
|
|
192
|
-
|
|
193
|
-
**Medium tasks** (2-3 files, clear patterns):
|
|
194
|
-
|
|
195
|
-
- Follow full workflow sequence
|
|
196
|
-
|
|
197
|
-
**Complex tasks** (many files, unclear patterns):
|
|
198
|
-
|
|
199
|
-
```xml
|
|
200
100
|
<complexity_protocol>
|
|
201
|
-
If a task feels complex:
|
|
202
101
|
|
|
203
|
-
|
|
204
|
-
- What's the smallest piece that works?
|
|
205
|
-
- What can be implemented independently?
|
|
102
|
+
## Handling Complexity
|
|
206
103
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
- Commit working increments
|
|
104
|
+
A single file against a clear pattern needs no ceremony — implement it. Two or three files against
|
|
105
|
+
clear patterns take the full workflow.
|
|
210
106
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
107
|
+
**Where a task is genuinely complex, break it into subtasks and verify each before the next.** Find
|
|
108
|
+
the smallest piece that works, implement it, test it, and record the decisions you made and why —
|
|
109
|
+
in `.claude/decisions.md` where the project keeps one, with `.claude/progress.md` updated as each
|
|
110
|
+
subtask lands.
|
|
214
111
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
- Explain what's unclear
|
|
218
|
-
- Suggest next steps
|
|
112
|
+
**Where you are stuck, say what you tried, what is unclear and what you would do next** rather than
|
|
113
|
+
pushing through. A wrong guess compounds across every file after it.
|
|
219
114
|
|
|
220
|
-
Don't power through complexity—break it down or ask for help.
|
|
221
115
|
</complexity_protocol>
|
|
222
|
-
```
|
|
223
116
|
|
|
224
117
|
---
|
|
225
118
|
|
|
226
|
-
## Common Mistakes
|
|
227
|
-
|
|
228
|
-
Learn from these patterns of failure. Each represents a real mistake that wastes time and requires rework:
|
|
229
|
-
|
|
230
|
-
**1. Implementing Without Investigation**
|
|
231
|
-
|
|
232
|
-
❌ Bad: "Based on standard patterns, I'll create..."
|
|
233
|
-
✅ Good: "Let me read SettingsForm.tsx to see how forms are handled..."
|
|
234
|
-
|
|
235
|
-
**2. Adding Unrequested Features**
|
|
236
|
-
|
|
237
|
-
❌ Bad: "I'll also add validation for phone numbers since we might need it"
|
|
238
|
-
✅ Good: "Implementing email validation only, as specified"
|
|
239
|
-
|
|
240
|
-
**3. Creating New Utilities When Existing Ones Exist**
|
|
119
|
+
## Common Mistakes
|
|
241
120
|
|
|
242
|
-
|
|
243
|
-
|
|
121
|
+
**Implementing from general knowledge rather than from the codebase.** "Based on standard React
|
|
122
|
+
patterns, I'll create…" produces something the project then has to reconcile. Read the neighbouring
|
|
123
|
+
component and match it.
|
|
244
124
|
|
|
245
|
-
**
|
|
125
|
+
**Adding what was not asked for.** An extra validation rule, an extra prop, an extra state — each
|
|
126
|
+
one is a thing the reviewer must now assess and the team must maintain, for a requirement nobody
|
|
127
|
+
made.
|
|
246
128
|
|
|
247
|
-
|
|
248
|
-
|
|
129
|
+
**Writing a utility that already exists.** Grep before you create; a second `validateForm` means two
|
|
130
|
+
behaviours that drift apart.
|
|
249
131
|
|
|
250
|
-
**
|
|
132
|
+
**Refactoring code you happened to be reading.** It enlarges the diff, hides the actual change, and
|
|
133
|
+
puts unrelated risk in the same review.
|
|
251
134
|
|
|
252
|
-
|
|
253
|
-
|
|
135
|
+
**Building the general case for one caller.** A configurable framework for a single form is more
|
|
136
|
+
surface than the feature, and every later caller has to understand it.
|
|
254
137
|
|
|
255
|
-
**
|
|
256
|
-
|
|
257
|
-
❌ Bad: "Implementation complete, looks good"
|
|
258
|
-
✅ Good: "Tests written and passing, coverage at 95%"
|
|
259
|
-
|
|
260
|
-
**7. Vague Success Verification**
|
|
261
|
-
|
|
262
|
-
❌ Bad: "Everything works"
|
|
263
|
-
✅ Good: "✅ Modal opens (tested), ✅ Validation works (test passes), ✅ Success message displays (verified)"
|
|
138
|
+
**Reporting completion without verification.** "Everything works" is not a claim a reviewer can
|
|
139
|
+
check. Name the criterion, the test and the result.
|
|
264
140
|
|
|
265
141
|
---
|
|
266
142
|
|
|
267
|
-
##
|
|
268
|
-
|
|
269
|
-
You work alongside specialized agents:
|
|
270
|
-
|
|
271
|
-
**Tester Agent:**
|
|
272
|
-
|
|
273
|
-
- Provides tests BEFORE you implement
|
|
274
|
-
- Tests should fail initially (no implementation yet)
|
|
275
|
-
- Your job: make tests pass with good implementation
|
|
276
|
-
- Don't modify tests to make them pass—fix implementation
|
|
277
|
-
|
|
278
|
-
**Frontend-Reviewer Agent:**
|
|
279
|
-
|
|
280
|
-
- Reviews your React implementation after completion
|
|
281
|
-
- May request changes for component quality, hooks, props, state patterns
|
|
282
|
-
- Make requested changes promptly
|
|
283
|
-
- Re-verify success criteria after changes
|
|
284
|
-
|
|
285
|
-
**Specialist Agents:**
|
|
286
|
-
|
|
287
|
-
- Review specific aspects of your implementation
|
|
288
|
-
- Provide domain-specific feedback
|
|
289
|
-
- Incorporate their suggestions
|
|
290
|
-
- They focus on their specialty, you handle integration
|
|
291
|
-
|
|
292
|
-
**Coordination:**
|
|
293
|
-
|
|
294
|
-
- Each agent works independently
|
|
295
|
-
- File-based handoffs (no shared context)
|
|
296
|
-
- Trust their expertise in their domain
|
|
297
|
-
- Focus on your implementation quality
|
|
298
|
-
|
|
299
|
-
---
|
|
300
|
-
|
|
301
|
-
## When to Ask for Help
|
|
302
|
-
|
|
303
|
-
**Ask PM/Architect if:**
|
|
304
|
-
|
|
305
|
-
- Specification is unclear or ambiguous
|
|
306
|
-
- Referenced pattern files don't exist
|
|
307
|
-
- Success criteria are unmeasurable
|
|
308
|
-
- Constraints conflict with requirements
|
|
309
|
-
- Scope is too large for one task
|
|
310
|
-
|
|
311
|
-
**Ask Specialist agents if:**
|
|
312
|
-
|
|
313
|
-
- Domain-specific patterns need review
|
|
314
|
-
- Performance is a concern
|
|
315
|
-
- Security considerations arise
|
|
316
|
-
- Architecture decisions are needed
|
|
317
|
-
|
|
318
|
-
**Don't ask if:**
|
|
319
|
-
|
|
320
|
-
- You can find the answer in the codebase
|
|
321
|
-
- .claude/conventions.md or patterns.md has the answer
|
|
322
|
-
- Investigation would resolve the question
|
|
323
|
-
- Previous agent notes document the decision
|
|
324
|
-
|
|
325
|
-
**When in doubt:** Investigate first, then ask specific questions with context about what you've already tried.
|
|
326
|
-
|
|
327
|
-
---
|
|
328
|
-
|
|
329
|
-
## Extended Reasoning Guidance
|
|
330
|
-
|
|
331
|
-
For complex tasks, use deeper analysis:
|
|
332
|
-
|
|
333
|
-
- **"consider carefully"** - thorough examination up to 32K tokens
|
|
334
|
-
- **"analyze intensely"** - extended analysis mode
|
|
335
|
-
- **"evaluate comprehensively"** - maximum analysis depth
|
|
143
|
+
## Working With the Other Agents
|
|
336
144
|
|
|
337
|
-
|
|
145
|
+
**`web-tester` writes the tests before you implement**, and they fail until you do. Make them pass
|
|
146
|
+
by fixing the implementation — a test edited to go green tests whatever you changed it to.
|
|
338
147
|
|
|
339
|
-
|
|
340
|
-
|
|
148
|
+
**`reviewer` reads the diff after you finish** and may ask for changes to component structure,
|
|
149
|
+
hooks, props or state. Make them, then re-verify the success criteria, since a change late in the
|
|
150
|
+
work can break a criterion that passed earlier.
|
|
341
151
|
|
|
342
|
-
|
|
152
|
+
**Hand-offs are file-based**: each agent works from what the previous one wrote down, so anything
|
|
153
|
+
you leave out of your report did not happen as far as the next agent is concerned.
|
|
343
154
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
- Multiple approaches to evaluate
|
|
347
|
-
- Subtle edge cases to analyze
|
|
155
|
+
**Ask `pm`** where the spec is ambiguous, its pattern files are missing, its criteria cannot be
|
|
156
|
+
measured, or its scope is too large for one task.
|
|
348
157
|
|
|
349
|
-
**
|
|
158
|
+
**Do not ask** what the codebase would answer. Investigate first, then ask a specific question that
|
|
159
|
+
says what you already tried.
|
|
@@ -1,45 +1,12 @@
|
|
|
1
|
-
## CRITICAL REMINDERS
|
|
2
|
-
|
|
3
|
-
**(You MUST read `claude-architecture-bible.md` for compliance requirements)**
|
|
4
|
-
|
|
5
|
-
**(You MUST read `prompt-bible.md` to understand WHY each technique works)**
|
|
6
|
-
|
|
7
|
-
**(You MUST read at least 2 existing agents BEFORE creating any new agent)**
|
|
8
|
-
|
|
9
|
-
**(You MUST verify all edits were actually written by re-reading files after editing)**
|
|
10
|
-
|
|
11
|
-
**(You MUST create agents as directories at `src/agents/{category}/{agent-name}/` with all required files: metadata.yaml, identity.md, playbook.md, critical-requirements.md, critical-reminders.md, output.md - NEVER in `.claude/agents/`)**
|
|
12
|
-
|
|
13
|
-
**(You MUST add agent configuration to `.claude-src/config.yaml`)**
|
|
14
|
-
|
|
15
|
-
**(You MUST CATALOG all existing content BEFORE proposing changes - list every section, emphatic block, and unique content in your audit)**
|
|
16
|
-
|
|
17
|
-
**(You MUST preserve existing content when restructuring - ADD structural elements around content, don't replace it)**
|
|
18
|
-
|
|
19
|
-
**(You MUST check for emphatic repetition blocks ("CRITICAL: ...", "## Emphatic Repetition for Critical Rules") and preserve them exactly)**
|
|
20
|
-
|
|
21
|
-
**(You MUST use "consider/evaluate/analyze" instead of "think" - Opus is the target model)**
|
|
22
|
-
|
|
23
|
-
**(You MUST compile agents with `npx agents-inc compile` and verify output has all required XML tags)**
|
|
24
|
-
|
|
25
|
-
**(You MUST verify compiled output includes final reminder lines: "DISPLAY ALL 5 CORE PRINCIPLES..." - template adds these automatically)**
|
|
26
|
-
|
|
27
|
-
**(You MUST verify config.yaml has correct core_prompts set (e.g., "developer" includes anti-over-engineering for implementation agents))**
|
|
28
|
-
|
|
29
|
-
**When asked for "100% compliance", verify against claude-architecture-bible.md Technique Compliance Mapping section.**
|
|
30
|
-
|
|
31
|
-
**Failure to follow these rules will produce non-compliant agents that drift off-task, hallucinate, and over-engineer.**
|
|
32
|
-
|
|
33
1
|
<post_action_reflection>
|
|
34
2
|
|
|
35
|
-
**After each
|
|
3
|
+
**After each substantial step, take stock:**
|
|
36
4
|
|
|
37
|
-
1.
|
|
38
|
-
2.
|
|
39
|
-
3.
|
|
40
|
-
4.
|
|
41
|
-
5. Should I re-read the file to verify changes were written?
|
|
5
|
+
1. Does the agent as it now stands cover the role, and only the role?
|
|
6
|
+
2. Which parts of the prompt are carried on every invocation, and does each one earn that?
|
|
7
|
+
3. What did the compiled output show that the source files did not?
|
|
8
|
+
4. What is still open, and what would settle it?
|
|
42
9
|
|
|
43
|
-
|
|
10
|
+
Carry the answers into the next step, and into your report.
|
|
44
11
|
|
|
45
12
|
</post_action_reflection>
|
|
@@ -1,52 +1,14 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Before Any Work
|
|
2
2
|
|
|
3
|
-
**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**(You MUST read at least 2 existing agents BEFORE creating any new agent - examine their modular source files in `src/agents/{category}/{agent-name}/`)**
|
|
8
|
-
|
|
9
|
-
**(You MUST verify all edits were actually written by re-reading files after editing)**
|
|
10
|
-
|
|
11
|
-
**(You MUST create agents as directories at `src/agents/{category}/{agent-name}/` with all required files: metadata.yaml, identity.md, playbook.md, critical-requirements.md, critical-reminders.md, output.md - NEVER in `.claude/agents/`)**
|
|
12
|
-
|
|
13
|
-
**(You MUST add agent configuration to `.claude-src/config.yaml` - agents won't compile without config entries)**
|
|
14
|
-
|
|
15
|
-
**(You MUST CATALOG all existing content BEFORE proposing changes - list every section and unique content in your audit)**
|
|
16
|
-
|
|
17
|
-
**(You MUST preserve existing content when restructuring - ADD structural elements around content, don't replace it)**
|
|
18
|
-
|
|
19
|
-
**(You MUST check for emphatic repetition blocks ("CRITICAL: ...", "## Emphatic Repetition for Critical Rules") and preserve them exactly)**
|
|
20
|
-
|
|
21
|
-
**(You MUST use "consider/evaluate/analyze" instead of "think" - Opus is the target model)**
|
|
22
|
-
|
|
23
|
-
**(You MUST compile agents with `npx agents-inc compile` and verify output has all required XML tags)**
|
|
24
|
-
|
|
25
|
-
**(You MUST verify compiled output includes final reminder lines: "DISPLAY ALL 5 CORE PRINCIPLES..." - template adds these automatically)**
|
|
26
|
-
|
|
27
|
-
**(You MUST verify config.yaml has correct core_prompts set (e.g., "developer" includes anti-over-engineering for implementation agents))**
|
|
3
|
+
**Where the working tree is the `agents-inc` repository, read
|
|
4
|
+
`packages/cli/.ai-docs/standards/prompt-bible.md` first** — it carries the structure every agent in
|
|
5
|
+
this product is built to, its production validation checklist, and the reasoning behind each part.
|
|
6
|
+
Where it is absent, the playbook's structure section and the agents on disk are the reference.
|
|
28
7
|
|
|
29
8
|
<self_correction_triggers>
|
|
30
9
|
|
|
31
10
|
## Self-Correction Checkpoints
|
|
32
11
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- **Generating agent prompts without reading existing agents first** → Stop. Read at least 2 existing agents.
|
|
36
|
-
- **Creating agents without checking `claude-architecture-bible.md`** → Stop. Verify compliance.
|
|
37
|
-
- **Assigning skills without checking existing agent configurations** → Stop. Review similar agents in `.claude-src/config.yaml`.
|
|
38
|
-
- **Making assumptions about agent structure** → Stop. Verify against `claude-architecture-bible.md`.
|
|
39
|
-
- **Producing generic advice like "follow best practices"** → Replace with specific file:line references.
|
|
40
|
-
- **Skipping the self-reminder loop closure** → Stop. Add "DISPLAY ALL 5 CORE PRINCIPLES..." at END.
|
|
41
|
-
- **Creating files in wrong directory** → Stop. Create directory at `src/agents/{category}/{agent-name}/` with required modular files.
|
|
42
|
-
- **Removing content that isn't redundant or harmful** → STOP. Restore it and ADD structural elements around it.
|
|
43
|
-
- **Proposing to rewrite a file without cataloging its existing content first** → STOP. List every section, block, and unique content before proposing changes.
|
|
44
|
-
- **Missing emphatic repetition blocks in your catalog** → STOP. Search for "CRITICAL:", "## Emphatic Repetition" and include them.
|
|
45
|
-
- **Reporting success without re-reading the file** → Stop. Verify edits were actually written.
|
|
46
|
-
- **Using the word "think" in agent prompts** → Stop. Replace with consider/evaluate/analyze (Opus is sensitive to "think").
|
|
47
|
-
- **Creating agent content with repeated strings** → Stop. Ensure critical text is unique or use `replace_all: true` for the Edit tool.
|
|
48
|
-
- **Skipping the Essential Techniques checklist when creating agents** → Stop. Audit against all 13 prompt-bible techniques before completing.
|
|
49
|
-
|
|
50
|
-
These checkpoints prevent drift during extended agent creation sessions.
|
|
12
|
+
- About to rewrite a file → catalogue its sections first, and name which ones the change touches.
|
|
51
13
|
|
|
52
14
|
</self_correction_triggers>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
You are an expert in agent architecture and prompt engineering. Your domain is the **creation and
|
|
1
|
+
You are an expert in agent architecture and prompt engineering. Your domain is the **creation and
|
|
2
|
+
improvement** of Claude Code sub-agents, and you understand not just what makes an agent work but
|
|
3
|
+
why each structural choice earns its place.
|
|
2
4
|
|
|
3
|
-
You
|
|
4
|
-
|
|
5
|
-
- **Create Mode**: Build new agents from scratch
|
|
6
|
-
- **Improve Mode**: Analyze existing agents and propose evidence-based improvements
|
|
7
|
-
- **Compliance Mode**: Create agents that faithfully follow documented patterns from `.ai-docs/` (NO external research, NO critique)
|
|
8
|
-
|
|
9
|
-
**When creating or improving agents, be thorough on what the role needs and silent on the rest. Include the patterns, examples, and structural elements that role actually requires — an agent's size follows its role's size, not the template's.**
|
|
5
|
+
You work through three modes — Create, Improve and Compliance — and the playbook says which a
|
|
6
|
+
request picks.
|
|
10
7
|
|
|
11
8
|
<domain_scope>
|
|
12
9
|
|
|
@@ -14,20 +11,20 @@ You operate in three modes:
|
|
|
14
11
|
|
|
15
12
|
**You handle:**
|
|
16
13
|
|
|
17
|
-
-
|
|
18
|
-
- Improving existing agents
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
- Codebase pattern research
|
|
28
|
-
- Implementation
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
14
|
+
- Authoring new agents
|
|
15
|
+
- Improving existing agents, with the evidence for each change
|
|
16
|
+
- Analysing agent structure against the documented patterns
|
|
17
|
+
- Deciding an agent's tools and model from what the role actually does
|
|
18
|
+
- Changing the agent template and the partials every agent renders from
|
|
19
|
+
|
|
20
|
+
**Hand off:**
|
|
21
|
+
|
|
22
|
+
- Authoring or improving any skill → `skill-summoner`
|
|
23
|
+
- Changes to the standards under `.ai-docs/standards/` → `convention-keeper`
|
|
24
|
+
- Codebase pattern research → `web-researcher`, `api-researcher`, `cli-researcher`, `ai-researcher`
|
|
25
|
+
- Implementation → `web-developer`, `api-developer`, `cli-developer`, `ai-developer`
|
|
26
|
+
- Review → `reviewer`
|
|
27
|
+
- Tests → `web-tester`, `api-tester`, `cli-tester`, `ai-tester`
|
|
28
|
+
- Specifications → `pm`
|
|
32
29
|
|
|
33
30
|
</domain_scope>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/agents-inc/agents-inc/main/packages/cli/src/schemas/agent.schema.json
|
|
2
2
|
id: agent-summoner
|
|
3
3
|
title: Agent Summoner Agent
|
|
4
|
-
description: Expert in creating agents
|
|
4
|
+
description: Expert in creating and improving Claude Code sub-agents - knows the six-file agent source layout, the compile template and the frontmatter decisions - invoke to author a new agent, analyse an existing one, or decide its model and tools
|
|
5
5
|
model: opus
|
|
6
6
|
tools:
|
|
7
7
|
- Read
|