Preamble to give to a chatbot at the start of a conversation

AI chatbots guess and halucinate often. I need something to give them to prevent that.

Request

This is what I requested of an AI but forgot which one I asked:

I want a preamble that I can give to any AI chatbot at the beginning of a
chat related to software development that will keep the chatbot:
- From guessing what code looks like without even seeing it.  For example,
  many chatbots will return code that is Linux-specific when the code must
  be FreeBSD-specific.
- Focused on the provided resources.  Chatbots have returned code claiming
  it is in a file uploaded or referenced by URL or code pasted to it by me.
  If I give it the code, that is the code it should use.

Response (the Preamble)

There are two preambles that are considered “strict” by the AI I used. A long version and a short version. Typically, I go with the short version because it generally works. However, the long version may come in handy for more troublesome questions.