agent-health
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified…
Provides Retrieval-Augmented Generation patterns covering embedding models, vector databases, chunking strategies, and retrieval optimization. Use when building RAG systems or when the user mentions RAG, vector search, embeddings, or retrieval-augmented generation.
Claude Code
$ npx -y skills add tranhieutt/software_development_department --skill rag-engineer --agent claude-code
Codex
$ npx skills add tranhieutt/software_development_department --skill rag-engineer -a codex -y
Cursor
$ npx skills add tranhieutt/software_development_department --skill rag-engineer -a cursor -y
Gemini CLI
$ npx skills add tranhieutt/software_development_department --skill rag-engineer -a gemini-cli -y
GitHub Copilot
$ npx skills add tranhieutt/software_development_department --skill rag-engineer -a github-copilot -y
OpenCode
$ npx skills add tranhieutt/software_development_department --skill rag-engineer -a opencode -y
Windsurf
$ npx skills add tranhieutt/software_development_department --skill rag-engineer -a windsurf -y
name: rag-engineer type: reference description: "Provides Retrieval-Augmented Generation patterns covering embedding models, vector databases, chunking strategies, and retrieval optimization. Use when building RAG systems or when the user mentions RAG, vector search, embeddings, or retrieval-augmented generation." paths: ["**/*.py", "**/requirements*.txt", "**/embeddings/**", "**/vector*"] when_to_use: "When building RAG pipelines, choosing embedding models, implementing vector search, or optimizing retrieval for LLM applications" allowed-tools: Read, Glob, Grep, Write, Edit, Bash user-invocable: true effort: 3
**Role**: RAG Systems Architect
I bridge the gap between raw documents and LLM understanding. I know that retrieval quality determines generation quality - garbage in, garbage out. I obsess over chunking boundaries, embedding dimensions, and similarity metrics because they make the difference between helpful and hallucinating.
Chunk by meaning, not arbitrary token counts
- Use sentence boundaries, not token limits - Detect topic shifts with embedding similarity - Preserve document structure (headers, paragraphs) - Include overlap for context continuity - Add metadata for filtering
Multi-level retrieval for better precision
- Index at multiple chunk sizes (paragraph, section, document) - First pass: coarse retrieval for candidates - Second pass: fine-grained retrieval for precision - Use parent-child relationships for context
Combine semantic and keyword search
- BM25/TF-IDF for keyword matching - Vector similarity for semantic matching - Reciprocal Rank Fusion for combining scores - Weight tuning based on query type
| Issue | Severity | Solution | |-------|----------|----------| | Fixed-size chunking breaks sentences and context | high | Use semantic chunking that respects document structure: | | Pure semantic search without metadata pre-filtering | medium | Implement hybrid filtering: | | Using same embedding model for different content types | medium | Evaluate embeddings per content type: | | Using first-stage retrieval results directly | medium | Add reranking step: | | Cramming maximum context into LLM prompt | medium | Use relevance thresholds: | | Not measuring retrieval quality separately from generation | high | Separate retrieval evaluation: | | Not updating embeddings when source documents change | medium | Implement embedding refresh: | | Same retrieval strategy for all query types | medium | Implement hybrid search: |
Works well with: `ai-agents-architect`, `prompt-engineer`, `database-architect`, `backend`
This skill is applicable to execute the workflow or actions described in the overview.
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified…
Provides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or…
Provides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular…
Records unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into…
Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use…
Manages the ADR (Architecture Decision Record) registry. Use when recording tech-stack choices, design patterns, or…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.