What problem does it solve?
Inconsistent naming across a codebase makes code harder to read, review, and refactor. This skill provides clear rules for how to name types, functions, files, and resources to improve predictability and collaboration.
Core Features & Use Cases
- Type Naming: Use PascalCase for types and enums; use camelCase for functions and variables.
- Resource Naming Pattern: Include environment and region in resource names to avoid collisions and improve traceability.
- File and Export Conventions: Use kebab-case for construct files and explicit named exports to improve discoverability.
- Consistency Across Projects: Apply the same naming rules across packages to simplify onboarding and tooling.
- Real-world Use Case: When adding a new AWS construct, apply these conventions to generate file names, type definitions, and export names.
Quick Start
Follow these conventions when introducing new code by renaming a resource to include env and region, name a type as EnvironmentConfig, and export functions with camelCase.