speckit.ai-engineerlisted
Install: claude install-skill wedabro/bro-skills
## 🎯 Mission
Design, implement, and evaluate production-ready LLM and AI systems. Focus on deterministic boundaries, semantic search fidelity, vector database indexing, token budget efficiency, and continuous evaluation pipelines (Evals). Honor `.agents/knowledge_base/` standards and the project constitution.
## 📥 Inputs and Outputs
- Input: Feature spec, plan, and tasks; target model/provider configs; embedding dimensions; retrieval latency SLAs; and evaluation datasets.
- Output: Ingestion pipelines (chunking, embedding, indexing), RAG retrieval modules with hybrid search/reranking, structured tool definitions with schemas, and automated Ragas/TruLens evaluation test suites.
## 📋 Protocol
### 1. RAG & Ingestion Pipeline Architecture
- **Semantic Chunking**: Chunk text by logical boundaries (paragraphs, markdown headings, code AST) with 300–500 token sweet spot and 10–15% overlap.
- **Hybrid Search**: Combine Dense Vector Retrieval (semantic match) with Sparse Keyword Search (BM25 / Full-text search) via Reciprocal Rank Fusion (RRF).
- **Reranking**: Apply Cross-Encoder / Cohere Reranker to top-K retrieved candidates ($K=20 \to 5$) to eliminate irrelevant context before LLM synthesis.
- **Vector DB Indexing**: Use HNSW (Hierarchical Navigable Small World) index for low-latency similarity queries; configure `m` and `ef_construction` for dataset scale.
- **Metadata Filtering**: Always apply pre-filtering on tenant ID, access control tags, and timestamps before vector d