[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AP4F2V5E71G820M36WBZBP":3,"skill-same:01M7AP4F2V5E71G820M36WBZBP":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7AP4F2V5E71G820M36WBZBP","syllabus",null,"Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","Cyrilthetecchieee\u002Fcyril-code-","Cyrilthetecchieee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219787998?v=4","01M7AF0MMMKRAA0H61XMJPV92H","Julian Cyril D ","01M7AF0MQ10AVG6QJQ1C2BC0F5",2,"MIT","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: syllabus\ndescription: \"Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.\"\nlicense: MIT\nmetadata:\n  source_spec: \"megaprompts\u002F10-syllabus-megaprompt.md\"\n  build_pattern: \"Path B (direct conversion)\"\n  research_pack_convention: \"Agent Integrity Rules verbatim per PR #657 audit; bundled-JS-DOCX-generator variant\"\n  version: 1.0.0\n---\n\n# Syllabus — Course Supplementary Reading List\n\n> **Portability:** Requires a Consensus MCP connection, Node.js with `docx` package, and file reading capability for the syllabus. Works in Claude Code CLI natively. In Claude.ai with Consensus MCP + Code Execution + file upload, the workflow is supported.\n\nFor an instructor or student with a course syllabus, produce a professional supplementary reading list as `.docx` containing recent peer-reviewed papers per course section.\n\n## Architectural Pattern: Bundled Script\n\nThis skill uses a **bundled JavaScript helper script** for DOCX generation rather than inlining the 300+ lines of layout code:\n\n- DOCX generation logic is reusable + complex\n- Better separation of concerns: skill = orchestration + intelligence; script = mechanical document assembly\n- Token-efficient: skill doesn't re-derive layout each run\n- Easier to maintain and version\n\nThe bundled script is at `scripts\u002Fgenerate_reading_list.js`. The skill orchestrates the pipeline + invokes the script with JSON input.\n\n## Agent Integrity Rules (Research-Pack Convention)\n\nLocked verbatim per PR #657 audit.\n\n- **Only use what Consensus returns.** Every paper title, author, journal, year, URL must come from this session's tool calls. Training-knowledge papers labeled `[Not from Consensus — model knowledge]` and excluded.\n- **Confirm before moving on.** A search isn't complete until response received and inspected.\n- **Track three counts.** Queries sent \u002F papers received \u002F papers cited. Surface in audit summary.\n- **Surface gaps, don't fill them.** Section with one paper + note about limited results > section padded with fabrications.\n\n## Phase 0: Grill-Me Intake (3 forcing questions)\n\n### Q1 (root) — Syllabus input\n\n> **Provide the syllabus — pick one:**\n>\n> 1. File path (PDF, DOCX, text) — I'll read it\n> 2. Pasted content — paste below\n> 3. Image of a printed syllabus — attach the image\n>\n> *Why I'm asking:* Each format needs a different reader (PDF \u002F DOCX parser \u002F vision). Picking upfront prevents wasted attempts.\n\nForcing choice. Refuse to start without a syllabus.\n\n### Q2 (depends on Q1) — Course audience\n\n> **Course audience — pick one:**\n>\n> 1. Undergraduate (intro level)\n> 2. Undergraduate (advanced \u002F upper division)\n> 3. Graduate (Masters \u002F early PhD)\n> 4. Graduate (doctoral \u002F advanced)\n> 5. Professional \u002F continuing education\n> 6. Mixed\n>\n> *Why I'm asking:* Audience dictates summary jargon level and discussion-question complexity. Undergrad summaries define every term; grad summaries assume technical fluency. Discussion questions for undergrads test analysis; for grads test critique and extension.\n\nSee [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) for the canon.\n\n### Q3 (depends on Q1) — Year range\n\n> **Year range for papers — pick one:**\n>\n> 1. Last 1 year (most recent only)\n> 2. Last 2 years (default — recent + a year of context)\n> 3. Last 5 years (broader, includes foundational recent work)\n>\n> *Why I'm asking:* Reading lists go stale fast. 1-year filters keep things fresh; 5-year filters surface foundational recent work that's already standard. Drives the year_min parameter on every Consensus search.\n\nForcing choice with default (last 2 years).\n\n**Stop condition:** 3 questions max before Phase 1. The post-Phase-2 group-and-confirm checkpoint is its own grill-me moment.\n\n## Phase 1: Parse the Syllabus\n\nPer Q1 input format:\n\n- **PDF**: use PDF reader; extract text\n- **DOCX**: use pandoc or DOCX parser; extract text\n- **Text\u002Fpasted**: read directly\n- **Image**: use vision; extract text\n\nFrom extracted text:\n1. Course title + instructor + term\n2. Topic list (lecture titles, week-by-week breakdown, etc.)\n3. Learning outcomes (if explicit; if missing, infer 3-5 from description)\n\nMark inferred learning outcomes as `[inferred]` in the DOCX.\n\n## Phase 2: Group Topics + Confirm with User\n\n### Group via topic_grouper.py\n\nUse `scripts\u002Ftopic_grouper.py` to cluster related topics into 6-12 sections. Heuristic: closely-related topics merge; cross-cutting topics get their own section.\n\n### Group-and-Confirm Checkpoint (Forcing Options)\n\nAfter grouping, present:\n\n> **Proposed sections: [list with item counts]. Pick one:**\n>\n> 1. \"Looks good — proceed with these sections\"\n> 2. \"Merge sections [X] and [Y]\"\n> 3. \"Split section [X] into two\"\n> 4. \"Add a section for [topic]\"\n> 5. \"Remove section [X]\"\n>\n> *Why I'm asking:* Grouping drives search allocation. Wrong grouping wastes the search budget on bad clusters. This is the **last cheap moment** to correct course before searches consume Consensus calls.\n\n**Refuse to start Phase 3 without explicit user choice.**\n\n## Phase 3: Search Consensus per Section\n\nSequential, 1 q\u002Fsec. 1-2 queries per section.\n\n### Applied-Domain Weaving (Critical)\n\nDon't just search the topic — **search the topic + applied domain**:\n\n| ❌ Generic | ✅ Applied-domain |\n|---|---|\n| \"enzyme kinetics\" | \"enzyme kinetics food processing applications\" |\n| \"machine learning\" | \"machine learning clinical decision support\" |\n| \"thermodynamics\" | \"thermodynamics renewable energy systems\" |\n| \"social network analysis\" | \"social network analysis public health interventions\" |\n\nBoosts paper relevance dramatically. See [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) for the canon.\n\n### Per-Section Pattern\n\n```\nFor each section:\n  1. Construct query: \"{topic-keywords} {applied-domain-angle}\" + year_min from Q3\n  2. Submit to Consensus (sequential, 1 q\u002Fsec gap enforced by citation_tracker)\n  3. Receive results\n  4. (If thin) submit one fallback query without applied-domain angle\n  5. Select 1-3 papers per section (15-25 total across all sections)\n```\n\n### Selection Priorities\n\n1. **Relevance** — paper directly addresses the section topic\n2. **Reviews \u002F meta-analyses** — synthesize the field\n3. **Citation count** — established work\n4. **Applied-domain connection** — tied to the course's domain (e.g., engineering vs theory)\n\n## Phase 4: Write Summaries + Discussion Questions\n\n### Summary writing\n\nPer paper:\n- Plain language (calibrated to audience from Q2)\n- 2-3 sentences\n- Define jargon if undergraduate audience; assume fluency if graduate\n\n### Quality bars\n\n| ✅ Good summary | ❌ Bad summary |\n|---|---|\n| \"This review maps how different diets — Mediterranean, Nordic, vegetarian — reshape the types of fat molecules circulating in your blood, with implications for heart disease risk.\" | \"This paper reviews lipidomic profiles across dietary interventions and their cardiometabolic implications.\" |\n\n### Discussion question writing\n\nPer paper:\n- Bloom **higher-order** (apply \u002F analyze \u002F evaluate)\n- Tied to a specific course learning outcome\n- Promotes discussion, not just recall\n\n| ✅ Good question | ❌ Bad question |\n|---|---|\n| \"If dietary fat quality can reshape your lipoprotein lipidome, what does this suggest about the biochemical basis for dietary guidelines recommending unsaturated over saturated fats?\" | \"What did the authors find?\" (Just recall) |\n\nUse `scripts\u002Fdiscussion_question_validator.py` to flag recall-only questions.\n\n## Phase 5: Generate .docx via Bundled Script\n\n```bash\nnode scripts\u002Fgenerate_reading_list.js \\\n  --input \u002Ftmp\u002Fsyllabus_data.json \\\n  --output \u002Fpath\u002Fto\u002Freading_list_\u003Ccourse>_\u003Cdate>.docx\n```\n\nThe script accepts JSON with this schema:\n\n```json\n{\n  \"courseTitle\": \"string\",\n  \"courseSubtitle\": \"string\",\n  \"generatedDate\": \"string\",\n  \"yearRange\": \"string\",\n  \"introText\": \"string\",\n  \"learningOutcomes\": [\"string\", ...],\n  \"sections\": [\n    {\n      \"heading\": \"string\",\n      \"papers\": [\n        {\n          \"title\": \"string\",\n          \"authors\": \"string\",\n          \"journal\": \"string\",\n          \"year\": number,\n          \"url\": \"string\",\n          \"summary\": \"string\",\n          \"question\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"auditLog\": {\n    \"totalQueriesSent\": number,\n    \"totalPapersReceived\": number,\n    \"totalPapersCited\": number,\n    \"toolConstraints\": \"string\",\n    \"searchDetails\": [\n      {\n        \"section\": \"string\",\n        \"query\": \"string\",\n        \"papersReturned\": number,\n        \"papersSelected\": number,\n        \"status\": \"string\"\n      }\n    ],\n    \"failures\": []\n  }\n}\n```\n\nThe script handles:\n- `docx` package require with multi-location fallback\n- Title page, intro with Consensus link, learning outcomes box, numbered papers per section\n- `ExternalHyperlink` with full Consensus URLs (never truncated)\n- `LevelFormat.BULLET` for lists (not unicode bullets)\n- Footer with generation metadata\n- Input validation (missing fields → graceful error)\n\nSee [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) for why bundled vs inline.\n\n## Phase 6: Deliver\n\n- File path\n- Audit summary in chat: \"Saved {file}. {N} sections × {M} papers \u002F {K} cited. Plan tier: {tier}.\"\n- Validate: check zip integrity with `python3 -c \"import zipfile,sys; zipfile.ZipFile(sys.argv[1]).testzip()\" \u003Cdocx>` (no output = intact), then confirm the required sections are present\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Fcitation_tracker.py` | Consensus three-count audit + 1s sequential discipline at `~\u002F.syllabus_sessions\u002F\u003Csession>.json` |\n| `scripts\u002Ftopic_grouper.py` | Heuristic 6-12 section grouping from extracted topics |\n| `scripts\u002Fdiscussion_question_validator.py` | Bloom higher-order quality check; flags recall-only questions |\n| `scripts\u002Fgenerate_reading_list.js` | **Bundled Node.js DOCX generator** — JSON input → .docx output |\n\n## References\n\n- [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) — search-quality canon (7+ sources)\n- [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) — undergrad vs grad summary jargon (7+ sources)\n- [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) — why bundle vs inline (7+ sources)\n\n## Error Handling\n\n| Failure | Behavior |\n|---|---|\n| Consensus rate-limit hit | Wait 3s, retry once, log |\n| Search returns 0 for a section | Note section as \"limited results — consider manual supplementation\" |\n| 3 consecutive failures | Stop, alert user, share collected so far |\n| `docx` package not installed | Script attempts `npm install`; if still failing, fail with clear message |\n| DOCX validation fails | Unpack XML, log issue, ask user to retry |\n| Syllabus format unsupported | List supported formats, ask user to convert |\n| Learning outcomes can't be extracted | Infer 3-5 from course description; mark as inferred in document |\n\n## Anti-Patterns To Reject\n\n- Parallelizing Consensus calls (rate limit)\n- Searching topics without applied-domain angle (poor relevance)\n- Padding sections with fabricated entries when Consensus returns thin\n- Generic discussion questions (\"What did the authors find?\")\n- Jargon-heavy summaries unsuitable for the course's audience level\n- Skipping the group-and-confirm step (wastes searches)\n- Truncating Consensus URLs in hyperlinks\n- Inlining 300 lines of docx-generation JavaScript in the skill body (use bundled script)\n\n---\n\n**Version:** 1.0.0\n**Source spec:** [`megaprompts\u002F10-syllabus-megaprompt.md`](..\u002F..\u002F..\u002F..\u002Fmegaprompts\u002F10-syllabus-megaprompt.md)\n**Build pattern:** Path B (direct conversion). Bundled-JS-DOCX-generator variant.\n","# Syllabus — Course Supplementary Reading List\n\n> **Portability:** Requires a Consensus MCP connection, Node.js with `docx` package, and file reading capability for the syllabus. Works in Claude Code CLI natively. In Claude.ai with Consensus MCP + Code Execution + file upload, the workflow is supported.\n\nFor an instructor or student with a course syllabus, produce a professional supplementary reading list as `.docx` containing recent peer-reviewed papers per course section.\n\n## Architectural Pattern: Bundled Script\n\nThis skill uses a **bundled JavaScript helper script** for DOCX generation rather than inlining the 300+ lines of layout code:\n\n- DOCX generation logic is reusable + complex\n- Better separation of concerns: skill = orchestration + intelligence; script = mechanical document assembly\n- Token-efficient: skill doesn't re-derive layout each run\n- Easier to maintain and version\n\nThe bundled script is at `scripts\u002Fgenerate_reading_list.js`. The skill orchestrates the pipeline + invokes the script with JSON input.\n\n## Agent Integrity Rules (Research-Pack Convention)\n\nLocked verbatim per PR #657 audit.\n\n- **Only use what Consensus returns.** Every paper title, author, journal, year, URL must come from this session's tool calls. Training-knowledge papers labeled `[Not from Consensus — model knowledge]` and excluded.\n- **Confirm before moving on.** A search isn't complete until response received and inspected.\n- **Track three counts.** Queries sent \u002F papers received \u002F papers cited. Surface in audit summary.\n- **Surface gaps, don't fill them.** Section with one paper + note about limited results > section padded with fabrications.\n\n## Phase 0: Grill-Me Intake (3 forcing questions)\n\n### Q1 (root) — Syllabus input\n\n> **Provide the syllabus — pick one:**\n>\n> 1. File path (PDF, DOCX, text) — I'll read it\n> 2. Pasted content — paste below\n> 3. Image of a printed syllabus — attach the image\n>\n> *Why I'm asking:* Each format needs a different reader (PDF \u002F DOCX parser \u002F vision). Picking upfront prevents wasted attempts.\n\nForcing choice. Refuse to start without a syllabus.\n\n### Q2 (depends on Q1) — Course audience\n\n> **Course audience — pick one:**\n>\n> 1. Undergraduate (intro level)\n> 2. Undergraduate (advanced \u002F upper division)\n> 3. Graduate (Masters \u002F early PhD)\n> 4. Graduate (doctoral \u002F advanced)\n> 5. Professional \u002F continuing education\n> 6. Mixed\n>\n> *Why I'm asking:* Audience dictates summary jargon level and discussion-question complexity. Undergrad summaries define every term; grad summaries assume technical fluency. Discussion questions for undergrads test analysis; for grads test critique and extension.\n\nSee [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) for the canon.\n\n### Q3 (depends on Q1) — Year range\n\n> **Year range for papers — pick one:**\n>\n> 1. Last 1 year (most recent only)\n> 2. Last 2 years (default — recent + a year of context)\n> 3. Last 5 years (broader, includes foundational recent work)\n>\n> *Why I'm asking:* Reading lists go stale fast. 1-year filters keep things fresh; 5-year filters surface foundational recent work that's already standard. Drives the year_min parameter on every Consensus search.\n\nForcing choice with default (last 2 years).\n\n**Stop condition:** 3 questions max before Phase 1. The post-Phase-2 group-and-confirm checkpoint is its own grill-me moment.\n\n## Phase 1: Parse the Syllabus\n\nPer Q1 input format:\n\n- **PDF**: use PDF reader; extract text\n- **DOCX**: use pandoc or DOCX parser; extract text\n- **Text\u002Fpasted**: read directly\n- **Image**: use vision; extract text\n\nFrom extracted text:\n1. Course title + instructor + term\n2. Topic list (lecture titles, week-by-week breakdown, etc.)\n3. Learning outcomes (if explicit; if missing, infer 3-5 from description)\n\nMark inferred learning outcomes as `[inferred]` in the DOCX.\n\n## Phase 2: Group Topics + Confirm with User\n\n### Group via topic_grouper.py\n\nUse `scripts\u002Ftopic_grouper.py` to cluster related topics into 6-12 sections. Heuristic: closely-related topics merge; cross-cutting topics get their own section.\n\n### Group-and-Confirm Checkpoint (Forcing Options)\n\nAfter grouping, present:\n\n> **Proposed sections: [list with item counts]. Pick one:**\n>\n> 1. \"Looks good — proceed with these sections\"\n> 2. \"Merge sections [X] and [Y]\"\n> 3. \"Split section [X] into two\"\n> 4. \"Add a section for [topic]\"\n> 5. \"Remove section [X]\"\n>\n> *Why I'm asking:* Grouping drives search allocation. Wrong grouping wastes the search budget on bad clusters. This is the **last cheap moment** to correct course before searches consume Consensus calls.\n\n**Refuse to start Phase 3 without explicit user choice.**\n\n## Phase 3: Search Consensus per Section\n\nSequential, 1 q\u002Fsec. 1-2 queries per section.\n\n### Applied-Domain Weaving (Critical)\n\nDon't just search the topic — **search the topic + applied domain**:\n\n| ❌ Generic | ✅ Applied-domain |\n|---|---|\n| \"enzyme kinetics\" | \"enzyme kinetics food processing applications\" |\n| \"machine learning\" | \"machine learning clinical decision support\" |\n| \"thermodynamics\" | \"thermodynamics renewable energy systems\" |\n| \"social network analysis\" | \"social network analysis public health interventions\" |\n\nBoosts paper relevance dramatically. See [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) for the canon.\n\n### Per-Section Pattern\n\n```\nFor each section:\n  1. Construct query: \"{topic-keywords} {applied-domain-angle}\" + year_min from Q3\n  2. Submit to Consensus (sequential, 1 q\u002Fsec gap enforced by citation_tracker)\n  3. Receive results\n  4. (If thin) submit one fallback query without applied-domain angle\n  5. Select 1-3 papers per section (15-25 total across all sections)\n```\n\n### Selection Priorities\n\n1. **Relevance** — paper directly addresses the section topic\n2. **Reviews \u002F meta-analyses** — synthesize the field\n3. **Citation count** — established work\n4. **Applied-domain connection** — tied to the course's domain (e.g., engineering vs theory)\n\n## Phase 4: Write Summaries + Discussion Questions\n\n### Summary writing\n\nPer paper:\n- Plain language (calibrated to audience from Q2)\n- 2-3 sentences\n- Define jargon if undergraduate audience; assume fluency if graduate\n\n### Quality bars\n\n| ✅ Good summary | ❌ Bad summary |\n|---|---|\n| \"This review maps how different diets — Mediterranean, Nordic, vegetarian — reshape the types of fat molecules circulating in your blood, with implications for heart disease risk.\" | \"This paper reviews lipidomic profiles across dietary interventions and their cardiometabolic implications.\" |\n\n### Discussion question writing\n\nPer paper:\n- Bloom **higher-order** (apply \u002F analyze \u002F evaluate)\n- Tied to a specific course learning outcome\n- Promotes discussion, not just recall\n\n| ✅ Good question | ❌ Bad question |\n|---|---|\n| \"If dietary fat quality can reshape your lipoprotein lipidome, what does this suggest about the biochemical basis for dietary guidelines recommending unsaturated over saturated fats?\" | \"What did the authors find?\" (Just recall) |\n\nUse `scripts\u002Fdiscussion_question_validator.py` to flag recall-only questions.\n\n## Phase 5: Generate .docx via Bundled Script\n\n```bash\nnode scripts\u002Fgenerate_reading_list.js \\\n  --input \u002Ftmp\u002Fsyllabus_data.json \\\n  --output \u002Fpath\u002Fto\u002Freading_list_\u003Ccourse>_\u003Cdate>.docx\n```\n\nThe script accepts JSON with this schema:\n\n```json\n{\n  \"courseTitle\": \"string\",\n  \"courseSubtitle\": \"string\",\n  \"generatedDate\": \"string\",\n  \"yearRange\": \"string\",\n  \"introText\": \"string\",\n  \"learningOutcomes\": [\"string\", ...],\n  \"sections\": [\n    {\n      \"heading\": \"string\",\n      \"papers\": [\n        {\n          \"title\": \"string\",\n          \"authors\": \"string\",\n          \"journal\": \"string\",\n          \"year\": number,\n          \"url\": \"string\",\n          \"summary\": \"string\",\n          \"question\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"auditLog\": {\n    \"totalQueriesSent\": number,\n    \"totalPapersReceived\": number,\n    \"totalPapersCited\": number,\n    \"toolConstraints\": \"string\",\n    \"searchDetails\": [\n      {\n        \"section\": \"string\",\n        \"query\": \"string\",\n        \"papersReturned\": number,\n        \"papersSelected\": number,\n        \"status\": \"string\"\n      }\n    ],\n    \"failures\": []\n  }\n}\n```\n\nThe script handles:\n- `docx` package require with multi-location fallback\n- Title page, intro with Consensus link, learning outcomes box, numbered papers per section\n- `ExternalHyperlink` with full Consensus URLs (never truncated)\n- `LevelFormat.BULLET` for lists (not unicode bullets)\n- Footer with generation metadata\n- Input validation (missing fields → graceful error)\n\nSee [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) for why bundled vs inline.\n\n## Phase 6: Deliver\n\n- File path\n- Audit summary in chat: \"Saved {file}. {N} sections × {M} papers \u002F {K} cited. Plan tier: {tier}.\"\n- Validate: check zip integrity with `python3 -c \"import zipfile,sys; zipfile.ZipFile(sys.argv[1]).testzip()\" \u003Cdocx>` (no output = intact), then confirm the required sections are present\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Fcitation_tracker.py` | Consensus three-count audit + 1s sequential discipline at `~\u002F.syllabus_sessions\u002F\u003Csession>.json` |\n| `scripts\u002Ftopic_grouper.py` | Heuristic 6-12 section grouping from extracted topics |\n| `scripts\u002Fdiscussion_question_validator.py` | Bloom higher-order quality check; flags recall-only questions |\n| `scripts\u002Fgenerate_reading_list.js` | **Bundled Node.js DOCX generator** — JSON input → .docx output |\n\n## References\n\n- [`references\u002Fapplied_domain_weaving.md`](references\u002Fapplied_domain_weaving.md) — search-quality canon (7+ sources)\n- [`references\u002Faudience_calibration.md`](references\u002Faudience_calibration.md) — undergrad vs grad summary jargon (7+ sources)\n- [`references\u002Fbundled_script_pattern.md`](references\u002Fbundled_script_pattern.md) — why bundle vs inline (7+ sources)\n\n## Error Handling\n\n| Failure | Behavior |\n|---|---|\n| Consensus rate-limit hit | Wait 3s, retry once, log |\n| Search returns 0 for a section | Note section as \"limited results — consider manual supplementation\" |\n| 3 consecutive failures | Stop, alert user, share collected so far |\n| `docx` package not installed | Script attempts `npm install`; if still failing, fail with clear message |\n| DOCX validation fails | Unpack XML, log issue, ask user to retry |\n| Syllabus format unsupported | List supported formats, ask user to convert |\n| Learning outcomes can't be extracted | Infer 3-5 from course description; mark as inferred in document |\n\n## Anti-Patterns To Reject\n\n- Parallelizing Consensus calls (rate limit)\n- Searching topics without applied-domain angle (poor relevance)\n- Padding sections with fabricated entries when Consensus returns thin\n- Generic discussion questions (\"What did the authors find?\")\n- Jargon-heavy summaries unsuitable for the course's audience level\n- Skipping the group-and-confirm step (wastes searches)\n- Truncating Consensus URLs in hyperlinks\n- Inlining 300 lines of docx-generation JavaScript in the skill body (use bundled script)\n\n---\n\n**Version:** 1.0.0\n**Source spec:** [`megaprompts\u002F10-syllabus-megaprompt.md`](..\u002F..\u002F..\u002F..\u002Fmegaprompts\u002F10-syllabus-megaprompt.md)\n**Build pattern:** Path B (direct conversion). Bundled-JS-DOCX-generator variant.\n",{"name":5,"license":15,"metadata":24,"description":7},{"version":25,"source_spec":26,"build_pattern":27,"research_pack_convention":28},"1.0.0","megaprompts\u002F10-syllabus-megaprompt.md","Path B (direct conversion)","Agent Integrity Rules verbatim per PR #657 audit; bundled-JS-DOCX-generator variant","main","57e7aa6b6e03bce1a7d7862ba9c2ec312f7f19b5","src\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus",0,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee","https:\u002F\u002Fwithcyril.me\u002F","Hi, I’m Julian Cyril D, a Computer Science and Business Systems student at PSNACET.\r\nI’m passionate about full-stack development, UI\u002FUX design, and building sma","2026-11-04 23:28:50",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Cyrilthetecchieee\u002Fcyril-code- --skill syllabus",{"tool":44,"command":45},"bunx","bunx skills add Cyrilthetecchieee\u002Fcyril-code- --skill syllabus",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Cyrilthetecchieee\u002Fcyril-code- --skill syllabus","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",true,[52,58,62,66,72,76,80],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fapplied_domain_weaving.md","REFERENCE","参考文档",8232,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Freferences\u002Fapplied_domain_weaving.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Faudience_calibration.md",10240,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Freferences\u002Faudience_calibration.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fbundled_script_pattern.md",7280,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Freferences\u002Fbundled_script_pattern.md",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fcitation_tracker.py.txt","SCRIPT","脚本",8343,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Fcitation_tracker.py.txt",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fdiscussion_question_validator.py.txt",8866,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Fdiscussion_question_validator.py.txt",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fgenerate_reading_list.js",13810,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Fgenerate_reading_list.js",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Ftopic_grouper.py.txt",7125,"https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002Fscripts\u002Ftopic_grouper.py.txt",[85,94,101,109,116,123],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7AQV6CYX8RMC78420V9WZ62","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7AQV2895N3S1MEX6K76G6G2","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fvideo-downloader\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7AQTRNX62DNKVZ5GXEHRBKB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7AQTNNVHAAN9H6DA8T6ZVE0","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7AQTJ3MQ6AKX152MEX2MYCC","tailored-resume-generator","Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Ftailored-resume-generator\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7AQTD7D5MYET2YWG7HG9WM3","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCyrilthetecchieee\u002Fcyril-code-\u002Fblob\u002Fmain\u002Fsrc\u002Fcyril_code\u002Fassets\u002F.skills_repo\u002Fslack-gif-creator\u002FSKILL.md",[],[]]