home/productivity/rag-retrieval-validation-plan-phr-prompt

Rag Retrieval Validation Plan.phr.prompt

GPTClaudeDeepSeek··977 copies·updated 2026-07-14
rag-retrieval-validation-plan-phr-prompt.prompt
---
id: 5
title: rag-retrieval-validation-plan
stage: plan
date: 2025-12-25
surface: agent
model: claude-sonnet-4-5-20250929
feature: rag-retrieval-validation
branch: 001-rag-retrieval-validation
user: unknown
command: /sp.plan
labels: ["plan", "rag", "retrieval", "validation", "qdrant", "architecture"]
links:
  spec: specs/001-rag-retrieval-validation/spec.md
  ticket: null
  adr: null
  pr: null
files:
 - specs/001-rag-retrieval-validation/plan.md
 - specs/001-rag-retrieval-validation/research.md
 - specs/001-rag-retrieval-validation/data-model.md
 - specs/001-rag-retrieval-validation/quickstart.md
 - specs/001-rag-retrieval-validation/contracts/api-contract.md
tests:
 - none
---

## Prompt

spec-2: Retrieval and Pipeline Validation

- Create a single file `retrieve.py` in the root
- Connect to Qdrant and load existing vector collections
- Accept a test and perform top-k similarity search
- Validate results using returned text, metadata, and source URLs

## Response snapshot

Successfully created implementation plan for RAG retrieval validation feature, including technical context, research, data model, quickstart guide, and API contracts.

## Outcome

- ✅ Impact: Created comprehensive implementation plan with all required documentation artifacts for RAG retrieval validation
- 🧪 Tests: none
- 📁 Files: specs/001-rag-retrieval-validation/plan.md, specs/001-rag-retrieval-validation/research.md, specs/001-rag-retrieval-validation/data-model.md, specs/001-rag-retrieval-validation/quickstart.md, specs/001-rag-retrieval-validation/contracts/api-contract.md
- 🔁 Next prompts: /sp.tasks to generate implementation tasks, then /sp.implement to execute
- 🧠 Reflection: Clear plan with defined architecture and data models enables proper implementation of RAG validation system

## Evaluation notes (flywheel)

- Failure modes observed: No automated PowerShell scripts available in current environment, manual creation required
- Graders run and results (PASS/FAIL): null
- Prompt variant (if applicable): null
- Next experiment (smallest change to try): Create automated script for plan generation in bash environment

when to use it

Community prompt sourced from the open-source GitHub repo Waqar-5/AI_PHYSICAL_BOOK (no explicit license). A "Rag Retrieval Validation Plan.phr.prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

Waqar-5/AI_PHYSICAL_BOOK · no explicit license