[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1Y70N1FPTMBFZN9K8ZSSV":3,"skill-same:01M6F1Y70N1FPTMBFZN9K8ZSSV":56},{"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":23,"publishedAt":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6F1Y70N1FPTMBFZN9K8ZSSV","slides.update_from_source",null,"Update slides to match changes in the source slides they cite","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6F1K6CCKKF8YKTBN4ZV509G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fslides.update_from_source\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿","SCENARIO","使用场景",[24,25,26,27],"update","slides","slides update from source","match","2026-11-10 10:12:30",false,"---\ndescription: Update slides to match changes in the source slides they cite\nmodel: sonnet\n---\n\n# Goal\n- Given a slides file `\u003CTARGET>` (`.smd`) whose slides cite their source slides\n  with `\u002F\u002F From: \u003CSOURCE>:\u003CLINE> '\u003Csource line>'` comments, find what changed in\n  each `\u003CSOURCE>` and incorporate it into the citing slide of `\u003CTARGET>`\n\n- Optionally the user passes a scope (a slide title or a line range in\n  `\u003CTARGET>`): process only the slides in that scope\n\n# Workflow\n- Read the conventions in `.claude\u002Fskills\u002Fslides.rules.md`, especially\n  `## Source Attribution (`\u002F\u002F From: ...`)`\n\n## List the Citations\n- Extract every `\u002F\u002F From:` line of `\u003CTARGET>` with its line number\n  ```bash\n  > grep -n \"^\u002F\u002F From:\" \u003CTARGET>\n  ```\n- Attach each citation to the slide it sits under, i.e., the nearest preceding\n  `* \u003Cslide title>` line\n- Skip a bare `\u002F\u002F From: ...` (nothing after the colon): it marks a slide with no\n  identified source. Do not guess a source and do not drop the line\n- Group the citations by `\u003CSOURCE>` file, so each `\u003CSOURCE>` is read once\n\n## Resolve Each Source Slide\n- Check that `\u003CSOURCE>` exists. If it does not exist, report it and go to the\n  next citation\n- Find the current position of the cited line in `\u003CSOURCE>`\n  - Search for the verbatim `'\u003Csource line>'` text (including its leading\n    `* `, `#`, `## `, `### ` marker), since `\u003CLINE>` drifts whenever `\u003CSOURCE>` is\n    edited above it\n    ```bash\n    > grep -nF -- '\u003Csource line>' \u003CSOURCE>\n    ```\n  - If several lines match, pick the one closest to the recorded `\u003CLINE>`\n  - If nothing matches, the source slide was renamed, moved, or deleted\n    - Search for the title text without its marker, and for a close variant\n    - If a single clear candidate exists, use it and record the new text in the\n      `\u002F\u002F From:` line\n    - If no candidate exists, report it as \"source missing\", leave the slide and\n      its `\u002F\u002F From:` line unchanged, and go to the next citation\n- Extract the source content\n  - For a `* \u003Cslide title>` line: the lines up to the next `* ` slide or `#`\n    header line\n  - For a `#`, `##`, `###` header line: the lines up to the next header of the\n    same or higher level. Only the part that matches the topic of the citing\n    slide is relevant\n  - For a `- [P\u003CNNN>]` or `- [B\u003CNNN>]` entry in `related_papers.md` or\n    `related_books.md`: the entry itself. Compare only its text (authors,\n    title, year, link) with the reference used in the slide\n\n## Find What Changed\n- The optional `\u003CBASE>` (a Git hash) is the version of `\u003CSOURCE>` the slide was\n  last synced with\n  - If the user passes it, use it\n  - Otherwise use the last commit that touched `\u003CTARGET>`:\n    ```bash\n    > git log -1 --format=%H -- \u003CTARGET>\n    ```\n- Get the diff of `\u003CSOURCE>` once per file, not once per slide:\n  ```bash\n  > git diff \u003CBASE> -- \u003CSOURCE>\n  ```\n  - Use the diff as a hint to find the changed slides fast\n  - Always compare the current source text with the citing slide text too,\n    because a slide may have been synced from an older version than `\u003CBASE>`\n- Compare the source content with the citing slide and classify each difference\n  - **Substantive** (incorporate it)\n    - A new or changed definition, claim, number, equation, or example\n    - A new bullet that adds an idea absent from the slide\n    - A retracted or corrected fact\n    - A changed `graphviz`, `mermaid`, `tikz` code block or image link\n  - **Cosmetic** (ignore it)\n    - Rewording, reordering, or formatting that the slide already adapted\n    - Tag, bold, or punctuation changes that only follow `slides.rules.md`\n\n## Incorporate Changes\n- Edit the citing slide of `\u003CTARGET>` to reflect every substantive change\n- Keep the slide as an adaptation, not a copy\n  - Keep the slide title, the structure, and the wording that the author already\n    adapted\n  - Rename the slide only if the change renames the concept\n  - Do not paste the source text over the slide\n- When a slide cites several sources, reconcile each `\u002F\u002F From:` line in turn\n  - Keep the content that comes from the other sources\n  - Remove content only if its own source dropped or retracted it\n- Do not delete slide content only because the source no longer has a\n  counterpart: the slide may combine several sources or add material of its own.\n  Remove content only when the diff shows that the fact or example was changed or\n  retracted, not merely moved\n- Write the new text following `.claude\u002Fskills\u002Fslides.rules.md`\n  - E.g., semantic tags, 80 columns, no back-reference to other lessons, no\n    dashes as punctuation\n- If a change cannot be applied without a decision from the user (e.g., the source\n  restructured one slide into three), do not guess: leave the slide unchanged\n  and report the question\n\n## Update the `\u002F\u002F From:` Lines\n- Rewrite each resolved `\u002F\u002F From:` line to the current position and text of its\n  source line\n  ```text\n  \u002F\u002F From: \u003CSOURCE>:\u003CNEW_LINE> '\u003CNEW_SOURCE_LINE>'\n  ```\n  - `\u003CNEW_LINE>` is the current line number of the source line in `\u003CSOURCE>`\n  - `\u003CNEW_SOURCE_LINE>` is that line verbatim, including its leading marker\n- Do this for every resolved citation, including the ones with no content change,\n  since an edit above the source slide shifts its line number\n- Do not touch a bare `\u002F\u002F From: ...` line or a source-missing citation\n- Keep one `\u002F\u002F From:` line per source, stacked directly under the slide title, in\n  the original order\n\n## Report\n- Print one line per citation with one status\n  - `updated`: content changed, with a short list of what changed\n  - `unchanged`: content in sync (line number possibly refreshed)\n  - `source missing`: the source file or slide was not found\n  - `needs decision`: a change that needs the user\n- Do not commit. The user reviews the diff of `\u003CTARGET>` first\n\n# Conventions\n- Follow the slide conventions in `.claude\u002Fskills\u002Fslides.rules.md`\n- The related skill `.claude\u002Fskills\u002Fbook.update_from_source\u002FSKILL.md` does the same\n  synchronization for a book chapter (`.typ`, `.tex`, `.md`) instead of `.smd`\n  slides\n\n# Constraints\n- Never modify `\u003CSOURCE>`\n- Never change a slide that has no `\u002F\u002F From:` line or only a bare `\u002F\u002F From: ...`\n- Never invent a source, a line number, or a source line text: copy them from\n  `\u003CSOURCE>`\n- Never commit\n\n# Verification\n- [ ] Every non-bare `\u002F\u002F From: \u003CSOURCE>:\u003CLINE> '\u003Csource line>'` in `\u003CTARGET>`\n  points at a line that exists in `\u003CSOURCE>`, and that line matches the quoted text\n  ```bash\n  > sed -n '\u003CLINE>p' \u003CSOURCE>\n  ```\n- [ ] Every substantive change found in the diff of `\u003CSOURCE>` is reflected in the\n  citing slide, or listed as `needs decision` in the report\n- [ ] No slide lost content that its source still supports\n- [ ] The edited slides still follow `.claude\u002Fskills\u002Fslides.rules.md`\n  - For a full check, run `.claude\u002Fskills\u002Fslides.lint\u002FSKILL.md` on `\u003CTARGET>`\n- [ ] `git diff \u003CTARGET>` shows only the intended slide and `\u002F\u002F From:` changes\n","# Goal\n- Given a slides file `\u003CTARGET>` (`.smd`) whose slides cite their source slides\n  with `\u002F\u002F From: \u003CSOURCE>:\u003CLINE> '\u003Csource line>'` comments, find what changed in\n  each `\u003CSOURCE>` and incorporate it into the citing slide of `\u003CTARGET>`\n\n- Optionally the user passes a scope (a slide title or a line range in\n  `\u003CTARGET>`): process only the slides in that scope\n\n# Workflow\n- Read the conventions in `.claude\u002Fskills\u002Fslides.rules.md`, especially\n  `## Source Attribution (`\u002F\u002F From: ...`)`\n\n## List the Citations\n- Extract every `\u002F\u002F From:` line of `\u003CTARGET>` with its line number\n  ```bash\n  > grep -n \"^\u002F\u002F From:\" \u003CTARGET>\n  ```\n- Attach each citation to the slide it sits under, i.e., the nearest preceding\n  `* \u003Cslide title>` line\n- Skip a bare `\u002F\u002F From: ...` (nothing after the colon): it marks a slide with no\n  identified source. Do not guess a source and do not drop the line\n- Group the citations by `\u003CSOURCE>` file, so each `\u003CSOURCE>` is read once\n\n## Resolve Each Source Slide\n- Check that `\u003CSOURCE>` exists. If it does not exist, report it and go to the\n  next citation\n- Find the current position of the cited line in `\u003CSOURCE>`\n  - Search for the verbatim `'\u003Csource line>'` text (including its leading\n    `* `, `#`, `## `, `### ` marker), since `\u003CLINE>` drifts whenever `\u003CSOURCE>` is\n    edited above it\n    ```bash\n    > grep -nF -- '\u003Csource line>' \u003CSOURCE>\n    ```\n  - If several lines match, pick the one closest to the recorded `\u003CLINE>`\n  - If nothing matches, the source slide was renamed, moved, or deleted\n    - Search for the title text without its marker, and for a close variant\n    - If a single clear candidate exists, use it and record the new text in the\n      `\u002F\u002F From:` line\n    - If no candidate exists, report it as \"source missing\", leave the slide and\n      its `\u002F\u002F From:` line unchanged, and go to the next citation\n- Extract the source content\n  - For a `* \u003Cslide title>` line: the lines up to the next `* ` slide or `#`\n    header line\n  - For a `#`, `##`, `###` header line: the lines up to the next header of the\n    same or higher level. Only the part that matches the topic of the citing\n    slide is relevant\n  - For a `- [P\u003CNNN>]` or `- [B\u003CNNN>]` entry in `related_papers.md` or\n    `related_books.md`: the entry itself. Compare only its text (authors,\n    title, year, link) with the reference used in the slide\n\n## Find What Changed\n- The optional `\u003CBASE>` (a Git hash) is the version of `\u003CSOURCE>` the slide was\n  last synced with\n  - If the user passes it, use it\n  - Otherwise use the last commit that touched `\u003CTARGET>`:\n    ```bash\n    > git log -1 --format=%H -- \u003CTARGET>\n    ```\n- Get the diff of `\u003CSOURCE>` once per file, not once per slide:\n  ```bash\n  > git diff \u003CBASE> -- \u003CSOURCE>\n  ```\n  - Use the diff as a hint to find the changed slides fast\n  - Always compare the current source text with the citing slide text too,\n    because a slide may have been synced from an older version than `\u003CBASE>`\n- Compare the source content with the citing slide and classify each difference\n  - **Substantive** (incorporate it)\n    - A new or changed definition, claim, number, equation, or example\n    - A new bullet that adds an idea absent from the slide\n    - A retracted or corrected fact\n    - A changed `graphviz`, `mermaid`, `tikz` code block or image link\n  - **Cosmetic** (ignore it)\n    - Rewording, reordering, or formatting that the slide already adapted\n    - Tag, bold, or punctuation changes that only follow `slides.rules.md`\n\n## Incorporate Changes\n- Edit the citing slide of `\u003CTARGET>` to reflect every substantive change\n- Keep the slide as an adaptation, not a copy\n  - Keep the slide title, the structure, and the wording that the author already\n    adapted\n  - Rename the slide only if the change renames the concept\n  - Do not paste the source text over the slide\n- When a slide cites several sources, reconcile each `\u002F\u002F From:` line in turn\n  - Keep the content that comes from the other sources\n  - Remove content only if its own source dropped or retracted it\n- Do not delete slide content only because the source no longer has a\n  counterpart: the slide may combine several sources or add material of its own.\n  Remove content only when the diff shows that the fact or example was changed or\n  retracted, not merely moved\n- Write the new text following `.claude\u002Fskills\u002Fslides.rules.md`\n  - E.g., semantic tags, 80 columns, no back-reference to other lessons, no\n    dashes as punctuation\n- If a change cannot be applied without a decision from the user (e.g., the source\n  restructured one slide into three), do not guess: leave the slide unchanged\n  and report the question\n\n## Update the `\u002F\u002F From:` Lines\n- Rewrite each resolved `\u002F\u002F From:` line to the current position and text of its\n  source line\n  ```text\n  \u002F\u002F From: \u003CSOURCE>:\u003CNEW_LINE> '\u003CNEW_SOURCE_LINE>'\n  ```\n  - `\u003CNEW_LINE>` is the current line number of the source line in `\u003CSOURCE>`\n  - `\u003CNEW_SOURCE_LINE>` is that line verbatim, including its leading marker\n- Do this for every resolved citation, including the ones with no content change,\n  since an edit above the source slide shifts its line number\n- Do not touch a bare `\u002F\u002F From: ...` line or a source-missing citation\n- Keep one `\u002F\u002F From:` line per source, stacked directly under the slide title, in\n  the original order\n\n## Report\n- Print one line per citation with one status\n  - `updated`: content changed, with a short list of what changed\n  - `unchanged`: content in sync (line number possibly refreshed)\n  - `source missing`: the source file or slide was not found\n  - `needs decision`: a change that needs the user\n- Do not commit. The user reviews the diff of `\u003CTARGET>` first\n\n# Conventions\n- Follow the slide conventions in `.claude\u002Fskills\u002Fslides.rules.md`\n- The related skill `.claude\u002Fskills\u002Fbook.update_from_source\u002FSKILL.md` does the same\n  synchronization for a book chapter (`.typ`, `.tex`, `.md`) instead of `.smd`\n  slides\n\n# Constraints\n- Never modify `\u003CSOURCE>`\n- Never change a slide that has no `\u002F\u002F From:` line or only a bare `\u002F\u002F From: ...`\n- Never invent a source, a line number, or a source line text: copy them from\n  `\u003CSOURCE>`\n- Never commit\n\n# Verification\n- [ ] Every non-bare `\u002F\u002F From: \u003CSOURCE>:\u003CLINE> '\u003Csource line>'` in `\u003CTARGET>`\n  points at a line that exists in `\u003CSOURCE>`, and that line matches the quoted text\n  ```bash\n  > sed -n '\u003CLINE>p' \u003CSOURCE>\n  ```\n- [ ] Every substantive change found in the diff of `\u003CSOURCE>` is reflected in the\n  citing slide, or listed as `needs decision` in the report\n- [ ] No slide lost content that its source still supports\n- [ ] The edited slides still follow `.claude\u002Fskills\u002Fslides.rules.md`\n  - For a full check, run `.claude\u002Fskills\u002Fslides.lint\u002FSKILL.md` on `\u003CTARGET>`\n- [ ] `git diff \u003CTARGET>` shows only the intended slide and `\u002F\u002F From:` changes\n",{"model":33,"description":7},"sonnet","master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Fslides.update_from_source",1,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify-ai.github.io\u002Fhelpers\u002F","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 21:54:29",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add causify-ai\u002Fhelpers --skill slides.update_from_source",{"tool":48,"command":49},"bunx","bunx skills add causify-ai\u002Fhelpers --skill slides.update_from_source",{"tool":51,"command":52},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill slides.update_from_source","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fslides.update_from_source\u002FSKILL.md",true,[],[57,76,94,106,115,129],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":66,"publishedAt":28},"01M6F209RASRBEK7GBNG5M00K0","tutorial_in_60_mins.propagate_docker_changes","Sync tutorial and class-project Docker files to match project_template","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[63],{"categoryNo":64,"categoryName":65,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",[67,68,69,70,71,72,73,74,75,27],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","haiku","files","project",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":85,"publishedAt":28},"01M6F207XZ5YDAJ0KNDRE6EN0R","tutorial_in_60_mins.merge_markdown","Merge the content of a markdown file into a Jupyter notebook","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[82],{"categoryNo":83,"categoryName":84,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",[86,87,68,88,89,90,73,91,92,93],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"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":28},"01M6F2059X95Q1A13HD67E9JRF","tutorial_in_60_mins.format","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[],[101,68,102,103,104,73,105],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":28},"01M6F202MDHMNYD5S1YHG2PKZD","tutorial_in_60_mins.create","Create a tutorial directory for the Learn X in 60 Minutes conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[],[113,68,114,104,103,105],"tutorial in 60 mins create","create",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":28},"01M6F2004BW13GQ59N3RGSAYVN","todo.reorg_in_progress","Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_in_progress\u002FSKILL.md",[],[122,123,124,125,126,127,128],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":28},"01M6F1ZXN0G6HBD08GT8HE5FYA","todo.reorg_headers","Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_headers\u002FSKILL.md",[],[136,123,126,127,128],"todo reorg headers"]