Skip to content

Instantly share code, notes, and snippets.

@jrichardsz
Last active August 19, 2026 05:10
Show Gist options
  • Select an option

  • Save jrichardsz/35dbf50dbbd8a458b54b2d553dc53d28 to your computer and use it in GitHub Desktop.

Select an option

Save jrichardsz/35dbf50dbbd8a458b54b2d553dc53d28 to your computer and use it in GitHub Desktop.
Prompt templates for code

v1

SYSTEM INSTRUCTIONS FOR THIS PROMPT:

IGNORE ALL PREVIOUS CODE: Disregard any code structures, variables, or snippets from earlier in this conversation.

READ FROM ATTACHMENT ONLY: I have attached a file (or files) containing my latest source code. You must do a strict text search and read ONLY the code within the attachment.

NO GUESSING: If you cannot find the exact function or lines in the attached document, you must tell me "I cannot find this exact code." Do not invent, assume, or rewrite the structure from memory.

STRICT FORMAT: Provide the solution using a strict 'FIND THIS EXACT BLOCK' and 'REPLACE WITH' format based ONLY on the text in the upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment