type frameworkowner Thomas Cherickalcurator Thomas Cherickalupdated 2026-11-15
TIDD-EC
What It Is
Task type, Instructions, Do, Don't, Examples, Context. A community framework that makes positive and negative constraints explicit.
When to Use It
Use when outputs keep violating a rule, or when quality depends on hard do/don't lists. Skip it for exploratory work.
Blank Template
TASK TYPE: {{e.g. classification, extraction, generation}}
INSTRUCTIONS: {{the task}}
DO: {{required behaviours}}
DON'T: {{forbidden behaviours}}
EXAMPLES: {{1 to 3 examples}}
CONTEXT: {{background, data}}
Five Sample Prompts for Gen AI Professionals
| id |
role |
version |
status |
owner |
| TIDDEC-01 |
LLM engineer |
0.1.0 |
seed |
Thomas Cherickal |
TASK TYPE: Extraction
INSTRUCTIONS: Extract invoice fields from the text into JSON.
DO: Use null for missing fields. Use ISO dates. Return only JSON.
DON'T: Guess values. Add fields not in the schema. Add commentary.
EXAMPLES: {{1 input/output pair}}
CONTEXT: Schema: {{json_schema}}. Text: <doc>{{text}}</doc>
TIDDEC-02 - Guardrail classifier
| id |
role |
version |
status |
owner |
| TIDDEC-02 |
Gen AI engineer |
0.1.0 |
seed |
Thomas Cherickal |
TASK TYPE: Classification
INSTRUCTIONS: Label each user message as allowed, needs_review or blocked under our policy.
DO: Cite the policy clause for every non-allowed label.
DON'T: Block on keywords alone. Explain the policy to the user.
EXAMPLES: {{3 labelled examples}}
CONTEXT: <policy>{{policy}}</policy><messages>{{messages}}</messages>
TIDDEC-03 - Accessible UI copy
| id |
role |
version |
status |
owner |
| TIDDEC-03 |
Front-end engineer |
0.1.0 |
seed |
Thomas Cherickal |
TASK TYPE: Generation
INSTRUCTIONS: Write button labels, error messages and alt text for this form.
DO: Use plain verbs. Keep errors actionable. Meet WCAG 2.2 AA guidance.
DON'T: Use "click here". Blame the user. Use colour-only cues.
EXAMPLES: {{1 good error message}}
CONTEXT: <form>{{form_html}}</form>
TIDDEC-04 - Go error-handling review
| id |
role |
version |
status |
owner |
| TIDDEC-04 |
Go engineer |
0.1.0 |
seed |
Thomas Cherickal |
TASK TYPE: Review
INSTRUCTIONS: Review error handling in this Go package.
DO: Flag ignored errors, missing wrapping with %w, and sentinel misuse.
DON'T: Suggest panics. Rewrite unrelated code.
EXAMPLES: {{one before/after}}
CONTEXT: <code>{{go_code}}</code>
TIDDEC-05 - Query rewriting for RAG
| id |
role |
version |
status |
owner |
| TIDDEC-05 |
RAG engineer |
0.1.0 |
seed |
Thomas Cherickal |
TASK TYPE: Transformation
INSTRUCTIONS: Rewrite the user query into 3 search queries for our retriever.
DO: Expand acronyms. Add a keyword-only variant for BM25.
DON'T: Answer the question. Add facts not in the query.
EXAMPLES: {{1 input with 3 rewrites}}
CONTEXT: Domain glossary: {{glossary}}. Query: {{query}}
Links