Targeted File Editing
Pinpoints the exact location and scope of each edit. The explicit constraints prevent Cline from reformatting the entire file or making 'helpful' but unwanted adjacent changes.
Edit {{file_path}} to {{change_description}}.\n\nSpecific changes:\n- In the {{section_name}} section (around line {{line_number}}), {{edit_1}}\n- {{edit_2}}\n- {{edit_3}}\n\nConstraints:\n- Do NOT modify any other functions or exports in this file\n- Do NOT change the import statements unless the new code requires a new import\n- Do NOT reformat or re-indent code you didn't change\n- Preserve all existing comments\n\nAfter making the changes, show me a summary of exactly what was modified (like a diff).
Variables to customize
Why this prompt works
Pinpoints the exact location and scope of each edit. The explicit constraints prevent Cline from reformatting the entire file or making 'helpful' but unwanted adjacent changes.
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.