What problem does it solve?
This Skill addresses the inconsistency and manual overhead of auditing RAG (Retrieval-Augmented Generation) systems by providing a standardized, adversarial battery of tests to ensure retrieval accuracy and gate integrity.
Core Features & Use Cases
- Acceptance Testing: Validates the RAG system against a strict 9/9 acceptance contract to prevent regressions.
- Adversarial Auditing: Includes specific test cases for containment leaks, generative task gates, and translation task gates to ensure the model refuses out-of-scope queries.
- Performance Evaluation: Measures dense vs. hybrid retrieval hit-rates to optimize search quality.
- Use Case: Use this before merging any RAG-related pull request to verify that changes to chunking, prompts, or retrieval logic do not introduce leaks or over-gating.
Quick Start
Run the rag-audit skill to execute the full acceptance battery and validate the current RAG backend against the local development environment.