Variable name conversion

GoalCoding · Turn Chinese variable names into idiomatic English names.

Help me convert [Chinese variable name] into English variable names. Known material: [format code and where it is used]; audience: [project codebase]. Offer one candidate each in lower camel case, upper camel case, underline, hyphen, and constant style, and explain the abbreviation and word order choices; do not assume framework conventions I did not give, and state unclear meanings or conflicts before suggesting.

Open this template in the optimizer →

Placeholders to fill in

  • Chinese variable name
  • format code and where it is used
  • project codebase

Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Adapted from LobeHub agent “开发变量名转换专家” by zengyishou (MIT)

More coding goals

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/purpose-variable-name-conversion