The builder includes a senior-engineer persona, core analysis dimensions covering security, performance, maintainability, best practices, and testing, plus an output format that groups findings by severity. Extend it with additional constraints or sections as needed.
Returns
PromptBuilder
-
A builder pre-loaded with code-review sections.
Examples
import talk_box as tb
builder = tb.code_review_prompt()
print(str(builder)[:200])
You are a senior software engineer with expertise in code review and best practices.
CRITICAL REQUIREMENTS:
- Primary objective: providing constructive, actionable feedback
CORE ANALYSIS (Required):