@event4u/agent-config 1.26.0 → 1.28.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/.agent-src/commands/e2e-heal.md +2 -0
- package/.agent-src/commands/e2e-plan.md +2 -0
- package/.agent-src/commands/research.md +142 -0
- package/.agent-src/contexts/contracts/frugality-charter.md +4 -3
- package/.agent-src/contexts/contracts/research-schema.md +117 -0
- package/.agent-src/rules/domain-adoption-policy.md +158 -0
- package/.agent-src/rules/no-roadmap-references.md +1 -1
- package/.agent-src/rules/no-unsolicited-rebase.md +107 -0
- package/.agent-src/rules/scope-control.md +6 -8
- package/.agent-src/skills/deep-reading-analyst/SKILL.md +192 -0
- package/.agent-src/skills/mobile-e2e-strategy/SKILL.md +147 -0
- package/.agent-src/skills/playwright-testing/SKILL.md +1 -0
- package/.agent-src/skills/react-native-setup/SKILL.md +221 -0
- package/.agent-src/skills/roadmap-writing/SKILL.md +3 -3
- package/.agent-src/templates/agent-settings.md +1 -1
- package/.claude-plugin/marketplace.json +5 -1
- package/CHANGELOG.md +48 -0
- package/README.md +3 -3
- package/docs/architecture.md +4 -4
- package/docs/catalog.md +16 -6
- package/docs/contracts/command-clusters.md +1 -0
- package/docs/contracts/file-ownership-matrix.json +1261 -96
- package/docs/decisions/ADR-004-rule-governance-pruning.md +3 -3
- package/docs/getting-started.md +2 -2
- package/docs/guidelines/agent-infra/inversion-thinking.md +388 -0
- package/docs/guidelines/agent-infra/ios-simulator-guide.md +383 -0
- package/docs/guidelines/agent-infra/mcp-request-signing.md +11 -14
- package/docs/guidelines/agent-infra/mental-models.md +314 -0
- package/docs/guidelines/agent-infra/scqa-framework.md +526 -0
- package/package.json +1 -1
- package/scripts/schemas/skill.schema.json +15 -0
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
# Mental Models
|
|
2
|
+
|
|
3
|
+
Reference guideline for Wing-1 deep-thinking work — Charlie Munger's
|
|
4
|
+
multi-discipline lattice for analyzing problems through more than one
|
|
5
|
+
lens at a time. Adopted under the **Reference-Guideline Sunset Policy**
|
|
6
|
+
(see frontmatter `upstream` / `refresh_trigger` keys) and cross-referenced
|
|
7
|
+
from:
|
|
8
|
+
|
|
9
|
+
- [`deep-reading-analyst`](../../../.agent-src.uncompressed/skills/deep-reading-analyst/SKILL.md)
|
|
10
|
+
— L3 Deep analysis depth.
|
|
11
|
+
- [`refine-prompt`](../../../.agent-src.uncompressed/skills/refine-prompt/SKILL.md)
|
|
12
|
+
— multi-lens prompt refinement.
|
|
13
|
+
- [`judge-bug-hunter`](../../../.agent-src.uncompressed/skills/judge-bug-hunter/SKILL.md)
|
|
14
|
+
— diff review through more than the bug-hunter lens.
|
|
15
|
+
|
|
16
|
+
> **Core principle:** "To a man with only a hammer, every problem looks
|
|
17
|
+
> like a nail." — Charlie Munger
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
Ideal for:
|
|
22
|
+
- 📊 Understanding complex problems from multiple angles
|
|
23
|
+
- 🔍 Avoiding cognitive biases and blind spots
|
|
24
|
+
- 💡 Finding innovative solutions
|
|
25
|
+
- 🎯 Making important decisions
|
|
26
|
+
- 📚 Cross-disciplinary learning and knowledge integration
|
|
27
|
+
|
|
28
|
+
## Core Mental Models Toolkit
|
|
29
|
+
|
|
30
|
+
### 1. General Thinking Models
|
|
31
|
+
|
|
32
|
+
#### First Principles
|
|
33
|
+
- Strip away assumptions to fundamentals
|
|
34
|
+
- Rebuild from basic truths
|
|
35
|
+
- Application: Analyze article's core assumptions
|
|
36
|
+
|
|
37
|
+
#### Compounding
|
|
38
|
+
- Long-term accumulation creates exponential growth
|
|
39
|
+
- Small improvements compound over time
|
|
40
|
+
- Application: Evaluate long-term strategies in content
|
|
41
|
+
|
|
42
|
+
#### Opportunity Cost
|
|
43
|
+
- Choosing one option means forgoing others
|
|
44
|
+
- Evaluate trade-offs
|
|
45
|
+
- Application: Analyze the cost of recommended approaches
|
|
46
|
+
|
|
47
|
+
### 2. Physics Models
|
|
48
|
+
|
|
49
|
+
#### Leverage
|
|
50
|
+
- Small force creates large results
|
|
51
|
+
- Find the critical leverage points
|
|
52
|
+
- Application: Identify key action points in articles
|
|
53
|
+
|
|
54
|
+
#### Inertia
|
|
55
|
+
- Systems tend to maintain current state
|
|
56
|
+
- Change requires additional energy
|
|
57
|
+
- Application: Understand resistance to change
|
|
58
|
+
|
|
59
|
+
#### Critical Mass
|
|
60
|
+
- Qualitative change occurs after reaching threshold
|
|
61
|
+
- Accumulation to breakthrough
|
|
62
|
+
- Application: Evaluate when tipping points occur
|
|
63
|
+
|
|
64
|
+
### 3. Biology Models
|
|
65
|
+
|
|
66
|
+
#### Evolution
|
|
67
|
+
- Survival of the fittest, continuous iteration
|
|
68
|
+
- Small experiments, rapid adaptation
|
|
69
|
+
- Application: Analyze adaptive strategies in content
|
|
70
|
+
|
|
71
|
+
#### Ecosystem
|
|
72
|
+
- Complex networks of interdependence
|
|
73
|
+
- Balance and diversity
|
|
74
|
+
- Application: Understand systemic issues
|
|
75
|
+
|
|
76
|
+
#### Red Queen Effect
|
|
77
|
+
- Must keep running to stay in same place
|
|
78
|
+
- Continuous progress in competitive environments
|
|
79
|
+
- Application: Evaluate competitive strategies
|
|
80
|
+
|
|
81
|
+
### 4. Psychology Models
|
|
82
|
+
|
|
83
|
+
#### Cognitive Biases
|
|
84
|
+
- Confirmation bias, anchoring, availability heuristic
|
|
85
|
+
- Systematic thinking errors
|
|
86
|
+
- Application: Identify logical flaws in arguments
|
|
87
|
+
|
|
88
|
+
#### Loss Aversion
|
|
89
|
+
- Motivation to avoid losses > gain benefits
|
|
90
|
+
- Asymmetric risk decision-making
|
|
91
|
+
- Application: Understand decision motivations
|
|
92
|
+
|
|
93
|
+
#### Social Proof
|
|
94
|
+
- Herd mentality and group influence
|
|
95
|
+
- Others' behavior affects judgment
|
|
96
|
+
- Application: Analyze persuasive power of arguments
|
|
97
|
+
|
|
98
|
+
### 5. Economics Models
|
|
99
|
+
|
|
100
|
+
#### Supply and Demand
|
|
101
|
+
- Price determined by market equilibrium
|
|
102
|
+
- Scarcity creates value
|
|
103
|
+
- Application: Analyze market-related articles
|
|
104
|
+
|
|
105
|
+
#### Marginal Utility
|
|
106
|
+
- Value of additional units decreases
|
|
107
|
+
- Optimal point isn't maximum
|
|
108
|
+
- Application: Evaluate resource allocation recommendations
|
|
109
|
+
|
|
110
|
+
#### Incentives
|
|
111
|
+
- "Show me the incentive and I'll show you the outcome"
|
|
112
|
+
- People respond to incentives
|
|
113
|
+
- Application: Understand motivations behind behaviors
|
|
114
|
+
|
|
115
|
+
### 6. Mathematics/Statistics Models
|
|
116
|
+
|
|
117
|
+
#### Normal Distribution
|
|
118
|
+
- Most cases cluster around average
|
|
119
|
+
- Extreme cases are rare
|
|
120
|
+
- Application: Evaluate probabilities and risks
|
|
121
|
+
|
|
122
|
+
#### Power Law
|
|
123
|
+
- 80/20 rule (Pareto Principle)
|
|
124
|
+
- Few factors produce most results
|
|
125
|
+
- Application: Identify key factors
|
|
126
|
+
|
|
127
|
+
#### Regression to the Mean
|
|
128
|
+
- Extreme results tend toward average
|
|
129
|
+
- Avoid overreaction to outliers
|
|
130
|
+
- Application: Evaluate representativeness of exceptional cases
|
|
131
|
+
|
|
132
|
+
### 7. Systems Thinking Models
|
|
133
|
+
|
|
134
|
+
#### Feedback Loops
|
|
135
|
+
- Positive feedback: amplifying effects
|
|
136
|
+
- Negative feedback: balancing stability
|
|
137
|
+
- Application: Identify causal relationships
|
|
138
|
+
|
|
139
|
+
#### Emergence
|
|
140
|
+
- Whole is greater than sum of parts
|
|
141
|
+
- System-level properties
|
|
142
|
+
- Application: Understand complex systems
|
|
143
|
+
|
|
144
|
+
#### Bottleneck
|
|
145
|
+
- Critical constraint limiting system performance
|
|
146
|
+
- Optimizing bottleneck yields maximum benefit
|
|
147
|
+
- Application: Find core problems
|
|
148
|
+
|
|
149
|
+
## Application Method
|
|
150
|
+
|
|
151
|
+
### Step 1: Identify Problem Type
|
|
152
|
+
|
|
153
|
+
```markdown
|
|
154
|
+
Problem Classification:
|
|
155
|
+
- [ ] Decision problem → Use: Opportunity cost, Loss aversion, Incentives
|
|
156
|
+
- [ ] System problem → Use: Feedback loops, Emergence, Ecosystem
|
|
157
|
+
- [ ] Growth problem → Use: Compounding, Leverage, Power law
|
|
158
|
+
- [ ] Competition problem → Use: Evolution, Red Queen effect, Game theory
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Step 2: Apply Multiple Models
|
|
162
|
+
|
|
163
|
+
**Rule**: Use at least 3 models from different disciplines
|
|
164
|
+
|
|
165
|
+
```markdown
|
|
166
|
+
## Multi-Perspective Analysis
|
|
167
|
+
|
|
168
|
+
### Physics Perspective (Leverage)
|
|
169
|
+
- Observation: Key actions proposed in article
|
|
170
|
+
- Analysis: Which action yields maximum output with minimum input?
|
|
171
|
+
- Conclusion: [Identify leverage points]
|
|
172
|
+
|
|
173
|
+
### Psychology Perspective (Cognitive Biases)
|
|
174
|
+
- Observation: Argumentation approach
|
|
175
|
+
- Analysis: Any confirmation or survivorship bias present?
|
|
176
|
+
- Conclusion: [Evaluate argument quality]
|
|
177
|
+
|
|
178
|
+
### Economics Perspective (Incentives)
|
|
179
|
+
- Observation: Stakeholders involved
|
|
180
|
+
- Analysis: Are incentives aligned?
|
|
181
|
+
- Conclusion: [Understand behavioral motivations]
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Step 3: Find Model Intersections
|
|
185
|
+
|
|
186
|
+
```markdown
|
|
187
|
+
## Cross-Model Insights
|
|
188
|
+
|
|
189
|
+
When multiple models point to same conclusion → confidence ↑
|
|
190
|
+
When models contradict → need deeper investigation
|
|
191
|
+
|
|
192
|
+
Intersection discoveries:
|
|
193
|
+
1. [Model A] + [Model B] → [Shared insight]
|
|
194
|
+
2. [Contradiction] → [Issue requiring further analysis]
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Step 4: Synthesize Judgment
|
|
198
|
+
|
|
199
|
+
```markdown
|
|
200
|
+
## Integrated Conclusion
|
|
201
|
+
|
|
202
|
+
Based on multi-model analysis:
|
|
203
|
+
- ✅ Strongly supported views: [List]
|
|
204
|
+
- ⚠️ Proceed with caution: [List]
|
|
205
|
+
- ❌ Problematic assumptions: [List]
|
|
206
|
+
|
|
207
|
+
Meta-cognitive check:
|
|
208
|
+
- Did I use sufficiently diverse models?
|
|
209
|
+
- Any important perspectives missing?
|
|
210
|
+
- Over-reliance on any single model?
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
## Practical Example
|
|
214
|
+
|
|
215
|
+
### Example: Analyzing Startup Article
|
|
216
|
+
|
|
217
|
+
**Article Claim**: "Rapid growth is key to startup success"
|
|
218
|
+
|
|
219
|
+
#### Multi-Model Analysis:
|
|
220
|
+
|
|
221
|
+
**1. Ecosystem Model (Biology)**
|
|
222
|
+
- Insight: Too-rapid growth can disrupt organizational "ecosystem balance"
|
|
223
|
+
- Risk: Culture dilution, quality decline
|
|
224
|
+
|
|
225
|
+
**2. Critical Mass Model (Physics)**
|
|
226
|
+
- Insight: Must reach certain scale to survive
|
|
227
|
+
- Support: Network effects require user base
|
|
228
|
+
|
|
229
|
+
**3. Marginal Utility Model (Economics)**
|
|
230
|
+
- Insight: Growth benefits diminish
|
|
231
|
+
- Question: Is unlimited growth speed pursuit rational?
|
|
232
|
+
|
|
233
|
+
**4. Feedback Loop Model (Systems)**
|
|
234
|
+
- Insight: Rapid growth → resource strain → quality drop → user churn (negative feedback)
|
|
235
|
+
- Risk: Growth trap
|
|
236
|
+
|
|
237
|
+
**Synthesized Judgment**:
|
|
238
|
+
- ✅ Article valid: Early stage needs rapid market validation
|
|
239
|
+
- ⚠️ Missing: Sustainable vs. growth-at-all-costs
|
|
240
|
+
- ❌ Overlooked: Industry/stage-specific growth rhythms
|
|
241
|
+
|
|
242
|
+
## Common Pitfalls
|
|
243
|
+
|
|
244
|
+
### ❌ Wrong Usage
|
|
245
|
+
|
|
246
|
+
1. **Model Misuse**: Force-fitting irrelevant models
|
|
247
|
+
2. **Single Dependency**: Actually using only one model, pretending it's multiple
|
|
248
|
+
3. **Over-complexity**: Piling models without real insights
|
|
249
|
+
4. **Ignoring Context**: Not considering specific situational differences
|
|
250
|
+
|
|
251
|
+
### ✅ Correct Usage
|
|
252
|
+
|
|
253
|
+
1. **Choose Relevance**: Select models related to problem essence
|
|
254
|
+
2. **Apply Deeply**: Truly understand model applicability
|
|
255
|
+
3. **Seek Conflicts**: Pay special attention to model contradictions
|
|
256
|
+
4. **Stay Flexible**: Adjust model selection based on new information
|
|
257
|
+
|
|
258
|
+
## Building Your Model Library
|
|
259
|
+
|
|
260
|
+
### Beginner Level (Essential)
|
|
261
|
+
- First principles
|
|
262
|
+
- Opportunity cost
|
|
263
|
+
- Compounding
|
|
264
|
+
- Feedback loops
|
|
265
|
+
- Cognitive biases
|
|
266
|
+
|
|
267
|
+
### Intermediate Level (Expansion)
|
|
268
|
+
- Ecosystem
|
|
269
|
+
- Power law
|
|
270
|
+
- Emergence
|
|
271
|
+
- Red Queen effect
|
|
272
|
+
- Game theory
|
|
273
|
+
|
|
274
|
+
### Advanced Level (Specialization)
|
|
275
|
+
- Deepen based on your domain
|
|
276
|
+
- Cross-disciplinary integration
|
|
277
|
+
- Create your own model combinations
|
|
278
|
+
|
|
279
|
+
## Learning Recommendations
|
|
280
|
+
|
|
281
|
+
1. **Broad Reading**: Study classics from different disciplines
|
|
282
|
+
2. **Deliberate Practice**: Try applying 3+ models to every problem
|
|
283
|
+
3. **Build Index**: Maintain personal "model → use case" catalog
|
|
284
|
+
4. **Reflect**: Note which model combinations work especially well
|
|
285
|
+
5. **Teach Others**: Explaining models deepens understanding
|
|
286
|
+
|
|
287
|
+
## Recommended Resources
|
|
288
|
+
|
|
289
|
+
**Books**:
|
|
290
|
+
- "Poor Charlie's Almanack" - Charlie Munger
|
|
291
|
+
- "The Art of Thinking Clearly" - Rolf Dobelli
|
|
292
|
+
- "Principles" - Ray Dalio
|
|
293
|
+
- "Super Thinking" - Gabriel Weinberg
|
|
294
|
+
|
|
295
|
+
**Key Quote**:
|
|
296
|
+
> "You must know the big ideas in the big disciplines and use them routinely—all of them, not just a few."
|
|
297
|
+
> — Charlie Munger
|
|
298
|
+
|
|
299
|
+
## Integration with Other Frameworks
|
|
300
|
+
|
|
301
|
+
- **Critical Thinking**: Mental models help identify argument blind spots
|
|
302
|
+
- **Systems Thinking**: Provides more tools for analyzing systems
|
|
303
|
+
- **First Principles**: Can serve as one of the mental models
|
|
304
|
+
- **Six Thinking Hats**: Complementary multi-perspective method
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
**Remember**: The goal of mental models isn't using more models, but gaining deeper insights. Quality > Quantity.
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
## ADOPT citation
|
|
313
|
+
|
|
314
|
+
Adopted from [`ginobefun/deep-reading-analyst-skill`](https://github.com/ginobefun/deep-reading-analyst-skill) @ commit `26cd7dc9` · `src/deep-reading-analyst/references/mental_models.md` · MIT License.
|