Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Structured Thinking for Problem Solving

Introduction

In our last lesson, we focused on controlling the form of an LLM's output, ensuring it produces reliable, structured data like JSON. We saw how this is a critical step in integrating LLMs into traditional software systems. Now, we will shift our focus from the output format to the quality of the reasoning behind it. For an LLM to be a true partner in complex problem-solving, its analysis must be rigorous, comprehensive, and well-structured.

This lesson directly addresses the learning outcome: Apply structured thinking frameworks (e.g., first-principles, SWOT) via prompting to analyze complex problems. We will explore how to move beyond simple questions and answers, and instead guide the LLM to use established mental models for deeper, more reliable insights. For someone with your extensive experience in software and management, many of these frameworks will be familiar; the key here is learning how to effectively deputize an LLM to apply them on your behalf.

From Blank Slate to Structured Thinker

By default, an LLM approaches a problem as a blank slate, using statistical patterns to generate what seems like a plausible response. This can often be superficial or miss crucial nuances. To elevate the model from a mere information retriever to a strategic analyst, we can instruct it to adopt a structured thinking framework. These frameworks are essentially mental models or "algorithms for thinking" that have been developed over decades in fields like business strategy, engineering, and psychology to deconstruct complex problems.

You've likely used many of these in your career, perhaps in project planning meetings, design reviews, or post-mortems. The image below presents a gallery of such frameworks, many of which we will explore.

This infographic provides a menu of common problem-solving and strategic thinking frameworks that can be applied through prompting.

To get a sense of the breadth of these tools, the following article provides a brief overview of each one, along with a simple prompt template.

20 ChatGPT Prompts for Strategic Thinking and Problem ...

This article by Sarah Morino serves as a quick reference guide to twenty powerful problem-solving frameworks.

Please read the brief introduction and then skim the list of 20 frameworks from "SWOT Analysis" to "Counterfactual Reasoning". As you read, notice how each framework is tailored to a specific type of problem, from strategic planning to engineering innovation.

The Direct Approach: Invoking Frameworks by Name

The most straightforward way to use these frameworks is to explicitly name them in your prompt. Since LLMs have been trained on a vast corpus of text including business and academic literature, they have a solid understanding of these well-known models.

Let's consider a few examples particularly relevant to your goals in software development and management:

  • First-Principles Thinking: Instead of reasoning by analogy (e.g., "how have others solved this?"), this framework breaks a problem down into its most fundamental, undeniable truths and reasons up from there. It's the cornerstone of true innovation. You could use it to rethink a system architecture or a development process from the ground up.
    • Prompt Example: "I want to redesign our CI/CD pipeline. Apply First Principles Thinking to this problem. Break down the fundamental requirements of a software delivery process (e.g., code integration, testing, deployment) and reason up from there to propose a novel, highly efficient pipeline, ignoring how we currently do things."
  • Pre-Mortem Analysis: This is a powerful risk management technique. Instead of asking "What might go wrong?", you assume the project has already failed spectacularly and ask "What did go wrong?". This framing helps uncover more creative and realistic potential risks.
    • Prompt Example: "We are planning to migrate our monolithic application to a microservices architecture. Conduct a Pre-Mortem analysis. Imagine it's one year from now and the migration has been a complete disaster. Describe what went wrong in detail, covering technology choices, team structure, project management, and business impact."
  • Root Cause Analysis (RCA): A staple of operational issue handling. You can ask the model to use techniques like the "5 Whys" or a "Fishbone Diagram" to diagnose an incident instead of just identifying symptoms.
    • Prompt Example: "Our e-commerce site experienced a 30-minute outage last night during peak hours. The initial symptom was a spike in 503 errors. Perform a Root Cause Analysis using the 5 Whys method to trace the problem back from the symptom to the underlying cause. Provide the chain of 'why' questions and their likely answers."

By explicitly naming the framework, you provide a powerful constraint on the model's reasoning, forcing it to follow a deliberate, proven path of analysis.

Structuring the Conversation: Implicit Frameworks

You don't always need to invoke a formal, named framework. You can achieve a similar effect by structuring the conversation itself to force a methodical thought process. This is less about naming a model and more about orchestrating the AI's analytical flow.

The following video demonstrates several practical techniques for this.

The ADVANCED 2025 Guide to Prompt Engineering - Master the Perfect Prompt...

This video from AI Master illustrates several advanced prompting methods that implicitly create a structured thinking process.

Please watch the following segments: Sequential Breakdown: This technique turns the LLM into a consultant by having it tackle a problem one step at a time, waiting for your input before proceeding. Perspective Switching: Here, the prompt forces the AI to analyze a decision from multiple, conflicting viewpoints (e.g., CFO, Growth Strategist). This is a flexible alternative to the "Six Thinking Hats" model. Systematic Thinking: This clip shows how to prompt the model to first map out the problem space, then generate solutions, evaluate them, and finally recommend a decision framework. This is effectively asking the LLM to create its own ad-hoc framework.

These techniques are powerful because they give you fine-grained control over the analysis. The "Perspective Switching" method is particularly useful for critiquing system designs or making strategic trade-offs, as it surfaces the inherent tensions between different priorities (e.g., performance vs. cost, speed of delivery vs. long-term maintainability).

Advanced Scaffolding: Controlling the Reasoning Engine

For a user with your technical depth, we can go even further. Instead of just guiding the conversation, we can construct prompts that act as "reasoning scaffolds," directly manipulating how the model constructs its thought process. This is analogous to defining an interface or a data structure that the model's logic must conform to.

The next video delves into these more advanced, "under-the-hood" techniques.

The Mental Models of Master Prompters: 10 Techniques for Advanced Prompting

This video from AI News & Strategy Daily discusses the "mental models" of expert prompters, focusing on techniques that build a scaffold for the LLM's reasoning.

Pay close attention to these three powerful techniques: Deliberate Over-instruction: Learn how to counteract the model's tendency to be overly concise by forcing it to expand on every point, thereby exposing its full reasoning chain for your inspection. Zero-Shot Chain of Thought Structure: This method involves providing a blank template or a sequence of questions that the model must fill in. This forces it to decompose the problem along a path you define. Multi-Persona Debate: This is an advanced form of perspective switching. You instruct the model to instantiate several expert personas with conflicting goals and have them debate a topic, then synthesize the results. This generates a much more robust and nuanced analysis.

The "Zero-Shot Chain of Thought Structure" is particularly potent. By providing a template like:

  1. Identified Problem: [LLM fills this]
  2. Primary Components: [LLM fills this]
  3. Key Assumptions: [LLM fills this]
  4. Proposed Solution Path: [LLM fills this]
  5. Potential Risks & Mitigations: [LLM fills this]

...you are essentially defining the schema for the model's thought process, not just its final output. This gives you unparalleled control over the analytical quality and makes the model's reasoning transparent and verifiable.

Conclusion

Today, we've explored how to transform an LLM from a simple text generator into a structured, analytical partner. By applying these techniques, you can significantly increase the depth, reliability, and value of the insights you generate for complex software and business problems.

Here are your key takeaways:

  • Frameworks Enhance Rigor: Directly invoking established problem-solving frameworks like SWOT, First-Principles Thinking, or Pre-Mortem Analysis forces the LLM to follow a proven analytical path.
  • Structure the Conversation: You can guide the LLM's thinking without a named framework by using techniques like sequential breakdown, perspective switching, and asking it to create its own plan.
  • Build Reasoning Scaffolds: For maximum control, you can use advanced techniques to structure the model's internal thought process, such as providing blank templates or forcing a multi-persona debate.
  • Expose the Thinking: Methods like "deliberate over-instruction" are designed to make the model's reasoning transparent, allowing you to critique and refine its logic, treating it as a true collaborator.

In our next lesson, we will address a crucial practical skill: how to diagnose and refine failing prompts. Now that you have a powerful toolkit for constructing sophisticated prompts, you will inevitably encounter situations where the model misunderstands or fails to follow instructions. We'll learn how to debug these interactions effectively.

Can't find a good explanation? Sign up and we'll make it for you

Sign up