@thanh01.pmt/curriculum-kit 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +32 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +32 -21
- package/dist/index.mjs.map +1 -1
- package/dist/workflow/index.cjs +11 -6
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.mjs +11 -6
- package/dist/workflow/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10183,21 +10183,27 @@ footer: "Curriculum OS \u2022 ${lessonCode} (${pedagogyLabel})"
|
|
|
10183
10183
|
|
|
10184
10184
|
MANDATORY 12-14 SLIDE MICRO-CYCLE STRUCTURE (Delimited by '---'):
|
|
10185
10185
|
1. **Slide 1 [Title & Mission]:** ${lessonCode}: ${lessonTitle} + Real-world inquiry hook
|
|
10186
|
-
2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown (${pedagogyLabel})
|
|
10187
|
-
3. **Slide 3 [Warm-Up / Prior Knowledge]:**
|
|
10188
|
-
4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis
|
|
10189
|
-
5. **Slide 5 [Core Concept 1: Mental Model]:**
|
|
10190
|
-
6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram)
|
|
10191
|
-
7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:**
|
|
10192
|
-
8. **Slide 8 [
|
|
10193
|
-
9. **Slide 9 [
|
|
10194
|
-
10. **Slide 10 [
|
|
10195
|
-
11. **Slide 11 [
|
|
10196
|
-
12. **Slide 12 [
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
-
|
|
10186
|
+
2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown table (${pedagogyLabel})
|
|
10187
|
+
3. **Slide 3 [Warm-Up / Prior Knowledge]:** 2-column recall + 60-second diagnostic challenge card
|
|
10188
|
+
4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis card + dilemma constraint
|
|
10189
|
+
5. **Slide 5 [Core Concept 1: Mental Model]:** Definition, intuitive everyday analogy, and golden rule card
|
|
10190
|
+
6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram) + 3 flow steps
|
|
10191
|
+
7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:** Side-by-side 6-10 lines runnable code + anatomy breakdown & syntax trap card
|
|
10192
|
+
8. **Slide 8 [Guided Practice: Try It Now]:** 3-minute active desk task card with starter hint and success criteria
|
|
10193
|
+
9. **Slide 9 [Integrated Hands-On Lab]:** 3-tier differentiated challenge cards (Bronze / Silver / Gold) + gotcha alert card
|
|
10194
|
+
10. **Slide 10 [Traffic Light Checkpoint & Pitfalls]:** Formative self-check cards (\u{1F7E2}/\u{1F7E1}/\u{1F534}) & diagnostic test question
|
|
10195
|
+
11. **Slide 11 [Exit Ticket & Metacognition]:** 2 scenario-based check questions + 1 metacognitive reflection prompt
|
|
10196
|
+
12. **Slide 12 [Summary & Next Steps]:** 3 core golden rules + preview card of next upcoming milestone
|
|
10197
|
+
|
|
10198
|
+
Mandatory Canvas & Presentation Invariants:
|
|
10199
|
+
- A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook! Absolutely NO dense paragraphs or walls of text.
|
|
10200
|
+
- Follow the 6x6 rule: Maximum 4-6 bullet points per slide, maximum 8-12 words per bullet.
|
|
10201
|
+
- Structure slides using \`<div class="columns"><div>...</div><div>...</div></div>\` and \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, \`<div class="card success">\`.
|
|
10202
|
+
- MANDATORY PRESENTER NOTES ON EVERY SLIDE: Every slide MUST end with \`<!-- Presenter Notes: ... -->\` containing:
|
|
10203
|
+
* SCRIPT: 60-90s teacher talk track with intuitive analogies.
|
|
10204
|
+
* COLD CALL / CHECK: Specific diagnostic question to ask students.
|
|
10205
|
+
* SCAFFOLDING / GOTCHA: Guidance for students who get stuck.
|
|
10206
|
+
* PACING: Recommended minutes for the slide.
|
|
10201
10207
|
- Output 100% valid Marp Markdown.`;
|
|
10202
10208
|
const rawSlide = await runCurriculumAIInference(
|
|
10203
10209
|
[{ role: "user", content: slidePrompt }],
|
|
@@ -10935,20 +10941,25 @@ function getArtifactSpecializedInvariants(type, req) {
|
|
|
10935
10941
|
- Pacing: Target total duration is ${presentationDuration} minutes (~${Math.round(Number(presentationDuration) / Number(slideCount))} mins per slide).
|
|
10936
10942
|
- Visual Style: "${presentationStyle.toUpperCase()}". Maintain high visual clarity, contrasting accents, and executive polish.
|
|
10937
10943
|
2. **STRICT CONCISENESS & 6x6 RULE (ABSOLUTELY NO TEXT WALLS)**:
|
|
10938
|
-
- A slide is
|
|
10944
|
+
- A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook or lesson plan!
|
|
10939
10945
|
- Maximum 4\u20136 bullet points per slide.
|
|
10940
10946
|
- Maximum 8\u201312 words per bullet point. Forbid dense multi-sentence paragraphs on the slide surface.
|
|
10941
10947
|
3. **SPEAKER NOTES FOR ALL SPOKEN WORDS (<!-- Presenter Notes: ... -->)**:
|
|
10942
|
-
${includeSpeakerNotes ?
|
|
10943
|
-
|
|
10948
|
+
${includeSpeakerNotes ? `- MANDATORY: Every single slide MUST contain structured presenter notes in \`<!-- Presenter Notes: ... -->\` at the bottom:
|
|
10949
|
+
- SCRIPT: 60-90s teacher talk track with intuitive analogies.
|
|
10950
|
+
- COLD CALL / CHECK: Diagnostic question to ask students.
|
|
10951
|
+
- SCAFFOLDING / GOTCHA: How to resolve student misconceptions.
|
|
10952
|
+
- PACING: Recommended minutes for the slide.` : "- Optional brief presenter notes."}
|
|
10953
|
+
4. **2-COLUMN & CALLOUT CARD LAYOUTS**:
|
|
10954
|
+
- Use \`<div class="columns"><div>...</div><div>...</div></div>\` for comparisons, code vs. mechanics, or side-by-side tasks.
|
|
10955
|
+
- Use \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, and \`<div class="card success">\` for scannable chunking.
|
|
10956
|
+
5. **CLICK-TO-REVEAL SYSTEM**:
|
|
10944
10957
|
- Use \`<!-- clicks -->\` before bulleted lists (\`<ul>\` or \`<ol>\`) for incremental click-to-reveal.
|
|
10945
10958
|
- Use \`<!-- click -->\` before answers, code reveals, or key callouts.
|
|
10946
|
-
5. **2-COLUMN / SPLIT LAYOUT**:
|
|
10947
|
-
- Use <div class="columns"><div>...</div><div>...</div></div> for side-by-side concept vs. code or problem vs. solution comparisons.
|
|
10948
10959
|
6. **CONCISE CODE SNIPPETS**:
|
|
10949
10960
|
- Maximum 6\u201310 lines of clean code per snippet with inline comments. Never paste whole files.
|
|
10950
10961
|
7. **MERMAID VISUALS**:
|
|
10951
|
-
- Use Mermaid flowcharts or sequence diagrams for workflows and control loops.`;
|
|
10962
|
+
- Use Mermaid flowcharts (\`graph TD\` or \`graph LR\`) or sequence diagrams for workflows and control loops.`;
|
|
10952
10963
|
}
|
|
10953
10964
|
case "tiered_practice": {
|
|
10954
10965
|
const techStack = cfg.techStack || (req.hardwarePlatform?.[0] || "Modern Programming Language");
|