Implements a robust workflow that prioritizes algorithmic correctness through naive implementations before applying performance optimizations.
The Naive-Then-Optimize skill helps developers avoid the traps of premature optimization and complex logic bugs by enforcing a disciplined two-stage development process. By first guiding Claude to build a 'naive' but obviously correct solution to act as a reference oracle, the skill enables the generation of highly optimized versions that are automatically verified against the original behavior. This approach is particularly effective for complex algorithms, data transformations, and critical code paths where correctness is more important than initial cleverness.
主な機能
01Performance profiling and execution time measurement
02Property-based testing for high-stakes logic
03Behavioral parity verification between code versions