administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations. Covers feature stores (Feast, Tecton), embedding pipelines, chunking strategies, orchestration (Dagster, Prefect, Airflow),
$ npx -y skills add ancoleman/ai-design-components --skill ai-data-engineering --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ai-data-engineeringContext preview
The summary Claude sees to decide when to auto-load this skill.
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations. Covers feature stores (Feast, Tecton), embedding pipelines, chunking strategies, orchestration (Dagster, Prefect, Airflow),
name: ai-data-engineering description: Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations. Covers feature stores (Feast, Tecton), embedding pipelines, chunking strategies, orchestration (Dagster, Prefect, Airflow), dbt transformations, data versioning (LakeFS), and experiment tracking (MLflow, W&B).
Build data infrastructure for AI/ML systems including RAG pipelines, feature stores, and embedding generation. Provides architecture patterns, orchestration workflows, and evaluation metrics for production AI applications.
**Use this skill when:**
**Skip this skill if:**
RAG pipelines have 5 distinct stages. Understanding this architecture is critical for production implementations.
┌─────────────────────────────────────────────────────────────┐ │ RAG Pipeline (5 Stages) │ ├─────────────────────────────────────────────────────────────┤ │ │ │ 1. INGESTION → Load documents (PDF, DOCX, Markdown) │ │ 2. INDEXING → Chunk (512 tokens) + Embed + Store │ │ 3. RETRIEVAL → Query embedding + Vector search + Filters │ │ 4. GENERATION → Context injection + LLM streaming │ │ 5. EVALUATION → RAGAS metrics (faithfulness, relevancy) │ │ │ └─────────────────────────────────────────────────────────────┘
**For complete RAG architecture with implementation patterns, see:**
Chunking is the most critical decision for RAG quality. Poor chunking breaks retrieval.
**Default Recommendation:**
**Why these values:**
**Alternative strategies for special cases:**
# Code-aware chunking (preserves functions/classes)
from langchain.text_splitter import RecursiveCharacterTextSplitter
code_splitter = RecursiveCharacterTextSplitter.from_language(
language="python",
chunk_size=512,
chunk_overlap=50
)
# Semantic chunking (splits on meaning, not tokens)
from langchain.text_splitter import SemanticChunker
semantic_splitter = SemanticChunker(
embeddings=embeddings,
breakpoint_threshold_type="percentile" # Split at semantic boundaries
)**See:** `references/chunking-strategies.md` for complete decision framework
Embedding quality directly impacts retrieval accuracy. Voyage AI is currently best-in-class.
**Primary Recommendation: Voyage AI voyage-3**
**Cost-Effective Alternative: OpenAI text-embedding-3-small**
**Implementation:**
from langchain_voyageai import VoyageAIEmbeddings
from langchain_openai import OpenAIEmbeddings
# Production (best quality)
embeddings = VoyageAIEmbeddings(
model="voyage-3",
voyage_api_key="your-api-key"
)
# Development (cost-effective)
embeddings = OpenAIEmbeddings(
model="text-embedding-3-small",
openai_api_key="your-api-key"
)**See:** `references/embedding-strategies.md` for complete provider comparison
Traditional metrics (BLEU, ROUGE) don't measure RAG quality. RAGAS provides LLM-as-judge evaluation.
**4 Core Metrics:**
| Metric | Measures | Good Score | |--------|----------|------------| | **Faithfulness** | Factual consistency with retrieved context | > 0.8 | | **Answer Relevancy** | Does answer address the user's question? | > 0.7 | | **Context Precision** | Are retrieved chunks actually relevant? | > 0.6 | | **Context Recall** | Were all necessary chunks retrieved? | > 0.7 |
**Quick evaluation script:**
# Run RAGAS evaluation (TOKEN-FREE script execution) python scripts/evaluate_rag.py --dataset eval_data.json --output results.json
**Manual implementation:**
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevancy
dataset = {
"question": ["What is the capital of France?"],
"answer": ["Paris is the capital of France."],
"contexts": [["France's capital is Paris."]],
"ground_truth": ["Paris"]
}
result = evaluate(dataset, metrics=[faithfulness, answer_relevancy])
print(f"Faithfulness: {result['faithfulness']}")
print(f"Answer Relevancy: {result['answer_relevancy']}")**See:** `references/evaluation-metrics.md` for complete RAGAS implementation guide
Feature stores solve the "training-serving skew" problem by providing consistent feature computation.
**Primary Recommendation: Feast** - Open source, works with any backend (PostgreSQL, Redis, DynamoDB, S3, BigQuery, Snowflake)
**Basic usage:**
from feast import FeatureStore store = FeatureS
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…
Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support. Use when creating ChatGPT-style…