Architecture
The prompt system consists of:- Master Prompt - The foundational ruleset that applies to all translations
- Specialized Prompts - Domain-specific add-ons that extend the master prompt for particular text types
hadith), wobble-bibble automatically stacks it on top of the master prompt, ensuring consistent base rules while adding domain-specific guidance.
Available Prompts
Master Prompt
The foundational ruleset for all Islamic text translations
Hadith
For hadith collections with isnad chains and narrator evaluation
Fiqh
For Islamic jurisprudence texts with legal rulings and technical terms
Tafsir
For Quranic exegesis with verse citations and theological attributes
Fatawa
For legal opinions in Q&A format with questioner/scholar dialogue
Encyclopedia Mixed
For polymath works mixing hadith, fiqh, creed, and polemics
Jarh wa Tadil
For narrator criticism and authentication texts
Usul al-Fiqh
For legal theory texts with methodological disputes
Usage
Access prompts using thegetPrompt() function:
Key Features
Zero Arabic Script (Except ﷺ)
All prompts enforce a strict ban on Arabic script in output. Only the Prophet’s salutation symbol (ﷺ) is permitted.ALA-LC Transliteration
Proper names and technical terms use full ALA-LC transliteration with diacritics (ā ī ū ḥ ṣ ḍ ṭ ẓ ʿ ʾ).Technical Term Definitions
On first occurrence, technical terms must be defined:bidʿah (innovation)
Segment ID Preservation
All segments maintain their original IDs (e.g.,P1234) for precise validation and tracking.
No Sanitization
Polemical terms and sensitive content are translated literally without softening or editorial commentary.Choosing the Right Prompt
Rule of thumb: Match the prompt to the predominant genre of your text. For multi-genre works (like encyclopedias), use
encyclopedia_mixed.- Pure hadith collections? →
hadith - Fiqh manuals with legal rulings? →
fiqh - Tafsir with Quranic commentary? →
tafsir - Fatwa compilations (Q&A)? →
fatawa - Narrator biographies/criticism? →
jarh_wa_tadil - Legal methodology debates? →
usul_al_fiqh - Mixed scholarly works? →
encyclopedia_mixed
Next Steps
Explore Prompts
Browse detailed documentation for each prompt type
Validation Guide
Learn how wobble-bibble validates LLM outputs