[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C684RGA7XNCCWTY0KZ523V":3,"skill-same:01M6C684RGA7XNCCWTY0KZ523V":111},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6C684RGA7XNCCWTY0KZ523V","alabs-course-pipeline",null,"End-to-end A:\u002F\u002FLabs course creation pipeline. Creates Canvas courses, generates interactive HTML modules from Allternit packages, syncs quizzes, tracks progress, and audits. Use this whenever creating, updating, or managing A:\u002F\u002FLabs courses.","Allternit\u002Fallternit-platform","Allternit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F250397232?v=4","01M6C67T2SPVP033M7REAAHYHX","01M6C67T7CXM1DKVQY8DFAFRB2",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falabs-course-pipeline\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000039","教师与教育","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"pipeline","alabs course pipeline","course","canvas","packages","interactive","use","html","modules","creation","courses","end","progress","tracks","quizzes","2026-11-10 10:12:30",false,"---\nname: alabs-course-pipeline\ndescription: \"End-to-end A:\u002F\u002FLabs course creation pipeline. Creates Canvas courses, generates interactive HTML modules from Allternit packages, syncs quizzes, tracks progress, and audits. Use this whenever creating, updating, or managing A:\u002F\u002FLabs courses.\"\n---\n\n# A:\u002F\u002FLabs Course Pipeline\n\n> **STATUS:** Production — 10 courses, 65 modules, 0 audit issues\n>\n> **Last Updated:** 2026-04-17\n\nA reusable end-to-end workflow for creating, populating, and managing A:\u002F\u002FLabs courses on Canvas LMS.\n\n## When to Use This\n\n- Creating a new A:\u002F\u002FLabs course (CORE, OPS, AGENTS, or ADV)\n- Adding a new interactive module to an existing course\n- Generating bridge modules (theory → production code)\n- Adding real Canvas quizzes with scoring\n- Tracking student progress\n- Re-polishing courses after content updates\n- Running launch audits before go-live\n- Analyzing a codebase for curriculum topics\n\n## Course Catalog (10 Courses)\n\n| Code | Title | Tier | Course ID | Modules |\n|------|-------|------|-----------|---------|\n| ALABS-CORE-COPILOT | Build AI-Assisted Software | CORE | 14593493 | 7 |\n| ALABS-CORE-PROMPTS | Prompt Engineering | CORE | 14593495 | 7 |\n| ALABS-OPS-N8N | Orchestrate Agents & Automations | OPS | 14593499 | 9 |\n| ALABS-OPS-VISION | Computer Vision for Agent Systems | OPS | 14593501 | 6 |\n| ALABS-OPS-RAG | Local RAG & Document Intelligence | OPS | 14593503 | 7 |\n| ALABS-AGENTS-ML | ML Models as Agent Tools | AGENTS | 14593505 | 6 |\n| ALABS-AGENTS-AGENTS | Multi-Agent Systems | AGENTS | 14593507 | 7 |\n| ALABS-ADV-PLUGINSDK | Build Plugins for Allternit | ADV | 14612851 | 4 |\n| ALABS-ADV-WORKFLOW | The Allternit Workflow Engine | ADV | 14612861 | 3 |\n| ALABS-ADV-ADAPTERS | Provider Adapters & Unified APIs | ADV | 14612869 | 3 |\n\n**ADV Module Structure:** Each ADV course has M1, M2, (M3 for PLUGINSDK), and a Bridge module. Bridge modules connect theory to actual production code in the Allternit platform.\n\n## Directory Map\n\n| Path | Purpose |\n|------|---------|\n| `alabs-generated-courses\u002F` | Generated HTML modules + quiz JSONs + analysis outputs |\n| `alabs-generated-courses\u002Fdemos\u002F` | Standalone demo site (works offline) |\n| `alabs-module-template\u002F` | Shared template shell, build script, converter |\n| `archive\u002Falabs-curator\u002F` | ARCHIVED 2026-07-22 — generalizable CLI scaffold, never finished |\n| `scripts\u002Fsync-incremental.ts` | **Recommended** sync — hash-based skip |\n| `scripts\u002Fsync-course-from-package.ts` | Legacy sync (has page_url fix) |\n| `scripts\u002Fcanvas-quiz-sync.ts` | Canvas Quiz API — real scored quizzes |\n| `scripts\u002Fprogress-tracker.ts` | Poll Canvas → SQLite progress tracking |\n| `scripts\u002Fadd-module-challenges.ts` | Adds challenge assignments |\n| `scripts\u002Flaunch-audit.ts` | Validates all 10 courses |\n| `scripts\u002Fpolish-adv-courses.ts` | One-shot polish for ADV courses |\n| `scripts\u002Fgenerate-demo-index.ts` | Auto-builds demo landing page |\n| `scripts\u002Fanalyze-packages.ts` | Codebase → topics\u002Fchallenges\u002Fcurriculum |\n| `scripts\u002Fplatform-as-course.ts` | Platform codebase → course outline |\n| `scripts\u002Ffix-unpublished-modules.ts` | Publishes modules + sets prerequisites |\n| `surfaces\u002Fallternit-platform\u002Fsrc\u002Fviews\u002FLabsView.tsx` | Platform UI showing all courses |\n\n## Pipeline Phases\n\n### Phase 1: Create (Browser Automation)\n\nCanvas Free For Teacher does not allow course creation via API. Use Playwright:\n\n```bash\nexport CANVAS_EMAIL=\"your@email.com\"\nexport CANVAS_PASSWORD=\"your-password\"\nnpx tsx scripts\u002Fcreate-advanced-courses-browser.ts\n```\n\n### Phase 2: Covers\n\n```bash\npython3 scripts\u002Fgenerate-course-covers.py\nnpx tsx scripts\u002Fupload-course-images.ts\n```\n\n### Phase 3: Generate Modules (Agent Swarm)\n\nUse an agent to generate interactive HTML modules. The prompt template:\n\n```\nGenerate an interactive HTML course module for A:\u002F\u002FLabs ADV tier.\n\nRead these source files: [list specific files]\n\nTitle: Module N: [Topic Name]\nCourse: ALABS-ADV-[COURSE]\nTier: ADV (amber #f59e0b)\n\nContent sections:\n1. Hero with badge and tagline\n2. The Problem\n3. [3-5 deep-dive sections with real code from source]\n4. 3 Interactive Quizzes (4 options each, instant feedback, retry)\n5. Capstone Project\n\nDesign:\n- Self-contained single HTML file\n- Dark theme: #0b0b0c background, #f59e0b accent\n- JetBrains Mono + Inter via Google Fonts CDN\n- Progress bar, fixed nav with scroll-spy, scroll-reveal\n- Syntax-highlighted code blocks (custom CSS, no Prism)\n- ONE interactive Canvas animation (DAG, scheduler, circuit breaker, etc.)\n- Fully inline CSS and JS\n\nWrite to: alabs-generated-courses\u002FALABS-ADV-[COURSE]-module{N}.html\n```\n\nFor **Bridge modules**, the prompt adds:\n```\nThis is a BRIDGE module — connect theory to how Allternit ACTUALLY\nuses this in production. Show real code from the platform:\n- surfaces\u002Fallternit-platform\u002Fsrc\u002Flib\u002F...\n- Actual production imports, function calls, config\n- Mark code with \"? Production\" badges\n- Include system architecture diagrams\n```\n\n### Phase 4: Sync to Canvas\n\n**Use incremental sync (recommended):**\n```bash\nnpx tsx scripts\u002Fsync-incremental.ts \\\n  --html-file alabs-generated-courses\u002FALABS-ADV-WORKFLOW-module2.html \\\n  --course-id 14612861 \\\n  --module-title \"Module 2: The Scheduler & Execution Model\" \\\n  --position 2\n```\n\nThis computes SHA256 hash and skips unchanged modules.\n\nHash store: `alabs-generated-courses\u002F.sync-hashes.json`\n\n### Phase 5: Publish & Prerequisites\n\n```bash\nnpx tsx scripts\u002Ffix-unpublished-modules.ts\n```\n\nPublishes all modules\u002Fitems and sets sequential prerequisites (M1 → M2 → M3 → Bridge).\n\n### Phase 6: Add Quizzes\n\nCreate quiz JSON in `alabs-generated-courses\u002Fquizzes\u002F`:\n```json\n{\n  \"title\": \"Module 1 Quiz: Topic\",\n  \"questions\": [\n    {\n      \"question\": \"What is...?\",\n      \"options\": [\"A\", \"B\", \"C\", \"D\"],\n      \"correctIndex\": 1,\n      \"explanation\": \"Because...\"\n    }\n  ]\n}\n```\n\nSync to Canvas:\n```bash\nnpx tsx scripts\u002Fcanvas-quiz-sync.ts \\\n  --course-id 14612851 \\\n  --module-title \"Module 1: Plugin SDK Architecture\" \\\n  --quiz-json alabs-generated-courses\u002Fquizzes\u002Fpluginsdk-m1.json\n```\n\nCreates a real Canvas Quiz (scored, 3 attempts, keep highest) and attaches it to the module.\n\n### Phase 7: Add Challenges\n\nEdit `scripts\u002Fadd-module-challenges.ts` — add to `CHALLENGE_ASSIGNMENTS` map, then run:\n```bash\nnpx tsx scripts\u002Fadd-module-challenges.ts\n```\n\n### Phase 8: Polish\n\n```bash\nnpx tsx scripts\u002Fpolish-adv-courses.ts\n```\n\nPublishes courses, creates welcome pages, syllabi, curriculum maps, announcements, capstones, assignment groups.\n\n### Phase 9: Audit\n\n```bash\nnpx tsx scripts\u002Flaunch-audit.ts\n```\n\nExpect: `Summary: 0 issue(s) across 10 course(s)`\n\n### Phase 10: Update Demo Site\n\n```bash\nnpx tsx scripts\u002Fgenerate-demo-index.ts\n```\n\nScans modules → generates `alabs-generated-courses\u002Fdemos\u002Findex.html` with stats and links.\n\n## New Tools (Not in Original Pipeline)\n\n### Incremental Sync\n`scripts\u002Fsync-incremental.ts` — Hash-based skip. Only uploads changed modules.\n\n### Canvas Quiz Sync\n`scripts\u002Fcanvas-quiz-sync.ts` — Converts quiz JSON to real Canvas Quiz objects with scoring.\n\n### Progress Tracker\n`scripts\u002Fprogress-tracker.ts` — Polls Canvas module completion → updates SQLite certifications table.\n\n### Package Analyzer\n`scripts\u002Fanalyze-packages.ts` — Scans any package, extracts exports\u002Ftypes\u002Ftopics\u002Fcomplexity. Auto-generates curriculum map and challenge ideas.\n\n### Platform as Course\n`scripts\u002Fplatform-as-course.ts` — Scans `surfaces\u002Fallternit-platform\u002F` → generates course outline for \"How A:\u002F\u002FLabs Works\".\n\n### Demo Index Generator\n`scripts\u002Fgenerate-demo-index.ts` — Auto-generates demo landing page from scanned modules.\n\n## Module Template System\n\n`alabs-module-template\u002F` contains a shared HTML shell with common CSS and JS. Agents can generate content JSON instead of full HTML, and `build.ts` injects it into the shell.\n\n**Benefits:**\n- Consistent styling across all modules\n- ~60% smaller generated files\n- Bug fixes in one place\n\n**Files:**\n- `shell\u002Fshell.html` — Template with `{{MODULE_CONTENT}}`, `{{MODULE_CSS}}`, `{{MODULE_JS}}` placeholders\n- `scripts\u002Fbuild.ts` — Builds final HTML from content JSON + shell\n- `scripts\u002Fconvert-existing.ts` — Migrates old full-HTML modules to content JSON\n\n## alabs-curator CLI (Generalizable Pipeline) — ARCHIVED\n\n`alabs-curator\u002F` was archived to `archive\u002Falabs-curator\u002F` on 2026-07-22 (scaffold only; `publish` was a stub and it was never run in production). Restore from the archive if this is ever revived. Historical usage:\n\n```bash\nalabs-curator ingest -r .\u002Fmy-project -e src\nealabs-curator analyze -i ingestion.json\nealabs-curator generate -a analysis.json -t \"State Management\"\nalabs-curator build -c .\u002Fmodules\nalabs-curator publish -d .\u002Fdist --course-id 12345\n```\n\nStatus: Scaffolded. Commands implemented but not production-tested on non-Allternit codebases.\n\n## Known Issues & Workarounds\n\n| Issue | Workaround |\n|-------|------------|\n| `pnpm` fails with workspace conflict | Use `npx tsx` directly |\n| `better-sqlite3` native bindings missing | Use system `sqlite3` CLI for migrations |\n| Canvas API 403 on course creation | Use Playwright browser automation |\n| `invalid page_url parameter` on sync | Fixed in both sync scripts — uses Canvas-returned `page.url` |\n| Assignment group names reset to \"Assignments\" | Use group position instead of name |\n| Rubric API returns 500 | Include grading criteria in assignment description |\n\n## Design System Reference\n\n```css\n\u002F* Dark theme *\u002F\n--bg: #0b0b0c;\n--surface: #151517;\n--border: #27272a;\n--text: #e5e5e5;\n--text-secondary: #a1a1aa;\n\n\u002F* Tier accents *\u002F\nCORE:    #3b82f6 (blue)\nOPS:     #8b5cf6 (purple)\nAGENTS:  #ec4899 (pink)\nADV:     #f59e0b (amber\u002Fgold)\n\n\u002F* Typography *\u002F\nBody:  Inter, system-ui\nCode:  JetBrains Mono\n```\n\n## Agent Quick Reference\n\n**Generate a module:**\n1. Read source package files\n2. Use agent prompt template above\n3. Output to `alabs-generated-courses\u002FALABS-ADV-{COURSE}-module{N}.html`\n\n**Sync a module:**\n1. `npx tsx scripts\u002Fsync-incremental.ts --html-file ... --course-id ... --module-title ... --position N`\n\n**Add a quiz:**\n1. Write JSON to `alabs-generated-courses\u002Fquizzes\u002F{course}-m{N}.json`\n2. `npx tsx scripts\u002Fcanvas-quiz-sync.ts --course-id ... --module-title ... --quiz-json ...`\n\n**Everything else:**\n1. `npx tsx scripts\u002Ffix-unpublished-modules.ts`\n2. `npx tsx scripts\u002Fadd-module-challenges.ts`\n3. `npx tsx scripts\u002Flaunch-audit.ts`\n\n**Read the root AGENTS.md for full documentation.**\n","# A:\u002F\u002FLabs Course Pipeline\n\n> **STATUS:** Production — 10 courses, 65 modules, 0 audit issues\n>\n> **Last Updated:** 2026-04-17\n\nA reusable end-to-end workflow for creating, populating, and managing A:\u002F\u002FLabs courses on Canvas LMS.\n\n## When to Use This\n\n- Creating a new A:\u002F\u002FLabs course (CORE, OPS, AGENTS, or ADV)\n- Adding a new interactive module to an existing course\n- Generating bridge modules (theory → production code)\n- Adding real Canvas quizzes with scoring\n- Tracking student progress\n- Re-polishing courses after content updates\n- Running launch audits before go-live\n- Analyzing a codebase for curriculum topics\n\n## Course Catalog (10 Courses)\n\n| Code | Title | Tier | Course ID | Modules |\n|------|-------|------|-----------|---------|\n| ALABS-CORE-COPILOT | Build AI-Assisted Software | CORE | 14593493 | 7 |\n| ALABS-CORE-PROMPTS | Prompt Engineering | CORE | 14593495 | 7 |\n| ALABS-OPS-N8N | Orchestrate Agents & Automations | OPS | 14593499 | 9 |\n| ALABS-OPS-VISION | Computer Vision for Agent Systems | OPS | 14593501 | 6 |\n| ALABS-OPS-RAG | Local RAG & Document Intelligence | OPS | 14593503 | 7 |\n| ALABS-AGENTS-ML | ML Models as Agent Tools | AGENTS | 14593505 | 6 |\n| ALABS-AGENTS-AGENTS | Multi-Agent Systems | AGENTS | 14593507 | 7 |\n| ALABS-ADV-PLUGINSDK | Build Plugins for Allternit | ADV | 14612851 | 4 |\n| ALABS-ADV-WORKFLOW | The Allternit Workflow Engine | ADV | 14612861 | 3 |\n| ALABS-ADV-ADAPTERS | Provider Adapters & Unified APIs | ADV | 14612869 | 3 |\n\n**ADV Module Structure:** Each ADV course has M1, M2, (M3 for PLUGINSDK), and a Bridge module. Bridge modules connect theory to actual production code in the Allternit platform.\n\n## Directory Map\n\n| Path | Purpose |\n|------|---------|\n| `alabs-generated-courses\u002F` | Generated HTML modules + quiz JSONs + analysis outputs |\n| `alabs-generated-courses\u002Fdemos\u002F` | Standalone demo site (works offline) |\n| `alabs-module-template\u002F` | Shared template shell, build script, converter |\n| `archive\u002Falabs-curator\u002F` | ARCHIVED 2026-07-22 — generalizable CLI scaffold, never finished |\n| `scripts\u002Fsync-incremental.ts` | **Recommended** sync — hash-based skip |\n| `scripts\u002Fsync-course-from-package.ts` | Legacy sync (has page_url fix) |\n| `scripts\u002Fcanvas-quiz-sync.ts` | Canvas Quiz API — real scored quizzes |\n| `scripts\u002Fprogress-tracker.ts` | Poll Canvas → SQLite progress tracking |\n| `scripts\u002Fadd-module-challenges.ts` | Adds challenge assignments |\n| `scripts\u002Flaunch-audit.ts` | Validates all 10 courses |\n| `scripts\u002Fpolish-adv-courses.ts` | One-shot polish for ADV courses |\n| `scripts\u002Fgenerate-demo-index.ts` | Auto-builds demo landing page |\n| `scripts\u002Fanalyze-packages.ts` | Codebase → topics\u002Fchallenges\u002Fcurriculum |\n| `scripts\u002Fplatform-as-course.ts` | Platform codebase → course outline |\n| `scripts\u002Ffix-unpublished-modules.ts` | Publishes modules + sets prerequisites |\n| `surfaces\u002Fallternit-platform\u002Fsrc\u002Fviews\u002FLabsView.tsx` | Platform UI showing all courses |\n\n## Pipeline Phases\n\n### Phase 1: Create (Browser Automation)\n\nCanvas Free For Teacher does not allow course creation via API. Use Playwright:\n\n```bash\nexport CANVAS_EMAIL=\"your@email.com\"\nexport CANVAS_PASSWORD=\"your-password\"\nnpx tsx scripts\u002Fcreate-advanced-courses-browser.ts\n```\n\n### Phase 2: Covers\n\n```bash\npython3 scripts\u002Fgenerate-course-covers.py\nnpx tsx scripts\u002Fupload-course-images.ts\n```\n\n### Phase 3: Generate Modules (Agent Swarm)\n\nUse an agent to generate interactive HTML modules. The prompt template:\n\n```\nGenerate an interactive HTML course module for A:\u002F\u002FLabs ADV tier.\n\nRead these source files: [list specific files]\n\nTitle: Module N: [Topic Name]\nCourse: ALABS-ADV-[COURSE]\nTier: ADV (amber #f59e0b)\n\nContent sections:\n1. Hero with badge and tagline\n2. The Problem\n3. [3-5 deep-dive sections with real code from source]\n4. 3 Interactive Quizzes (4 options each, instant feedback, retry)\n5. Capstone Project\n\nDesign:\n- Self-contained single HTML file\n- Dark theme: #0b0b0c background, #f59e0b accent\n- JetBrains Mono + Inter via Google Fonts CDN\n- Progress bar, fixed nav with scroll-spy, scroll-reveal\n- Syntax-highlighted code blocks (custom CSS, no Prism)\n- ONE interactive Canvas animation (DAG, scheduler, circuit breaker, etc.)\n- Fully inline CSS and JS\n\nWrite to: alabs-generated-courses\u002FALABS-ADV-[COURSE]-module{N}.html\n```\n\nFor **Bridge modules**, the prompt adds:\n```\nThis is a BRIDGE module — connect theory to how Allternit ACTUALLY\nuses this in production. Show real code from the platform:\n- surfaces\u002Fallternit-platform\u002Fsrc\u002Flib\u002F...\n- Actual production imports, function calls, config\n- Mark code with \"? Production\" badges\n- Include system architecture diagrams\n```\n\n### Phase 4: Sync to Canvas\n\n**Use incremental sync (recommended):**\n```bash\nnpx tsx scripts\u002Fsync-incremental.ts \\\n  --html-file alabs-generated-courses\u002FALABS-ADV-WORKFLOW-module2.html \\\n  --course-id 14612861 \\\n  --module-title \"Module 2: The Scheduler & Execution Model\" \\\n  --position 2\n```\n\nThis computes SHA256 hash and skips unchanged modules.\n\nHash store: `alabs-generated-courses\u002F.sync-hashes.json`\n\n### Phase 5: Publish & Prerequisites\n\n```bash\nnpx tsx scripts\u002Ffix-unpublished-modules.ts\n```\n\nPublishes all modules\u002Fitems and sets sequential prerequisites (M1 → M2 → M3 → Bridge).\n\n### Phase 6: Add Quizzes\n\nCreate quiz JSON in `alabs-generated-courses\u002Fquizzes\u002F`:\n```json\n{\n  \"title\": \"Module 1 Quiz: Topic\",\n  \"questions\": [\n    {\n      \"question\": \"What is...?\",\n      \"options\": [\"A\", \"B\", \"C\", \"D\"],\n      \"correctIndex\": 1,\n      \"explanation\": \"Because...\"\n    }\n  ]\n}\n```\n\nSync to Canvas:\n```bash\nnpx tsx scripts\u002Fcanvas-quiz-sync.ts \\\n  --course-id 14612851 \\\n  --module-title \"Module 1: Plugin SDK Architecture\" \\\n  --quiz-json alabs-generated-courses\u002Fquizzes\u002Fpluginsdk-m1.json\n```\n\nCreates a real Canvas Quiz (scored, 3 attempts, keep highest) and attaches it to the module.\n\n### Phase 7: Add Challenges\n\nEdit `scripts\u002Fadd-module-challenges.ts` — add to `CHALLENGE_ASSIGNMENTS` map, then run:\n```bash\nnpx tsx scripts\u002Fadd-module-challenges.ts\n```\n\n### Phase 8: Polish\n\n```bash\nnpx tsx scripts\u002Fpolish-adv-courses.ts\n```\n\nPublishes courses, creates welcome pages, syllabi, curriculum maps, announcements, capstones, assignment groups.\n\n### Phase 9: Audit\n\n```bash\nnpx tsx scripts\u002Flaunch-audit.ts\n```\n\nExpect: `Summary: 0 issue(s) across 10 course(s)`\n\n### Phase 10: Update Demo Site\n\n```bash\nnpx tsx scripts\u002Fgenerate-demo-index.ts\n```\n\nScans modules → generates `alabs-generated-courses\u002Fdemos\u002Findex.html` with stats and links.\n\n## New Tools (Not in Original Pipeline)\n\n### Incremental Sync\n`scripts\u002Fsync-incremental.ts` — Hash-based skip. Only uploads changed modules.\n\n### Canvas Quiz Sync\n`scripts\u002Fcanvas-quiz-sync.ts` — Converts quiz JSON to real Canvas Quiz objects with scoring.\n\n### Progress Tracker\n`scripts\u002Fprogress-tracker.ts` — Polls Canvas module completion → updates SQLite certifications table.\n\n### Package Analyzer\n`scripts\u002Fanalyze-packages.ts` — Scans any package, extracts exports\u002Ftypes\u002Ftopics\u002Fcomplexity. Auto-generates curriculum map and challenge ideas.\n\n### Platform as Course\n`scripts\u002Fplatform-as-course.ts` — Scans `surfaces\u002Fallternit-platform\u002F` → generates course outline for \"How A:\u002F\u002FLabs Works\".\n\n### Demo Index Generator\n`scripts\u002Fgenerate-demo-index.ts` — Auto-generates demo landing page from scanned modules.\n\n## Module Template System\n\n`alabs-module-template\u002F` contains a shared HTML shell with common CSS and JS. Agents can generate content JSON instead of full HTML, and `build.ts` injects it into the shell.\n\n**Benefits:**\n- Consistent styling across all modules\n- ~60% smaller generated files\n- Bug fixes in one place\n\n**Files:**\n- `shell\u002Fshell.html` — Template with `{{MODULE_CONTENT}}`, `{{MODULE_CSS}}`, `{{MODULE_JS}}` placeholders\n- `scripts\u002Fbuild.ts` — Builds final HTML from content JSON + shell\n- `scripts\u002Fconvert-existing.ts` — Migrates old full-HTML modules to content JSON\n\n## alabs-curator CLI (Generalizable Pipeline) — ARCHIVED\n\n`alabs-curator\u002F` was archived to `archive\u002Falabs-curator\u002F` on 2026-07-22 (scaffold only; `publish` was a stub and it was never run in production). Restore from the archive if this is ever revived. Historical usage:\n\n```bash\nalabs-curator ingest -r .\u002Fmy-project -e src\nealabs-curator analyze -i ingestion.json\nealabs-curator generate -a analysis.json -t \"State Management\"\nalabs-curator build -c .\u002Fmodules\nalabs-curator publish -d .\u002Fdist --course-id 12345\n```\n\nStatus: Scaffolded. Commands implemented but not production-tested on non-Allternit codebases.\n\n## Known Issues & Workarounds\n\n| Issue | Workaround |\n|-------|------------|\n| `pnpm` fails with workspace conflict | Use `npx tsx` directly |\n| `better-sqlite3` native bindings missing | Use system `sqlite3` CLI for migrations |\n| Canvas API 403 on course creation | Use Playwright browser automation |\n| `invalid page_url parameter` on sync | Fixed in both sync scripts — uses Canvas-returned `page.url` |\n| Assignment group names reset to \"Assignments\" | Use group position instead of name |\n| Rubric API returns 500 | Include grading criteria in assignment description |\n\n## Design System Reference\n\n```css\n\u002F* Dark theme *\u002F\n--bg: #0b0b0c;\n--surface: #151517;\n--border: #27272a;\n--text: #e5e5e5;\n--text-secondary: #a1a1aa;\n\n\u002F* Tier accents *\u002F\nCORE:    #3b82f6 (blue)\nOPS:     #8b5cf6 (purple)\nAGENTS:  #ec4899 (pink)\nADV:     #f59e0b (amber\u002Fgold)\n\n\u002F* Typography *\u002F\nBody:  Inter, system-ui\nCode:  JetBrains Mono\n```\n\n## Agent Quick Reference\n\n**Generate a module:**\n1. Read source package files\n2. Use agent prompt template above\n3. Output to `alabs-generated-courses\u002FALABS-ADV-{COURSE}-module{N}.html`\n\n**Sync a module:**\n1. `npx tsx scripts\u002Fsync-incremental.ts --html-file ... --course-id ... --module-title ... --position N`\n\n**Add a quiz:**\n1. Write JSON to `alabs-generated-courses\u002Fquizzes\u002F{course}-m{N}.json`\n2. `npx tsx scripts\u002Fcanvas-quiz-sync.ts --course-id ... --module-title ... --quiz-json ...`\n\n**Everything else:**\n1. `npx tsx scripts\u002Ffix-unpublished-modules.ts`\n2. `npx tsx scripts\u002Fadd-module-challenges.ts`\n3. `npx tsx scripts\u002Flaunch-audit.ts`\n\n**Read the root AGENTS.md for full documentation.**\n",{"name":5,"description":7},"main","7db7c6f88fb96b6792195dacabdb088419b7a9fa",".agents\u002Fskills\u002Falabs-course-pipeline",0,"https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform","https:\u002F\u002Fgithub.com\u002FAllternit","https:\u002F\u002Fallternit.com","Allternit builds AI agents that work on your computer, in the cloud, and from your phone. Home of Allternit Desktop and Gizzi Code.","2026-11-15 02:40:14",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add Allternit\u002Fallternit-platform --skill alabs-course-pipeline",{"tool":63,"command":64},"bunx","bunx skills add Allternit\u002Fallternit-platform --skill alabs-course-pipeline",{"tool":66,"command":67},"pnpm","pnpm dlx skills add Allternit\u002Fallternit-platform --skill alabs-course-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Falabs-course-pipeline\u002FSKILL.md",true,[71,77,81,85,91,95,99,103,107],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"evals\u002Fevals.json","REFERENCE","参考文档",8436,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Fevals.json",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"evals\u002Ffiles\u002Fagnostic-fixture\u002FREADME.md",92,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Fagnostic-fixture\u002FREADME.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"evals\u002Ffiles\u002Fmissing-version-fixture\u002Frequirements.txt",7,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Fmissing-version-fixture\u002Frequirements.txt",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"evals\u002Ffiles\u002Fmissing-version-fixture\u002Fsrc\u002Fauth_flow.py","SCRIPT","脚本",68,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Fmissing-version-fixture\u002Fsrc\u002Fauth_flow.py",{"path":92,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":93,"sourceHtmlUrl":94},"evals\u002Ffiles\u002Fnext-conflict-fixture\u002Fpackage.json",127,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Fnext-conflict-fixture\u002Fpackage.json",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"evals\u002Ffiles\u002Fnext-conflict-fixture\u002Fsrc\u002Fuse-dashboard-router.ts",105,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Fnext-conflict-fixture\u002Fsrc\u002Fuse-dashboard-router.ts",{"path":100,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":101,"sourceHtmlUrl":102},"evals\u002Ffiles\u002Freact-router-fixture\u002Fpackage.json",137,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Freact-router-fixture\u002Fpackage.json",{"path":104,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":105,"sourceHtmlUrl":106},"evals\u002Ffiles\u002Freact-router-fixture\u002Fsrc\u002Fnav.ts",159,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Ffiles\u002Freact-router-fixture\u002Fsrc\u002Fnav.ts",{"path":108,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":109,"sourceHtmlUrl":110},"evals\u002Fgrade_benchmark.py",12677,"https:\u002F\u002Fgithub.com\u002Fjapurcell\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdefault\u002Fofficial-sources\u002Fevals\u002Fgrade_benchmark.py",[112,138,157,180,202,232],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":43},"01M6C6GBWRCJNWQP5S16PKXB77","jev","Ask typed System One judgments (noul \u002F choice \u002F score) against Allternit's LOCAL System One server instead of prompting a chat model to \"return JSON\". Use when classifying, routing, scoring, or screening something and code needs a probability it can branch on, or when the user runs \u002Fjev. Official TypeSafe Jev is an optional, explicit remote lane.","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002Ftools\u002Fsystem-one-local\u002Fskills\u002Fjev\u002FSKILL.md",[],[114,119,120,121,122,123,124,125,126,127,128,129,130,34,131,132,133,134,135,136,137],"official","routing","code","server","lane","system","json","model","choice","branch","ask","user","scoring","chat","local","probability","remote","can","when",{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":43},"01M6C6G9CGB9MX47NSQ31QNNB7","jev-route","Route with local System One answers — map Choice + confidence to act \u002F confirm \u002F human lanes, or pick a model tier by Choice label. Also documents the separate `route-model` helper for OpenRouter's typesafe\u002Fjev-router (a chat-model router, NOT System One). Use for confidence routing, model-tier routing, or when the user runs \u002Fjev-route.","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002Ftools\u002Fsystem-one-local\u002Fskills\u002Fjev-route\u002FSKILL.md",[],[114,145,146,147,120,124,126,148,127,149,130,34,150,151,132,152,133,153,154,155,156,137],"jev route","route","documents","pick","openrouter","router","model router","map","helper","with","for","model-tier",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":43},"01M6C6G6JZE0RC50QWWE6HG320","jev-guardrail","Screen text or agent tool calls with a battery of local System One Noul hazards plus a Score, with policy in code — and the Claude Code PreToolUse guard (hooks\u002Fpretooluse-guard) that puts deterministic hard rules first and lets Jev only raise friction. Use for injection\u002Fsecret\u002Fdestructive-action screening or when the user runs \u002Fjev-guardrail.","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002Ftools\u002Fsystem-one-local\u002Fskills\u002Fjev-guardrail\u002FSKILL.md",[],[114,164,165,166,121,167,168,169,124,170,171,172,130,34,173,174,175,176,133,177,178,155,179,137],"jev guardrail","guardrail","policy","injection","first","guard","tool","text","Rules","friction","only","hooks","deterministic","battery","calls","agent tool",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":189,"publishedAt":43},"01M6C6G426P7Q5J3F98HVYDCB2","jev-fanout","Ask every independent System One question over the same state in ONE POST \u002Fv1\u002Fsystemone to the local server (speculative fan-out). Use for parallel judgments, compound commands, one-call turn assessment, or when the user runs \u002Fjev-fanout. Do not fire one HTTP call per question.","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002Ftools\u002Fsystem-one-local\u002Fskills\u002Fjev-fanout\u002FSKILL.md",[186],{"categoryNo":187,"categoryName":188,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",[114,190,191,192,193,194,122,124,195,129,196,130,34,197,198,133,199,200,155,201,137],"fanout","jev fanout","http","assessment","state","parallel","question","do","call","post","v1","local server",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":208,"publishedAt":43},"01M6C6G13D7JK869Q3DHMQ9542","memory-drive","Read and write the user's Allternit Memory Drive, a git repo of markdown memories in the open Agent Memory Repo format. Use at the start of a session to load what the user's agents remember (MEMORY.md), when the user says \"remember this\", when you learn a durable fact about the user or their work, and before answering questions that depend on past sessions.","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002Ftools\u002Fmemory-drive-plugin\u002Fskills\u002Fmemory-drive\u002FSKILL.md",[],[209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,130,225,34,226,227,228,229,230,231,137],"memory","drive","memory drive","sessions","remember","learn","git","agent memory","start","open","markdown","format","work","repo","read","write","session","what the","memories","about","questions","you","load",{"skillNo":233,"name":234,"nameZh":6,"description":235,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":236,"categories":237,"keywords":241,"publishedAt":43},"01M6C6FX778N1047QAJ39Y582H","agent-orchestrator","Orchestrate external CLI agents (kimi, codex, agy, claude, grok, gizzi) through the Allternit Factory (gizzi agents \u002F orchestration \u002F workspace \u002F workflows). Use when the user asks to delegate, offload, or farm out implementation work to another CLI agent \u002F terminal session, or to run work outside this session to save tokens. Part of Allternit Agents \u002F Bot Agents — not a separate product.","https:\u002F\u002Fgithub.com\u002FAllternit\u002Fallternit-platform\u002Fblob\u002Fmain\u002Ftools\u002Fagent-orchestrator\u002FSKILL.md",[238],{"categoryNo":239,"categoryName":240,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[242,243,244,245,246,247,248,249,250,251,252,253,254,221,255,256,225,34,257,258,259,260,261,262,263,264,137],"orchestrator","agent orchestrator","bot","cli","terminal","codex","orchestration","workflows","run","product","orchestrate","save","workspace","delegate","factory","grok","kimi","implementation","offload","tokens","cli agents","farm","terminal session"]