home/roleplay/query-decomposition

Query Decomposition

GPTClaudeGemini··1,124 copies·updated 2026-07-14
query-decomposition.prompt
Break down the following complex question into simpler sub-questions that can be answered independently. Each sub-question should be self-contained and answerable from a document corpus.

Return the sub-questions as a JSON array of strings.

QUESTION: {question}

SUB-QUESTIONS (JSON array):

fill the variables

This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{question}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo hericlesferraz/DocVault (MIT). A "Query Decomposition" 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

roleplaycommunitygeneral

source

hericlesferraz/DocVault · MIT