Lemmaly: Algorithm & Performance Guard
Enforces algorithmic discipline by requiring Big-O complexity and data structure selection before writing code to prevent performance bottlenecks.
Lemmaly is a performance-focused skill that transforms how AI generates code by mandating an algorithm-first approach. Instead of defaulting to idiomatic but inefficient patterns, it requires the model to state time/space complexity, data structures, and algorithm families before any non-trivial code is produced. This proactive protocol catches common anti-patterns such as N+1 queries, nested O(n²) loops, and unnecessary I/O, ensuring that production code is performant, scalable, and mathematically sound from the first draft. It serves as the gateway to a broader suite of algorithmic tools designed to beat classical performance floors.