Imports and triages AMIS/CRS class schedules into Room TBA by term_id. Use when wrong term bugs, AMIS fetch/import, term labels, skipped rows, import:amis-classes, or data issues about schedules and term_id 1251/1252/1253.
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Imports and triages AMIS/CRS class schedules into Room TBA by term_id. Use when wrong term bugs, AMIS fetch/import, term labels, skipped rows, import:amis-classes, or data issues about schedules and term_id 1251/1252/1253.
Chronological within the academic year. terms.id must equal the CRS id passed to --term-id.
CRS id
Period
Typical dates (AY 2025–2026)
1251
1st semester
Aug–Dec
1252
2nd semester
Jan–May
1253
Midyear
Jun–Jul
Fix labels/dates in the terms row. Never move class rows between ids to fix a naming mix-up.
Commands
# Fetch once (needs fresh AMIS_BEARER_TOKEN ~1h TTL)
bun run import:amis-classes -- --term-id 1252 --fetch
# Re-import from cached JSON (no token)
bun run import:amis-classes -- --term-id 1252 --replace
# Scrub PII from local exports
bun run import:amis-classes -- --scrub-exports