stemedb/.claude/commands/implement-lens.md
jordan a776744889 Initial project setup with Claude Code monorepo structure
- Rust workspace with stemedb-core crate
- Full .claude/ configuration (agents, skills, commands, guides)
- ai-lookup/ for token-efficient fact storage
- Quality gates: clippy, fmt, jscpd duplication detection
- Pre-commit hook with 5-phase quality checks
- CLAUDE.md router and CODING_GUIDELINES.md standards

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 10:56:26 -07:00

14 lines
467 B
Markdown

---
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.