用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/BEKO2210/Firstbrain --skill rag-engineer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.
基于 SOC 职业分类
正在显示 SKILL.md
| name | rag-engineer |
| description | Expert in building Retrieval-Augmented Generation systems. Masters |
| type | skill |
| created | 2026-02-27T00:00:00.000Z |
| domain | ai-ml |
| category | llm-agents |
| risk | unknown |
| source | vibeship-spawner-skills (Apache 2.0) |
| tags | ["skill","ai-ml","llm-agents","rag","engineer"] |
Expert in building Retrieval-Augmented Generation systems. Masters embedding models, vector databases, chunking strategies, and retrieval optimization for LLM applications.
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
When to use: Processing documents with natural sections
Multi-level retrieval for better precision
When to use: Large document collections with varied granularity
Combine semantic and keyword search
When to use: Queries may be keyword-heavy or semantic
Expand queries to improve recall
When to use: User queries are short or ambiguous
Compress retrieved context to fit window
When to use: Retrieved chunks exceed context limits
Pre-filter by metadata before semantic search
When to use: Documents have structured metadata
Severity: HIGH
Situation: Using fixed token/character limits for chunking
Symptoms:
Why this breaks: Fixed-size chunks split mid-sentence, mid-paragraph, or mid-idea. The resulting embeddings represent incomplete thoughts, leading to poor retrieval quality. Users search for concepts but get fragments.
Recommended fix:
Use semantic chunking that respects document structure:
Severity: MEDIUM
Situation: Only using vector similarity, ignoring metadata
Symptoms:
Why this breaks: Semantic search finds semantically similar content, but not necessarily relevant content. Without metadata filtering, you return old docs when user wants recent, wrong categories, or inapplicable content.
Recommended fix:
Implement hybrid filtering:
Severity: MEDIUM
Situation: One embedding model for code, docs, and structured data
Symptoms:
Why this breaks: Embedding models are trained on specific content types. Using a text embedding model for code, or a general model for domain-specific content, produces poor similarity matches.
Recommended fix:
Evaluate embeddings per content type:
Severity: MEDIUM
Situation: Taking top-K from vector search without reranking
Symptoms:
Why this breaks: First-stage retrieval (vector search) optimizes for recall, not precision. The top results by embedding similarity may not be the most relevant for the specific query. Cross-encoder reranking dramatically improves precision for the final results.
Recommended fix:
Add reranking step:
Severity: MEDIUM
Situation: Using all retrieved context regardless of relevance
Symptoms:
Why this breaks: More context isn't always better. Irrelevant context confuses the LLM, increases latency and cost, and can cause the model to ignore the most relevant information. Models have attention limits.
Recommended fix:
Use relevance thresholds:
Severity: HIGH
Situation: Only evaluating end-to-end RAG quality
Symptoms:
Why this breaks: If answers are wrong, you can't tell if retrieval failed or generation failed. This makes debugging impossible and leads to wrong fixes (tuning prompts when retrieval is the problem).
Recommended fix:
Separate retrieval evaluation:
Severity: MEDIUM
Situation: Embeddings generated once, never refreshed
Symptoms:
Why this breaks: Documents change but embeddings don't. Users retrieve outdated content or, worse, content that no longer exists. This erodes trust in the system.
Recommended fix:
Implement embedding refresh:
Severity: MEDIUM
Situation: Using pure semantic search for keyword-heavy queries
Symptoms:
Why this breaks: Some queries are keyword-oriented (looking for specific terms) while others are semantic (looking for concepts). Pure semantic search fails on exact matches; pure keyword search fails on paraphrases.
Recommended fix:
Implement hybrid search:
Works well with: ai-agents-architect, prompt-engineer, database-architect, backend