[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69A0DCQ3J6KD9JJYB62V76Z":3,"skill-same:01M69A0DCQ3J6KD9JJYB62V76Z":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":7,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M69A0DCQ3J6KD9JJYB62V76Z","jupyter-notebook","Jupyter 笔记本创建与编辑","在用户请求为实验、探索或教程创建、搭建或编辑 Jupyter 笔记本（`.ipynb`）时使用；优先使用捆绑的模板并运行辅助脚本 `new_notebook.py` 来生成一个干净的起始笔记本。","microsoft\u002Fai-agents-for-beginners","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998ZK2275KMJE6Y5SEA2X2",79626,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告","SCENARIO","使用场景",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师","PROFESSION","适用职业",[30],"jupyter notebook","2026-11-10 10:12:30",false,"---\nname: jupyter-notebook\ndescription: 在用户请求为实验、探索或教程创建、搭建或编辑 Jupyter 笔记本（`.ipynb`）时使用；优先使用捆绑的模板并运行辅助脚本 `new_notebook.py`\n  来生成一个干净的起始笔记本。\n---\n# Jupyter Notebook 技能\n\n为两种主要模式创建简洁、可重现的 Jupyter 笔记本：\n\n- 实验与探索性分析\n- 教程与面向教学的分步演示\n\n优先使用捆绑的模板和辅助脚本，以获得一致的结构并减少 JSON 错误。\n\n## 何时使用\n- 从头创建一个新的 `.ipynb` 笔记本。\n- 将粗略的笔记或脚本转换为结构化的笔记本。\n- 重构现有笔记本，使其更可重现且更易浏览。\n- 构建将被他人阅读或重新运行的实验或教程。\n\n## 决策树\n- 如果请求是探索性的、分析性的或基于假设的，请选择 `experiment`。\n- 如果请求是教学性的、逐步的或针对特定受众的，请选择 `tutorial`。\n- 如果编辑现有笔记本，请将其视为重构：保留原意并改进结构。\n\n## 技能路径（设置一次）\n\n```bash\nexport CODEX_HOME=\"${CODEX_HOME:-$HOME\u002F.codex}\"\nexport JUPYTER_NOTEBOOK_CLI=\"$CODEX_HOME\u002Fskills\u002Fjupyter-notebook\u002Fscripts\u002Fnew_notebook.py\"\n```\n\nUser-scoped skills install under `$CODEX_HOME\u002Fskills` (default: `~\u002F.codex\u002Fskills`).\n\n## 工作流程\n1. 确定意图。\nIdentify the notebook kind: `experiment` or `tutorial`.\nCapture the objective, audience, and what \"done\" looks like.\n\n2. 从模板搭建脚手架。\nUse the helper script to avoid hand-authoring raw notebook JSON.\n\n```bash\nuv run --python 3.12 python \"$JUPYTER_NOTEBOOK_CLI\" \\\n  --kind experiment \\\n  --title \"Compare prompt variants\" \\\n  --out output\u002Fjupyter-notebook\u002Fcompare-prompt-variants.ipynb\n```\n\n```bash\nuv run --python 3.12 python \"$JUPYTER_NOTEBOOK_CLI\" \\\n  --kind tutorial \\\n  --title \"Intro to embeddings\" \\\n  --out output\u002Fjupyter-notebook\u002Fintro-to-embeddings.ipynb\n```\n\n3. 用小的、可运行的步骤填充笔记本。\nKeep each code cell focused on one step.\nAdd short markdown cells that explain the purpose and expected result.\nAvoid large, noisy outputs when a short summary works.\n\n4. 应用合适的模式。\nFor experiments, follow `references\u002Fexperiment-patterns.md`.\nFor tutorials, follow `references\u002Ftutorial-patterns.md`.\n\n5. 在处理现有笔记本时安全编辑。\nPreserve the notebook structure; avoid reordering cells unless it improves the top-to-bottom story.\nPrefer targeted edits over full rewrites.\nIf you must edit raw JSON, review `references\u002Fnotebook-structure.md` first.\n\n6. 验证结果。\nRun the notebook top-to-bottom when the environment allows.\nIf execution is not possible, say so explicitly and call out how to validate locally.\nUse the final pass checklist in `references\u002Fquality-checklist.md`.\n\n## 模板与辅助脚本\n- 模板位于 `assets\u002Fexperiment-template.ipynb` 和 `assets\u002Ftutorial-template.ipynb`。\n- 辅助脚本加载模板，更新标题单元格，并写出笔记本。\n\n脚本路径：\n- `$JUPYTER_NOTEBOOK_CLI` (安装默认: `$CODEX_HOME\u002Fskills\u002Fjupyter-notebook\u002Fscripts\u002Fnew_notebook.py`)\n\n## 临时与输出约定\n- 对于中间文件使用 `tmp\u002Fjupyter-notebook\u002F`；完成后删除。\n- 在此仓库中工作时，将最终产物写入 `output\u002Fjupyter-notebook\u002F`。\n- 使用稳定且描述性的文件名（例如，`ablation-temperature.ipynb`）。\n\n## 依赖项（仅在需要时安装）\nPrefer `uv` for dependency management.\n\nOptional Python packages for local notebook execution:\n\n```bash\nuv pip install jupyterlab ipykernel\n```\n\nThe bundled scaffold script uses only the Python standard library and does not require extra dependencies.\n\n## 环境\nNo required environment variables.\n\n## 参考映射\n- `references\u002Fexperiment-patterns.md`: 实验结构与启发式准则。\n- `references\u002Ftutorial-patterns.md`: 教程结构与教学流程。\n- `references\u002Fnotebook-structure.md`: 笔记本 JSON 结构与安全编辑规则。\n- `references\u002Fquality-checklist.md`: 最终验证检查清单。\n\n---\n\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER START -->\n免责声明：\n本文件已使用 AI 翻译服务 [Co-op Translator](https:\u002F\u002Fgithub.com\u002FAzure\u002Fco-op-translator) 进行翻译。虽然我们努力保证准确性，但自动翻译可能存在错误或不准确之处。应以原文（原始语言版本）为准。对于重要信息，建议采用专业人工翻译。由于使用本翻译而导致的任何误解或误释，我们概不负责。\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER END -->","# Jupyter Notebook 技能\n\n为两种主要模式创建简洁、可重现的 Jupyter 笔记本：\n\n- 实验与探索性分析\n- 教程与面向教学的分步演示\n\n优先使用捆绑的模板和辅助脚本，以获得一致的结构并减少 JSON 错误。\n\n## 何时使用\n- 从头创建一个新的 `.ipynb` 笔记本。\n- 将粗略的笔记或脚本转换为结构化的笔记本。\n- 重构现有笔记本，使其更可重现且更易浏览。\n- 构建将被他人阅读或重新运行的实验或教程。\n\n## 决策树\n- 如果请求是探索性的、分析性的或基于假设的，请选择 `experiment`。\n- 如果请求是教学性的、逐步的或针对特定受众的，请选择 `tutorial`。\n- 如果编辑现有笔记本，请将其视为重构：保留原意并改进结构。\n\n## 技能路径（设置一次）\n\n```bash\nexport CODEX_HOME=\"${CODEX_HOME:-$HOME\u002F.codex}\"\nexport JUPYTER_NOTEBOOK_CLI=\"$CODEX_HOME\u002Fskills\u002Fjupyter-notebook\u002Fscripts\u002Fnew_notebook.py\"\n```\n\nUser-scoped skills install under `$CODEX_HOME\u002Fskills` (default: `~\u002F.codex\u002Fskills`).\n\n## 工作流程\n1. 确定意图。\nIdentify the notebook kind: `experiment` or `tutorial`.\nCapture the objective, audience, and what \"done\" looks like.\n\n2. 从模板搭建脚手架。\nUse the helper script to avoid hand-authoring raw notebook JSON.\n\n```bash\nuv run --python 3.12 python \"$JUPYTER_NOTEBOOK_CLI\" \\\n  --kind experiment \\\n  --title \"Compare prompt variants\" \\\n  --out output\u002Fjupyter-notebook\u002Fcompare-prompt-variants.ipynb\n```\n\n```bash\nuv run --python 3.12 python \"$JUPYTER_NOTEBOOK_CLI\" \\\n  --kind tutorial \\\n  --title \"Intro to embeddings\" \\\n  --out output\u002Fjupyter-notebook\u002Fintro-to-embeddings.ipynb\n```\n\n3. 用小的、可运行的步骤填充笔记本。\nKeep each code cell focused on one step.\nAdd short markdown cells that explain the purpose and expected result.\nAvoid large, noisy outputs when a short summary works.\n\n4. 应用合适的模式。\nFor experiments, follow `references\u002Fexperiment-patterns.md`.\nFor tutorials, follow `references\u002Ftutorial-patterns.md`.\n\n5. 在处理现有笔记本时安全编辑。\nPreserve the notebook structure; avoid reordering cells unless it improves the top-to-bottom story.\nPrefer targeted edits over full rewrites.\nIf you must edit raw JSON, review `references\u002Fnotebook-structure.md` first.\n\n6. 验证结果。\nRun the notebook top-to-bottom when the environment allows.\nIf execution is not possible, say so explicitly and call out how to validate locally.\nUse the final pass checklist in `references\u002Fquality-checklist.md`.\n\n## 模板与辅助脚本\n- 模板位于 `assets\u002Fexperiment-template.ipynb` 和 `assets\u002Ftutorial-template.ipynb`。\n- 辅助脚本加载模板，更新标题单元格，并写出笔记本。\n\n脚本路径：\n- `$JUPYTER_NOTEBOOK_CLI` (安装默认: `$CODEX_HOME\u002Fskills\u002Fjupyter-notebook\u002Fscripts\u002Fnew_notebook.py`)\n\n## 临时与输出约定\n- 对于中间文件使用 `tmp\u002Fjupyter-notebook\u002F`；完成后删除。\n- 在此仓库中工作时，将最终产物写入 `output\u002Fjupyter-notebook\u002F`。\n- 使用稳定且描述性的文件名（例如，`ablation-temperature.ipynb`）。\n\n## 依赖项（仅在需要时安装）\nPrefer `uv` for dependency management.\n\nOptional Python packages for local notebook execution:\n\n```bash\nuv pip install jupyterlab ipykernel\n```\n\nThe bundled scaffold script uses only the Python standard library and does not require extra dependencies.\n\n## 环境\nNo required environment variables.\n\n## 参考映射\n- `references\u002Fexperiment-patterns.md`: 实验结构与启发式准则。\n- `references\u002Ftutorial-patterns.md`: 教程结构与教学流程。\n- `references\u002Fnotebook-structure.md`: 笔记本 JSON 结构与安全编辑规则。\n- `references\u002Fquality-checklist.md`: 最终验证检查清单。\n\n---\n\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER START -->\n免责声明：\n本文件已使用 AI 翻译服务 [Co-op Translator](https:\u002F\u002Fgithub.com\u002FAzure\u002Fco-op-translator) 进行翻译。虽然我们努力保证准确性，但自动翻译可能存在错误或不准确之处。应以原文（原始语言版本）为准。对于重要信息，建议采用专业人工翻译。由于使用本翻译而导致的任何误解或误释，我们概不负责。\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER END -->",{"name":5,"description":7},"main","f09e94ffe170f8af6d3db7c42987bbe4db227723","translations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook",26075,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners","https:\u002F\u002Faka.ms\u002Fai-agents-beginners","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-07 12:51:12",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add microsoft\u002Fai-agents-for-beginners --skill jupyter-notebook",{"tool":52,"command":53},"bunx","bunx skills add microsoft\u002Fai-agents-for-beginners --skill jupyter-notebook",{"tool":55,"command":56},"pnpm","pnpm dlx skills add microsoft\u002Fai-agents-for-beginners --skill jupyter-notebook","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002FSKILL.md",true,[60,66,70,76,80,84],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"assets\u002Fexperiment-template.ipynb","ASSET","资产文件",2817,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002Fassets\u002Fexperiment-template.ipynb",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"assets\u002Ftutorial-template.ipynb",2740,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002Fassets\u002Ftutorial-template.ipynb",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fexperiment-patterns.md","REFERENCE","参考文档",1171,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002Freferences\u002Fexperiment-patterns.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fnotebook-structure.md",1285,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002Freferences\u002Fnotebook-structure.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fquality-checklist.md",1121,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002Freferences\u002Fquality-checklist.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Ftutorial-patterns.md",1175,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-CN\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002Freferences\u002Ftutorial-patterns.md",[89,105,120,135,144,154],{"skillNo":90,"name":91,"nameZh":92,"description":16,"descriptionZh":93,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":94,"categories":95,"keywords":102,"publishedAt":31},"01M69A206TRZ8KK0CW0HYJF5V5","testing-course-samples","测试课程示例","","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Ftesting-course-samples\u002FSKILL.md",[96,99],{"categoryNo":97,"categoryName":98,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":100,"categoryName":101,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BSYDSNXQT2W2GMZGF0ZHH4","示例与演示技能",[103,104],"testing","testing course samples",{"skillNo":106,"name":107,"nameZh":108,"description":16,"descriptionZh":93,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":109,"categories":110,"keywords":117,"publishedAt":31},"01M69A1XRB2SFHYRMEH0K08EKZ","microsoft-docs","Microsoft 文档查询","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fmicrosoft-docs\u002FSKILL.md",[111,114],{"categoryNo":112,"categoryName":113,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":115,"categoryName":116,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",[118,9,119],"docs","microsoft docs",{"skillNo":121,"name":122,"nameZh":123,"description":16,"descriptionZh":93,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":124,"categories":125,"keywords":132,"publishedAt":31},"01M69A1VPZFJQ1HNGTZQ5P3WSC","local-ai-agents","本地 AI 智能体","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Flocal-ai-agents\u002FSKILL.md",[126,129],{"categoryNo":127,"categoryName":128,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":130,"categoryName":131,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[133,134],"ai agents","local ai agents",{"skillNo":136,"name":5,"nameZh":6,"description":137,"descriptionZh":138,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":139,"categories":140,"keywords":143,"publishedAt":31},"01M69A1S947N7MM6V9JF85S2E7","當使用者要求建立、搭建或編輯 Jupyter 筆記本（`.ipynb`）用於實驗、探索或教學時使用；優先使用隨附範本並執行輔助腳本 `new_notebook.py` 來產生一個乾淨的起始筆記本。","当用户要求创建、搭建或编辑 Jupyter 笔记本（`.ipynb`）用于实验、探索或教学时使用；优先使用随附模板并执行辅助脚本 `new_notebook.py` 来生成一个干净的起始笔记本。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002FSKILL.md",[141,142],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},[30],{"skillNo":145,"name":146,"nameZh":147,"description":16,"descriptionZh":93,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":148,"categories":149,"keywords":152,"publishedAt":31},"01M69A1Q8EXPWKZSQK69V6WF22","deploying-scalable-agents","可扩展智能体部署","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fdeploying-scalable-agents\u002FSKILL.md",[150,151],{"categoryNo":127,"categoryName":128,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":130,"categoryName":131,"taxonomyType":22,"taxonomyTypeDesc":23},[153],"deploying scalable agents",{"skillNo":155,"name":156,"nameZh":157,"description":16,"descriptionZh":93,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":158,"categories":159,"keywords":164,"publishedAt":31},"01M69A1MHZTH3RH9N8VYSYG74X","azure-openai-to-responses","Azure OpenAI 迁移至 Responses API","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fazure-openai-to-responses\u002FSKILL.md",[160,161],{"categoryNo":127,"categoryName":128,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":162,"categoryName":163,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BT7QVANT4709358VEJK53E","代码实现",[165],"azure openai to responses"]