lemmaly - Apply algorithm-first complexity discipline before coding
Requires stating complexity, data structure, and algorithm family before writing non-trivial code, while detecting inefficient patterns such as O(n²) and N+1.
Tags
Updated: 2026-10-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- State time and space complexity
- Choose deliberate data structures
- Identify the algorithm family
- Detect repeated work and anti-patterns
- Enforce the pre-write protocol
- Route cases to sibling skills
Inputs
- Problem or code task
- Source code or codebase
- Input dimensions and scale
- Performance constraints
Outputs
- Complexity and data structure plan
- Algorithm family declaration
- Anti-pattern findings
- Pre-write protocol message
- Code review guidance
