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.
## 📥 Required Inputs
- `.agents/specs/[feature]/spec.md`, `plan.md`, and `tasks.md`
- Target Model & Provider specs (OpenAI, Anthropic, Gemini, Local Ollama/vLLM)
- Embedding model dimensions & distance metric (Cosine, DotProduct, Euclidean)
- Data schemas, chunking rules, and retrieval latency requirements
## 📋 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 distance computation.
### 2. Structured Outputs & Tool Calling
- *