naming-cheatsheet

Standardize variable and function names using the A/HC/LC pattern.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/dev-khoi/conHack-2026 --skill naming-cheatsheet-dev-khoi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: naming-cheatsheet
Source: https://github.com/dev-khoi/conHack-2026/tree/main/.opencode/skills/naming-cheatsheet
Command: npx skills add https://github.com/dev-khoi/conHack-2026 --skill naming-cheatsheet-dev-khoi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent and unclear names slow down understanding and onboarding, leading to maintenance headaches and fragmented codebases.

Core Features & Use Cases

  • Standardized Naming Pattern: guides applying the A/HC/LC structure to variables, functions, and classes for readability.
  • Language-agnostic Guidance: applicable across programming languages and ecosystems to maintain uniformity.
  • Review & Refactor Support: aids code reviews and refactors by providing clear naming criteria and examples.
  • Use Case: when adding a new API helper, apply the pattern to produce a descriptive name like fetchUserInfo or updateUserStatus.

Quick Start

Apply the A/HC/LC naming pattern to rename a sample function and a sample variable for immediate clarity.

Frequently Asked Questions about naming-cheatsheet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the A/HC/LC pattern for naming variables and functions?

The A/HC/LC pattern structures identifiers into context words for code readability. It standardizes variable and function names by combining an action verb with contextual nouns to produce clear, descriptive identifiers like fetchUserInfo across a codebase.

How do I enforce consistent naming conventions during code reviews?

Enforce consistent naming conventions by applying the A/HC/LC pattern to standardize variable and function names. This provides clear criteria for code reviews and refactors, ensuring identifiers avoid contractions and use language-appropriate terms for better readability.

Does the A/HC/LC naming pattern work across different programming languages?

The A/HC/LC naming pattern is language-agnostic and works across different programming languages. It maintains naming uniformity and code readability throughout various software ecosystems by promoting consistent variable and function names during onboarding and coding.

How do I write clean function names for API helper methods?

Write clean function names for API helper methods by applying the A/HC/LC pattern. This structure produces descriptive identifiers like updateUserStatus or fetchUserInfo, ensuring code readability and avoiding unclear contractions in your codebase.

Why does avoiding contractions in identifiers improve code readability?

Avoiding contractions in identifiers improves code readability by enforcing full, descriptive terms in variable and function names. The A/HC/LC pattern promotes language-appropriate words, reducing maintenance headaches and fragmented codebases during onboarding and reviews.