From coding-standards
Conventions for self-documenting code: domain naming, intent-revealing identifiers, and minimal comments
How this skill is triggered — by the user, by Claude, or both
Slash command
/coding-standards:naming-and-commentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```python
# Good
def calculate_premium_discount(membership_tier: MembershipTier) -> Decimal:
...
# Bad
def calc_disc(level: int) -> float:
...
data, info, item, temp)# Good
user_emails: list[str] = fetch_active_subscribers()
retry_delay_seconds: int = 30
# Bad
data: list = fetch_data()
temp: int = 30
# Good
is_eligible_for_refund: bool = order.days_since_purchase < 30
# Bad
flag: bool = order.days < 30
id, url, http)# Good
user_id: str = get_current_user_id()
transaction_count: int = len(transactions)
# Bad
usr_cnt: int = get_usr()
tx_cnt: int = len(txs)
# Good
# Premium users get bonus points monthly to encourage retention
# (Business rule from Q1 2024 strategy)
if user.is_premium:
user.points += 10
# Bad
# Add 10 to points if premium
if user.is_premium:
user.points += 10
TODO, FIXME)# Good
def process_order(order: Order) -> None:
validate(order)
save(order)
# Bad
def process_order(order: Order) -> None:
# old_validate(order)
validate(order)
# send_email(order) # TODO: maybe later?
save(order)
# Good
def calculate_shipping_cost(weight_kg: float, destination_country: str) -> Decimal:
...
# Bad
def calculate_shipping_cost(weight_kg: float, destination_country: str) -> Decimal:
"""
Calculate the shipping cost.
Args:
weight_kg: The weight in kg
destination_country: The destination country
"""
...
npx claudepluginhub remihuguet/rems-buddy --plugin coding-standardsChoosing meaningful, pronounceable names that reveal intent for functions, variables, classes, and modules.
Enforces precise naming for variables, functions, classes, files, and identifiers. Bans vague names like data/temp/result/info/handle/manager; promotes semantic accuracy and domain-specific terms via specificity ladder.
Name variables, functions, classes, and directories using the vocabulary of the problem domain to improve readability and reduce cognitive translation tax. Useful for new team members or when domain experts use different terms.