rag-evidence-contract-testing

Validate retrieved graph edge evidence structure for LLM RAG context assembly.

Updated May 15, 2026
One-click install
npx skills add https://github.com/ruskibeats/t1d --skill rag-evidence-contract-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-evidence-contract-testing
Source: https://github.com/ruskibeats/t1d/tree/main/.pi/skills-archive/rag-evidence-contract-testing
Command: npx skills add https://github.com/ruskibeats/t1d --skill rag-evidence-contract-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill verifies that the retrieved graph edges provide proper evidence structure for LLM RAG context assembly, ensuring confidence filtering and ordering.

Core Features & Use Cases

  • Evidence Structure Verification: Checks the integrity of retrieved graph edges for LLM context assembly.
  • Confidence Filtering and Ordering: Ensures that the strongest edges are selected with proper confidence thresholds.
  • Use Case: Before deploying changes to graph edge retrieval or RAG context assembly, use this Skill to confirm that the evidence meets the required standards.

Quick Start

Run the rag-evidence-contract-testing skill to validate the evidence structure of the retrieved graph edges.

Frequently Asked Questions about rag-evidence-contract-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate retrieved graph edges for LLM RAG context assembly?

To validate retrieved graph edges for LLM RAG context assembly, verify the evidence structure by applying confidence filtering and edge ordering, ensuring the strongest evidence is selected for LLM responses.

What does confidence filtering do for RAG evidence structure?

Confidence filtering for RAG evidence structure ensures that only graph edges meeting required thresholds are selected, guaranteeing the strongest evidence is used for LLM context assembly.

When should I test my RAG edge retrieval logic?

Test RAG edge retrieval logic before deploying changes to graph edge retrieval or RAG context assembly to confirm that modified retrieval logic still meets required evidence standards.

Can I use contract testing for RAG confidence thresholds without dependencies?

Yes, you can apply contract testing for RAG confidence thresholds without external dependencies, as the validation operates independently on retrieved graph edges to verify evidence structure.

Why are my LLM responses using weak evidence from graph edges?

LLM responses use weak evidence from graph edges when confidence filtering and edge ordering are not properly validated, allowing low-confidence edges to enter the RAG context assembly.