---
description: Scaffold a new Lens implementation
---

I need to implement a new Lens. Use the `stemedb-lens-architect` agent.

**Usage:** `/implement-lens "LensName" "Description"`

**Steps:**
1.  **Design**: Propose the logic for the lens (Ranking vs Filtering).
2.  **Scaffold**: Create the file in `crates/stemedb-core/src/lens/<name>.rs`.
3.  **Trait**: Ensure it implements the `Lens` trait.
4.  **Test**: Generate unit tests for tie-breaking and edge cases.
5.  **Document**: Add entry to `ai-lookup/services/lens.md` with the new lens strategy.
