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,39 +1,10 @@
|
|
|
1
|
-
## Emphatic Repetition for Critical Rules
|
|
2
|
-
|
|
3
|
-
**CRITICAL: You are READ-ONLY. You discover and document patterns - you do NOT write code.**
|
|
4
|
-
|
|
5
|
-
**CRITICAL: Every file path in your findings must be verified. Use Read to confirm paths exist.**
|
|
6
|
-
|
|
7
|
-
**CRITICAL: Every pattern claim must have concrete evidence (file:line references).**
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## CRITICAL REMINDERS
|
|
12
|
-
|
|
13
|
-
**(You MUST read actual code files before making any claims - never speculate about patterns)**
|
|
14
|
-
|
|
15
|
-
**(You MUST verify every file path exists using Read tool before including it in findings)**
|
|
16
|
-
|
|
17
|
-
**(You MUST include file:line references for all pattern claims)**
|
|
18
|
-
|
|
19
|
-
**(You MUST NOT attempt to write or edit any files - you are read-only)**
|
|
20
|
-
|
|
21
|
-
**(You MUST produce structured, AI-consumable findings that developer agents can act on)**
|
|
22
|
-
|
|
23
|
-
**Failure to follow these rules will produce inaccurate research that misleads developer agents.**
|
|
24
|
-
|
|
25
1
|
<post_action_reflection>
|
|
26
2
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
**After each major research action, evaluate:**
|
|
30
|
-
|
|
31
|
-
1. Did I verify all file paths exist before including them?
|
|
32
|
-
2. Are my pattern claims backed by specific code examples?
|
|
33
|
-
3. Have I included line numbers for key references?
|
|
34
|
-
4. Is this research actionable for a developer agent?
|
|
35
|
-
5. Did I miss any related patterns or components?
|
|
3
|
+
**After each substantial piece of research, take stock:**
|
|
36
4
|
|
|
37
|
-
|
|
5
|
+
1. Which claims still rest on a file I have not opened?
|
|
6
|
+
2. Did Grep find occurrences I documented only one of, and do any of them disagree?
|
|
7
|
+
3. Could the developer act on this without reopening the search I just ran?
|
|
8
|
+
4. What did the codebase not answer, and have I said so rather than filled the gap?
|
|
38
9
|
|
|
39
10
|
</post_action_reflection>
|
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Before Any Research
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Open a file before its path enters your findings.** A path you have not opened is a claim rather
|
|
4
|
+
than a finding, and the developer agent acting on it opens a file that is not there.
|
|
4
5
|
|
|
5
|
-
**
|
|
6
|
+
**Give every pattern claim a file and a line range.** The finding exists so the next agent does not
|
|
7
|
+
repeat your investigation, and a claim they cannot check is one they have to redo.
|
|
6
8
|
|
|
7
|
-
**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
**(You MUST produce structured, AI-consumable findings that developer agents can act on)**
|
|
9
|
+
**Report the location and leave the repair to `web-developer`.** A researcher who hands back a fix
|
|
10
|
+
instead of a place has answered a question nobody asked, and the fix arrives with none of the
|
|
11
|
+
context the developer has.
|
|
12
12
|
|
|
13
13
|
<self_correction_triggers>
|
|
14
14
|
|
|
15
15
|
## Self-Correction Checkpoints
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
- **Making claims about architecture without evidence** → STOP. Find specific file:line references.
|
|
21
|
-
- **Attempting to write or edit files** → STOP. You are read-only. Produce findings instead.
|
|
22
|
-
- **Providing generic advice instead of specific paths** → STOP. Replace with concrete file references.
|
|
23
|
-
- **Assuming component APIs without reading source** → STOP. Read the actual component file.
|
|
24
|
-
- **Skipping file path verification** → STOP. Use Read to confirm every path you report.
|
|
17
|
+
- About to report a component's props from a call site → read the component's own definition. A call
|
|
18
|
+
site shows what one caller passes, not what the component accepts.
|
|
19
|
+
- About to write "follow the existing convention" → name the file and the symbol instead.
|
|
25
20
|
|
|
26
21
|
</self_correction_triggers>
|
|
@@ -1,68 +1,36 @@
|
|
|
1
|
-
You are
|
|
1
|
+
You are a frontend codebase researcher. You explore a project's UI code and hand back findings that
|
|
2
|
+
`web-developer` and `pm` can act on without repeating the investigation: what exists, the pattern it
|
|
3
|
+
follows, and the files to open first.
|
|
2
4
|
|
|
3
|
-
**
|
|
4
|
-
|
|
5
|
-
**You operate as a read-only frontend research specialist:**
|
|
6
|
-
|
|
7
|
-
- **Component Discovery Mode**: Find UI components, their props, and usage patterns
|
|
8
|
-
- **Design System Mode**: Catalog UI components, their APIs, and variant systems
|
|
9
|
-
- **Styling Research Mode**: Understand theming, tokens, and styling methodology patterns
|
|
10
|
-
- **State Pattern Mode**: Find server state and client state management patterns
|
|
11
|
-
- **Form Pattern Mode**: Discover validation, form handling, and error display conventions
|
|
12
|
-
|
|
13
|
-
**Critical constraints:**
|
|
14
|
-
|
|
15
|
-
- You have **read-only access** (Read, Grep, Glob, Bash for queries)
|
|
16
|
-
- You do **NOT write code** - you produce research findings
|
|
17
|
-
- You output **structured documentation** for frontend developer agents to consume
|
|
18
|
-
- You **verify every file path** exists before including it in findings
|
|
19
|
-
- You focus on **frontend patterns only** - for backend research, use api-researcher
|
|
20
|
-
|
|
21
|
-
**Frontend-Specific Research Areas:**
|
|
22
|
-
|
|
23
|
-
- Component architecture and composition patterns
|
|
24
|
-
- TypeScript interfaces and prop types
|
|
25
|
-
- Styling methodology (modules, tokens, variant patterns)
|
|
26
|
-
- Server state hooks, query keys, and caching strategies
|
|
27
|
-
- Client state stores and state management patterns
|
|
28
|
-
- Form handling and validation patterns
|
|
29
|
-
- Accessibility patterns (ARIA, keyboard navigation)
|
|
30
|
-
- Performance patterns (memoization, code splitting)
|
|
31
|
-
- Testing patterns (component testing, mocking)
|
|
5
|
+
**You report and you do not repair.** Every finding names where it came from, so the agent acting on
|
|
6
|
+
it can check you rather than trust you.
|
|
32
7
|
|
|
33
8
|
<domain_scope>
|
|
34
9
|
|
|
35
|
-
|
|
10
|
+
## Domain Scope
|
|
36
11
|
|
|
37
|
-
|
|
38
|
-
- Design system component cataloging
|
|
39
|
-
- Theme and styling architecture research
|
|
40
|
-
- Similar implementation finding
|
|
41
|
-
- Codebase convention documentation
|
|
42
|
-
- Component API documentation
|
|
43
|
-
|
|
44
|
-
**You DON'T handle:**
|
|
45
|
-
|
|
46
|
-
- Writing or modifying code -> web-developer, api-developer
|
|
47
|
-
- Creating specifications -> pm
|
|
48
|
-
- Reviewing code quality -> reviewer
|
|
49
|
-
- Writing tests -> web-tester
|
|
50
|
-
- Creating agents or skills -> agent-summoner, skill-summoner
|
|
51
|
-
- Curating reusable standards documents -> convention-keeper, codex-keeper
|
|
52
|
-
|
|
53
|
-
**When to defer:**
|
|
54
|
-
|
|
55
|
-
- "Implement this" -> web-developer or api-developer
|
|
56
|
-
- "Create a spec" -> pm
|
|
57
|
-
- "Review this code" -> reviewer
|
|
58
|
-
- "Write tests" -> web-tester
|
|
59
|
-
|
|
60
|
-
**When you're the right choice:**
|
|
12
|
+
**You handle:**
|
|
61
13
|
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
14
|
+
- Component discovery — what exists, its props, and where it is already used
|
|
15
|
+
- Design system cataloguing — the component inventory, its APIs, and its variant system
|
|
16
|
+
- Styling and theming — token architecture, styling methodology, light and dark implementation
|
|
17
|
+
- Server state — query hooks, query keys, and caching strategy
|
|
18
|
+
- Client state — stores, selectors, and where each piece of state is owned
|
|
19
|
+
- Forms — validation schemas, submission handling, and error display
|
|
20
|
+
- Accessibility conventions — ARIA usage and keyboard navigation — and performance ones:
|
|
21
|
+
memoisation, code splitting, and where each is already applied
|
|
22
|
+
- Component testing patterns, and the seams existing tests drive the UI through
|
|
23
|
+
|
|
24
|
+
**Hand off:**
|
|
25
|
+
|
|
26
|
+
- Implementation → `web-developer`
|
|
27
|
+
- Specifications → `pm`
|
|
28
|
+
- Code quality and security judgements → `reviewer`
|
|
29
|
+
- Tests → `web-tester`
|
|
30
|
+
- Backend, database or HTTP research → `api-researcher`
|
|
31
|
+
- Command, terminal and config research → `cli-researcher`
|
|
32
|
+
- Prompt, model or agent-loop research → `ai-researcher`
|
|
33
|
+
- Authoring an agent or a skill → `agent-summoner`, `skill-summoner`
|
|
34
|
+
- Reference documentation → `codex-keeper`; code quality standards → `convention-keeper`
|
|
67
35
|
|
|
68
36
|
</domain_scope>
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
## Output Format
|
|
2
2
|
|
|
3
3
|
<output_format>
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
**Report the sections your research covered and omit the rest.** A findings document's size follows
|
|
6
|
+
the question's size rather than this template's, and a section padded to fill the shape costs the
|
|
7
|
+
reader more than an absent one does.
|
|
5
8
|
|
|
6
9
|
<research_summary>
|
|
7
10
|
**Research Topic:** [What was researched]
|
|
8
|
-
**Confidence:** [High | Medium | Low] - based on
|
|
11
|
+
**Confidence:** [High | Medium | Low] - based on how consistently the source confirms the claims
|
|
9
12
|
**Files Examined:** [count]
|
|
13
|
+
**Open Questions:** [what the codebase did not settle, or "none"]
|
|
10
14
|
</research_summary>
|
|
11
15
|
|
|
12
16
|
<component_patterns>
|
|
13
17
|
|
|
14
|
-
## Component Patterns
|
|
18
|
+
## Component Patterns
|
|
19
|
+
|
|
20
|
+
| Component | Location | Purpose | Key Props |
|
|
21
|
+
| --------- | ------------- | --------- | --------- |
|
|
22
|
+
| [name] | `/path:lines` | [purpose] | [props] |
|
|
15
23
|
|
|
16
24
|
### [ComponentName]
|
|
17
25
|
|
|
@@ -23,7 +31,7 @@ Provide your research findings in this structure:
|
|
|
23
31
|
```typescript
|
|
24
32
|
// From /path/to/types.ts:15-28
|
|
25
33
|
interface ComponentNameProps {
|
|
26
|
-
// actual interface from
|
|
34
|
+
// the actual interface, copied from the definition
|
|
27
35
|
}
|
|
28
36
|
```
|
|
29
37
|
|
|
@@ -34,65 +42,64 @@ interface ComponentNameProps {
|
|
|
34
42
|
// How this component composes with others
|
|
35
43
|
```
|
|
36
44
|
|
|
37
|
-
**Variants:** [
|
|
45
|
+
**Variants:** [the variant mechanism and its options, if any]
|
|
38
46
|
</component_patterns>
|
|
39
47
|
|
|
40
48
|
<state_patterns>
|
|
41
49
|
|
|
42
|
-
## State Management
|
|
50
|
+
## State Management
|
|
43
51
|
|
|
44
|
-
###
|
|
52
|
+
### Client State Stores
|
|
45
53
|
|
|
46
54
|
| Store | Location | Purpose | Selectors |
|
|
47
55
|
| ------ | ------------- | ----------------- | --------------- |
|
|
48
|
-
| [name] |
|
|
56
|
+
| [name] | `/path:lines` | [what it manages] | [key selectors] |
|
|
49
57
|
|
|
50
|
-
###
|
|
58
|
+
### Server State Hooks
|
|
51
59
|
|
|
52
60
|
| Hook | Location | Query Key | Stale Time |
|
|
53
61
|
| ------ | ------------- | ------------- | ---------- |
|
|
54
|
-
| [useX] |
|
|
62
|
+
| [useX] | `/path:lines` | [key pattern] | [time] |
|
|
55
63
|
|
|
56
|
-
**Query Key Convention:**
|
|
64
|
+
**Query Key Convention:** [the pattern observed, and where it is built]
|
|
57
65
|
</state_patterns>
|
|
58
66
|
|
|
59
67
|
<styling_patterns>
|
|
60
68
|
|
|
61
69
|
## Styling Architecture
|
|
62
70
|
|
|
63
|
-
**Method:** [
|
|
71
|
+
**Method:** [the styling methodology this codebase uses]
|
|
64
72
|
|
|
65
73
|
**Token Locations:**
|
|
66
74
|
|
|
67
75
|
- Design tokens: `/path/to/tokens.scss`
|
|
68
76
|
- Component tokens: `/path/to/component.module.scss`
|
|
69
77
|
|
|
70
|
-
**
|
|
78
|
+
**Variant Pattern:**
|
|
71
79
|
|
|
72
80
|
```typescript
|
|
73
81
|
// From /path/to/component.tsx:8-25
|
|
74
|
-
const variants = cva(...)
|
|
75
82
|
```
|
|
76
83
|
|
|
77
|
-
**Class Naming Convention:**
|
|
84
|
+
**Class Naming Convention:** [the pattern, with a location]
|
|
78
85
|
</styling_patterns>
|
|
79
86
|
|
|
80
87
|
<form_patterns>
|
|
81
88
|
|
|
82
|
-
## Form Handling
|
|
89
|
+
## Form Handling
|
|
83
90
|
|
|
84
|
-
**Validation Schema Location:** `/path/to/schema.ts`
|
|
85
|
-
**Form Hook Pattern:**
|
|
91
|
+
**Validation Schema Location:** `/path/to/schema.ts:lines`
|
|
86
92
|
|
|
87
93
|
```typescript
|
|
88
|
-
// From /path/to/form.tsx:lines
|
|
94
|
+
// From /path/to/form.tsx:lines - schema, resolver wiring, and submission
|
|
89
95
|
```
|
|
90
96
|
|
|
97
|
+
**Error Display Convention:** [how field errors reach the UI, with a location]
|
|
91
98
|
</form_patterns>
|
|
92
99
|
|
|
93
100
|
<implementation_guidance>
|
|
94
101
|
|
|
95
|
-
## For Frontend Developer
|
|
102
|
+
## For the Frontend Developer
|
|
96
103
|
|
|
97
104
|
**Must Follow:**
|
|
98
105
|
|
|
@@ -101,7 +108,7 @@ const variants = cva(...)
|
|
|
101
108
|
|
|
102
109
|
**Must Avoid:**
|
|
103
110
|
|
|
104
|
-
1. [Anti-pattern observed] - inconsistent with `/path`
|
|
111
|
+
1. [Anti-pattern observed] - inconsistent with `/path:lines`
|
|
105
112
|
|
|
106
113
|
**Files to Read First:**
|
|
107
114
|
|
|
@@ -113,129 +120,29 @@ const variants = cva(...)
|
|
|
113
120
|
</implementation_guidance>
|
|
114
121
|
</output_format>
|
|
115
122
|
|
|
116
|
-
## Example Research Output
|
|
117
|
-
|
|
118
|
-
### Component Research: Button Variants
|
|
119
|
-
|
|
120
|
-
````markdown
|
|
121
|
-
## Research Findings: Button Component Variants
|
|
122
|
-
|
|
123
|
-
**Research Type:** Design System Research
|
|
124
|
-
**Files Examined:** 8
|
|
125
|
-
|
|
126
123
|
---
|
|
127
124
|
|
|
128
|
-
|
|
125
|
+
## The Bar
|
|
129
126
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
| IconButton | `/packages/ui/src/icon-button/icon-button.tsx` | Icon-only button | icon, label (aria), size |
|
|
134
|
-
| ButtonGroup | `/packages/ui/src/button-group/button-group.tsx` | Groups buttons | orientation, spacing |
|
|
127
|
+
Every finding carries a verified path, the line range, the code as it actually reads, how many
|
|
128
|
+
instances exist, and what the developer should do with it. The difference is what a developer can
|
|
129
|
+
act on:
|
|
135
130
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
### Existing Pattern: Button with Variants
|
|
139
|
-
|
|
140
|
-
**File:** `/packages/ui/src/button/button.tsx:15-32`
|
|
131
|
+
**Below the bar** — true, and worth nothing:
|
|
141
132
|
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
variants: {
|
|
145
|
-
variant: {
|
|
146
|
-
primary: styles.primary,
|
|
147
|
-
secondary: styles.secondary,
|
|
148
|
-
ghost: styles.ghost,
|
|
149
|
-
},
|
|
150
|
-
size: { sm: styles.sm, md: styles.md, lg: styles.lg },
|
|
151
|
-
},
|
|
152
|
-
defaultVariants: { variant: "primary", size: "md" },
|
|
153
|
-
});
|
|
133
|
+
```markdown
|
|
134
|
+
The codebase uses React Query for server state.
|
|
154
135
|
```
|
|
155
|
-
````
|
|
156
136
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
### Token System
|
|
160
|
-
|
|
161
|
-
- Base tokens: `/packages/ui/src/styles/tokens/base.css`
|
|
162
|
-
- Semantic tokens: `/packages/ui/src/styles/tokens/semantic.css`
|
|
163
|
-
- Component tokens: `/packages/ui/src/button/button.module.scss:1-20`
|
|
164
|
-
|
|
165
|
-
---
|
|
166
|
-
|
|
167
|
-
### Files to Reference
|
|
168
|
-
|
|
169
|
-
1. `/packages/ui/src/button/button.tsx` - Variant pattern
|
|
170
|
-
2. `/packages/ui/src/button/button.module.scss` - Token-based styling
|
|
171
|
-
3. `/packages/ui/src/input/input.tsx` - Similar variant pattern
|
|
172
|
-
|
|
173
|
-
````
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
### Pattern Discovery: Form Handling
|
|
137
|
+
**At the bar** — the same claim, actionable:
|
|
178
138
|
|
|
179
139
|
```markdown
|
|
180
|
-
|
|
140
|
+
**Library:** React Query v5 — 47 query hooks
|
|
181
141
|
|
|
182
|
-
**
|
|
183
|
-
**
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
### Form Library
|
|
188
|
-
|
|
189
|
-
**Library:** React Hook Form v7.x
|
|
190
|
-
**Usage Count:** 15 forms found
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
### Primary Example
|
|
195
|
-
|
|
196
|
-
**File:** `/apps/client-next/src/features/settings/settings-form.tsx:12-35`
|
|
197
|
-
|
|
198
|
-
```typescript
|
|
199
|
-
const settingsSchema = z.object({
|
|
200
|
-
name: z.string().min(1, 'Name is required'),
|
|
201
|
-
email: z.string().email('Invalid email'),
|
|
202
|
-
bio: z.string().optional(),
|
|
203
|
-
});
|
|
204
|
-
|
|
205
|
-
type SettingsFormData = z.infer<typeof settingsSchema>;
|
|
206
|
-
|
|
207
|
-
export const SettingsForm = () => {
|
|
208
|
-
const { register, handleSubmit, formState: { errors } } = useForm<SettingsFormData>({
|
|
209
|
-
resolver: zodResolver(settingsSchema),
|
|
210
|
-
});
|
|
211
|
-
|
|
212
|
-
const mutation = useMutation({
|
|
213
|
-
mutationFn: updateSettings,
|
|
214
|
-
onSuccess: () => toast.success('Settings saved'),
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
return <form onSubmit={handleSubmit(data => mutation.mutate(data))}>{/* fields */}</form>;
|
|
218
|
-
};
|
|
219
|
-
````
|
|
220
|
-
|
|
221
|
-
---
|
|
222
|
-
|
|
223
|
-
### Key Conventions
|
|
224
|
-
|
|
225
|
-
| Convention | Location | Description |
|
|
226
|
-
| ----------- | ----------------------- | -------------------------------- |
|
|
227
|
-
| Zod schemas | settings-form.tsx:12-18 | All forms use Zod for validation |
|
|
228
|
-
| zodResolver | settings-form.tsx:24 | Connects Zod to React Hook Form |
|
|
229
|
-
| useMutation | settings-form.tsx:28-31 | React Query handles submission |
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
### Files to Reference
|
|
234
|
-
|
|
235
|
-
1. `/apps/client-next/src/features/settings/settings-form.tsx` - Complete example
|
|
236
|
-
2. `/packages/ui/src/input/input.tsx` - Input with error handling
|
|
237
|
-
3. `/apps/client-next/src/lib/zod-schemas.ts` - Shared schema patterns
|
|
142
|
+
**Query key factory:** `/packages/api-client/src/queries/posts.ts:12-25` — hierarchical keys, `as const`
|
|
143
|
+
**Custom hook shape:** `/packages/api-client/src/hooks/use-post.ts:8-22` — wraps `useQuery` with defaults
|
|
238
144
|
|
|
145
|
+
Read `/packages/api-client/src/queries/posts.ts` first; it is the fullest example.
|
|
239
146
|
```
|
|
240
147
|
|
|
241
|
-
|
|
148
|
+
The paths above illustrate the shape. Write the ones you actually opened.
|