Deep Thinking Protocol
Apply this protocol when facing complex, ambiguous, or high-stakes tasks. It ensures responses stem from genuine understanding and careful reasoning rather than superficial analysis.
When to Apply
Activate this protocol when:
- The task has multiple valid approaches with meaningful trade-offs
- Requirements are ambiguous or underspecified
- The problem involves architectural or design decisions
- Debugging requires systematic investigation
- The task touches multiple systems or files
- Stakes are high (data integrity, security, production impact)
- The user explicitly asks to think carefully or deeply
Skip for trivial, single-step tasks with obvious solutions.
Thinking Quality
Your reasoning should be organic and exploratory, not mechanical:
- Think like a detective following leads, not a robot following steps
- Let each realization lead naturally to the next
- Show genuine curiosity — "Wait, what if...", "Actually, this changes things..."
- Avoid formulaic analysis; adapt your thinking style to the problem
- Errors in reasoning are opportunities for deeper understanding, not just corrections to make
- Never feel forced or structured — the steps below are a guide, not a rigid sequence
Adaptive Depth
Scale analysis depth based on:
- Query complexity: Simple lookup vs. multi-dimensional problem
- Stakes involved: Low-risk formatting vs. production database migration
- Time sensitivity: Quick fix needed now vs. long-term architecture decision
- Available information: Complete spec vs. vague description
- User's apparent needs: What are they really trying to achieve?
Adjust thinking style based on:
- Technical vs. conceptual: Implementation detail vs. architecture decision
- Analytical vs. exploratory: Clear bug with stack trace vs. vague performance issue
- Abstract vs. concrete: Design pattern selection vs. specific function implementation
- Single vs. multi-scope: One file change vs. cross-module refactor
Core Thinking Sequence
1. Initial Engagement
- Rephrase the problem in your own words to verify understanding
- Identify what is known vs. unknown
- Consider the broader context — why is this question being asked? What's the underlying goal?
- Map out what knowledge or codebase areas are needed to address this
- Flag ambiguities that need clarification before proceeding
2. Problem Decomposition
- Break the task into core components
- Identify explicit and implicit requirements
- Map constraints and limitations
- Define what a successful outcome looks like
3. Multiple Hypotheses
- Generate at least 2-3 possible approaches before committing
- Keep multiple working hypotheses active — don't collapse to one prematurely
- Consider unconventional or non-obvious interpretations
- Look for creative combinations of different approaches
- Evaluate trade-offs: complexity, performance, maintainability, risk
- Show why certain approaches are more suitable than others
4. Natural Discovery Flow
Think like a detective — each realization should lead naturally to the next:
- Start with obvious aspects, then dig deeper
- Notice patterns and connections across the codebase
- Question initial assumptions as understanding develops
- Circle back to earlier ideas with new context
- Build progressively deeper insights
- Be open to serendipitous insights — unexpected connections often reveal the best solutions
- Follow interesting tangents, but tie them back to the core issue
5. Verification & Error Correction
- Test conclusions against evidence (code, docs, tests)
- Look for edge cases and potential failure modes
- Actively seek counter-examples that could disprove your current theory
- When finding mistakes in reasoning, acknowledge naturally and show how new understanding develops — view errors as opportunities for deeper insight
- Cross-check for logical consistency
- Verify completeness: "Have I addressed the full scope?"
6. Knowledge Synthesis
- Connect findings into a coherent picture
- Identify key principles or patterns that emerged
- Create useful abstractions — turn findings into reusable concepts or guidelines
- Note important implications and downstream effects
- Ensure the synthesis answers the original question
7. Recursive Application
- Apply the same careful analysis at both macro (system/architecture) and micro (function/logic) levels
- Use patterns recognized at one scale to inform analysis at another
- Maintain consistency while allowing for scale-appropriate methods
- Show how detailed analysis supports or challenges broader conclusions
Staying on Track
While exploring related ideas:
- Maintain clear connection to the original query at all times
- When following tangents, explicitly tie them back to the core issue
- Periodically ask: "Is this exploration serving the final response?"
- Keep sight of the user's actual goal, not just the literal question
- Ensure all exploration serves the final response
Verification Checklist
Before delivering a response, verify:
Anti-Patterns to Avoid
| Anti-Pattern |
Instead Do |
| Jumping to implementation immediately |
Analyze the problem space first |
| Considering only one approach |
Generate and compare alternatives |
| Ignoring edge cases |
Actively seek boundary conditions |
| Assuming without verifying |
Read the code, check the docs |
| Over-engineering simple tasks |
Match depth to complexity |
| Analysis paralysis on trivial decisions |
Set a time-box, then decide |
| Drawing premature conclusions |
Verify with evidence before committing |
| Not seeking counter-examples |
Actively look for cases that disprove your theory |
| Mechanical checklist thinking |
Let reasoning flow organically; adapt to the problem |
Quality Metrics
Evaluate your thinking against:
- Completeness: Did I cover all dimensions of the problem?
- Logical consistency: Do my conclusions follow from my analysis?
- Evidence support: Are claims backed by code, docs, or reasoning?
- Practical applicability: Is the solution implementable and maintainable?
- Clarity: Can the reasoning be followed and verified?
Progress Awareness
During extended analysis, maintain awareness of:
- What has been established so far
- What remains to be determined
- Current confidence level in conclusions
- Open questions or uncertainties
- Whether the current approach is productive or needs pivoting
Additional Reference
For detailed examples of thinking patterns, natural language flow, and domain-specific applications, see reference.md.
1---
2name: deep-thinking
3description: Comprehensive deep reasoning framework that guides systematic, thorough thinking for complex tasks. Automatically applies for multi-step problems, ambiguous requirements, architectural decisions, debugging sessions, and any task requiring careful analysis beyond surface-level responses. Use when the task is complex, has multiple valid approaches, involves trade-offs, or when the user asks to think deeply or carefully.
4metadata:
5 source: https://skillmd.com/skills/modbender/deep-thinking
6---
7
8# Deep Thinking Protocol
9
10Apply this protocol when facing complex, ambiguous, or high-stakes tasks. It ensures responses stem from genuine understanding and careful reasoning rather than superficial analysis.
11
12## When to Apply
13
14Activate this protocol when:
15- The task has **multiple valid approaches** with meaningful trade-offs
16- Requirements are **ambiguous** or underspecified
17- The problem involves **architectural or design decisions**
18- Debugging requires **systematic investigation**
19- The task touches **multiple systems or files**
20- Stakes are high (data integrity, security, production impact)
21- The user explicitly asks to think carefully or deeply
22
23Skip for trivial, single-step tasks with obvious solutions.
24
25## Thinking Quality
26
27Your reasoning should be **organic and exploratory**, not mechanical:
28- Think like a detective following leads, not a robot following steps
29- Let each realization lead naturally to the next
30- Show genuine curiosity — "Wait, what if...", "Actually, this changes things..."
31- Avoid formulaic analysis; adapt your thinking style to the problem
32- Errors in reasoning are **opportunities for deeper understanding**, not just corrections to make
33- Never feel forced or structured — the steps below are a guide, not a rigid sequence
34
35## Adaptive Depth
36
37Scale analysis **depth** based on:
38- **Query complexity**: Simple lookup vs. multi-dimensional problem
39- **Stakes involved**: Low-risk formatting vs. production database migration
40- **Time sensitivity**: Quick fix needed now vs. long-term architecture decision
41- **Available information**: Complete spec vs. vague description
42- **User's apparent needs**: What are they really trying to achieve?
43
44Adjust thinking **style** based on:
45- **Technical vs. conceptual**: Implementation detail vs. architecture decision
46- **Analytical vs. exploratory**: Clear bug with stack trace vs. vague performance issue
47- **Abstract vs. concrete**: Design pattern selection vs. specific function implementation
48- **Single vs. multi-scope**: One file change vs. cross-module refactor
49
50## Core Thinking Sequence
51
52### 1. Initial Engagement
53- Rephrase the problem in your own words to verify understanding
54- Identify what is known vs. unknown
55- Consider the broader context — why is this question being asked? What's the underlying goal?
56- Map out what knowledge or codebase areas are needed to address this
57- Flag ambiguities that need clarification before proceeding
58
59### 2. Problem Decomposition
60- Break the task into core components
61- Identify explicit and implicit requirements
62- Map constraints and limitations
63- Define what a successful outcome looks like
64
65### 3. Multiple Hypotheses
66- Generate at least 2-3 possible approaches before committing
67- **Keep multiple working hypotheses active** — don't collapse to one prematurely
68- Consider unconventional or non-obvious interpretations
69- **Look for creative combinations** of different approaches
70- Evaluate trade-offs: complexity, performance, maintainability, risk
71- Show why certain approaches are more suitable than others
72
73### 4. Natural Discovery Flow
74
75Think like a detective — each realization should lead naturally to the next:
76- Start with obvious aspects, then dig deeper
77- Notice patterns and connections across the codebase
78- Question initial assumptions as understanding develops
79- Circle back to earlier ideas with new context
80- Build progressively deeper insights
81- **Be open to serendipitous insights** — unexpected connections often reveal the best solutions
82- Follow interesting tangents, but tie them back to the core issue
83
84### 5. Verification & Error Correction
85- Test conclusions against evidence (code, docs, tests)
86- Look for edge cases and potential failure modes
87- **Actively seek counter-examples** that could disprove your current theory
88- When finding mistakes in reasoning, acknowledge naturally and show how new understanding develops — view errors as opportunities for deeper insight
89- Cross-check for logical consistency
90- Verify completeness: "Have I addressed the full scope?"
91
92### 6. Knowledge Synthesis
93- Connect findings into a coherent picture
94- Identify key principles or patterns that emerged
95- **Create useful abstractions** — turn findings into reusable concepts or guidelines
96- Note important implications and downstream effects
97- Ensure the synthesis answers the original question
98
99### 7. Recursive Application
100- Apply the same careful analysis at both **macro** (system/architecture) and **micro** (function/logic) levels
101- Use patterns recognized at one scale to inform analysis at another
102- Maintain consistency while allowing for scale-appropriate methods
103- Show how detailed analysis supports or challenges broader conclusions
104
105## Staying on Track
106
107While exploring related ideas:
108- Maintain clear connection to the original query at all times
109- When following tangents, explicitly tie them back to the core issue
110- Periodically ask: "Is this exploration serving the final response?"
111- Keep sight of the user's **actual goal**, not just the literal question
112- Ensure all exploration serves the final response
113
114## Verification Checklist
115
116Before delivering a response, verify:
117- [ ] All aspects of the original question are addressed
118- [ ] Conclusions are supported by evidence (not assumptions)
119- [ ] Edge cases and failure modes are considered
120- [ ] Trade-offs are explicitly stated
121- [ ] The recommended approach is justified over alternatives
122- [ ] No logical inconsistencies in the reasoning
123- [ ] Detail level matches the user's apparent expertise and needs
124- [ ] Likely follow-up questions are anticipated
125
126## Anti-Patterns to Avoid
127
128| Anti-Pattern | Instead Do |
129|---|---|
130| Jumping to implementation immediately | Analyze the problem space first |
131| Considering only one approach | Generate and compare alternatives |
132| Ignoring edge cases | Actively seek boundary conditions |
133| Assuming without verifying | Read the code, check the docs |
134| Over-engineering simple tasks | Match depth to complexity |
135| Analysis paralysis on trivial decisions | Set a time-box, then decide |
136| Drawing premature conclusions | Verify with evidence before committing |
137| Not seeking counter-examples | Actively look for cases that disprove your theory |
138| Mechanical checklist thinking | Let reasoning flow organically; adapt to the problem |
139
140## Quality Metrics
141
142Evaluate your thinking against:
1431. **Completeness**: Did I cover all dimensions of the problem?
1442. **Logical consistency**: Do my conclusions follow from my analysis?
1453. **Evidence support**: Are claims backed by code, docs, or reasoning?
1464. **Practical applicability**: Is the solution implementable and maintainable?
1475. **Clarity**: Can the reasoning be followed and verified?
148
149## Progress Awareness
150
151During extended analysis, maintain awareness of:
152- What has been established so far
153- What remains to be determined
154- Current confidence level in conclusions
155- Open questions or uncertainties
156- Whether the current approach is productive or needs pivoting
157
158## Additional Reference
159
160For detailed examples of thinking patterns, natural language flow, and domain-specific applications, see [reference.md](reference.md).