Skip to content
Skills Library
Programming · Review & audit

semantic-naming

/semantic-naming

Semantic naming and categorisation for programming language constructs. Use when naming or reviewing classes, functions, modules, services, commands, queries, handlers, DTOs, use cases, interactors, domain objects, adapters, workflows, state machines, or when replacing vague names like Manager, Helper, Util, Logic, Processor, Data, Info, or Wrapper with precise architectural vocabulary.

Licence
MIT
Last repository change
04.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Semantic naming and categorisation for programming language constructs. Use when naming or reviewing classes, functions, modules, services, commands, queries, handlers, DTOs, use cases, interactors, domain objects, adapters, workflows, state machines, or when replacing vague names like Manager, Helper, Util, Logic, Processor, Data, Info, or Wrapper with precise architectural vocabulary.

Original author description

Semantic naming and categorisation for programming language constructs. Use when naming or reviewing classes, functions, modules, services, commands, queries, handlers, DTOs, use cases, interactors, domain objects, adapters, workflows, state machines, or when replacing vague names like Manager, Helper, Util, Logic, Processor, Data, Info, or Wrapper with precise architectural vocabulary.

How it works

  1. Purpose
  2. Relationship to structured development
  3. When to use
  4. Core principles
  5. Related skills
  6. Reference files
Original SKILL.md headings · 48 lines, 509 words
SKILL.md preview
---
name: semantic-naming
description: Semantic naming and categorisation for programming language constructs. Use when naming or reviewing classes, functions, modules, services, commands, queries, handlers, DTOs, use cases, interactors, domain objects, adapters, workflows, state machines, or when replacing vague names like Manager, Helper, Util, Logic, Processor, Data, Info, or Wrapper with precise architectural vocabulary.
license: MIT
metadata:
  author: itzcull
---

## Purpose

Choose names for programming constructs that reveal their semantic role, architectural boundary, lifecycle, and behavioural responsibility. This skill helps agents categorise a construct before naming it, so names communicate domain meaning rather than implementation trivia.

## Relationship to structured development

Within [structured development](../structured-development/SKILL.md), this skill makes domain meaning and design responsibilities explicit while [executing](../structured-development/SKILL.md#4-execute-the-increment) and [evaluating](../structured-development/SKILL.md#5-evaluate-the-result) changes, including refactoring. It supports readable, reviewable increments rather than adding a separate naming stage.

Use the construct's actual behavior, domain vocabulary, ownership boundary, and nearby naming conventions. Return proposed names with their semantic rationale and any mismatch between the claimed role and observed responsibilities. For an authorized rename, report affected references and verification results.

A better name does not repair an incorrect abstraction. If the analysis requires changing responsibilities, public compatibility, or agreed boundaries, return that design question to the enclosing procedure rather than hiding a redesign inside a rename.

## When to use

- Naming a new class, function, type, module, package, directory, or test helper
- Deciding whether something is an Entity, Value Object, Command, Query, Handler, Service, UseCase, Interactor, Adapter, Repository, Saga, or Process Manager
- Reviewing names for ambiguity, misleading semantics, or architectural drift
- Replacing vague suffixes such as `Manager`, `Helper`, `Util`, `Logic`, `Processor`, `Data`, `Info`, or `Wrapper`
- Aligning code with Domain-Driven Design, CQRS, Clean Architecture, request pipelines, state machines, or distributed workflows
- Choosing between active names for behaviour and passive names for data carriers

## Core principles

- Categorise before naming: identify what the construct is responsible for, then choose vocabulary that fits that role.
- Prefer domain language over technical convenience: use the team's ubiquitous language when naming business concepts.
- Names should encode intent, not implementation detail: `BookHotelRoomCommand` is better than `SetReservationStatusCommand` when the user intent is booking.
- Active constructs use verb-oriented names: commands, use cases, interactors, functions, and workflows should describe the action they perform.
- Passive constructs use noun-oriented names: DTOs, results, value objects, events, and records should describe the information they carry.
- Suffixes are contracts: `Command`, `Query`, `Handler`, `Repository`, `Decorator`, and `Presenter` imply behavioural constraints, not just naming style.
- Avoid semantic sinkholes: vague names usually signal unclear responsibility or missing domain concepts.
- Follow local conventions when they are clear and intentional; introduce taxonomy only where it improves comprehension.

## Related skills

- Load `domain-driven-design` for ubiquitous language, bounded contexts, entities, value objects, aggregates, and tactical modeling.
- Load `design-patterns` for Factory, Builder, Adapter, Decorator, Facade, Proxy, Repository, Specification, and Strategy details.
- Load `system-design` for distributed workflow, messaging, CQRS, and consistency tradeoffs.
- Load `code-review` when evaluating naming as part of a review.
- Load `refactorings` when renaming or reshaping poorly named constructs.

## Reference files

- [Naming Decision Process](references/naming-decision-process.md) - Step-by-step questions for categorising a construct before choosing a name
- [Construct Taxonomy](references/construct-taxonomy.md) - Reference table of common semantic archetypes and their naming implications
- [Architectural Naming Patterns](references/architectural-naming-patterns.md) - DDD, CQRS, Clean Architecture, distributed workflow, state machine, and request pipeline naming
- [Naming Antipatterns](references/naming-antipatterns.md) - Vague suffixes to avoid and precise alternatives
Files in this package (5)
  • SKILL.md 5 KB
  • references/architectural-naming-patterns.md 6 KB
  • references/construct-taxonomy.md 7 KB
  • references/naming-antipatterns.md 5 KB
  • references/naming-decision-process.md 5 KB

Versions

The database has no other skills named semantic-naming.

Database snapshot: 13.11.2026 · package version fe8673c78175 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100naming-precision
    This skill should be used when the user is naming variables, functions, classes, files, or any identifier. Covers semantic accuracy, vague names like data/temp/result/info/handle, domain-specific naming, and the principle that a name should make the reader never need to look at the implementation.
  • 90evolutionary-naming
    Use when refactoring code with poor names, when asked to improve naming, or when a user struggles to name a class/method/variable. Symptoms include -Manager/-Util suffixes, single-letter variables, process/handle/do verbs, primitive obsession, god methods with multiple…
  • 100clean-code-naming-conventions-expressive-code
    Use this skill when apply expressive, context-rich naming conventions across variables, functions, and modules.
  • 100branch-naming-helper
    Configure with branch naming helper operations. Auto-activating skill for DevOps Basics. Triggers on: branch naming helper, branch naming helper Part of the DevOps Basics skill category. Use when working with branch naming helper functionality. Trigger with phrases like "branch…
  • 100clean-names
    Name things so the code explains itself — descriptive, unambiguous, right level of abstraction, length matched to scope, no type encodings, and side effects visible in the name (N1-N7). Use when naming or renaming variables, functions, types, modules or files, and on cryptic…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.