tzurot-constants
CommunityCentralize and manage all application constants.
Software Engineering#code quality#typescript#refactoring#configuration#magic numbers#constants#centralization
Authorlbds137
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Hardcoded "magic numbers" and strings make code difficult to maintain, update, and understand. This Skill enforces a centralized approach to managing all application constants, improving code clarity, consistency, and discoverability.
Core Features & Use Cases
- No Magic Numbers or Strings: Eliminate hardcoded values by using named constants for timeouts, limits, Redis keys, and repeated string literals.
- Domain-Separated Organization: Organize constants logically into categories like
ai.ts,timing.ts,queue.ts, anddiscord.tsfor easy navigation. - Centralized Access: All constants are exported from
@tzurot/common-types, ensuring consistency and a single source of truth across all microservices. - Documentation & Type Safety: Each constant includes JSDoc comments explaining its purpose and
as constfor robust type inference and immutability.
Quick Start
Use the tzurot-constants skill to replace a hardcoded timeout value in your code with a named constant from common-types/constants/timing.ts, ensuring it has proper JSDoc.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tzurot-constants Download link: https://github.com/lbds137/tzurot/archive/main.zip#tzurot-constants Please download this .zip file, extract it, and install it in the .claude/skills/ directory.