Generate complete 5-layer lesson content for a given MBBS topic. Creates all 5 layers (Foundation, Mechanism, Clinical, Exam Prep, Active Recall) with mnemonics, key points, textbook references, and summaries. Outputs as structured content ready for database. Examples: /generate-lesson "Brachial Plexus", /generate-lesson "Thyroid Physiology", /generate-lesson "Beta Blockers" PH, /generate-lesson AN-MOD-03-TOP-02
Create complete educational content for a topic using the 5-Layer Teaching Model.
$1 = Topic name or topic code$2 = Subject code (optional, for context)Invoke the medical-content-author agent to generate all 5 layers:
Layer 1 - Foundation (20 min):
Layer 2 - Mechanism (30 min):
Layer 3 - Clinical Application (20 min):
Layer 4 - Exam Preparation (15 min):
Layer 5 - Active Recall (10 min):
Output format - Write to prisma/seeds/lessons/{topic-slug}/:
layer-1-foundation.jsonlayer-2-mechanism.jsonlayer-3-clinical.jsonlayer-4-exam-prep.jsonlayer-5-active-recall.jsonEach file:
{
"layer": 1,
"title": "Brachial Plexus - Foundation",
"slug": "brachial-plexus-foundation",
"estimatedMinutes": 20,
"contentMd": "# Full markdown content...",
"summary": "2-3 sentence summary",
"mnemonics": [{"text": "...", "explanation": "..."}],
"keyPoints": ["...", "..."],
"textbookRefs": [{"book": "BDC", "chapter": "...", "page": "...", "edition": "8th"}],
"examTags": ["NEXT_STEP1", "NEET_PG"]
}
Quality check each layer:
Create seed script to load lessons into the Lesson table.
Report: Print summary of content created (word count per layer, mnemonic count, key point count).