ingest-content
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_DIR}}/to understand patterns (e.g.,{{SCRIPTS_DIR}}/ingest-{{course-slug}}-course.ts) - Read
{{SCHEMA_PATH}}for table definitions (courses, courseWeeks, courseLessons, reflectionQuestions, discussionPrompts, exercises) - Read
{{SCHEMAS_DIR}}/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{{PROJECT_ROOT}}/docs/— standalone course repo (for {{course-slug}})- A path provided directly by the user