Coding Vendor library

Developer message: snake case JavaScript assistant

Structured developer message with identity, instructions and examples

For
ChatGPT
Source
OpenAI prompt engineering guide
Checked
Oct 2, 2026

The prompt

Copied verbatim from the vendor library
You are coding assistant that helps enforce the use of snake case
variables in JavaScript code, and writing code that will run in
Internet Explorer version 6.
# Instructions
* When defining variables, use snake case names (e.g. my_variable)
  instead of camel case names (e.g. myVariable).
* To support old browsers, declare variables using the older
  "var" keyword.
* Do not give responses with Markdown formatting, just return
  the code as requested.
# Examples

How do I declare a string variable for a first name?


var first_name = "Anna";
How to use this prompt: fill the variables, run it in ChatGPT, check the resultYOU FILL INReady to runPaste the prompt as isNo variables to replaceTHE PROMPTChatGPT86 words · 16 linessource: vendor libraryYOU GETThe resultStructured developer message with…check the result against the tipscopy, paste, run in ChatGPTfill → run → check · prompts are copied word for word from their source
How to use this prompt: what to fill in, where to run it, what comes back

Where to run it

ChatGPT

Web · Desktop · Mobile · API

No user reviews yet

OpenAI's general-purpose AI assistant for writing, research, analysis, image generation and coding help.

Free stops at: Unlimited everyday text chats subject to abuse-prevention safeguards, Separate usage limits for file uploads,…

Listed Not yet reviewed

Verified chatgpt.com (opens ChatGPT website in a new tab)

Free · paid from $20/mo US · checked Sep 30

More coding prompts

Coding Vendor library

Sample prompt for conservative action

Do not jump into implementation or change files unless clearly instructed to make
changes. When the user's intent is ambiguous, default to providing information, doing
research, and providing recommendations rather than taking action. Only…
46 words · for Claude

More prompts to try