Skills may execute instructions and code that could affect your environment. Marketplace scans reduce risk but do not guarantee safety. Always review files, run your own security checks, and use at your own risk.
rag-architect
Security Scan Summary
Status: Safe
Source: Syntic Skills registry
Automated security scan completed with no high-risk patterns detected. Manual review is still required.
About This Skill
Use when designing RAG pipelines, choosing chunking strategies, selecting embedding models, or evaluating retrieval quality against ground truth.
Downloadable SKILL.md
Download SKILL.md and place it in your Syntic skills folder. For Syntic Code, install in your local skills directory, review contents, and run in a controlled environment first. Acknowledge the risk notice above to enable the download.
--- name: rag-architect description: Use when designing RAG pipelines, choosing chunking strategies, selecting embedding models, or evaluating retrieval quality against ground truth. category: Engineering version: 1.0.0 tools: [] --- # RAG Architect Design, tune, and evaluate production RAG pipelines with three deterministic tools. ## Hard Rules 1. **Never present model names or vendor prices as current facts.** Embedding models and vector-DB pricing change monthly. Recommend a tier, name a candidate, and tell the user to verify against live pricing. 2. **Every design ends with evaluation.** A RAG design without metric numbers is a hypothesis, not a deliverable. 3. **Chunking is corpus-driven.** Run analysis on the real documents before choosing a strategy. ## Embedding Model Tiers | Tier | Current Examples (verify) | When | |---|---|---| | Fast / self-hosted | `all-MiniLM-L6-v2`, `bge-small` | Cost-sensitive, small scale, real-time | | Balanced open | `all-mpnet-base-v2`, `bge-large`, `e5-large` | Quality without API dependency | | Quality API | `text-embedding-3-large`, `voyage-3-large` | Accuracy-priority general retrieval | | Code | `voyage-code-3`, CodeBERT | Code search corpora | Always note: "verify current pricing/availability before use." ## Workflow ### 1. Corpus Analysis Analyze document types, size, and structure. Determine optimal chunking strategy (fixed-size, semantic, sliding window, recursive). ### 2. Design the Pipeline Define requirements: document count, query patterns, latency SLA, budget, accuracy priority. Output pipeline architecture, chunking config, embedding choice, vector DB (Pinecone, Weaviate, Qdrant, Chroma, pgvector), reranking strategy. ### 3. Evaluate Retrieval Quality Prepare query set and ground-truth labels. Measure: - Precision@k — how many top-k results are relevant - Recall@k — coverage of all relevant docs in top-k - MRR — mean reciprocal rank - NDCG@k — normalized discounted cumulative gain ### 4. Iterate If metrics fall below targets (typical: precision@5 ≥ 0.8, recall@10 ≥ 0.85): - Inspect poor-precision examples; adjust chunking or embedding - Inspect poor-recall examples; use hybrid retrieval or expand corpus - Re-evaluate; repeat ## Vector Databases - **Managed**: Pinecone, Weaviate Cloud (ease, scale) - **Self-hosted**: Qdrant, Chroma, pgvector (control, cost) - Selection criteria: scale, filtering, existing Postgres, cost, uptime SLA ## Evaluation Metrics Precision@k and recall@k are standard; NDCG handles ranking quality. Always measure before optimizing. ## References For chunking strategy trade-offs, embedding model benchmarks, and metric definitions, search the Knowledge Base.
Bundle Download
Includes SKILL.md and bundled support files where provided. Risk acknowledgement is required.
Install Targets
Syntic App
- 1. Create a dedicated folder for this skill in your local skills library.
- 2. Place SKILL.md into that folder.
- 3. Restart Syntic and invoke this skill on matching tasks.
Syntic Code (CLI)
- 1. Save SKILL.md in your local Syntic Code skills directory.
- 2. Keep related files in the same skill folder.
- 3. Run in a safe environment and validate outputs.
Source
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/rag-architect/SKILL.md
Open Source LinkRelated Skills
a11y-audit
Use when auditing WCAG 2.2 Level A/AA accessibility, fixing violations in React, Next.js, Vue, Angular...
Engineeringadversarial-reviewer
Use when reviewing recent code changes or a PR before merge and you want a genuinely critical review, not...
Engineeringagent-designer
Use when architecting multi-agent systems, selecting orchestration patterns, or evaluating agent performance.
Engineeringagent-harness
Use when building bounded agentic loops with verified task execution and state machines.