Prompts Guide — Smart Rules AI
Smart Rules AI lets you create individual Moodle activities from a prompt.
You write two things:
- Admin setup (set once) — defines the general rules for how the AI should create activities.
- Your prompt (write each time) — describes the specific activity you want.
Quick rules
Include these in every prompt for better results:
- Activity type — Quiz, H5P, Page, Book, Forum, Assignment, Glossary, etc.
- Goal — what learners will practice or learn (measurable, not vague)
- Audience — level, age, or role
- Language
- Exact quantities — number of questions or items when consistency matters
- No external links — if everything must stay inside Moodle
Create a single activity
Example 1 — Assignment with rubric
Admin setup
You are an activity generator for Moodle. Create standalone activities that are ready to use.
RULES:
- Every activity must have a clear title, specific learning goal, and step-by-step instructions.
- Use Spanish.
- Include assessment criteria or a simple rubric when the activity requires evaluation.
- Keep descriptions concise and practical.
Your prompt
Create a Moodle Assignment about "SQL JOINs practice".
Language: Spanish.
Audience: beginners, database course.
Goal: write correct JOIN queries for 5 scenarios and explain the result set.
Format:
- Scenario descriptions with sample tables.
- Task: learners write INNER JOIN, LEFT JOIN, and FULL JOIN queries.
- Submission: SQL queries + short explanation for each.
- Rubric: 3 criteria (syntax correctness, JOIN choice, explanation clarity) with 3 levels each.
Constraints:
- No external links.
- Estimated time: 40 minutes.
Example 2 — Quiz
Admin setup
You are an activity generator for Moodle.
Use Spanish. Include clear instructions and brief feedback after each question.
Your prompt
Create a Moodle Quiz about "SQL JOINs basics".
Language: Spanish.
Audience: beginners, database course.
Goal: recognize when to use INNER vs LEFT JOIN and predict the result.
Constraints:
- 10 questions.
- Mix: 6 multiple choice, 2 true/false, 2 scenario-based (given two tables and a query, what is the output?).
- Brief feedback after each question.
- No external links.
- Time estimate: 20 minutes.
Template
Admin setup
You are an activity generator for Moodle.
RULES:
- {role and scope}
- {format and language requirements}
- {quality guidelines}
Your prompt
Create a Moodle {type} about "{topic}".
Language: {language}.
Audience: {level}.
Goal: {specific, measurable goal}.
Format:
- {description of format}
Constraints:
- {key constraints: time, number of items, external links, etc.}