course-ingest
Installation
SKILL.md
Ingest course content: $ARGUMENTS
$ARGUMENTS should be a course slug or path to the content directory. If empty, ask the user.
Before Starting
- Read any existing ingestion scripts in
scripts/to understand patterns (e.g.,scripts/ingest-forgotten-ways-course.ts) - Read
src/lib/database/schema.tsfor table definitions (courses, courseWeeks, courseLessons, reflectionQuestions, discussionPrompts, exercises) - Read
src/lib/schemas/course-learn.tsfor SECTION_TYPES - Read
src/lib/config/lesson-types.tsfor type mapping
Locate Content Source
Search for content in these locations (in order):
content-library/courses/[slug]/— project content library/Users/joshuashepherd/Desktop/dev/repos/forgotten-ways-course/docs/— standalone course repo (for forgotten-ways)- A path provided directly by the user