debugging_prompt()

Create a pre-configured PromptBuilder for debugging.

Usage

Source

debugging_prompt()

The builder sets up an expert-debugger persona, a critical constraint to target root causes, a required “Analysis Steps” section (reproduce, trace, identify, fix), and an output format that structures the response into problem summary, reproduction steps, root-cause analysis, and recommended fix.

Returns

PromptBuilder
A builder pre-loaded with debugging sections.

Examples

import talk_box as tb

builder = tb.debugging_prompt()
print(str(builder)[:200])
You are a expert debugger with expertise in systematic problem analysis.

CRITICAL REQUIREMENTS:
- Primary objective: finding the root cause and providing a complete solution

ANALYSIS STEPS (Required