@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.cjs
CHANGED
|
@@ -10212,21 +10212,27 @@ footer: "Curriculum OS \u2022 ${lessonCode} (${pedagogyLabel})"
|
|
|
10212
10212
|
|
|
10213
10213
|
MANDATORY 12-14 SLIDE MICRO-CYCLE STRUCTURE (Delimited by '---'):
|
|
10214
10214
|
1. **Slide 1 [Title & Mission]:** ${lessonCode}: ${lessonTitle} + Real-world inquiry hook
|
|
10215
|
-
2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown (${pedagogyLabel})
|
|
10216
|
-
3. **Slide 3 [Warm-Up / Prior Knowledge]:**
|
|
10217
|
-
4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis
|
|
10218
|
-
5. **Slide 5 [Core Concept 1: Mental Model]:**
|
|
10219
|
-
6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram)
|
|
10220
|
-
7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:**
|
|
10221
|
-
8. **Slide 8 [
|
|
10222
|
-
9. **Slide 9 [
|
|
10223
|
-
10. **Slide 10 [
|
|
10224
|
-
11. **Slide 11 [
|
|
10225
|
-
12. **Slide 12 [
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
-
|
|
10215
|
+
2. **Slide 2 [Agenda & Roadmap]:** Timing and milestone breakdown table (${pedagogyLabel})
|
|
10216
|
+
3. **Slide 3 [Warm-Up / Prior Knowledge]:** 2-column recall + 60-second diagnostic challenge card
|
|
10217
|
+
4. **Slide 4 [High-Stakes Hook Scenario]:** Authentic engineering/domain crisis card + dilemma constraint
|
|
10218
|
+
5. **Slide 5 [Core Concept 1: Mental Model]:** Definition, intuitive everyday analogy, and golden rule card
|
|
10219
|
+
6. **Slide 6 [Architecture & Visual Flow]:** Clean Mermaid diagram (flowchart or sequenceDiagram) + 3 flow steps
|
|
10220
|
+
7. **Slide 7 [Core Concept 2: Syntax / Mechanism Anatomy]:** Side-by-side 6-10 lines runnable code + anatomy breakdown & syntax trap card
|
|
10221
|
+
8. **Slide 8 [Guided Practice: Try It Now]:** 3-minute active desk task card with starter hint and success criteria
|
|
10222
|
+
9. **Slide 9 [Integrated Hands-On Lab]:** 3-tier differentiated challenge cards (Bronze / Silver / Gold) + gotcha alert card
|
|
10223
|
+
10. **Slide 10 [Traffic Light Checkpoint & Pitfalls]:** Formative self-check cards (\u{1F7E2}/\u{1F7E1}/\u{1F534}) & diagnostic test question
|
|
10224
|
+
11. **Slide 11 [Exit Ticket & Metacognition]:** 2 scenario-based check questions + 1 metacognitive reflection prompt
|
|
10225
|
+
12. **Slide 12 [Summary & Next Steps]:** 3 core golden rules + preview card of next upcoming milestone
|
|
10226
|
+
|
|
10227
|
+
Mandatory Canvas & Presentation Invariants:
|
|
10228
|
+
- A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook! Absolutely NO dense paragraphs or walls of text.
|
|
10229
|
+
- Follow the 6x6 rule: Maximum 4-6 bullet points per slide, maximum 8-12 words per bullet.
|
|
10230
|
+
- 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">\`.
|
|
10231
|
+
- MANDATORY PRESENTER NOTES ON EVERY SLIDE: Every slide MUST end with \`<!-- Presenter Notes: ... -->\` containing:
|
|
10232
|
+
* SCRIPT: 60-90s teacher talk track with intuitive analogies.
|
|
10233
|
+
* COLD CALL / CHECK: Specific diagnostic question to ask students.
|
|
10234
|
+
* SCAFFOLDING / GOTCHA: Guidance for students who get stuck.
|
|
10235
|
+
* PACING: Recommended minutes for the slide.
|
|
10230
10236
|
- Output 100% valid Marp Markdown.`;
|
|
10231
10237
|
const rawSlide = await runCurriculumAIInference(
|
|
10232
10238
|
[{ role: "user", content: slidePrompt }],
|
|
@@ -10964,20 +10970,25 @@ function getArtifactSpecializedInvariants(type, req) {
|
|
|
10964
10970
|
- Pacing: Target total duration is ${presentationDuration} minutes (~${Math.round(Number(presentationDuration) / Number(slideCount))} mins per slide).
|
|
10965
10971
|
- Visual Style: "${presentationStyle.toUpperCase()}". Maintain high visual clarity, contrasting accents, and executive polish.
|
|
10966
10972
|
2. **STRICT CONCISENESS & 6x6 RULE (ABSOLUTELY NO TEXT WALLS)**:
|
|
10967
|
-
- A slide is
|
|
10973
|
+
- A slide is an INTERACTIVE PROJECTION CANVAS, NOT a textbook or lesson plan!
|
|
10968
10974
|
- Maximum 4\u20136 bullet points per slide.
|
|
10969
10975
|
- Maximum 8\u201312 words per bullet point. Forbid dense multi-sentence paragraphs on the slide surface.
|
|
10970
10976
|
3. **SPEAKER NOTES FOR ALL SPOKEN WORDS (<!-- Presenter Notes: ... -->)**:
|
|
10971
|
-
${includeSpeakerNotes ?
|
|
10972
|
-
|
|
10977
|
+
${includeSpeakerNotes ? `- MANDATORY: Every single slide MUST contain structured presenter notes in \`<!-- Presenter Notes: ... -->\` at the bottom:
|
|
10978
|
+
- SCRIPT: 60-90s teacher talk track with intuitive analogies.
|
|
10979
|
+
- COLD CALL / CHECK: Diagnostic question to ask students.
|
|
10980
|
+
- SCAFFOLDING / GOTCHA: How to resolve student misconceptions.
|
|
10981
|
+
- PACING: Recommended minutes for the slide.` : "- Optional brief presenter notes."}
|
|
10982
|
+
4. **2-COLUMN & CALLOUT CARD LAYOUTS**:
|
|
10983
|
+
- Use \`<div class="columns"><div>...</div><div>...</div></div>\` for comparisons, code vs. mechanics, or side-by-side tasks.
|
|
10984
|
+
- Use \`<div class="card">\`, \`<div class="card highlight">\`, \`<div class="card warning">\`, and \`<div class="card success">\` for scannable chunking.
|
|
10985
|
+
5. **CLICK-TO-REVEAL SYSTEM**:
|
|
10973
10986
|
- Use \`<!-- clicks -->\` before bulleted lists (\`<ul>\` or \`<ol>\`) for incremental click-to-reveal.
|
|
10974
10987
|
- Use \`<!-- click -->\` before answers, code reveals, or key callouts.
|
|
10975
|
-
5. **2-COLUMN / SPLIT LAYOUT**:
|
|
10976
|
-
- Use <div class="columns"><div>...</div><div>...</div></div> for side-by-side concept vs. code or problem vs. solution comparisons.
|
|
10977
10988
|
6. **CONCISE CODE SNIPPETS**:
|
|
10978
10989
|
- Maximum 6\u201310 lines of clean code per snippet with inline comments. Never paste whole files.
|
|
10979
10990
|
7. **MERMAID VISUALS**:
|
|
10980
|
-
- Use Mermaid flowcharts or sequence diagrams for workflows and control loops.`;
|
|
10991
|
+
- Use Mermaid flowcharts (\`graph TD\` or \`graph LR\`) or sequence diagrams for workflows and control loops.`;
|
|
10981
10992
|
}
|
|
10982
10993
|
case "tiered_practice": {
|
|
10983
10994
|
const techStack = cfg.techStack || (req.hardwarePlatform?.[0] || "Modern Programming Language");
|