Skip to content

Commit 025024f

Browse files
committed
Add quiz template in agents.md
Signed-off-by: Raunak Madan <madanraunak24@gmail.com>
1 parent c3161ba commit 025024f

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,34 @@ categories:
159159
---
160160
```
161161

162+
### Assessment Frontmatter
163+
164+
Use short, stable IDs for assessments, questions, and options; question IDs must be unique within one assessment, and option IDs must be unique within one question. The Academy theme converts these author-facing IDs into deterministic UUIDs in generated JSON for Layer5 Cloud.
165+
166+
```yaml
167+
---
168+
title: "Assessment Example"
169+
id: "assessment-example"
170+
type: "test"
171+
layout: "test"
172+
passPercentage: 70
173+
maxAttempts: 3
174+
timeLimit: 30
175+
numberOfQuestions: 1
176+
questions:
177+
- id: "q1"
178+
text: "Layer5 Academy assessment files are authored in Markdown."
179+
type: "true-false"
180+
marks: 1
181+
options:
182+
- id: "true"
183+
text: "True"
184+
isCorrect: true
185+
- id: "false"
186+
text: "False"
187+
---
188+
```
189+
162190
### Content Best Practices
163191

164192
1. **Accuracy**: Ensure all technical information is current and correct

0 commit comments

Comments
 (0)