minimal-vibe-coding-kit 0.3.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/skills/agentshield-security-review/SKILL.md +75 -0
- package/.agents/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/.agents/skills/agentshield-security-review/references/native-install.md +97 -0
- package/.agents/skills/agentshield-security-review/references/report-template.md +54 -0
- package/.agents/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
- package/.agents/skills/autoresearch-coding/README.md +15 -0
- package/.agents/skills/autoresearch-coding/SKILL.md +101 -0
- package/.agents/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/.agents/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/.agents/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/.agents/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/.agents/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/.agents/skills/clearthought/SKILL.md +100 -0
- package/.agents/skills/clearthought/examples/decision-framework.md +441 -0
- package/.agents/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.agents/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.agents/skills/clearthought/references/output-schemas.md +494 -0
- package/.agents/skills/clearthought/references/parameter-reference.md +482 -0
- package/.agents/skills/coding-level/SKILL.md +27 -0
- package/.agents/skills/coding-level/references/level-0.md +131 -0
- package/.agents/skills/coding-level/references/level-1.md +118 -0
- package/.agents/skills/coding-level/references/level-2.md +140 -0
- package/.agents/skills/coding-level/references/level-3.md +142 -0
- package/.agents/skills/coding-level/references/level-4.md +152 -0
- package/.agents/skills/coding-level/references/level-5.md +84 -0
- package/.agents/skills/daily-workflow-curator/SKILL.md +52 -0
- package/.agents/skills/memento/SKILL.md +36 -0
- package/.agents/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.agents/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.agents/skills/sequential-thinking/SKILL.md +106 -0
- package/.agents/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.agents/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.agents/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.agents/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.agents/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.agents/skills/sequential-thinking/references/parameters.md +463 -0
- package/.agents/skills/sequential-thinking/references/patterns.md +666 -0
- package/.agents/skills/vibekit-init/SKILL.md +52 -0
- package/.agents/skills/visual-design-loop/SKILL.md +103 -0
- package/.agents/skills/visual-design-loop/agents/openai.yaml +4 -0
- package/.claude/agents/code-reviewer.md +11 -0
- package/.claude/agents/context-architect.md +11 -0
- package/.claude/agents/debug-fixer.md +11 -0
- package/.claude/agents/hypothesis-planner.md +11 -0
- package/.claude/agents/implementation-hacker.md +11 -0
- package/.claude/agents/research-coordinator.md +11 -0
- package/.claude/agents/results-analyst.md +11 -0
- package/.claude/agents/security-reviewer.md +11 -0
- package/.claude/agents/test-runner.md +11 -0
- package/.claude/agents/workflow-curator.md +11 -0
- package/.claude/commands/autoresearch-coding.md +15 -0
- package/.claude/commands/council.md +7 -0
- package/.claude/commands/daily-enhance.md +7 -0
- package/.claude/commands/init-vibe.md +7 -0
- package/.claude/commands/security-scan.md +7 -0
- package/.claude/commands/vibe-finalize.md +7 -0
- package/.claude/rules/autoresearch.md +3 -0
- package/.claude/rules/security.md +3 -0
- package/.claude/rules/tooling.md +6 -0
- package/.claude/rules/vibe-core.md +8 -0
- package/.claude/settings.json +22 -0
- package/.claude/skills/agentshield-security-review/SKILL.md +75 -0
- package/.claude/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/.claude/skills/agentshield-security-review/references/native-install.md +97 -0
- package/.claude/skills/agentshield-security-review/references/report-template.md +54 -0
- package/.claude/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
- package/.claude/skills/autoresearch-coding/README.md +15 -0
- package/.claude/skills/autoresearch-coding/SKILL.md +101 -0
- package/.claude/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/.claude/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/.claude/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/.claude/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/.claude/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/.claude/skills/clearthought/SKILL.md +100 -0
- package/.claude/skills/clearthought/examples/decision-framework.md +441 -0
- package/.claude/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.claude/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.claude/skills/clearthought/references/output-schemas.md +494 -0
- package/.claude/skills/clearthought/references/parameter-reference.md +482 -0
- package/.claude/skills/coding-level/SKILL.md +27 -0
- package/.claude/skills/coding-level/references/level-0.md +131 -0
- package/.claude/skills/coding-level/references/level-1.md +118 -0
- package/.claude/skills/coding-level/references/level-2.md +140 -0
- package/.claude/skills/coding-level/references/level-3.md +142 -0
- package/.claude/skills/coding-level/references/level-4.md +152 -0
- package/.claude/skills/coding-level/references/level-5.md +84 -0
- package/.claude/skills/daily-workflow-curator/SKILL.md +52 -0
- package/.claude/skills/memento/SKILL.md +36 -0
- package/.claude/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.claude/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.claude/skills/sequential-thinking/SKILL.md +106 -0
- package/.claude/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.claude/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.claude/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.claude/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.claude/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.claude/skills/sequential-thinking/references/parameters.md +463 -0
- package/.claude/skills/sequential-thinking/references/patterns.md +666 -0
- package/.claude/skills/vibekit-init/SKILL.md +52 -0
- package/.claude/skills/visual-design-loop/SKILL.md +103 -0
- package/.claude/skills/visual-design-loop/agents/openai.yaml +4 -0
- package/.codex/README.md +11 -0
- package/.codex/config.example.toml +8 -0
- package/.codex-plugin/plugin.json +10 -0
- package/.cursor/commands/autoresearch-coding.md +11 -0
- package/.cursor/commands/council.md +3 -0
- package/.cursor/commands/daily-enhance.md +3 -0
- package/.cursor/commands/init-vibe.md +3 -0
- package/.cursor/commands/security-scan.md +3 -0
- package/.cursor/commands/vibe-finalize.md +3 -0
- package/.cursor/rules/001-vibe-core.mdc +6 -0
- package/.cursor/rules/010-init.mdc +7 -0
- package/.cursor/rules/020-security-agentshield.mdc +7 -0
- package/.cursor/rules/030-autoresearch-loop.mdc +7 -0
- package/.cursor/settings.json +22 -0
- package/.cursor/skills/clearthought/SKILL.md +100 -0
- package/.cursor/skills/clearthought/examples/decision-framework.md +441 -0
- package/.cursor/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.cursor/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.cursor/skills/clearthought/references/output-schemas.md +494 -0
- package/.cursor/skills/clearthought/references/parameter-reference.md +482 -0
- package/.cursor/skills/coding-level/SKILL.md +27 -0
- package/.cursor/skills/coding-level/references/level-0.md +131 -0
- package/.cursor/skills/coding-level/references/level-1.md +118 -0
- package/.cursor/skills/coding-level/references/level-2.md +140 -0
- package/.cursor/skills/coding-level/references/level-3.md +142 -0
- package/.cursor/skills/coding-level/references/level-4.md +152 -0
- package/.cursor/skills/coding-level/references/level-5.md +84 -0
- package/.cursor/skills/memento/SKILL.md +36 -0
- package/.cursor/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.cursor/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.cursor/skills/sequential-thinking/SKILL.md +106 -0
- package/.cursor/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.cursor/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.cursor/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.cursor/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.cursor/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.cursor/skills/sequential-thinking/references/parameters.md +463 -0
- package/.cursor/skills/sequential-thinking/references/patterns.md +666 -0
- package/.vbkit-commands/autoresearch-coding.md +11 -0
- package/.vbkit-commands/council.md +3 -0
- package/.vbkit-commands/daily-enhance.md +3 -0
- package/.vbkit-commands/init-vibe.md +3 -0
- package/.vbkit-commands/security-scan.md +3 -0
- package/.vbkit-commands/vibe-finalize.md +3 -0
- package/.vbkit-docs/AUTORESEARCH_LEDGER.md +11 -0
- package/.vbkit-docs/BACKBONE_REFERENCE.md +59 -0
- package/.vbkit-docs/INSTALL.md +120 -0
- package/.vbkit-docs/RESEARCH_NOTES.md +22 -0
- package/.vbkit-docs/SECURITY_MODEL.md +40 -0
- package/.vbkit-docs/TOOLING_GUIDE.md +22 -0
- package/.vbkit-docs/backbone.schema.json +110 -0
- package/.vbkit-docs/templates/CONTEXT_TEMPLATE.md +47 -0
- package/.vbkit-docs/templates/PRD_TEMPLATE.md +48 -0
- package/.vbkit-scripts/agentshield-probe.mjs +22 -0
- package/.vbkit-scripts/daily-enhance.mjs +62 -0
- package/.vbkit-scripts/doctor.mjs +323 -0
- package/.vbkit-scripts/init-backbone.mjs +628 -0
- package/.vbkit-scripts/mvck.mjs +444 -0
- package/.vbkit-scripts/pack-dry-run.mjs +16 -0
- package/.vbkit-scripts/test-install.mjs +118 -0
- package/.vbkit-scripts/validate-kit.mjs +419 -0
- package/.vbkit-scripts/vibekit-finalize.mjs +185 -0
- package/AGENTS.md +60 -0
- package/CHANGELOG.md +34 -0
- package/CLAUDE-template.md +52 -0
- package/CODE_OF_CONDUCT.md +18 -0
- package/CONTRIBUTING.md +28 -0
- package/FIRST_PROMPT.md +54 -0
- package/FIRST_TIME_INIT.md +165 -0
- package/LICENSE +21 -0
- package/README.md +493 -0
- package/README.vi.md +431 -0
- package/SECURITY.md +28 -0
- package/backbone.yml +103 -0
- package/bin/mvck.js +2 -0
- package/bin/vibe-kit.js +2 -0
- package/install.ps1 +14 -0
- package/install.sh +8 -0
- package/package.json +92 -0
- package/skills/agentshield-security-review/SKILL.md +75 -0
- package/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/skills/agentshield-security-review/references/native-install.md +97 -0
- package/skills/agentshield-security-review/references/report-template.md +54 -0
- package/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
- package/skills/autoresearch-coding/README.md +15 -0
- package/skills/autoresearch-coding/SKILL.md +101 -0
- package/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/skills/clearthought/SKILL.md +100 -0
- package/skills/clearthought/examples/decision-framework.md +441 -0
- package/skills/clearthought/examples/metagame-examples.md +536 -0
- package/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/skills/clearthought/references/output-schemas.md +494 -0
- package/skills/clearthought/references/parameter-reference.md +482 -0
- package/skills/coding-level/SKILL.md +27 -0
- package/skills/coding-level/references/level-0.md +131 -0
- package/skills/coding-level/references/level-1.md +118 -0
- package/skills/coding-level/references/level-2.md +140 -0
- package/skills/coding-level/references/level-3.md +142 -0
- package/skills/coding-level/references/level-4.md +152 -0
- package/skills/coding-level/references/level-5.md +84 -0
- package/skills/daily-workflow-curator/SKILL.md +52 -0
- package/skills/memento/SKILL.md +36 -0
- package/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/skills/reviewing-4p-priorities/examples.md +298 -0
- package/skills/sequential-thinking/SKILL.md +106 -0
- package/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/skills/sequential-thinking/references/output-schema.md +483 -0
- package/skills/sequential-thinking/references/parameters.md +463 -0
- package/skills/sequential-thinking/references/patterns.md +666 -0
- package/skills/vibekit-init/SKILL.md +52 -0
- package/skills/visual-design-loop/SKILL.md +103 -0
- package/skills/visual-design-loop/agents/openai.yaml +4 -0
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
# Decision Framework - Examples
|
|
2
|
+
|
|
3
|
+
## Example 1: Decision Matrix
|
|
4
|
+
|
|
5
|
+
**Input:**
|
|
6
|
+
```
|
|
7
|
+
/clearthought decision_framework framework=decision_matrix Choose deployment platform: AWS vs GCP vs Azure
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
**Output:**
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"toolOperation": "decision_framework",
|
|
14
|
+
"framework": "decision_matrix",
|
|
15
|
+
"decision": "Deployment platform selection",
|
|
16
|
+
"options": [
|
|
17
|
+
{"name": "AWS", "description": "Amazon Web Services"},
|
|
18
|
+
{"name": "GCP", "description": "Google Cloud Platform"},
|
|
19
|
+
{"name": "Azure", "description": "Microsoft Azure"}
|
|
20
|
+
],
|
|
21
|
+
"criteria": [
|
|
22
|
+
{"name": "Cost", "weight": 0.3},
|
|
23
|
+
{"name": "Performance", "weight": 0.25},
|
|
24
|
+
{"name": "Ease of use", "weight": 0.2},
|
|
25
|
+
{"name": "Ecosystem", "weight": 0.15},
|
|
26
|
+
{"name": "Support", "weight": 0.1}
|
|
27
|
+
],
|
|
28
|
+
"evaluations": [
|
|
29
|
+
{
|
|
30
|
+
"option": "AWS",
|
|
31
|
+
"scores": {
|
|
32
|
+
"Cost": 7,
|
|
33
|
+
"Performance": 9,
|
|
34
|
+
"Ease of use": 7,
|
|
35
|
+
"Ecosystem": 10,
|
|
36
|
+
"Support": 9
|
|
37
|
+
},
|
|
38
|
+
"weightedTotal": 8.15
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"option": "GCP",
|
|
42
|
+
"scores": {
|
|
43
|
+
"Cost": 8,
|
|
44
|
+
"Performance": 9,
|
|
45
|
+
"Ease of use": 9,
|
|
46
|
+
"Ecosystem": 7,
|
|
47
|
+
"Support": 8
|
|
48
|
+
},
|
|
49
|
+
"weightedTotal": 8.25
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"option": "Azure",
|
|
53
|
+
"scores": {
|
|
54
|
+
"Cost": 7,
|
|
55
|
+
"Performance": 8,
|
|
56
|
+
"Ease of use": 8,
|
|
57
|
+
"Ecosystem": 8,
|
|
58
|
+
"Support": 9
|
|
59
|
+
},
|
|
60
|
+
"weightedTotal": 7.85
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"recommended": "GCP",
|
|
64
|
+
"confidence": 0.87,
|
|
65
|
+
"rationale": "GCP scores highest on weighted criteria with best ease of use and strong performance",
|
|
66
|
+
"tradeOffs": "Smaller ecosystem vs AWS but better developer experience",
|
|
67
|
+
"nextSteps": [
|
|
68
|
+
"Create GCP project and set up billing",
|
|
69
|
+
"Provision Kubernetes cluster",
|
|
70
|
+
"Configure CI/CD pipeline"
|
|
71
|
+
],
|
|
72
|
+
"sessionContext": {
|
|
73
|
+
"sessionId": "conversation"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Example 2: Cost-Benefit Analysis
|
|
81
|
+
|
|
82
|
+
**Input:**
|
|
83
|
+
```
|
|
84
|
+
/clearthought decision_framework framework=cost_benefit Should we migrate to microservices?
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Output:**
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"toolOperation": "decision_framework",
|
|
91
|
+
"framework": "cost_benefit",
|
|
92
|
+
"decision": "Microservices migration",
|
|
93
|
+
"options": [
|
|
94
|
+
{"name": "Migrate to microservices", "description": "Break monolith into services"},
|
|
95
|
+
{"name": "Keep monolith", "description": "Improve existing architecture"}
|
|
96
|
+
],
|
|
97
|
+
"costBenefitAnalysis": {
|
|
98
|
+
"Migrate to microservices": {
|
|
99
|
+
"costs": [
|
|
100
|
+
{"item": "Development time", "value": 6, "unit": "person-months"},
|
|
101
|
+
{"item": "Infrastructure complexity", "value": "High"},
|
|
102
|
+
{"item": "Learning curve", "value": "Medium"},
|
|
103
|
+
{"item": "Initial performance overhead", "value": "Medium"}
|
|
104
|
+
],
|
|
105
|
+
"benefits": [
|
|
106
|
+
{"item": "Independent scaling", "value": "High"},
|
|
107
|
+
{"item": "Team autonomy", "value": "High"},
|
|
108
|
+
{"item": "Technology flexibility", "value": "High"},
|
|
109
|
+
{"item": "Fault isolation", "value": "Medium"}
|
|
110
|
+
],
|
|
111
|
+
"netBenefit": 0.65,
|
|
112
|
+
"roi": "Positive after 12 months"
|
|
113
|
+
},
|
|
114
|
+
"Keep monolith": {
|
|
115
|
+
"costs": [
|
|
116
|
+
{"item": "Scaling limitations", "value": "High"},
|
|
117
|
+
{"item": "Deployment coupling", "value": "High"},
|
|
118
|
+
{"item": "Technology lock-in", "value": "Medium"}
|
|
119
|
+
],
|
|
120
|
+
"benefits": [
|
|
121
|
+
{"item": "Lower complexity", "value": "High"},
|
|
122
|
+
{"item": "Faster development", "value": "Medium"},
|
|
123
|
+
{"item": "Easier debugging", "value": "Medium"}
|
|
124
|
+
],
|
|
125
|
+
"netBenefit": 0.45,
|
|
126
|
+
"roi": "Immediate"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"recommended": "Migrate to microservices",
|
|
130
|
+
"confidence": 0.72,
|
|
131
|
+
"rationale": "Long-term benefits outweigh migration costs for growing teams",
|
|
132
|
+
"tradeOffs": "Higher complexity vs better scalability",
|
|
133
|
+
"conditions": [
|
|
134
|
+
"Team size > 10 engineers",
|
|
135
|
+
"Clear service boundaries exist",
|
|
136
|
+
"Have DevOps expertise"
|
|
137
|
+
],
|
|
138
|
+
"sessionContext": {
|
|
139
|
+
"sessionId": "conversation"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Example 3: Risk Assessment
|
|
147
|
+
|
|
148
|
+
**Input:**
|
|
149
|
+
```
|
|
150
|
+
/clearthought decision_framework framework=risk_assessment Launch new feature without full test coverage
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Output:**
|
|
154
|
+
```json
|
|
155
|
+
{
|
|
156
|
+
"toolOperation": "decision_framework",
|
|
157
|
+
"framework": "risk_assessment",
|
|
158
|
+
"decision": "Launch feature with incomplete tests",
|
|
159
|
+
"options": [
|
|
160
|
+
{"name": "Launch now", "description": "Release with current 60% coverage"},
|
|
161
|
+
{"name": "Delay for tests", "description": "Achieve 90% coverage first"}
|
|
162
|
+
],
|
|
163
|
+
"riskAnalysis": {
|
|
164
|
+
"Launch now": {
|
|
165
|
+
"risks": [
|
|
166
|
+
{
|
|
167
|
+
"risk": "Production bugs",
|
|
168
|
+
"probability": 4,
|
|
169
|
+
"impact": 4,
|
|
170
|
+
"score": 16,
|
|
171
|
+
"mitigation": "Feature flag + gradual rollout"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"risk": "User frustration",
|
|
175
|
+
"probability": 3,
|
|
176
|
+
"impact": 3,
|
|
177
|
+
"score": 9,
|
|
178
|
+
"mitigation": "Support team on standby"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"risk": "Reputation damage",
|
|
182
|
+
"probability": 2,
|
|
183
|
+
"impact": 5,
|
|
184
|
+
"score": 10,
|
|
185
|
+
"mitigation": "Clear beta labeling"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"totalRisk": 35,
|
|
189
|
+
"acceptableRisk": false
|
|
190
|
+
},
|
|
191
|
+
"Delay for tests": {
|
|
192
|
+
"risks": [
|
|
193
|
+
{
|
|
194
|
+
"risk": "Market opportunity loss",
|
|
195
|
+
"probability": 4,
|
|
196
|
+
"impact": 3,
|
|
197
|
+
"score": 12,
|
|
198
|
+
"mitigation": "Communicate timeline to stakeholders"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"risk": "Competitor advantage",
|
|
202
|
+
"probability": 3,
|
|
203
|
+
"impact": 2,
|
|
204
|
+
"score": 6,
|
|
205
|
+
"mitigation": "Monitor competitor launches"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"totalRisk": 18,
|
|
209
|
+
"acceptableRisk": true
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"recommended": "Delay for tests",
|
|
213
|
+
"confidence": 0.82,
|
|
214
|
+
"rationale": "Risk of production issues (score 35) outweighs market timing risks (score 18)",
|
|
215
|
+
"mitigationPlan": [
|
|
216
|
+
"Prioritize critical path test coverage",
|
|
217
|
+
"Set up staging environment for testing",
|
|
218
|
+
"Use 2-week sprint for test completion"
|
|
219
|
+
],
|
|
220
|
+
"sessionContext": {
|
|
221
|
+
"sessionId": "conversation"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Example 4: Stakeholder Framework
|
|
229
|
+
|
|
230
|
+
**Input:**
|
|
231
|
+
```
|
|
232
|
+
/clearthought decision_framework framework=stakeholder Pricing model change: subscription vs usage-based
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
**Output:**
|
|
236
|
+
```json
|
|
237
|
+
{
|
|
238
|
+
"toolOperation": "decision_framework",
|
|
239
|
+
"framework": "stakeholder",
|
|
240
|
+
"decision": "Pricing model selection",
|
|
241
|
+
"options": [
|
|
242
|
+
{"name": "Subscription", "description": "Fixed monthly fee"},
|
|
243
|
+
{"name": "Usage-based", "description": "Pay per API call"}
|
|
244
|
+
],
|
|
245
|
+
"stakeholders": ["Users", "Sales", "Engineering", "Finance", "Support"],
|
|
246
|
+
"stakeholderImpact": [
|
|
247
|
+
{
|
|
248
|
+
"stakeholder": "Users",
|
|
249
|
+
"Subscription": {"impact": "Predictable costs", "sentiment": "positive"},
|
|
250
|
+
"Usage-based": {"impact": "Cost varies with usage", "sentiment": "mixed"}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"stakeholder": "Sales",
|
|
254
|
+
"Subscription": {"impact": "Easier to sell", "sentiment": "positive"},
|
|
255
|
+
"Usage-based": {"impact": "Requires usage forecasting", "sentiment": "negative"}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"stakeholder": "Engineering",
|
|
259
|
+
"Subscription": {"impact": "Simple billing", "sentiment": "positive"},
|
|
260
|
+
"Usage-based": {"impact": "Complex metering system", "sentiment": "negative"}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"stakeholder": "Finance",
|
|
264
|
+
"Subscription": {"impact": "Predictable revenue", "sentiment": "positive"},
|
|
265
|
+
"Usage-based": {"impact": "Variable revenue", "sentiment": "mixed"}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"stakeholder": "Support",
|
|
269
|
+
"Subscription": {"impact": "Fewer billing questions", "sentiment": "positive"},
|
|
270
|
+
"Usage-based": {"impact": "More complex inquiries", "sentiment": "negative"}
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"recommended": "Subscription",
|
|
274
|
+
"confidence": 0.88,
|
|
275
|
+
"rationale": "4 of 5 stakeholders prefer subscription; usage-based adds engineering complexity",
|
|
276
|
+
"compromises": [
|
|
277
|
+
"Offer usage-based tier for enterprise",
|
|
278
|
+
"Include usage limits in subscription tiers"
|
|
279
|
+
],
|
|
280
|
+
"sessionContext": {
|
|
281
|
+
"sessionId": "conversation"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
## Example 5: Multi-Criteria Decision
|
|
289
|
+
|
|
290
|
+
**Input:**
|
|
291
|
+
```
|
|
292
|
+
/clearthought decision_framework framework=multi_criteria Select JavaScript framework for new project
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
**Output:**
|
|
296
|
+
```json
|
|
297
|
+
{
|
|
298
|
+
"toolOperation": "decision_framework",
|
|
299
|
+
"framework": "multi_criteria",
|
|
300
|
+
"decision": "JavaScript framework selection",
|
|
301
|
+
"options": [
|
|
302
|
+
{"name": "React", "description": "Component-based library"},
|
|
303
|
+
{"name": "Vue", "description": "Progressive framework"},
|
|
304
|
+
{"name": "Svelte", "description": "Compiler-based framework"}
|
|
305
|
+
],
|
|
306
|
+
"criteria": [
|
|
307
|
+
{"name": "Learning curve", "weight": 0.25, "type": "lower_better"},
|
|
308
|
+
{"name": "Performance", "weight": 0.2, "type": "higher_better"},
|
|
309
|
+
{"name": "Ecosystem", "weight": 0.2, "type": "higher_better"},
|
|
310
|
+
{"name": "Developer experience", "weight": 0.15, "type": "higher_better"},
|
|
311
|
+
{"name": "Community size", "weight": 0.1, "type": "higher_better"},
|
|
312
|
+
{"name": "Job market", "weight": 0.1, "type": "higher_better"}
|
|
313
|
+
],
|
|
314
|
+
"evaluations": [
|
|
315
|
+
{
|
|
316
|
+
"option": "React",
|
|
317
|
+
"scores": {
|
|
318
|
+
"Learning curve": 6,
|
|
319
|
+
"Performance": 8,
|
|
320
|
+
"Ecosystem": 10,
|
|
321
|
+
"Developer experience": 7,
|
|
322
|
+
"Community size": 10,
|
|
323
|
+
"Job market": 10
|
|
324
|
+
},
|
|
325
|
+
"weightedTotal": 8.15,
|
|
326
|
+
"rank": 1
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"option": "Vue",
|
|
330
|
+
"scores": {
|
|
331
|
+
"Learning curve": 9,
|
|
332
|
+
"Performance": 8,
|
|
333
|
+
"Ecosystem": 7,
|
|
334
|
+
"Developer experience": 9,
|
|
335
|
+
"Community size": 7,
|
|
336
|
+
"Job market": 7
|
|
337
|
+
},
|
|
338
|
+
"weightedTotal": 7.95,
|
|
339
|
+
"rank": 2
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"option": "Svelte",
|
|
343
|
+
"scores": {
|
|
344
|
+
"Learning curve": 8,
|
|
345
|
+
"Performance": 10,
|
|
346
|
+
"Ecosystem": 6,
|
|
347
|
+
"Developer experience": 9,
|
|
348
|
+
"Community size": 5,
|
|
349
|
+
"Job market": 6
|
|
350
|
+
},
|
|
351
|
+
"weightedTotal": 7.55,
|
|
352
|
+
"rank": 3
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
"riskAnalysis": {
|
|
356
|
+
"React": {"risk": "Complexity for large apps", "mitigation": "Use state management"},
|
|
357
|
+
"Vue": {"risk": "Smaller ecosystem", "mitigation": "Growing rapidly"},
|
|
358
|
+
"Svelte": {"risk": "Limited job market", "mitigation": "Great for personal projects"}
|
|
359
|
+
},
|
|
360
|
+
"costBenefit": {
|
|
361
|
+
"React": {"development": "Medium", "maintenance": "Low", "hiring": "Easy"},
|
|
362
|
+
"Vue": {"development": "Fast", "maintenance": "Low", "hiring": "Medium"},
|
|
363
|
+
"Svelte": {"development": "Fast", "maintenance": "Low", "hiring": "Hard"}
|
|
364
|
+
},
|
|
365
|
+
"recommended": "React",
|
|
366
|
+
"confidence": 0.85,
|
|
367
|
+
"rationale": "Highest weighted score, best ecosystem and job market despite steeper learning curve",
|
|
368
|
+
"runner_up": "Vue",
|
|
369
|
+
"sensitivity": "If team experience heavily valued (weight > 0.3), Vue becomes optimal",
|
|
370
|
+
"sessionContext": {
|
|
371
|
+
"sessionId": "conversation"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
## Example 6: Pros-Cons (Simple)
|
|
379
|
+
|
|
380
|
+
**Input:**
|
|
381
|
+
```
|
|
382
|
+
/clearthought decision_framework framework=pros_cons Should we add dark mode?
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
**Output:**
|
|
386
|
+
```json
|
|
387
|
+
{
|
|
388
|
+
"toolOperation": "decision_framework",
|
|
389
|
+
"framework": "pros_cons",
|
|
390
|
+
"decision": "Add dark mode feature",
|
|
391
|
+
"options": [
|
|
392
|
+
{"name": "Add dark mode", "description": "Implement dark theme"},
|
|
393
|
+
{"name": "Skip for now", "description": "Keep light theme only"}
|
|
394
|
+
],
|
|
395
|
+
"analysis": {
|
|
396
|
+
"Add dark mode": {
|
|
397
|
+
"pros": [
|
|
398
|
+
"User request #1 feature (45% of feedback)",
|
|
399
|
+
"Better accessibility for light-sensitive users",
|
|
400
|
+
"Modern UI expectation",
|
|
401
|
+
"Reduces eye strain for night usage"
|
|
402
|
+
],
|
|
403
|
+
"cons": [
|
|
404
|
+
"2-3 weeks development time",
|
|
405
|
+
"Maintenance of two themes",
|
|
406
|
+
"Color contrast validation needed",
|
|
407
|
+
"Potential new bugs"
|
|
408
|
+
],
|
|
409
|
+
"score": 4
|
|
410
|
+
},
|
|
411
|
+
"Skip for now": {
|
|
412
|
+
"pros": [
|
|
413
|
+
"Zero development time",
|
|
414
|
+
"Simpler codebase",
|
|
415
|
+
"No new bugs",
|
|
416
|
+
"Focus on core features"
|
|
417
|
+
],
|
|
418
|
+
"cons": [
|
|
419
|
+
"User dissatisfaction",
|
|
420
|
+
"Competitive disadvantage",
|
|
421
|
+
"Accessibility gaps",
|
|
422
|
+
"Will need to add eventually"
|
|
423
|
+
],
|
|
424
|
+
"score": 0
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"recommended": "Add dark mode",
|
|
428
|
+
"confidence": 0.9,
|
|
429
|
+
"rationale": "High user demand (45% feedback) and accessibility benefits justify development time",
|
|
430
|
+
"timing": "Implement in next sprint",
|
|
431
|
+
"sessionContext": {
|
|
432
|
+
"sessionId": "conversation"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
---
|
|
438
|
+
|
|
439
|
+
**For more decision examples, see:**
|
|
440
|
+
- `../references/parameter-reference.md`
|
|
441
|
+
- [metagame-examples.md](metagame-examples.md)
|