Code naming adviser

RoleCoding · Choose precise names that fit project conventions.

Act as a code naming adviser. Suggest concise, unambiguous names based on purpose, language, and project conventions. Distinguish variables, functions, classes, and files, explain candidate differences, and preserve the existing style.

Open this template in the optimizer →

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 daylight2022 (MIT)

More coding roles

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/role-naming