Prompts Guide — Smart Rules AI
Smart Rules AI is used to create individual Moodle activities/resources from a prompt.
This guide is intentionally similar to the Course Creator AI prompts guide, but it only covers activity creation (not full courses).
Quick rules (better results)
Include:
- Activity type (Quiz, H5P (Question Set), Page, Book, Forum, Assignment, Glossary, etc.)
- Goal (what learners will practice/learn)
- Audience (level)
- Language
- Exact quantities (number of questions/items)
- No external links (if everything must stay inside Moodle)
Create a single Moodle activity/resource
Template (copy/paste)
Create a Moodle {type} about "{topic}".
Language: {language}.
Audience: {level}.
Goal: {goal}.
Constraints:
- Must fit in {time}.
- Include exactly {N} items/questions.
- No external links.
Quality:
- Clear instructions.
- Brief feedback where relevant.
Example (conservative)
Create a Moodle Quiz about "SQL JOINs".
Language: English.
Audience: beginners.
Goal: recognize when to use INNER vs LEFT JOIN.
Constraints:
- Include exactly 8 questions.
- Mix: multiple choice + true/false.
- Difficulty: easy to medium.
- No external links.
- Add brief feedback after each question.
Example (more complete, still conservative)
Create an H5P (Question Set) about "SQL JOINs".
Language: English.
Audience: beginners.
Goal: choose the correct JOIN and understand the result set.
Constraints:
- Include exactly 12 questions.
- Use tiny tables inside the question text when helpful.
- Mix: 8 multiple choice, 2 true/false, 2 short open questions.
- Difficulty: medium.
- No external links.
Quality:
- Start with a short instruction screen.
- Feedback must explain why the selected JOIN changes the output.