Skip to content

Build courses

Guides for structuring and authoring LXPack content after you have the CLI installed.

Authoring pipeline

Every module follows the same loop:

  1. Edit course.yaml, lessons/, assessments/, and optional interactions/
  2. lxpack validate
  3. lxpack preview for review
  4. lxpack build --target … when ready for the LMS
Validate course (run from course folder)
lxpack validate
Validate for xAPI/cmi5 export
lxpack validate --target xapi
Start local preview server
lxpack preview
Build SCORM 1.2 package (most LMS)
lxpack build --target scorm12
Build SCORM 2004 package
lxpack build --target scorm2004
Build xAPI package
lxpack build --target xapi
Build cmi5 package
lxpack build --target cmi5
Typical workflow after editing files
lxpack validate
lxpack preview
lxpack build --target scorm12

Guides

AI help while you author

Resource Use when
Prompts for Claude & Cursor One-off chat tasks with copy buttons
Library Skills Installable agent expertise in Cursor / Claude Code
Workflow overview Choosing a full authoring track

Example courses in the repo

Folder Demonstrates
examples/security-awareness Linear SCORM 1.2
examples/branching-demo Variables, flow, SCORM 2004
examples/xapi-awareness / cmi5-demo xAPI / cmi5
examples/lessonkit-spa SPA lesson + bridge API