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.
主な機能
01Integrated scanner for 59+ anti-patterns across 11 languages
02Mandatory Big-O complexity analysis before code generation
03Explicit data structure selection with stated reasoning
0440,616 GitHub stars
05Automated detection of N+1 query patterns and O(n²) loops
06Structured pre-write protocol for algorithm-heavy tasks
ユースケース
01Architecting data processing logic involving large collections or complex joins
02Auditing Pull Requests for hidden performance regressions or accidental complexity
03Refactoring legacy codebases that suffer from timeouts or OOM errors