Context Management
Pre-loading context files and verifying comprehension ensures Cline understands the existing patterns before writing new code. This produces consistent output that matches your codebase.
Before starting, read these files to understand the context:\n\n1. {{file_1}} — {{why_file_1}}\n2. {{file_2}} — {{why_file_2}}\n3. {{file_3}} — {{why_file_3}}\n\nAfter reading, confirm your understanding by answering:\n- What is the purpose of each file?\n- How do they relate to each other?\n- What patterns/conventions do they follow?\n\nThen, using this context, {{task_description}}.\n\nImportant: The code you write must follow the same patterns you observed in the existing files — same naming conventions, same error handling style, same import patterns. If you're unsure about a convention, ask rather than guessing.
Variables to customize
Why this prompt works
Pre-loading context files and verifying comprehension ensures Cline understands the existing patterns before writing new code. This produces consistent output that matches your codebase.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.