Semantic Naming Accuracy

Ensure names and naming-related metadata are semantically accurate and unambiguous. - Don’t reuse a helper/identifier whose name is tied to a specific command if it creates confusion. Prefer a dedicated, clearly named function per command.

copy reviewer prompt

Prompt

Reviewer Prompt

Ensure names and naming-related metadata are semantically accurate and unambiguous.

  • Don’t reuse a helper/identifier whose name is tied to a specific command if it creates confusion. Prefer a dedicated, clearly named function per command.
  • Don’t use broad or incorrect category/type metadata fields. If a field conveys the key/type “group”, set it to the actual applicable value.

Example (command-specific key helper):

// Avoid ambiguity: do not reuse sintercardGetKeys for SUNIONCARD
function sintercardGetKeys(...) { /* keys for SINTERCARD */ }
function sunioncardGetKeys(...) { /* keys for SUNIONCARD */ }

Example (correct semantic metadata):

{
  "GCRA": {
    "group": "string"
  }
}

Source discussions