Overview
Reverse prompting and prompt contracts are most effective when used together.
The sequence is:
- The user gives a high-level request.
- The agent analyzes what is explicit and what is missing.
- The agent asks clarifying questions.
- The user answers.
- The agent converts the answers into a structured prompt contract.
- The user approves or modifies the contract.
- The agent executes the task.
- The final output is evaluated against the same contract.
Reverse prompting discovers the missing requirements. The prompt contract formalizes them.
This improves one-shot potential, meaning the probability that the first implementation will be close to the desired result. The agent is no longer guessing blindly about style, purpose, format, or constraints.