Data Organization & Type Safety
Optimizes codebases by enforcing rigorous data typing, eliminating magic numbers, and improving variable naming conventions.
cc-data-organization is a specialized Claude Code skill designed to audit and improve how data is structured and handled within software projects. It provides automated checklists for variable declarations, guides developers in selecting the most appropriate data types—including modern patterns like Option types and UTC timestamps—and refactors problematic patterns such as magic numbers or floating-point currency calculations. By focusing on minimizing variable scope and ensuring semantic naming, it helps developers eliminate latent defects and improve long-term code maintainability.
Key Features
01Modern data pattern guidance for nullables, concurrency, and temporal data
02Variable scope minimization to reduce side effects and state complexity
03Automated magic number detection and named constant extraction
04Safe currency handling enforcement using integers instead of floats
05187 GitHub stars
06Comprehensive variable naming audits based on problem-domain clarity
Use Cases
01Reviewing a legacy codebase to replace hard-coded literals with descriptive constants
02Auditing financial logic to ensure floating-point math is not causing rounding errors
03Designing thread-safe data structures with explicit null-handling and immutability