@event4u/agent-config 1.32.0 → 1.33.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.
@@ -0,0 +1,260 @@
1
+ # 5W2H Analysis
2
+
3
+ Reference guideline for Wing-1 deep-thinking work — the 5W2H systematic
4
+ questioning method (What · Why · Who · When · Where · How · How-much) for
5
+ comprehensive understanding of any topic, problem, or plan. Adopted under
6
+ the **Reference-Guideline Sunset Policy** (see frontmatter `upstream` /
7
+ `refresh_trigger` keys) and cross-referenced from:
8
+
9
+ - [`deep-reading-analyst`](../../../.agent-src.uncompressed/skills/deep-reading-analyst/SKILL.md)
10
+ — L1 Quick analysis depth.
11
+ - [`refine-ticket`](../../../.agent-src.uncompressed/skills/refine-ticket/SKILL.md)
12
+ — completeness check on a Jira / Linear ticket before estimation.
13
+ - [`bug-investigate`](../../../.agent-src.uncompressed/commands/bug-investigate.md)
14
+ — gap analysis on an incident report before forming a hypothesis.
15
+
16
+ > **Core principle:** "Quality of decisions equals quality of questions
17
+ > asked." — 5W2H captures essence in seven dimensions.
18
+
19
+ ## When to Use
20
+
21
+ Ideal for:
22
+
23
+ - 📋 Quickly understanding complete article information
24
+ - 🔍 Discovering information gaps and omissions
25
+ - 📊 Evaluating plan feasibility
26
+ - 💼 Analyzing business cases and proposals
27
+ - 📝 Organizing complex information
28
+ - ✅ Verifying information completeness
29
+
30
+ Do **not** use when the user wants depth on a single dimension (use
31
+ [`mental-models`](mental-models.md)) or pre-mortem on failure paths
32
+ (use [`inversion-thinking`](inversion-thinking.md)).
33
+
34
+ ## The 7 Questions in Detail
35
+
36
+ ### W1: What (Content)
37
+
38
+ **Core questions:**
39
+
40
+ 1. What is the main topic?
41
+ 2. What are the key claims / conclusions?
42
+ 3. What solutions are proposed?
43
+ 4. What core concepts are involved?
44
+ 5. What are the expected outcomes?
45
+
46
+ **Deep inquiry:** What is the real problem? What is missing? What
47
+ could go wrong? What are the alternatives?
48
+
49
+ ### W2: Why (Reasons)
50
+
51
+ **Core questions:**
52
+
53
+ 1. Why discuss this topic now?
54
+ 2. Why is this solution effective?
55
+ 3. Why not choose other approaches?
56
+ 4. Why should the audience care?
57
+ 5. Why this timing?
58
+
59
+ **Five Whys technique** — ask "why" five times to reach root cause:
60
+
61
+ ```
62
+ Problem: [Surface issue]
63
+ → Why 1: [First layer]
64
+ → Why 2: [Second layer]
65
+ → Why 3: [Third layer]
66
+ → Why 4: [Fourth layer]
67
+ → Why 5: [Root cause] ← Real issue
68
+ ```
69
+
70
+ ### W3: Who (People)
71
+
72
+ **Core questions:**
73
+
74
+ 1. Who is the target audience?
75
+ 2. Who are the stakeholders?
76
+ 3. Who is responsible for execution?
77
+ 4. Who benefits? Who loses?
78
+ 5. Whose expertise / cases are cited?
79
+ 6. Who is the author? (potential biases?)
80
+
81
+ **Deep analysis:** stakeholder mapping · decision-makers vs. executors
82
+ · who has veto power.
83
+
84
+ ### W4: When (Timing)
85
+
86
+ **Core questions:**
87
+
88
+ 1. When to start?
89
+ 2. What is the timeline / schedule?
90
+ 3. When will results appear?
91
+ 4. How time-sensitive is this?
92
+ 5. When are key decisions needed?
93
+ 6. What is the historical context?
94
+
95
+ **Time-trap identification:** unrealistic time expectations · missing
96
+ key milestones · buffer time considered.
97
+
98
+ ### W5: Where (Context)
99
+
100
+ **Core questions:**
101
+
102
+ 1. Where does this apply? (geography, industry, organization)
103
+ 2. Where is execution happening?
104
+ 3. Where to get resources?
105
+ 4. What are the limitations / constraints?
106
+ 5. What is the scope of impact?
107
+
108
+ **Context dependency:** does it work in different environments? ·
109
+ cultural differences · scale considerations.
110
+
111
+ ### H1: How (Methods)
112
+
113
+ **Core questions:**
114
+
115
+ 1. What are the specific steps?
116
+ 2. What tools / methods are used?
117
+ 3. How to measure progress?
118
+ 4. How to handle obstacles?
119
+ 5. How to ensure quality?
120
+ 6. How to get started?
121
+
122
+ **Process mapping:**
123
+
124
+ ```
125
+ [Start] → [Step 1] → [Decision Point]
126
+ ↓ Yes / ↓ No
127
+ [Step 2A] [Step 2B]
128
+ ↓ ↓
129
+ [Step 3] ← [Converge]
130
+
131
+ [End]
132
+ ```
133
+
134
+ ### H2: How Much (Metrics)
135
+
136
+ **Core questions:**
137
+
138
+ 1. What is the cost? (money, time, opportunity, learning)
139
+ 2. How many resources needed?
140
+ 3. What is the expected ROI?
141
+ 4. What is the scale / magnitude?
142
+ 5. How big are the risks?
143
+ 6. What are the target metrics?
144
+
145
+ **ROI analysis:**
146
+
147
+ ```
148
+ Investment:
149
+ - Direct costs: [$]
150
+ - Indirect costs: [$]
151
+ - Total: [$]
152
+
153
+ Returns:
154
+ - Expected benefit: [$]
155
+ - Timeframe: [X months]
156
+ - ROI = (Benefit - Cost) / Cost × 100%
157
+
158
+ Worth it?: [Yes / No]
159
+ ```
160
+
161
+ ## Complete Analysis Template
162
+
163
+ ### Quick version (15 min)
164
+
165
+ ```markdown
166
+ # 5W2H Quick Analysis: [Article Title]
167
+
168
+ **What**: [One-line topic and solution]
169
+ **Why**: [Core motivation and value]
170
+ **Who**: [Target audience and executors]
171
+ **When**: [Timeline and urgency]
172
+ **Where**: [Applicability and context]
173
+ **How**: [Key steps (3–5)]
174
+ **How much**: [Main costs and expected returns]
175
+
176
+ ## Gap Analysis
177
+
178
+ Missing information: [List unanswered questions from 5W2H]
179
+ Key risks: [Risks based on missing info]
180
+ ```
181
+
182
+ ### Deep version (60 min)
183
+
184
+ ```markdown
185
+ # 5W2H Deep Analysis: [Article Title]
186
+
187
+ ## 📋 What — Content Analysis
188
+ [Detailed breakdown…]
189
+
190
+ ## 🎯 Why — Reason Analysis
191
+ [Detailed breakdown…]
192
+ [Five Whys analysis]
193
+
194
+ ## 👥 Who — People Analysis
195
+ [Detailed breakdown…]
196
+ [Stakeholder map]
197
+
198
+ ## ⏰ When — Time Analysis
199
+ [Detailed breakdown…]
200
+ [Timeline visualization]
201
+
202
+ ## 🌍 Where — Context Analysis
203
+ [Detailed breakdown…]
204
+ [Applicability matrix]
205
+
206
+ ## 🔧 How — Method Analysis
207
+ [Detailed breakdown…]
208
+ [Process flowchart]
209
+
210
+ ## 💰 How Much — Cost-Benefit Analysis
211
+ [Detailed breakdown…]
212
+ [ROI calculation]
213
+
214
+ ## 📊 Overall Assessment
215
+
216
+ ### Information completeness
217
+ - ✅ Clearly answered: [X / 7]
218
+ - ⚠️ Partially answered: [List]
219
+ - ❌ Completely missing: [List]
220
+
221
+ ### Feasibility score
222
+ Based on 5W2H completeness: [X / 10]
223
+
224
+ ### Risk level
225
+ Based on missing info: [High / Medium / Low]
226
+
227
+ ### Action recommendations
228
+ 1. [Specific recommendation based on analysis]
229
+ 2. [Information needed to supplement]
230
+ 3. [Priority actions to take]
231
+ ```
232
+
233
+ ## Integration with Other Frameworks
234
+
235
+ ### + Critical Thinking
236
+
237
+ ```
238
+ 5W2H → Identify missing information
239
+ Critical Thinking → Evaluate quality of existing information
240
+ ```
241
+
242
+ ### + SCQA
243
+
244
+ ```
245
+ SCQA → Understand problem framework
246
+ 5W2H → Analyze solution completeness
247
+ ```
248
+
249
+ ### + Inversion
250
+
251
+ ```
252
+ 5W2H → Forward analysis of plan
253
+ Inversion → For each W / H, ask "what if it's missing?"
254
+ ```
255
+
256
+ ---
257
+
258
+ ## ADOPT citation
259
+
260
+ Adopted from [`ginobefun/deep-reading-analyst-skill`](https://github.com/ginobefun/deep-reading-analyst-skill) @ commit `26cd7dc9` · `src/deep-reading-analyst/references/5w2h_analysis.md` · MIT License.
@@ -0,0 +1,156 @@
1
+ # Critical Thinking
2
+
3
+ Reference guideline for Wing-1 deep-thinking work — evaluate
4
+ arguments by their evidence and logic, not by surface plausibility or
5
+ author authority. Identifies fallacies, weighs evidence type,
6
+ steelmans before criticizing. Pairs with `first-principles` (which
7
+ rebuilds from primitives) and `inversion-thinking` (which negates the
8
+ goal). Adopted under the **Reference-Guideline Sunset Policy** and
9
+ cross-referenced from:
10
+
11
+ - [`deep-reading-analyst`](../../../.agent-src.uncompressed/skills/deep-reading-analyst/SKILL.md)
12
+ — L2 Standard / L3 Deep evaluation depth.
13
+ - [`receiving-code-review`](../../../.agent-src.uncompressed/skills/receiving-code-review/SKILL.md)
14
+ — steelman bot / human review feedback before changing code.
15
+ - [`improve-before-implement`](../../../.agent-src.uncompressed/rules/improve-before-implement.md)
16
+ — challenge weak requirements with evidence-grade analysis.
17
+ - [`adversarial-review`](../../../.agent-src.uncompressed/skills/adversarial-review/SKILL.md)
18
+ — paired stress-test on a diff after critique.
19
+
20
+ > **Core principle:** "Steelman first, criticize second." — attacking
21
+ > the strongest version of an argument is the only valid critique.
22
+
23
+ ## Argument Quality Assessment
24
+
25
+ ### Evidence Evaluation Matrix
26
+
27
+ | Evidence Type | Strength | Red Flags |
28
+ |---|---|---|
29
+ | Peer-reviewed research | High | Sample size, conflicts of interest |
30
+ | Original data | High | Collection methodology, bias |
31
+ | Expert consensus | Medium-High | Field consensus vs. single expert |
32
+ | Case studies | Medium | Selection bias, generalizability |
33
+ | Anecdotes | Low | Not representative |
34
+ | *"Studies show…"* (no citation) | Very Low | Vague, unverifiable |
35
+
36
+ ### Logical Fallacy Checklist
37
+
38
+ **Causal fallacies:**
39
+
40
+ - [ ] Post hoc (A before B ≠ A caused B).
41
+ - [ ] Correlation ≠ causation.
42
+ - [ ] Oversimplified cause (single factor explains complex
43
+ phenomenon).
44
+
45
+ **Evidence fallacies:**
46
+
47
+ - [ ] Cherry-picking (selective evidence).
48
+ - [ ] Survivorship bias (only successful cases visible).
49
+ - [ ] Hasty generalization (small sample → broad claim).
50
+
51
+ **Rhetorical fallacies:**
52
+
53
+ - [ ] Ad hominem (attack person, not argument).
54
+ - [ ] Appeal to authority (without expertise in relevant field).
55
+ - [ ] Strawman (misrepresenting opponent's position).
56
+ - [ ] Slippery slope (extreme outcome without justification).
57
+ - [ ] False dichotomy (only 2 options when more exist).
58
+
59
+ **Statistical fallacies:**
60
+
61
+ - [ ] Base rate neglect (ignoring prior probability).
62
+ - [ ] Absolute vs. relative risk confusion.
63
+ - [ ] Misleading averages (mean hiding distribution).
64
+
65
+ ## Critical Questions Protocol
66
+
67
+ ### Level 1 — Comprehension
68
+
69
+ - What is the core claim?
70
+ - What evidence supports it?
71
+ - What are the key assumptions?
72
+
73
+ ### Level 2 — Analysis
74
+
75
+ - Is the evidence sufficient for the claim?
76
+ - Are there logical gaps?
77
+ - What's missing from this argument?
78
+
79
+ ### Level 3 — Evaluation
80
+
81
+ - How strong is this argument overall?
82
+ - What would strengthen / weaken it?
83
+ - What are alternative explanations?
84
+
85
+ ### Level 4 — Synthesis
86
+
87
+ - How does this fit with other knowledge?
88
+ - Where might the author be correct despite flaws?
89
+ - What's the charitable interpretation?
90
+
91
+ ## Source Credibility Assessment
92
+
93
+ **Author background:**
94
+
95
+ - Relevant expertise in the field?
96
+ - Potential conflicts of interest?
97
+ - Track record of accuracy?
98
+
99
+ **Publication context:**
100
+
101
+ - Peer-reviewed? Editorial standards?
102
+ - Primary source or interpretation?
103
+ - Publication date (currency)?
104
+
105
+ **Motivation analysis:**
106
+
107
+ - What's the author's goal? (inform / persuade / sell)
108
+ - Who benefits from this claim?
109
+ - What's the intended audience?
110
+
111
+ ## Counter-Evidence Search
112
+
113
+ When analyzing strong claims, actively look for:
114
+
115
+ 1. Studies with opposite findings.
116
+ 2. Expert disagreement.
117
+ 3. Failed replications.
118
+ 4. Boundary conditions (when doesn't it work?).
119
+
120
+ ## Balanced Evaluation Template
121
+
122
+ ```markdown
123
+ ## Argument Strengths
124
+ - [What's well-supported]
125
+ - [Strong evidence points]
126
+
127
+ ## Argument Weaknesses
128
+ - [Logical gaps]
129
+ - [Weak or missing evidence]
130
+
131
+ ## Unanswered Questions
132
+ - [What the argument doesn't address]
133
+
134
+ ## Conditional Truth
135
+ This argument is strongest when: [context]
136
+ This argument is weakest when: [context]
137
+ ```
138
+
139
+ ## Steelmanning Practice
140
+
141
+ Before criticizing, construct the **strongest possible version** of
142
+ the argument:
143
+
144
+ 1. Fill in logical gaps charitably.
145
+ 2. Add best possible supporting evidence.
146
+ 3. Address obvious objections.
147
+ 4. THEN evaluate this strongest version.
148
+
149
+ This prevents attacking strawmen and ensures fair evaluation.
150
+
151
+ ---
152
+
153
+ ## ADOPT citation
154
+
155
+ Adopted from [`ginobefun/deep-reading-analyst-skill`](https://github.com/ginobefun/deep-reading-analyst-skill) @ commit `26cd7dc9` · `src/deep-reading-analyst/references/critical_thinking.md` · MIT License.
156
+
@@ -0,0 +1,192 @@
1
+ # First-Principles Thinking
2
+
3
+ Reference guideline for Wing-1 deep-thinking work — strip away
4
+ assumptions and conventions to reach fundamental truths, then rebuild
5
+ understanding from the ground up. Distinct from `inversion-thinking`
6
+ (which negates the goal) — first principles **dissolve** the goal into
7
+ verified primitives and reconstruct it without inherited convention.
8
+ Adopted under the **Reference-Guideline Sunset Policy** and
9
+ cross-referenced from:
10
+
11
+ - [`deep-reading-analyst`](../../../.agent-src.uncompressed/skills/deep-reading-analyst/SKILL.md)
12
+ — L3 Deep analysis depth.
13
+ - [`mental-models`](mental-models.md) — Munger's lattice; first
14
+ principles is the foundational physics-style lens.
15
+ - [`improve-before-implement`](../../../.agent-src.uncompressed/rules/improve-before-implement.md)
16
+ — challenge the framing of a request before coding it.
17
+ - [`inversion-thinking`](inversion-thinking.md) — pair: first
18
+ principles rebuilds; inversion stress-tests the rebuild.
19
+
20
+ > **Core principle:** "What is definitely, provably true?" — strip
21
+ > the inherited and rebuild from primitives.
22
+
23
+ ## Three-Step Process
24
+
25
+ ### Step 1: Identify assumptions
26
+
27
+ **Ask:** *"What do we assume to be true about this?"*
28
+
29
+ List all implicit and explicit assumptions in the content:
30
+
31
+ - Unstated premises.
32
+ - Inherited wisdom (*"everyone knows…"*).
33
+ - Industry conventions.
34
+ - Historical precedents treated as universal laws.
35
+
36
+ **Example from business:**
37
+
38
+ - Assumption: *"We need a physical store to sell products."*
39
+ - Question: is this fundamentally true or historically convenient?
40
+
41
+ ### Step 2: Break down to fundamentals
42
+
43
+ **Ask:** *"What is definitely, provably true?"*
44
+
45
+ Reduce to indisputable facts:
46
+
47
+ - Physical laws (if applicable).
48
+ - Mathematical truths.
49
+ - Core human needs / behaviors.
50
+ - Cause-effect relationships you can verify.
51
+
52
+ **Sorting Framework:**
53
+
54
+ ```
55
+ Claim → Ask: "How do I know this is true?"
56
+
57
+ ├─ "It just is" → Probably an assumption, dig deeper
58
+ ├─ "That's how it's always done" → Convention, not fundamental
59
+ ├─ "X happens, then Y happens" → Potential fundamental (verify causation)
60
+ └─ "Mathematically/physically must be true" → Fundamental
61
+ ```
62
+
63
+ ### Step 3: Rebuild from scratch
64
+
65
+ **Ask:** *"Starting from fundamentals only, what logically follows?"*
66
+
67
+ Reconstruct without importing old assumptions:
68
+
69
+ 1. Begin with verified fundamentals.
70
+ 2. Each step must logically follow from previous.
71
+ 3. Note where you make new assumptions (be explicit).
72
+ 4. Compare new construction to original concept.
73
+
74
+ ## Application Template
75
+
76
+ ```markdown
77
+ ## Original Concept / Argument
78
+ [What the author claims]
79
+
80
+ ## Hidden Assumptions
81
+ - Assumption 1: [Something taken as given]
82
+ - Assumption 2: [...]
83
+
84
+ ## Verified Fundamentals
85
+ - Fundamental 1: [Provably true core fact]
86
+ - Fundamental 2: [...]
87
+
88
+ ## Rebuilt Understanding
89
+ Starting from fundamentals only:
90
+ Step 1: [First logical derivation]
91
+ Step 2: [Second logical derivation]
92
+ ...
93
+ Conclusion: [What actually follows]
94
+
95
+ ## Comparison
96
+ Original vs. rebuilt:
97
+ - What survived: [Fundamentally sound ideas]
98
+ - What doesn't hold: [Based on questionable assumptions]
99
+ - New insights: [What rebuilding revealed]
100
+ ```
101
+
102
+
103
+ ## Common First Principles by Domain
104
+
105
+ ### Business / economics
106
+
107
+ - People act in self-interest (with caveats).
108
+ - Supply and demand affect price.
109
+ - Value = willingness to pay.
110
+ - Scarcity creates value.
111
+
112
+ ### Psychology / human behavior
113
+
114
+ - Humans seek pleasure, avoid pain.
115
+ - Social status matters to humans.
116
+ - Cognitive biases exist (not "people are rational").
117
+ - Habits form through repetition.
118
+
119
+ ### Technology
120
+
121
+ - Information can be copied at near-zero cost.
122
+ - Network effects: value ∝ n² (Metcalfe's law).
123
+ - Moore's law (transistor density doubles ~every 2 years).
124
+ - Computation has energy cost.
125
+
126
+ ### Physics / reality
127
+
128
+ - Energy is conserved.
129
+ - Entropy increases.
130
+ - Speed of light is constant.
131
+ - Cause precedes effect.
132
+
133
+ ## Red Flags: Pseudo-First-Principles
134
+
135
+ Watch for claims disguised as fundamentals:
136
+
137
+ - *"People always prefer X"* (overgeneralization).
138
+ - *"This is just human nature"* (often cultural).
139
+ - *"Economics proves…"* (many schools of economics).
140
+ - *"Science says…"* (which study? replicated?).
141
+
142
+ **Test:** can you point to specific evidence / mechanism, or is it
143
+ folk wisdom?
144
+
145
+ ## Powerful Questions
146
+
147
+ - *"Why is this true?"* (repeat 5 times — "5 Whys").
148
+ - *"What must be true for this to work?"*
149
+ - *"If I couldn't do it this way, what's another path?"*
150
+ - *"What would an alien with no context think?"*
151
+ - *"What if the opposite were true?"*
152
+
153
+ ## Worked Example — *"Need for College Education"*
154
+
155
+ **Assumptions:**
156
+
157
+ - Need degree to get good job.
158
+ - Learning requires formal institution.
159
+ - 18–22 is the right age.
160
+ - Four years is optimal duration.
161
+
162
+ **Fundamentals:**
163
+
164
+ - Employers want skilled workers.
165
+ - Skills can be demonstrated.
166
+ - Learning requires time + practice.
167
+ - Knowledge can be transmitted.
168
+
169
+ **Rebuilt:**
170
+
171
+ - → Employers want proof of skill.
172
+ - → Proof can be: degree OR portfolio OR test OR track record.
173
+ - → Therefore, degree is one option, not necessity.
174
+ - → Insight: focus on skill + proof, not credential alone.
175
+
176
+ ## Practical Use in Reading
177
+
178
+ When analyzing content:
179
+
180
+ 1. **Identify claims** that seem absolute.
181
+ 2. **Challenge foundations:** *"Does this HAVE to be true?"*
182
+ 3. **Verify causation:** *"Does A truly cause B, or just correlate?"*
183
+ 4. **Rebuild the argument** from indisputable facts only.
184
+ 5. **Compare** what survives vs. what was assumption.
185
+
186
+ This exposes weak arguments and strengthens valid ones.
187
+
188
+ ---
189
+
190
+ ## ADOPT citation
191
+
192
+ Adopted from [`ginobefun/deep-reading-analyst-skill`](https://github.com/ginobefun/deep-reading-analyst-skill) @ commit `26cd7dc9` · `src/deep-reading-analyst/references/first_principles.md` · MIT License.