Prompt Templates
# Spec 1.3: AI Prompt Templates
**Status:** Draft
**Sprint:** 1 (AI Engine)
**Depends on:** Types (`src/types/intake.ts`, `src/types/meditation.ts`, `src/types/user.ts`, `src/types/database.ts`)
**Consumed by:** 1.1 (Intake Engine), 1.2 (Script Generator), 1.4 (Intake Chat API)
---
## 1. Overview
The prompt template system provides parameterized system prompts for two AI subsystems:
1. **Intake conversation** -- a 3-5 turn empathetic chat that identifies the user's emotional state, needs, and optimal meditation technique.
2. **Script generation** -- a single-shot prompt that produces a structured `MeditationScript` JSON from an `IntakeSummary`.
Every prompt is parameterized by locale, spiritual path, and (where applicable) returning-user context. Arabic prompts must use colloquial dialect, never Modern Standard Arabic (MSA).
---
## 2. File Structure and Exportswhen to use it
Community prompt sourced from the open-source GitHub repo alturkestani/nabq (MIT). A "Prompt Templates" 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
lifestylecommunitygeneral
source
alturkestani/nabq · MIT