[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZP0175YZ7YWH7TVDFMH3B":3,"skill-same:01M6BZP0175YZ7YWH7TVDFMH3B":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":46,"install":47,"resources":60},"01M6BZP0175YZ7YWH7TVDFMH3B","pytest.fix_local_tests","本地测试失败分析修复","Analyze and fix failure of local tests","分析并修复本地运行中失败的测试","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6BZFTPJ193AB5N089Z82HQG",155,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpytest.fix_local_tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33],"pytest fix local tests","analyze","haiku","2026-11-10 10:12:30",false,"---\ndescription: Analyze and fix failure of local tests\nmodel: haiku\n---\n\n# Goal\n- Given information about failed tests `\u003CFAILURE_INFO>` run the tests, understand what\n  is the root cause, and fix them\n\n# Workflow\n\n## Run Tests\n- The input `\u003CFAILURE_INFO>` can be:\n  - A failing test in pytest\n    - E.g., `dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py`\n  - A repro generated by `pytest_failed_multi_build.py`\n    - E.g., `tmp.pytest_failed_multi_build.repro.sh`\n\n- Gather information about the failing tests by:\n  - Reading the code\n  - Inspecting the content of `\u003CFAILURE_INFO>`\n  - Running the tests locally, if needed\n    - E.g.,\n      ```bash\n      > pytest_log `\u003CFAILURE_INFO>`\n      > tmp.pytest_failed_multi_build.repro.sh\n      ```\n\n## Analyze Failures\n- Read `.claude\u002Fskills\u002Fpytest.rules.md` about how to diagnose issues\n\n- Collect the failing tests from the run\n  ```bash\n  > i pytest_failed\n  ...\n  Failed tests: 25\u002F7\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_actions::test1\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_actions::test2\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test1\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test2\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test3\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test4\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test1\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test2\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test3\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test4\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test5\n  ...\n  13:07:36 - WARN  lib_tasks_pytest.py pytest_failed:1745                 To run the failed tests run: tmp.pytest_failed.sh\n  ...\n  ```\n\n- For the tests that involve running Docker \u002F Apple containers run the same tests\n  with different builds, as per `## Analyze the Effect of Container Builds`\n  in `.claude\u002Fskills\u002Fpytest.rules.md`\n\n- Carefully consider if the root cause and the solution is the same for all the 3\n  builds\n\n## Prepare A Plan to Fix Failures\n- Prepare a plan following `# Format for Unit Test Fixing Plan` from\n  `.claude\u002Fskills\u002Fpytest.rules.md`\n- Save it in the file `plan-pytest.fix_local_tests.md` in the current dir\n- Do not print anything on screen\n\n## Implement and Verify the Fix\n- If the root cause and the fix are clear, implement the fixes directly\n- If the root cause or the correct fix is unclear, stop and ask the user before\n  implementing anything\n- Verify that the fixes work correctly as per `# Verification of the Fix` from\n  `.claude\u002Fskills\u002Fpytest.rules.md`\n\n# Verification\n\n- [ ] `plan-pytest.fix_local_tests.md` lists a fix for every failing test\n- [ ] Every fix follows `# Verification of the Fix` in\n      `.claude\u002Fskills\u002Fpytest.rules.md`\n- [ ] The failing tests pass locally after the fix\n","# Goal\n- Given information about failed tests `\u003CFAILURE_INFO>` run the tests, understand what\n  is the root cause, and fix them\n\n# Workflow\n\n## Run Tests\n- The input `\u003CFAILURE_INFO>` can be:\n  - A failing test in pytest\n    - E.g., `dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py`\n  - A repro generated by `pytest_failed_multi_build.py`\n    - E.g., `tmp.pytest_failed_multi_build.repro.sh`\n\n- Gather information about the failing tests by:\n  - Reading the code\n  - Inspecting the content of `\u003CFAILURE_INFO>`\n  - Running the tests locally, if needed\n    - E.g.,\n      ```bash\n      > pytest_log `\u003CFAILURE_INFO>`\n      > tmp.pytest_failed_multi_build.repro.sh\n      ```\n\n## Analyze Failures\n- Read `.claude\u002Fskills\u002Fpytest.rules.md` about how to diagnose issues\n\n- Collect the failing tests from the run\n  ```bash\n  > i pytest_failed\n  ...\n  Failed tests: 25\u002F7\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_actions::test1\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_actions::test2\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test1\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test2\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test3\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_edge_cases::test4\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test1\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test2\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test3\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test4\n  dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py::Test_notes_to_pdf_filters::test5\n  ...\n  13:07:36 - WARN  lib_tasks_pytest.py pytest_failed:1745                 To run the failed tests run: tmp.pytest_failed.sh\n  ...\n  ```\n\n- For the tests that involve running Docker \u002F Apple containers run the same tests\n  with different builds, as per `## Analyze the Effect of Container Builds`\n  in `.claude\u002Fskills\u002Fpytest.rules.md`\n\n- Carefully consider if the root cause and the solution is the same for all the 3\n  builds\n\n## Prepare A Plan to Fix Failures\n- Prepare a plan following `# Format for Unit Test Fixing Plan` from\n  `.claude\u002Fskills\u002Fpytest.rules.md`\n- Save it in the file `plan-pytest.fix_local_tests.md` in the current dir\n- Do not print anything on screen\n\n## Implement and Verify the Fix\n- If the root cause and the fix are clear, implement the fixes directly\n- If the root cause or the correct fix is unclear, stop and ask the user before\n  implementing anything\n- Verify that the fixes work correctly as per `# Verification of the Fix` from\n  `.claude\u002Fskills\u002Fpytest.rules.md`\n\n# Verification\n\n- [ ] `plan-pytest.fix_local_tests.md` lists a fix for every failing test\n- [ ] Every fix follows `# Verification of the Fix` in\n      `.claude\u002Fskills\u002Fpytest.rules.md`\n- [ ] The failing tests pass locally after the fix\n",{"model":33,"description":7},"master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Fpytest.fix_local_tests",170,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify.ai","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 02:09:15",{"source":9,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add causify-ai\u002Fhelpers --skill pytest.fix_local_tests",{"tool":53,"command":54},"bunx","bunx skills add causify-ai\u002Fhelpers --skill pytest.fix_local_tests",{"tool":56,"command":57},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill pytest.fix_local_tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpytest.fix_local_tests\u002FSKILL.md",true,[61,67,71,75,81],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"questions-academic.md","REFERENCE","参考文档",8114,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fvoice\u002Fquestions-academic.md",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fcheckpoint-schema.md",7472,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fvoice\u002Freferences\u002Fcheckpoint-schema.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fstub-definition.md",3697,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fvoice\u002Freferences\u002Fstub-definition.md",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"voice-migrate.sh","SCRIPT","脚本",6662,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fvoice\u002Fvoice-migrate.sh",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"voice-sync.sh",963,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fvoice\u002Fvoice-sync.sh",[86,107,127,144,157,166],{"skillNo":87,"name":88,"nameZh":89,"description":90,"descriptionZh":91,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":100,"publishedAt":34},"01M6C9ZMM0XSXCHHABMJ9XB1JB","tutorial_in_60_mins.propagate_docker_changes","Docker 文件同步与模板对齐","Sync tutorial and class-project Docker files to match project_template","同步教程和课程项目的 Docker 文件，使其与 project_template 保持一致。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[94,97],{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[101,102,103,104,33,105,106],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","template","sync",{"skillNo":108,"name":109,"nameZh":110,"description":111,"descriptionZh":112,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":119,"publishedAt":34},"01M6C9ZJK8QJ9FNCY39WVF3GMG","tutorial_in_60_mins.merge_markdown","Markdown 合并至 Jupyter Notebook","Merge the content of a markdown file into a Jupyter notebook","将 Markdown 文件的内容合并到 Jupyter Notebook 中。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[115,118],{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},[120,121,102,122,123,33,124,125,126],"merge","tutorial in 60 mins merge markdown","markdown","jupyter","file","content","jupyter notebook",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":139,"publishedAt":34},"01M6C9ZFYK13ZCT1E8BEEC4NG4","tutorial_in_60_mins.format","60 分钟教程格式规范化","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","格式化目录，使其遵循「Learn X in 60 Minutes」（60 分钟学会 X）教程约定。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[135,136],{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":137,"categoryName":138,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[140,102,141,142,143,33],"tutorial in 60 mins format","format","directory","learn",{"skillNo":145,"name":146,"nameZh":147,"description":148,"descriptionZh":149,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":154,"publishedAt":34},"01M6C9ZDKXSBKNKX7M3X4W38G5","tutorial_in_60_mins.create","60 分钟教程目录创建","Create a tutorial directory for the Learn X in 60 Minutes conventions","按照「Learn X in 60 Minutes」（60 分钟学会 X）约定创建教程目录。","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[152,153],{"categoryNo":98,"categoryName":99,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":137,"categoryName":138,"taxonomyType":28,"taxonomyTypeDesc":29},[155,102,156,142,143],"tutorial in 60 mins create","create",{"skillNo":158,"name":159,"nameZh":17,"description":160,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":34},"01M6BZS5Z0QE03WRS1TM3XJEY9","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",[],[164,165],"todo reorg in progress","tasks",{"skillNo":167,"name":168,"nameZh":17,"description":169,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":34},"01M6BZS4CQZ6KK2KQ26SVB7QCS","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",[],[173],"todo reorg headers"]