Skip to content

Instantly share code, notes, and snippets.

@rsalesas
Last active August 4, 2025 18:20
Show Gist options
  • Save rsalesas/dafc14ecbebcd48e496b206cd041ecdb to your computer and use it in GitHub Desktop.
Save rsalesas/dafc14ecbebcd48e496b206cd041ecdb to your computer and use it in GitHub Desktop.
study_guide_generator_v1
{
"name": "study_guide_generator",
"strict": true,
"schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Study guide title including subject and main topics"
},
"learningObjectives": {
"type": "array",
"description": "Specific, measurable learning objectives",
"minItems": 3,
"maxItems": 8,
"items": {
"type": "string"
}
},
"coreConcepts": {
"type": "array",
"description": "Main concepts covered in the lesson",
"minItems": 2,
"maxItems": 6,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Concept name"
},
"definition": {
"type": "string",
"description": "Clear, concise definition"
},
"importance": {
"type": "string",
"description": "Why this concept matters in real world"
},
"explanation": {
"type": "string",
"description": "Detailed explanation of how it works"
},
"keyInsight": {
"type": "string",
"description": "Most important principle or rule"
},
"example": {
"type": "string",
"description": "Worked example demonstrating the concept"
},
"checkQuestions": {
"type": "array",
"description": "Questions to verify understanding",
"minItems": 2,
"maxItems": 3,
"items": {
"type": "string"
}
}
},
"required": [
"name",
"definition",
"importance",
"explanation",
"keyInsight",
"example",
"checkQuestions"
]
}
},
"practiceSets": {
"type": "array",
"description": "Practice problem sets organized by topic",
"minItems": 2,
"maxItems": 4,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"topicName": {
"type": "string"
},
"problems": {
"type": "array",
"minItems": 2,
"maxItems": 4,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"scenario",
"application",
"analysis",
"design"
],
"description": "Type of problem"
},
"setup": {
"type": "string",
"description": "Problem description and context"
},
"guidingQuestions": {
"type": "array",
"description": "Questions to guide problem-solving",
"minItems": 2,
"maxItems": 4,
"items": {
"type": "string"
}
}
},
"required": [
"type",
"setup",
"guidingQuestions"
]
}
}
},
"required": [
"topicName",
"problems"
]
}
},
"conceptConnections": {
"type": "array",
"description": "How concepts relate to each other",
"minItems": 1,
"maxItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"concept1": {
"type": "string"
},
"concept2": {
"type": "string"
},
"relationship": {
"type": "string",
"description": "How these concepts connect"
}
},
"required": [
"concept1",
"concept2",
"relationship"
]
}
},
"bigPictureUnderstanding": {
"type": "string",
"description": "How all concepts work together in the larger context"
},
"commonMisconceptions": {
"type": "array",
"description": "Common errors in understanding",
"minItems": 2,
"maxItems": 4,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"misconception": {
"type": "string"
},
"whyItHappens": {
"type": "string"
},
"correctUnderstanding": {
"type": "string"
}
},
"required": [
"misconception",
"whyItHappens",
"correctUnderstanding"
]
}
},
"realWorldApplications": {
"type": "array",
"description": "Practical applications of the concepts",
"minItems": 2,
"maxItems": 5,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"context": {
"type": "string",
"description": "Where/how this is used"
},
"description": {
"type": "string",
"description": "Detailed explanation of the application"
}
},
"required": [
"context",
"description"
]
}
},
"extensionChallenges": {
"type": "array",
"description": "Advanced problems for deeper exploration",
"minItems": 2,
"maxItems": 3,
"items": {
"type": "string"
}
},
"keyVocabulary": {
"type": "array",
"description": "Important terms with definitions and context",
"minItems": 3,
"maxItems": 10,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"term": {
"type": "string"
},
"definition": {
"type": "string"
},
"contextExample": {
"type": "string",
"description": "How it was used in the lesson"
}
},
"required": [
"term",
"definition",
"contextExample"
]
}
},
"reflectionQuestions": {
"type": "array",
"description": "Questions for metacognition and self-assessment",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "string"
}
},
"nextSteps": {
"type": "object",
"additionalProperties": false,
"properties": {
"topicsToReview": {
"type": "array",
"description": "Prerequisites that may need strengthening",
"minItems": 1,
"maxItems": 3,
"items": {
"type": "string"
}
},
"relatedTopicsToExplore": {
"type": "array",
"description": "Where this learning leads next",
"minItems": 1,
"maxItems": 3,
"items": {
"type": "string"
}
},
"homeworkPreparation": {
"type": "array",
"description": "Specific tasks mentioned in class",
"minItems": 0,
"maxItems": 5,
"items": {
"type": "string"
}
}
},
"required": [
"topicsToReview",
"relatedTopicsToExplore",
"homeworkPreparation"
]
}
},
"required": [
"title",
"learningObjectives",
"coreConcepts",
"practiceSets",
"conceptConnections",
"bigPictureUnderstanding",
"commonMisconceptions",
"realWorldApplications",
"extensionChallenges",
"keyVocabulary",
"reflectionQuestions",
"nextSteps"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment