Query Transformations

Pre-retrieval query rewriting techniques. HyDE, multi-query, step-back, RAG-fusion with RRF, sub-query decomposition, query routing, and expansion. Full Python code per technique with LangChain and native Anthropic SDK. USE WHEN: user mentions "HyDE", "hypothetical document", "multi-query", "step-back prompting", "RAG-fusion", "query rewriting", "query decomposition", "query routing" DO NOT USE FOR: post-retrieval reranking - use `reranking`; sparse+dense fusion on retrieved docs - use `hybrid-search`; agent loops - use `agentic-rag`

claude-dev-suite Updated 28 repo stars
The Dev-Suite wizard reading a monorepo and reporting the detected stack: fullstack, React frontend, Spring Boot backend, PostgreSQL with JPA, Vitest and Playwr

File contents

claude-dev-suite/claude-dev-suite/tree/main/skills/rag/query-transformations commit 47ea2bb247

Frequently asked questions

npx get-skill add claude-dev-suite/query-transformations