Prompt
Names should follow established team conventions while accurately reflecting their purpose and functionality. Inconsistent naming schemes and misleading identifiers create confusion and maintenance overhead.
When naming identifiers, ensure they:
- Adhere to established team naming patterns (e.g., use slashes instead of spaces in labels)
- Accurately describe what the identifier represents or does
Examples:
- Instead of
test poetry export(violates naming scheme), usetest/export - Instead of
poetry-update(misleading - doesn’t actually update), usepoetry-sync(accurately reflects synchronization behavior)
This applies to all identifiers including variables, functions, classes, configuration keys, labels, and hook names. Consistent and accurate naming improves code readability and reduces cognitive load for team members.