home/productivity/prompt-testing-protocol

Prompt Testing Protocol

GPTClaudeDeepSeek··262 copies·updated 2026-07-14
prompt-testing-protocol.prompt
# Prompt Testing Protocol

How to test agent prompts BEFORE wiring them into code.

---

## Step 1: Create Test Cases

For each prompt, create 10-20 test inputs covering:

| Category | Count | Examples |
|----------|-------|---------|
| Happy path | 5-8 | Normal, expected user inputs |
| Edge cases | 3-5 | Empty input, very long input, unicode, ambiguous |
| Adversarial | 3-5 | Prompt injection, off-topic, abusive |
| Boundary | 2-3 | Inputs that could match multiple intents |

Template:

when to use it

Community prompt sourced from the open-source GitHub repo sujalmanpara/agent-dna (NOASSERTION). A "Prompt Testing Protocol" 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

sujalmanpara/agent-dna · NOASSERTION