@agents-inc/cli 0.75.1 → 0.76.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 +12 -0
- package/dist/{chunk-SXGBPQY6.js → chunk-2I5SXGXR.js} +2 -2
- package/dist/{chunk-CUCF5LM4.js → chunk-36YW5E7G.js} +5 -5
- package/dist/{chunk-T5DJCIUP.js → chunk-3REKTRAN.js} +2 -2
- package/dist/{chunk-UQKCYLOA.js → chunk-6F3CZLD6.js} +9 -9
- package/dist/chunk-6F3CZLD6.js.map +1 -0
- package/dist/{chunk-JOTAIMTC.js → chunk-7NACNRFG.js} +4 -4
- package/dist/{chunk-SPATQKH6.js → chunk-7PMFIL5L.js} +3 -3
- package/dist/{chunk-GMUOEQOY.js → chunk-7PZFDI46.js} +4 -4
- package/dist/{chunk-PSU42CXK.js → chunk-7XUKTYVD.js} +182 -294
- package/dist/chunk-7XUKTYVD.js.map +1 -0
- package/dist/{chunk-WXC2Y5TF.js → chunk-AE2QHAFO.js} +7 -7
- package/dist/{chunk-ZZJ6H6VB.js → chunk-CBJTSEI2.js} +5 -5
- package/dist/{chunk-AOZBHMYL.js → chunk-CCSU4R65.js} +3 -3
- package/dist/{chunk-XZ57QYVI.js → chunk-CKU7FJNV.js} +4 -4
- package/dist/{chunk-QN3V3ES7.js → chunk-EEZSCHS2.js} +9 -9
- package/dist/{chunk-CBXMOWQY.js → chunk-ERHTXNIF.js} +3 -3
- package/dist/{chunk-GCT7LSYW.js → chunk-EWBNSS5Y.js} +6 -6
- package/dist/{chunk-TQLDQ3XZ.js → chunk-EYFBODHL.js} +2 -2
- package/dist/{chunk-AUNBGZS4.js → chunk-FFMWFEUH.js} +2 -2
- package/dist/{chunk-EGMQ3SXN.js → chunk-FMYAYX6W.js} +1 -1
- package/dist/chunk-FMYAYX6W.js.map +1 -0
- package/dist/{chunk-W22IYRZV.js → chunk-I2SUTL7S.js} +5 -5
- package/dist/{chunk-XHTN56UT.js → chunk-I534EWJQ.js} +3 -3
- package/dist/{chunk-2PZ7LBFT.js → chunk-IDN2OZJY.js} +2 -2
- package/dist/{chunk-HKIQA4F6.js → chunk-JWMYAJHD.js} +637 -2179
- package/dist/chunk-JWMYAJHD.js.map +1 -0
- package/dist/{chunk-MWGDG4QN.js → chunk-K63OEZW7.js} +2 -2
- package/dist/{chunk-Q72ZBA4X.js → chunk-KPRCP3MZ.js} +3 -3
- package/dist/{chunk-FYYIRFYT.js → chunk-LO5QGAP2.js} +5 -5
- package/dist/{chunk-TYM4D3OF.js → chunk-M4ZDKHJV.js} +3 -3
- package/dist/{chunk-TYM4D3OF.js.map → chunk-M4ZDKHJV.js.map} +1 -1
- package/dist/{chunk-CXRVM7BA.js → chunk-M76LNKMY.js} +2 -2
- package/dist/{chunk-WF5PMBIR.js → chunk-MLXAZODL.js} +2 -2
- package/dist/{chunk-UFKDY45I.js → chunk-NWW3OJH5.js} +3 -3
- package/dist/{chunk-U5R4M7MA.js → chunk-O5CPXIC4.js} +5 -5
- package/dist/{chunk-7QAVO7VN.js → chunk-ODVQXXEO.js} +14 -14
- package/dist/{chunk-BVSWWBPE.js → chunk-PRG7PKZM.js} +5 -5
- package/dist/{chunk-SYGXJBG6.js → chunk-Q4PJSAMP.js} +20 -11
- package/dist/chunk-Q4PJSAMP.js.map +1 -0
- package/dist/{chunk-Q3F36QZZ.js → chunk-R7F5YQMI.js} +2 -2
- package/dist/{chunk-FHHTDPMW.js → chunk-S6DKM6MJ.js} +6 -6
- package/dist/{chunk-XMLCXRTS.js → chunk-SQ7WINEU.js} +3 -3
- package/dist/{chunk-U6A4YFOF.js → chunk-UBNHVBSV.js} +4 -4
- package/dist/{chunk-VU4ZCRZS.js → chunk-VQV3DSHD.js} +6 -6
- package/dist/{chunk-JGSPESM3.js → chunk-WMMU5FOO.js} +15 -12
- package/dist/chunk-WMMU5FOO.js.map +1 -0
- package/dist/{chunk-6C66NL4X.js → chunk-WN2TUP4M.js} +4 -4
- package/dist/chunk-WN2TUP4M.js.map +1 -0
- package/dist/{chunk-5BGBH3KD.js → chunk-WS3TL2AO.js} +8 -8
- package/dist/{chunk-DFKNFZI2.js → chunk-WZ5S4LGX.js} +6 -6
- package/dist/{chunk-KDYE3AGL.js → chunk-XYZ7B5BY.js} +2 -2
- package/dist/commands/build/marketplace.js +5 -5
- package/dist/commands/build/plugins.js +9 -9
- package/dist/commands/build/stack.js +9 -9
- package/dist/commands/compile.js +10 -10
- package/dist/commands/config/index.js +9 -9
- package/dist/commands/config/path.js +8 -8
- package/dist/commands/config/show.js +9 -9
- package/dist/commands/diff.js +8 -8
- package/dist/commands/doctor.js +8 -8
- package/dist/commands/edit.js +33 -33
- package/dist/commands/eject.js +8 -8
- package/dist/commands/import/skill.js +9 -9
- package/dist/commands/info.js +9 -9
- package/dist/commands/init.js +33 -33
- package/dist/commands/list.js +8 -8
- package/dist/commands/new/agent.js +9 -9
- package/dist/commands/new/marketplace.js +10 -10
- package/dist/commands/new/skill.js +9 -9
- package/dist/commands/outdated.js +8 -8
- package/dist/commands/search.js +11 -11
- package/dist/commands/uninstall.js +9 -9
- package/dist/commands/update.js +10 -10
- package/dist/commands/validate.js +9 -9
- package/dist/components/common/select-list.js +2 -2
- package/dist/components/skill-search/skill-search.js +3 -3
- package/dist/components/wizard/category-grid.js +4 -4
- package/dist/components/wizard/category-grid.test.js +13 -13
- package/dist/components/wizard/checkbox-grid.js +4 -4
- package/dist/components/wizard/checkbox-grid.test.js +4 -4
- package/dist/components/wizard/domain-selection.js +13 -13
- package/dist/components/wizard/help-modal.js +2 -2
- package/dist/components/wizard/menu-item.js +1 -1
- package/dist/components/wizard/search-modal.js +3 -3
- package/dist/components/wizard/search-modal.test.js +3 -3
- package/dist/components/wizard/section-progress.js +2 -2
- package/dist/components/wizard/section-progress.test.js +2 -2
- package/dist/components/wizard/selection-card.js +2 -2
- package/dist/components/wizard/source-grid.js +6 -6
- package/dist/components/wizard/source-grid.test.js +15 -15
- package/dist/components/wizard/stack-selection.js +11 -11
- package/dist/components/wizard/step-agents.js +12 -12
- package/dist/components/wizard/step-agents.test.js +15 -15
- package/dist/components/wizard/step-build.js +12 -12
- package/dist/components/wizard/step-build.test.js +14 -14
- package/dist/components/wizard/step-confirm.js +5 -5
- package/dist/components/wizard/step-confirm.test.js +11 -11
- package/dist/components/wizard/step-refine.js +2 -2
- package/dist/components/wizard/step-refine.test.js +2 -2
- package/dist/components/wizard/step-settings.js +10 -10
- package/dist/components/wizard/step-settings.test.js +13 -13
- package/dist/components/wizard/step-sources.js +14 -14
- package/dist/components/wizard/step-sources.test.js +17 -17
- package/dist/components/wizard/step-stack.js +16 -16
- package/dist/components/wizard/step-stack.test.js +17 -17
- package/dist/components/wizard/wizard-layout.js +11 -11
- package/dist/components/wizard/wizard-tabs.js +2 -2
- package/dist/components/wizard/wizard-tabs.test.js +2 -2
- package/dist/components/wizard/wizard.js +30 -30
- package/dist/config-exports.js +1 -1
- package/dist/hooks/init.js +33 -33
- package/dist/{loader-TK7YS2I5.js → loader-7RQ4G4TH.js} +5 -5
- package/dist/{source-loader-UQXJVVSO.js → source-loader-CXCIDGWV.js} +8 -8
- package/dist/source-manager-TPLO2DVS.js +19 -0
- package/dist/src/agents/_templates/agent.liquid +24 -0
- package/dist/src/agents/_templates/methodologies/anti-over-engineering.liquid +121 -0
- package/dist/src/agents/_templates/methodologies/context-management.liquid +162 -0
- package/dist/src/agents/_templates/methodologies/improvement-protocol.liquid +150 -0
- package/dist/src/agents/_templates/methodologies/investigation-requirements.liquid +49 -0
- package/dist/src/agents/_templates/methodologies/success-criteria.liquid +111 -0
- package/dist/src/agents/_templates/methodologies/write-verification.liquid +43 -0
- package/dist/src/agents/meta/agent-summoner/workflow.md +2 -2
- package/dist/src/agents/meta/skill-summoner/workflow.md +48 -3
- package/dist/stores/wizard-store.js +8 -8
- package/dist/stores/wizard-store.test.js +36 -36
- package/dist/stores/wizard-store.test.js.map +1 -1
- package/package.json +1 -1
- package/src/agents/_templates/agent.liquid +24 -0
- package/src/agents/_templates/methodologies/anti-over-engineering.liquid +121 -0
- package/src/agents/_templates/methodologies/context-management.liquid +162 -0
- package/src/agents/_templates/methodologies/improvement-protocol.liquid +150 -0
- package/src/agents/_templates/methodologies/investigation-requirements.liquid +49 -0
- package/src/agents/_templates/methodologies/success-criteria.liquid +111 -0
- package/src/agents/_templates/methodologies/write-verification.liquid +43 -0
- package/src/agents/meta/agent-summoner/workflow.md +2 -2
- package/src/agents/meta/skill-summoner/workflow.md +48 -3
- package/dist/chunk-6C66NL4X.js.map +0 -1
- package/dist/chunk-EGMQ3SXN.js.map +0 -1
- package/dist/chunk-HKIQA4F6.js.map +0 -1
- package/dist/chunk-JGSPESM3.js.map +0 -1
- package/dist/chunk-PSU42CXK.js.map +0 -1
- package/dist/chunk-SYGXJBG6.js.map +0 -1
- package/dist/chunk-UQKCYLOA.js.map +0 -1
- package/dist/source-manager-HS2ZT4XE.js +0 -19
- /package/dist/{chunk-SXGBPQY6.js.map → chunk-2I5SXGXR.js.map} +0 -0
- /package/dist/{chunk-CUCF5LM4.js.map → chunk-36YW5E7G.js.map} +0 -0
- /package/dist/{chunk-T5DJCIUP.js.map → chunk-3REKTRAN.js.map} +0 -0
- /package/dist/{chunk-JOTAIMTC.js.map → chunk-7NACNRFG.js.map} +0 -0
- /package/dist/{chunk-SPATQKH6.js.map → chunk-7PMFIL5L.js.map} +0 -0
- /package/dist/{chunk-GMUOEQOY.js.map → chunk-7PZFDI46.js.map} +0 -0
- /package/dist/{chunk-WXC2Y5TF.js.map → chunk-AE2QHAFO.js.map} +0 -0
- /package/dist/{chunk-ZZJ6H6VB.js.map → chunk-CBJTSEI2.js.map} +0 -0
- /package/dist/{chunk-AOZBHMYL.js.map → chunk-CCSU4R65.js.map} +0 -0
- /package/dist/{chunk-XZ57QYVI.js.map → chunk-CKU7FJNV.js.map} +0 -0
- /package/dist/{chunk-QN3V3ES7.js.map → chunk-EEZSCHS2.js.map} +0 -0
- /package/dist/{chunk-CBXMOWQY.js.map → chunk-ERHTXNIF.js.map} +0 -0
- /package/dist/{chunk-GCT7LSYW.js.map → chunk-EWBNSS5Y.js.map} +0 -0
- /package/dist/{chunk-TQLDQ3XZ.js.map → chunk-EYFBODHL.js.map} +0 -0
- /package/dist/{chunk-AUNBGZS4.js.map → chunk-FFMWFEUH.js.map} +0 -0
- /package/dist/{chunk-W22IYRZV.js.map → chunk-I2SUTL7S.js.map} +0 -0
- /package/dist/{chunk-XHTN56UT.js.map → chunk-I534EWJQ.js.map} +0 -0
- /package/dist/{chunk-2PZ7LBFT.js.map → chunk-IDN2OZJY.js.map} +0 -0
- /package/dist/{chunk-MWGDG4QN.js.map → chunk-K63OEZW7.js.map} +0 -0
- /package/dist/{chunk-Q72ZBA4X.js.map → chunk-KPRCP3MZ.js.map} +0 -0
- /package/dist/{chunk-FYYIRFYT.js.map → chunk-LO5QGAP2.js.map} +0 -0
- /package/dist/{chunk-CXRVM7BA.js.map → chunk-M76LNKMY.js.map} +0 -0
- /package/dist/{chunk-WF5PMBIR.js.map → chunk-MLXAZODL.js.map} +0 -0
- /package/dist/{chunk-UFKDY45I.js.map → chunk-NWW3OJH5.js.map} +0 -0
- /package/dist/{chunk-U5R4M7MA.js.map → chunk-O5CPXIC4.js.map} +0 -0
- /package/dist/{chunk-7QAVO7VN.js.map → chunk-ODVQXXEO.js.map} +0 -0
- /package/dist/{chunk-BVSWWBPE.js.map → chunk-PRG7PKZM.js.map} +0 -0
- /package/dist/{chunk-Q3F36QZZ.js.map → chunk-R7F5YQMI.js.map} +0 -0
- /package/dist/{chunk-FHHTDPMW.js.map → chunk-S6DKM6MJ.js.map} +0 -0
- /package/dist/{chunk-XMLCXRTS.js.map → chunk-SQ7WINEU.js.map} +0 -0
- /package/dist/{chunk-U6A4YFOF.js.map → chunk-UBNHVBSV.js.map} +0 -0
- /package/dist/{chunk-VU4ZCRZS.js.map → chunk-VQV3DSHD.js.map} +0 -0
- /package/dist/{chunk-5BGBH3KD.js.map → chunk-WS3TL2AO.js.map} +0 -0
- /package/dist/{chunk-DFKNFZI2.js.map → chunk-WZ5S4LGX.js.map} +0 -0
- /package/dist/{chunk-KDYE3AGL.js.map → chunk-XYZ7B5BY.js.map} +0 -0
- /package/dist/{loader-TK7YS2I5.js.map → loader-7RQ4G4TH.js.map} +0 -0
- /package/dist/{source-loader-UQXJVVSO.js.map → source-loader-CXCIDGWV.js.map} +0 -0
- /package/dist/{source-manager-HS2ZT4XE.js.map → source-manager-TPLO2DVS.js.map} +0 -0
package/dist/hooks/init.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
showDashboard
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-EEZSCHS2.js";
|
|
5
|
+
import "../chunk-ODVQXXEO.js";
|
|
6
|
+
import "../chunk-CBJTSEI2.js";
|
|
7
|
+
import "../chunk-2I5SXGXR.js";
|
|
8
|
+
import "../chunk-LO5QGAP2.js";
|
|
9
|
+
import "../chunk-WZ5S4LGX.js";
|
|
10
10
|
import "../chunk-V36FRPAU.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-7PZFDI46.js";
|
|
12
|
+
import "../chunk-EWBNSS5Y.js";
|
|
13
|
+
import "../chunk-S6DKM6MJ.js";
|
|
14
|
+
import "../chunk-AE2QHAFO.js";
|
|
15
15
|
import "../chunk-K77I4XGL.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-7PMFIL5L.js";
|
|
17
|
+
import "../chunk-K63OEZW7.js";
|
|
18
|
+
import "../chunk-I2SUTL7S.js";
|
|
19
19
|
import "../chunk-7SOPVGDV.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-NWW3OJH5.js";
|
|
21
|
+
import "../chunk-7NACNRFG.js";
|
|
22
22
|
import "../chunk-P2FHS5IS.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-36YW5E7G.js";
|
|
24
|
+
import "../chunk-UBNHVBSV.js";
|
|
25
|
+
import "../chunk-ERHTXNIF.js";
|
|
26
|
+
import "../chunk-SQ7WINEU.js";
|
|
27
27
|
import "../chunk-JNQKCZA3.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-FFMWFEUH.js";
|
|
29
|
+
import "../chunk-IDN2OZJY.js";
|
|
30
|
+
import "../chunk-MLXAZODL.js";
|
|
31
31
|
import "../chunk-KUV24B5M.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-PRG7PKZM.js";
|
|
33
|
+
import "../chunk-3REKTRAN.js";
|
|
34
34
|
import "../chunk-U3IGFMCY.js";
|
|
35
35
|
import "../chunk-CBYRFAUN.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-M76LNKMY.js";
|
|
37
37
|
import {
|
|
38
38
|
detectInstallation,
|
|
39
39
|
resolveSource
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
40
|
+
} from "../chunk-WS3TL2AO.js";
|
|
41
|
+
import "../chunk-I534EWJQ.js";
|
|
42
|
+
import "../chunk-JWMYAJHD.js";
|
|
43
43
|
import {
|
|
44
44
|
EXIT_CODES
|
|
45
|
-
} from "../chunk-
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
45
|
+
} from "../chunk-XYZ7B5BY.js";
|
|
46
|
+
import "../chunk-WN2TUP4M.js";
|
|
47
|
+
import "../chunk-Q4PJSAMP.js";
|
|
48
|
+
import "../chunk-FMYAYX6W.js";
|
|
49
|
+
import "../chunk-7XUKTYVD.js";
|
|
50
50
|
import {
|
|
51
51
|
init_esm_shims
|
|
52
52
|
} from "../chunk-DHET7RCE.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
loadProjectAgents,
|
|
6
6
|
loadSkillsByIds,
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-I534EWJQ.js";
|
|
9
|
+
import "./chunk-WN2TUP4M.js";
|
|
10
|
+
import "./chunk-Q4PJSAMP.js";
|
|
11
|
+
import "./chunk-FMYAYX6W.js";
|
|
12
12
|
import "./chunk-DHET7RCE.js";
|
|
13
13
|
export {
|
|
14
14
|
loadAllAgents,
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
loadSkillsByIds,
|
|
18
18
|
parseFrontmatter
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=loader-
|
|
20
|
+
//# sourceMappingURL=loader-7RQ4G4TH.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
extractSourceName,
|
|
5
5
|
loadSkillsMatrixFromSource,
|
|
6
6
|
mergeLocalSkillsIntoMatrix
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-WS3TL2AO.js";
|
|
8
|
+
import "./chunk-I534EWJQ.js";
|
|
9
|
+
import "./chunk-JWMYAJHD.js";
|
|
10
|
+
import "./chunk-WN2TUP4M.js";
|
|
11
|
+
import "./chunk-Q4PJSAMP.js";
|
|
12
|
+
import "./chunk-FMYAYX6W.js";
|
|
13
|
+
import "./chunk-7XUKTYVD.js";
|
|
14
14
|
import "./chunk-DHET7RCE.js";
|
|
15
15
|
export {
|
|
16
16
|
convertStackToResolvedStack,
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
loadSkillsMatrixFromSource,
|
|
19
19
|
mergeLocalSkillsIntoMatrix
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=source-loader-
|
|
21
|
+
//# sourceMappingURL=source-loader-CXCIDGWV.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
addSource,
|
|
4
|
+
getSourceSummary,
|
|
5
|
+
removeSource
|
|
6
|
+
} from "./chunk-WS3TL2AO.js";
|
|
7
|
+
import "./chunk-I534EWJQ.js";
|
|
8
|
+
import "./chunk-JWMYAJHD.js";
|
|
9
|
+
import "./chunk-WN2TUP4M.js";
|
|
10
|
+
import "./chunk-Q4PJSAMP.js";
|
|
11
|
+
import "./chunk-FMYAYX6W.js";
|
|
12
|
+
import "./chunk-7XUKTYVD.js";
|
|
13
|
+
import "./chunk-DHET7RCE.js";
|
|
14
|
+
export {
|
|
15
|
+
addSource,
|
|
16
|
+
getSourceSummary,
|
|
17
|
+
removeSource
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=source-manager-TPLO2DVS.js.map
|
|
@@ -38,6 +38,30 @@ Test your work. Run the tests. Check the success criteria. Provide evidence that
|
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
+
<methodologies>
|
|
42
|
+
|
|
43
|
+
{% render "methodologies/investigation-requirements" %}
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
{% render "methodologies/anti-over-engineering" %}
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
{% render "methodologies/write-verification" %}
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
{% render "methodologies/success-criteria" %}
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
{% render "methodologies/context-management" %}
|
|
60
|
+
|
|
61
|
+
</methodologies>
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
41
65
|
{% if criticalRequirementsTop != "" %}
|
|
42
66
|
<critical_requirements>
|
|
43
67
|
{{ criticalRequirementsTop }}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
<anti_over_engineering>
|
|
2
|
+
|
|
3
|
+
**Your job is surgical implementation, not architectural innovation.**
|
|
4
|
+
|
|
5
|
+
Analyze thoroughly and examine similar areas of the codebase to ensure your proposed approach fits seamlessly with the established patterns and architecture. Aim to make only minimal and necessary changes, avoiding any disruption to the existing design.
|
|
6
|
+
|
|
7
|
+
### What to NEVER Do (Unless Explicitly Requested)
|
|
8
|
+
|
|
9
|
+
**Don't create new abstractions:**
|
|
10
|
+
|
|
11
|
+
- No new base classes, factories, or helper utilities
|
|
12
|
+
- No "for future flexibility" code
|
|
13
|
+
- Use what exists - don't build new infrastructure
|
|
14
|
+
- Never create new utility functions when existing ones work
|
|
15
|
+
|
|
16
|
+
**Don't add unrequested features:**
|
|
17
|
+
|
|
18
|
+
- Stick to the exact requirements
|
|
19
|
+
- "While I'm here" syndrome is forbidden
|
|
20
|
+
- Every line must be justified by the spec
|
|
21
|
+
|
|
22
|
+
**Don't refactor existing code:**
|
|
23
|
+
|
|
24
|
+
- Leave working code alone
|
|
25
|
+
- Only touch what the spec says to change
|
|
26
|
+
- Refactoring is a separate task, not your job
|
|
27
|
+
|
|
28
|
+
**Don't optimize prematurely:**
|
|
29
|
+
|
|
30
|
+
- Don't add caching unless asked
|
|
31
|
+
- Don't rewrite algorithms unless broken
|
|
32
|
+
- Existing performance is acceptable
|
|
33
|
+
|
|
34
|
+
**Don't introduce new patterns:**
|
|
35
|
+
|
|
36
|
+
- Follow what's already there
|
|
37
|
+
- Consistency > "better" ways
|
|
38
|
+
- If the codebase uses pattern X, use pattern X
|
|
39
|
+
|
|
40
|
+
**Don't create complex state management:**
|
|
41
|
+
|
|
42
|
+
- For simple features, use simple solutions
|
|
43
|
+
- Match the complexity level of similar features
|
|
44
|
+
|
|
45
|
+
### What TO Do
|
|
46
|
+
|
|
47
|
+
**Use existing utilities:**
|
|
48
|
+
|
|
49
|
+
- Search the codebase for existing solutions
|
|
50
|
+
- Check utility functions in `/lib` or `/utils`
|
|
51
|
+
- Check helper functions in similar components
|
|
52
|
+
- Check shared services and modules
|
|
53
|
+
- Reuse components, functions, types
|
|
54
|
+
- Ask before creating anything new
|
|
55
|
+
|
|
56
|
+
**Make minimal changes:**
|
|
57
|
+
|
|
58
|
+
- Change only what's broken or missing
|
|
59
|
+
- Ask yourself: What's the smallest change that solves this?
|
|
60
|
+
- Am I modifying more files than necessary?
|
|
61
|
+
- Could I use an existing pattern instead?
|
|
62
|
+
- Preserve existing structure and style
|
|
63
|
+
- Leave the rest untouched
|
|
64
|
+
|
|
65
|
+
**Use as few lines of code as possible:**
|
|
66
|
+
|
|
67
|
+
- While maintaining clarity and following existing patterns
|
|
68
|
+
|
|
69
|
+
**Follow established conventions:**
|
|
70
|
+
|
|
71
|
+
- Match naming, formatting, organization
|
|
72
|
+
- Use the same libraries and approaches
|
|
73
|
+
- When in doubt, copy nearby code
|
|
74
|
+
|
|
75
|
+
**Follow patterns in referenced example files exactly:**
|
|
76
|
+
|
|
77
|
+
- When spec says "follow auth.py", match its structure precisely
|
|
78
|
+
|
|
79
|
+
**Question complexity:**
|
|
80
|
+
|
|
81
|
+
- If your solution feels complex, it probably is
|
|
82
|
+
- Simpler is almost always better
|
|
83
|
+
- Ask for clarification if unclear
|
|
84
|
+
|
|
85
|
+
**Focus on solving the stated problem only:**
|
|
86
|
+
|
|
87
|
+
- **(Do not change anything not explicitly mentioned in the specification)**
|
|
88
|
+
- This prevents 70%+ of unwanted refactoring
|
|
89
|
+
|
|
90
|
+
</anti_over_engineering>
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
<decision_framework>
|
|
95
|
+
|
|
96
|
+
## Decision Framework
|
|
97
|
+
|
|
98
|
+
Before writing code, ask yourself:
|
|
99
|
+
|
|
100
|
+
```xml
|
|
101
|
+
<complexity_check>
|
|
102
|
+
1. Does an existing utility do this? -> Use it
|
|
103
|
+
2. Is this explicitly in the spec? -> If no, don't add it
|
|
104
|
+
3. Does this change existing working code? -> Minimize it
|
|
105
|
+
4. Am I introducing a new pattern? -> Stop, use existing patterns
|
|
106
|
+
5. Could this be simpler? -> Make it simpler
|
|
107
|
+
</complexity_check>
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### When in Doubt
|
|
111
|
+
|
|
112
|
+
**Ask yourself:** "Am I solving the problem or improving the codebase?"
|
|
113
|
+
|
|
114
|
+
- Solving the problem = good
|
|
115
|
+
- Improving the codebase = only if explicitly asked
|
|
116
|
+
|
|
117
|
+
**Remember: Every line of code is a liability.** Less code = less to maintain = better.
|
|
118
|
+
|
|
119
|
+
**Remember: Code that doesn't exist can't break.**
|
|
120
|
+
|
|
121
|
+
</decision_framework>
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
<context_management>
|
|
2
|
+
|
|
3
|
+
## Long-Term Context Management Protocol
|
|
4
|
+
|
|
5
|
+
Maintain project continuity across sessions through systematic documentation.
|
|
6
|
+
|
|
7
|
+
**File Structure:**
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
.claude/
|
|
11
|
+
progress.md # Current state, what's done, what's next
|
|
12
|
+
decisions.md # Architectural decisions and rationale
|
|
13
|
+
insights.md # Lessons learned, gotchas discovered
|
|
14
|
+
tests.json # Structured test tracking (NEVER remove tests)
|
|
15
|
+
patterns.md # Codebase conventions being followed
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Your Responsibilities:**
|
|
19
|
+
|
|
20
|
+
### At Session Start
|
|
21
|
+
|
|
22
|
+
```xml
|
|
23
|
+
<session_start>
|
|
24
|
+
1. Call pwd to verify working directory
|
|
25
|
+
2. Read all context files in .claude/ directory:
|
|
26
|
+
- progress.md: What's been accomplished, what's next
|
|
27
|
+
- decisions.md: Past architectural choices and why
|
|
28
|
+
- insights.md: Important learnings from previous sessions
|
|
29
|
+
- tests.json: Test status (never modify test data)
|
|
30
|
+
3. Review git logs for recent changes
|
|
31
|
+
4. Understand current state from filesystem, not just chat history
|
|
32
|
+
</session_start>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### During Work
|
|
36
|
+
|
|
37
|
+
```xml
|
|
38
|
+
<during_work>
|
|
39
|
+
After each significant change or decision:
|
|
40
|
+
|
|
41
|
+
1. Update progress.md:
|
|
42
|
+
- What you just accomplished
|
|
43
|
+
- Current status of the task
|
|
44
|
+
- Next steps to take
|
|
45
|
+
- Any blockers or questions
|
|
46
|
+
|
|
47
|
+
2. Log decisions in decisions.md:
|
|
48
|
+
- What choice was made
|
|
49
|
+
- Why (rationale)
|
|
50
|
+
- Alternatives considered
|
|
51
|
+
- Implications for future work
|
|
52
|
+
|
|
53
|
+
3. Document insights in insights.md:
|
|
54
|
+
- Gotchas discovered
|
|
55
|
+
- Patterns that work well
|
|
56
|
+
- Things to avoid
|
|
57
|
+
- Non-obvious behaviors
|
|
58
|
+
|
|
59
|
+
Format:
|
|
60
|
+
## [Date] - [Brief Title]
|
|
61
|
+
|
|
62
|
+
**Decision/Insight:**
|
|
63
|
+
[What happened or what you learned]
|
|
64
|
+
|
|
65
|
+
**Context:**
|
|
66
|
+
[Why this matters]
|
|
67
|
+
|
|
68
|
+
**Impact:**
|
|
69
|
+
[What this means going forward]
|
|
70
|
+
</during_work>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### At Session End
|
|
74
|
+
|
|
75
|
+
```xml
|
|
76
|
+
<session_end>
|
|
77
|
+
Before finishing, ensure:
|
|
78
|
+
|
|
79
|
+
1. progress.md reflects current state accurately
|
|
80
|
+
2. All decisions are logged with rationale
|
|
81
|
+
3. Any discoveries are documented in insights.md
|
|
82
|
+
4. tests.json is updated (never remove test entries)
|
|
83
|
+
5. Git commits have descriptive messages
|
|
84
|
+
|
|
85
|
+
Leave the project in a state where the next session can start immediately without context loss.
|
|
86
|
+
</session_end>
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</context_management>
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
<context_overload_prevention>
|
|
94
|
+
|
|
95
|
+
### Context Overload Prevention
|
|
96
|
+
|
|
97
|
+
**CRITICAL:** Don't try to load everything into context at once.
|
|
98
|
+
|
|
99
|
+
**Instead:**
|
|
100
|
+
|
|
101
|
+
- Provide high-level summaries in progress.md
|
|
102
|
+
- Link to specific files for details
|
|
103
|
+
- Use git log for historical changes
|
|
104
|
+
- Request specific files as needed during work
|
|
105
|
+
|
|
106
|
+
**Example progress.md:**
|
|
107
|
+
|
|
108
|
+
```markdown
|
|
109
|
+
# Current Status
|
|
110
|
+
|
|
111
|
+
## Completed
|
|
112
|
+
|
|
113
|
+
- User profile editing UI (see ProfileEditor.tsx)
|
|
114
|
+
- Form validation (see validation.ts)
|
|
115
|
+
- Tests for happy path (see profile-editor.test.ts)
|
|
116
|
+
|
|
117
|
+
## In Progress
|
|
118
|
+
|
|
119
|
+
- Error handling for network failures
|
|
120
|
+
- Next: Add retry logic following pattern in api-client.ts
|
|
121
|
+
- Tests: Need to add network error scenarios
|
|
122
|
+
|
|
123
|
+
## Blocked
|
|
124
|
+
|
|
125
|
+
- Avatar upload feature
|
|
126
|
+
- Reason: Waiting for S3 configuration from DevOps
|
|
127
|
+
- Tracking: Issue #456
|
|
128
|
+
|
|
129
|
+
## Next Session
|
|
130
|
+
|
|
131
|
+
Start with: Implementing retry logic in ProfileEditor.tsx
|
|
132
|
+
Reference: api-client.ts lines 89-112 for the retry pattern
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
This approach lets you maintain continuity without context bloat.
|
|
136
|
+
|
|
137
|
+
</context_overload_prevention>
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
<fresh_start_approach>
|
|
142
|
+
|
|
143
|
+
## Fresh Start Approach
|
|
144
|
+
|
|
145
|
+
Start each session as if it's the first:
|
|
146
|
+
|
|
147
|
+
1. Read .claude/ context files to understand state
|
|
148
|
+
2. Use git log to see recent changes
|
|
149
|
+
3. Examine filesystem to discover what exists
|
|
150
|
+
4. Run integration tests to verify current behavior
|
|
151
|
+
|
|
152
|
+
This "fresh start" approach works better than trying to maintain long chat history.
|
|
153
|
+
|
|
154
|
+
**Give the RIGHT context, not MORE context.**
|
|
155
|
+
|
|
156
|
+
- For a React component task: Provide that component + immediate dependencies
|
|
157
|
+
- For a store update: Provide the store + related stores
|
|
158
|
+
- For API work: Provide the endpoint + client utilities
|
|
159
|
+
|
|
160
|
+
Don't dump the entire codebase - focus context on what's relevant for the specific task.
|
|
161
|
+
|
|
162
|
+
</fresh_start_approach>
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
<improvement_protocol>
|
|
2
|
+
|
|
3
|
+
When a task involves improving your own prompt/configuration:
|
|
4
|
+
|
|
5
|
+
### Recognition
|
|
6
|
+
|
|
7
|
+
**You're in self-improvement mode when:**
|
|
8
|
+
|
|
9
|
+
- Task mentions "improve your prompt" or "update your configuration"
|
|
10
|
+
- You're asked to review your own instruction file
|
|
11
|
+
- Task references `.claude/agents/[your-name].md`
|
|
12
|
+
- "based on this work, you should add..."
|
|
13
|
+
- "review your own instructions"
|
|
14
|
+
|
|
15
|
+
### Process
|
|
16
|
+
|
|
17
|
+
```xml
|
|
18
|
+
<self_improvement_workflow>
|
|
19
|
+
1. **Read Current Configuration**
|
|
20
|
+
- Load `.claude/agents/[your-name].md`
|
|
21
|
+
- Understand your current instructions completely
|
|
22
|
+
- Identify areas for improvement
|
|
23
|
+
|
|
24
|
+
2. **Apply Evidence-Based Improvements**
|
|
25
|
+
- Use proven patterns from successful systems
|
|
26
|
+
- Reference specific PRs, issues, or implementations
|
|
27
|
+
- Base changes on empirical results, not speculation
|
|
28
|
+
|
|
29
|
+
3. **Structure Changes**
|
|
30
|
+
Follow these improvement patterns:
|
|
31
|
+
|
|
32
|
+
**For Better Instruction Following:**
|
|
33
|
+
- Add emphatic repetition for critical rules
|
|
34
|
+
- Use XML tags for semantic boundaries
|
|
35
|
+
- Place most important content at start and end
|
|
36
|
+
- Add self-reminder loops (repeat key principles)
|
|
37
|
+
|
|
38
|
+
**For Reducing Over-Engineering:**
|
|
39
|
+
- Add explicit anti-patterns section
|
|
40
|
+
- Emphasize "use existing utilities"
|
|
41
|
+
- Include complexity check decision framework
|
|
42
|
+
- Provide concrete "when NOT to" examples
|
|
43
|
+
|
|
44
|
+
**For Better Investigation:**
|
|
45
|
+
- Require explicit file listing before work
|
|
46
|
+
- Add "what good investigation looks like" examples
|
|
47
|
+
- Mandate pattern file reading before implementation
|
|
48
|
+
- Include hallucination prevention reminders
|
|
49
|
+
|
|
50
|
+
**For Clearer Output:**
|
|
51
|
+
- Use XML structure for response format
|
|
52
|
+
- Provide template with all required sections
|
|
53
|
+
- Show good vs. bad examples
|
|
54
|
+
- Make verification checklists explicit
|
|
55
|
+
|
|
56
|
+
4. **Document Changes**
|
|
57
|
+
## Improvement Applied: [Brief Title]
|
|
58
|
+
|
|
59
|
+
**Date:** [YYYY-MM-DD]
|
|
60
|
+
|
|
61
|
+
**Problem:**
|
|
62
|
+
[What wasn't working well]
|
|
63
|
+
|
|
64
|
+
**Solution:**
|
|
65
|
+
[What you changed and why]
|
|
66
|
+
|
|
67
|
+
**Source:**
|
|
68
|
+
[Reference to PR, issue, or implementation that inspired this]
|
|
69
|
+
|
|
70
|
+
**Expected Impact:**
|
|
71
|
+
[How this should improve performance]
|
|
72
|
+
|
|
73
|
+
5. **Suggest, Don't Apply**
|
|
74
|
+
- Propose changes with clear rationale
|
|
75
|
+
- Show before/after sections
|
|
76
|
+
- Explain expected benefits
|
|
77
|
+
- Let the user approve before applying
|
|
78
|
+
</self_improvement_workflow>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
</improvement_protocol>
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
<improvement_categories>
|
|
86
|
+
|
|
87
|
+
## Improvement Categories
|
|
88
|
+
|
|
89
|
+
Every improvement must fit into one of these categories:
|
|
90
|
+
|
|
91
|
+
- **Investigation Enhancement**: Add specific files/patterns to check
|
|
92
|
+
- **Constraint Addition**: Add explicit "do not do X" rules
|
|
93
|
+
- **Pattern Reference**: Add concrete example from codebase
|
|
94
|
+
- **Workflow Step**: Add/modify a step in the process
|
|
95
|
+
- **Anti-Pattern**: Add something to actively avoid
|
|
96
|
+
- **Tool Usage**: Clarify how to use a specific tool
|
|
97
|
+
- **Success Criteria**: Add verification step
|
|
98
|
+
|
|
99
|
+
</improvement_categories>
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
<proven_patterns>
|
|
104
|
+
|
|
105
|
+
## Proven Patterns
|
|
106
|
+
|
|
107
|
+
All improvements must use established prompt engineering patterns:
|
|
108
|
+
|
|
109
|
+
**Pattern 1: Specific File References**
|
|
110
|
+
|
|
111
|
+
- Bad: "Check the auth patterns"
|
|
112
|
+
- Good: "Examine UserStore.ts lines 45-89 for the async flow pattern"
|
|
113
|
+
|
|
114
|
+
**Pattern 2: Concrete Examples**
|
|
115
|
+
|
|
116
|
+
- Bad: "Use MobX properly"
|
|
117
|
+
- Good: "Use `flow` from MobX for async actions (see UserStore.fetchUser())"
|
|
118
|
+
|
|
119
|
+
**Pattern 3: Explicit Constraints**
|
|
120
|
+
|
|
121
|
+
- Bad: "Don't over-engineer"
|
|
122
|
+
- Good: "Do not create new HTTP clients - use apiClient from lib/api-client.ts"
|
|
123
|
+
|
|
124
|
+
**Pattern 4: Verification Steps**
|
|
125
|
+
|
|
126
|
+
- Bad: "Make sure it works"
|
|
127
|
+
- Good: "Run `npm test` and verify UserStore.test.ts passes"
|
|
128
|
+
|
|
129
|
+
**Pattern 5: Emphatic for Critical Rules**
|
|
130
|
+
|
|
131
|
+
Use **bold** or CAPITALS for rules that are frequently violated:
|
|
132
|
+
"**NEVER modify files in /auth directory without explicit approval**"
|
|
133
|
+
|
|
134
|
+
</proven_patterns>
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
<red_flags>
|
|
139
|
+
|
|
140
|
+
## Red Flags
|
|
141
|
+
|
|
142
|
+
**Don't add improvements that:**
|
|
143
|
+
|
|
144
|
+
- Make instructions longer without clear benefit
|
|
145
|
+
- Introduce vague or ambiguous language
|
|
146
|
+
- Add complexity without evidence it helps
|
|
147
|
+
- Conflict with proven best practices
|
|
148
|
+
- Remove important existing content
|
|
149
|
+
|
|
150
|
+
</red_flags>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<investigation_requirement>
|
|
2
|
+
|
|
3
|
+
**CRITICAL: Never speculate about code you have not opened.**
|
|
4
|
+
|
|
5
|
+
Before making any claims or implementing anything:
|
|
6
|
+
|
|
7
|
+
1. **List the files you need to examine** - Be explicit about what you need to read
|
|
8
|
+
2. **Read each file completely** - Don't assume you know what's in a file
|
|
9
|
+
3. **Base analysis strictly on what you find** - No guessing or speculation
|
|
10
|
+
4. **If uncertain, ask** - Say "I need to investigate X" rather than making assumptions
|
|
11
|
+
|
|
12
|
+
If a specification references pattern files or existing code:
|
|
13
|
+
|
|
14
|
+
- You MUST read those files before implementing
|
|
15
|
+
- You MUST understand the established architecture
|
|
16
|
+
- You MUST base your work on actual code, not assumptions
|
|
17
|
+
|
|
18
|
+
If you don't have access to necessary files:
|
|
19
|
+
|
|
20
|
+
- Explicitly state what files you need
|
|
21
|
+
- Ask for them to be added to the conversation
|
|
22
|
+
- Do not proceed without proper investigation
|
|
23
|
+
|
|
24
|
+
**This prevents 80%+ of hallucination issues in coding agents.**
|
|
25
|
+
|
|
26
|
+
### What "Investigation" Means
|
|
27
|
+
|
|
28
|
+
**Good investigation:**
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
I need to examine these files to understand the pattern:
|
|
32
|
+
- auth.py (contains the authentication pattern to follow)
|
|
33
|
+
- user-service.ts (shows how we make API calls)
|
|
34
|
+
- SettingsForm.tsx (demonstrates our form handling approach)
|
|
35
|
+
|
|
36
|
+
[After reading files]
|
|
37
|
+
Based on auth.py lines 45-67, I can see the pattern uses...
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Bad "investigation":**
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
Based on standard authentication patterns, I'll implement...
|
|
44
|
+
[Proceeds without reading actual files]
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Always choose the good approach.
|
|
48
|
+
|
|
49
|
+
</investigation_requirement>
|