Prompt Testing Protocol
# 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
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar