rag-engineering
Skill1 starsChanged 42 days agoApache-2.0View on GitHub
Design, implement, troubleshoot, and evaluate retrieval-augmented generation pipelines, from authorized ingestion through grounded answers, citations, quality, latency, and cost.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- ufukyuksel-dev/SUPER_COMPUTER_AItheir own version, first seen Nov 1, 2026
- felvieira/claude-skills-fvtheir own version, first seen Nov 1, 2026
- asmamest/Nexus-Skillstheir own version, first seen Oct 15, 2026
- Sathvikar01/Agent-engineering-skillstheir own version, first seen Oct 5, 2026
- BejeweledMe/codex-pro-agent-skillstheir own version, first seen Sep 6, 2026
- remembervictorchatbot-vip/AI_Token_Savingtheir own version, first seen Aug 22, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- felvieira/claude-skills-fv★ 27same name
- BejeweledMe/codex-pro-agent-skills★ 7same name
- Sathvikar01/Agent-engineering-skills★ 3same name
- asmamest/Nexus-Skills★ 1same name
- remembervictorchatbot-vip/AI_Token_Saving★ 0same name
- ufukyuksel-dev/SUPER_COMPUTER_AI★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- agent-engineeringSkill
- ai-system-designSkill
- break-my-agentSkill
- code-reviewSkill
- llm-evaluationSkill
- mcp-engineeringSkill
- python-productionSkill
- security-reviewSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill whenever an application retrieves external or enterprise content to ground a model response.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RAG Engineering
Use this skill whenever an application retrieves external or enterprise content to ground a model response. Optimize the whole retrieval-to-answer path against the use case and access policy.
Workflow
- Establish source and access truth. Inventory authoritative sources, freshness/precedence rules, document owners, classifications, tenant/user ACLs, retention, deletion, and allowed processing locations. Define how source identity and permissions survive every transform. Do not ingest content whose use is not authorized.
- Build reliable ingestion. Inspect source formats and failure cases. Design idempotent, observable ingestion with versioning, incremental updates, deletion propagation, retries, dead-letter handling, and reconciliation. Preserve stable source IDs, title, version/time, canonical URI, page/section/offset provenance, and security metadata. Use OCR/layout extraction only where source quality requires it, and capture extraction failures.
- Choose representations deliberately. Select chunk boundaries from document structure and task needs; measure size and overlap rather than applying one universal setting. Preserve parent/child relationships when useful. Select embeddings compatible with the corpus, query language, deployment constraints, and index dimensions; version the embedding model and rebuild plan. Deduplicate and retain enough provenance to cite the original source.
- Design retrieval as a measured pipeline. Apply authorization filters from verified identity at retrieval and enforce authorization again at the serving boundary. Establish a baseline, then compare lexical/BM25, vector, and hybrid retrieval; rank fusion; metadata filters; query rewriting; reranking; and context compression through controlled experiments. Record candidate counts, scores, filtering, latency, and cost. Preserve original query intent and provenance through rewrites and compression.
- Generate grounded answers. Give the model clear evidence boundaries. Require citations to resolve to retrieved source spans, distinguish evidence from inference, handle conflicts and stale versions, and abstain or ask a useful follow-up when support is missing. Treat retrieved text, files, and metadata as untrusted content that may contain prompt injection.
- Evaluate each stage and the whole task. Build a representative, permission-aware golden set with expected sources/claims, hard negatives, ambiguous queries, ACL cases, stale/conflicting content, and unanswerable questions. Measure retrieval separately from answer quality, citation correctness, permission leakage, and end-to-end usefulness. Track latency percentiles, index freshness, token use, and cost. Use human review for consequential cases; metric scores are evidence, not proof.
- Release safely. Version corpus, parser, chunking, embedding, index, retriever, reranker, prompt, and model. Compare against a baseline, set slice-level regression limits, roll out gradually, and retain rollback and deletion procedures.
When Context7 is configured, use it for focused, version-specific documentation for the actual vector, embedding, reranking, and evaluation libraries in the project. Match the versions in dependency files, verify consequential details against official docs, and keep credentials, secrets, private source code, and restricted data out of queries. Context7 is optional.
Output
Report the pipeline and its authorization/data lifecycle; the rationale for selected retrieval choices; evaluation dataset and metrics; measured trade-offs; known failure modes; and release/rollback plan. For debugging, trace one failing query through ingestion state, ACL filters, candidates, ranking, context sent to the model, citations, and final response before changing parameters.
Read RAG evaluation diagnostics when choosing or interpreting metrics. Verify the installed Ragas version and API against its current metric catalog before writing code; metric names, APIs, and behavior can change. Pair with llm-evaluation for dataset design and statistical release gates, security-review for prompt injection and authorization risks, and ai-system-design for wider architecture decisions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

