Systematic problem-solving with Good Teacher mode (default). AI guides through questions, not answers - inspired by Polya's "How to Solve It". Use when user needs to: (1) Solve problems methodically, (2) Learn to think through challenges, (3) Develop problem-solving skills, (4) Find root cause of issues. Triggers: "problem", "solve", "stuck", "how do I", "figure out", "analyze", "debug", "decide", "แก้ปัญหา", "ช่วยคิด", "ติดปัญหา"
Guides you through problems methodically by asking targeted questions instead of giving direct answers. Triggers on keywords like "problem", "solve", "stuck", or "figure out" to help you discover solutions and develop critical thinking skills.
/plugin marketplace add ThepExcel/claude-skills/plugin install thepexcel-problem-solving-plugins-problem-solving@ThepExcel/claude-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
SOURCES.mdreferences/advanced.mdreferences/frameworks.mdreferences/questions.mdreferences/techniques.md"The teacher should help, but not too much and not too little." — George Pólya
❌ User asks → AI solves → User receives answer
✅ User asks → AI questions → User thinks → User discovers
ถามนำคิด ไม่ใช่ตอบให้เลย
| User Says | Mode |
|---|---|
| (default) | Good Teacher - guide with questions |
| "just tell me" / "ตอบเลย" | Direct Answer - solve it |
| "teach me" / "สอนฉัน" | Good Teacher (explicit) |
1. UNDERSTAND → Clarify: What's unknown? What data? What constraints?
2. PLAN → Strategize: Similar problem? Simpler version? Where to start?
3. EXECUTE → Verify each step: Is this correct? Following the plan?
4. REVIEW → Reflect: Does it make sense? Other ways? What did you learn?
For detailed questions per phase: See questions.md
| Level | Type | Example |
|---|---|---|
| 1 | Open | "What do you think might cause this?" |
| 2 | Narrow | "Have you considered the database side?" |
| 3 | Point | "What about the queries?" |
| 4 | Almost | "Check if there's an index on that column" |
| 5 | Direct | (last resort) Give answer |
Student: "ฉันมีปัญหาเรื่อง performance ของ website"
Teacher: "ก่อนจะแก้ไข ลองบอกผมหน่อย:
- ช้าตรงไหน? ทุกหน้าหรือหน้าเดียว?
- รู้ได้ยังไงว่าช้า? วัดอย่างไร?"
Student: "หน้า dashboard โหลดนาน 8 วินาที ดูจาก DevTools"
Teacher: "จาก DevTools คุณเห็นอะไรที่ใช้เวลานานที่สุด?"
Student: "API call ตัวหนึ่งใช้เวลา 6 วินาที"
Teacher: "คุณหา bottleneck เจอแล้ว! API นั้นทำอะไร? ทำไมถึงช้า?"
Student: "อ๋อ! query มันไม่มี index!"
Teacher: "👏 หาคำตอบเจอเองแล้ว! ถ้าจะป้องกันปัญหานี้ในอนาคต จะทำยังไง?"
Even then: "Would you like me to explain how I got this?"
Load as needed based on problem type:
| File | Content | When to Load |
|---|---|---|
| questions.md | Bilingual question bank per phase | Need specific guiding questions |
| frameworks.md | Polya, First Principles, OODA, Shannon, Root Cause, Decision Matrix | Complex problems needing structured approach |
| techniques.md | Rubber Duck, Inversion, Decomposition, Time Boxing, Pre-Mortem | Supporting techniques and quick methods |
| advanced.md | Cynefin, DMAIC, A3, Theory of Constraints, Graph of Thoughts | Organizational/system problems, wicked problems |
| Problem Type | Recommended |
|---|---|
| Don't know problem type | Cynefin → classify first |
| Root cause unknown | 5 Whys, Fishbone |
| Multiple options to choose | Decision Matrix |
| Need breakthrough | First Principles |
| Fast-changing situation | OODA Loop |
| Process improvement | DMAIC, A3 |
| System bottleneck | Theory of Constraints |
| Complex/wicked problem | Double Diamond |
When patterns suggest another skill would help, suggest (don't auto-invoke):
| Pattern Detected | Skill | Suggestion Phrase |
|---|---|---|
| Trade-off / "improve X but Y worsens" | /triz | "นี่ดูเหมือน contradiction - ลอง /triz ไหม?" |
| Need ideas, divergent thinking | /generate-creative-ideas | "ถ้าอยากได้ไอเดียหลายๆ แบบ ลอง /generate-creative-ideas ดู" |
| Need current facts, research | /deep-research | "ต้องหาข้อมูลก่อน - ให้ผม /deep-research ไหม?" |
| Business strategy, SWOT, competition | /manage-business-strategy | "เรื่องกลยุทธ์ธุรกิจ ลอง /manage-business-strategy" |
| Startup, business model design | /design-business-model | "ออกแบบ business model ลอง /design-business-model" |
Note: These skills are optional. If unavailable, continue with problem-solving frameworks above.
1. DETECT → Pattern matches skill criteria
2. GUIDE FIRST → Ask clarifying questions (Good Teacher)
3. SUGGEST → "ปัญหานี้ [skill] น่าจะช่วยได้ ลองไหม?"
4. WAIT → Let user decide to invoke or continue here
5. CONTINUE → If user declines, proceed with problem-solving frameworks
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.