hool-cli 0.3.3 → 0.5.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/agents/claude/be-dev.md +147 -0
- package/agents/claude/be-tech-lead.md +201 -0
- package/agents/claude/fe-dev.md +137 -0
- package/agents/claude/fe-tech-lead.md +186 -0
- package/agents/claude/forensic.md +138 -0
- package/agents/claude/governor.md +90 -0
- package/agents/claude/qa.md +163 -0
- package/agents/cursor/be-dev.md +41 -0
- package/agents/cursor/be-tech-lead.md +47 -0
- package/agents/cursor/fe-dev.md +39 -0
- package/agents/cursor/fe-tech-lead.md +47 -0
- package/agents/cursor/forensic.md +39 -0
- package/agents/cursor/governor.md +37 -0
- package/agents/cursor/qa.md +40 -0
- package/dist/adapters/claude-code.js +7 -7
- package/dist/adapters/cursor.js +3 -3
- package/dist/adapters/generic.js +3 -3
- package/dist/core/scaffold.d.ts +6 -1
- package/dist/core/scaffold.js +164 -40
- package/dist/core/scaffold.js.map +1 -1
- package/dist/index.js +56 -24
- package/dist/index.js.map +1 -1
- package/hooks/agent-checklist.sh +25 -0
- package/hooks/block-pl-src-write.sh +21 -0
- package/hooks/inject-pl-context.sh +99 -0
- package/hooks/pre-compact.sh +75 -0
- package/hooks/run-if-profile.sh +43 -0
- package/hooks/session-start.sh +50 -0
- package/hooks/suggest-compact.sh +32 -0
- package/hooks/track-prompt-count.sh +50 -0
- package/package.json +6 -2
- package/prompts/agents/05-fe-tech-lead.md +47 -47
- package/prompts/agents/06-be-tech-lead.md +44 -44
- package/prompts/agents/08-be-dev.md +37 -37
- package/prompts/agents/08-fe-dev.md +37 -37
- package/prompts/agents/10-qa.md +36 -36
- package/prompts/agents/11-forensic.md +24 -24
- package/prompts/agents/governor.md +25 -25
- package/prompts/orchestrator.md +203 -203
- package/prompts/skills/01-brainstorm.md +10 -10
- package/prompts/skills/02-spec.md +14 -14
- package/prompts/skills/03-design.md +21 -21
- package/prompts/skills/04-architecture.md +23 -23
- package/rules/cursor/be-dev.mdc +38 -0
- package/rules/cursor/be-tech-lead.mdc +39 -0
- package/rules/cursor/fe-dev.mdc +36 -0
- package/rules/cursor/fe-tech-lead.mdc +39 -0
- package/rules/cursor/forensic.mdc +35 -0
- package/rules/cursor/governor.mdc +33 -0
- package/rules/cursor/qa.mdc +35 -0
- package/settings/claude-settings.json +93 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"PreToolUse": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "Edit|Write",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": ".hool/hooks/block-pl-src-write.sh",
|
|
10
|
+
"timeout": 5
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"description": "Block Product Lead from editing src/ or tests/ directly"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"matcher": "Edit|Write",
|
|
17
|
+
"hooks": [
|
|
18
|
+
{
|
|
19
|
+
"type": "command",
|
|
20
|
+
"command": ".hool/hooks/suggest-compact.sh",
|
|
21
|
+
"timeout": 3
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"description": "Suggest strategic /compact at logical intervals"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"PostToolUse": [
|
|
28
|
+
{
|
|
29
|
+
"matcher": "Agent",
|
|
30
|
+
"hooks": [
|
|
31
|
+
{
|
|
32
|
+
"type": "command",
|
|
33
|
+
"command": ".hool/hooks/track-prompt-count.sh",
|
|
34
|
+
"timeout": 5
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"description": "Track dispatch count, trigger governor every 3 dispatches"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"UserPromptSubmit": [
|
|
41
|
+
{
|
|
42
|
+
"matcher": "",
|
|
43
|
+
"hooks": [
|
|
44
|
+
{
|
|
45
|
+
"type": "command",
|
|
46
|
+
"command": ".hool/hooks/inject-pl-context.sh",
|
|
47
|
+
"timeout": 5
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"description": "Inject phase-aware PL context on every user prompt"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"PreCompact": [
|
|
54
|
+
{
|
|
55
|
+
"matcher": "",
|
|
56
|
+
"hooks": [
|
|
57
|
+
{
|
|
58
|
+
"type": "command",
|
|
59
|
+
"command": ".hool/hooks/pre-compact.sh",
|
|
60
|
+
"timeout": 10
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"description": "Save HOOL state snapshot before context compaction"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"Stop": [
|
|
67
|
+
{
|
|
68
|
+
"matcher": "",
|
|
69
|
+
"hooks": [
|
|
70
|
+
{
|
|
71
|
+
"type": "command",
|
|
72
|
+
"command": ".hool/hooks/agent-checklist.sh",
|
|
73
|
+
"timeout": 5
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"description": "Operational checklist reminder after each response"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"SubagentStop": [
|
|
80
|
+
{
|
|
81
|
+
"matcher": "",
|
|
82
|
+
"hooks": [
|
|
83
|
+
{
|
|
84
|
+
"type": "command",
|
|
85
|
+
"command": ".hool/hooks/agent-checklist.sh",
|
|
86
|
+
"timeout": 5
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"description": "Operational checklist reminder after subagent completes"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|