← Back to all entries
2025-12-27 💡 Tips 'n' Tricks

Year-End Prompting Patterns for Developers

Year-End Prompting Patterns for Developers — visual for 2025-12-27

💡 Using Claude for Year-End Code Reviews — Prompts That Work

The holiday slowdown is the best time to tackle the code-review backlog that accumulated all year. Claude's large context window (up to 200,000 tokens on Sonnet and above) makes it practical to feed in entire modules, pull-request diffs, or even whole microservices for a thorough audit in a single conversation. The key is structuring your prompts to separate what to look for from how to report it — giving Claude a clear rubric produces far more actionable output than a generic "review this code" request.

Prompt patterns that work

Context window tip

For very large codebases, use Claude's system prompt to pre-load the architecture description and tech stack. This anchors the review to your project's conventions and reduces hallucinated suggestions about patterns you don't use.

code review prompting developer tips year-end retrospective

💡 Extended Thinking — Your Secret Weapon for Year-End Planning Documents

If you haven't yet put Claude's extended thinking capability to work on a complex planning document, the quiet between Christmas and New Year is the perfect moment. Extended thinking gives Claude a private reasoning scratchpad before it writes its final answer — the model explores alternatives, checks its own assumptions, and catches contradictions that standard responses would miss. For producing annual retrospectives, risk registers, or 2026 technical roadmaps, the quality uplift is substantial.

When to use extended thinking

import anthropic

client = anthropic.Anthropic()

response = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=16000,
    thinking={
        "type": "enabled",
        "budget_tokens": 10000
    },
    messages=[{
        "role": "user",
        "content": "Review our 2025 engineering OKRs against the delivery log below and produce a gap analysis..."
    }]
)
extended thinking planning year-end developer tips retrospective