clean-code-naming

Enforce clear, domain-aligned names for classes, methods, fields, and DTOs.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/SergeuMatyasov/dotnet-shared-skills --skill clean-code-naming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code-naming
Source: https://github.com/SergeuMatyasov/dotnet-shared-skills/tree/main/clean-code-naming
Command: npx skills add https://github.com/SergeuMatyasov/dotnet-shared-skills --skill clean-code-naming

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Неправильные или неясные имена затрудняют чтение кода, ведут к ошибкам и усложняют рефакторинг. Этот навык помогает выбрать ясные, доменно значимые и единообразные имена для классов, методов, полей и DTO.

Core Features & Use Cases

  • Ясные имена, отражающие роль сущности и бизнес-логику.
  • Запрет неочевидных сокращений и технического шума в публичных именах.
  • Единообразие терминов и согласованность имен между слоями проекта.
  • Рекомендации по суффиксам/префиксам для DTO (Request, Response, Dto) и глагольному стилю для методов.
  • Пример: единое имя для одного понятия должно использоваться во всех слоях.

Quick Start

Определи корректное имя для нового класса, метода или DTO, опираясь на доменный смысл и роль сущности.

Frequently Asked Questions about clean-code-naming

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

FAQPage Schema
How do I choose clear names for classes and methods to improve code readability?

To improve code readability, choose clear, domain-aligned names that reflect the entity's role and business logic. Avoid non-obvious abbreviations and technical noise in public names to ensure consistency across all project layers.

What naming conventions should I use for DTOs to maintain consistency across layers?

For DTO naming consistency, apply specific suffixes like Request, Response, or Dto. Ensure a single concept uses the exact same domain-aligned name across all architectural layers to avoid ambiguity during refactoring.

Why does domain-driven design matter for coding standards and naming fields?

Domain-driven design matters for coding standards because it aligns technical implementations with business logic. Using domain-aligned names for fields and classes prevents confusion, reduces errors, and makes the codebase easier to refactor.

When should I avoid abbreviations in public names during code reviews?

Avoid abbreviations in public names during code reviews whenever they are non-obvious or introduce technical noise. Clear, consistent naming ensures that public APIs and methods remain understandable across different project layers.

What is the best way to enforce verb-style naming for methods in a project?

The best way to enforce verb-style naming for methods is to apply coding standards that reflect the method's action and business logic. This approach improves code readability and ensures consistent domain-driven design across the codebase.