[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZNY5EC4PDKYFR6DJC490S":3,"skill-same:01M6BZNY5EC4PDKYFR6DJC490S":64},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":49,"install":50,"resources":63},"01M6BZNY5EC4PDKYFR6DJC490S","pytest.fix_ci_tests","CI 测试失败分析修复","Analyze and fix failure of tests in GitHub CI","分析并修复 GitHub CI 中运行失败的测试","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_ci_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,34,35,36],"fix ci","ci","pytest fix ci tests","github","analyze","haiku","2026-11-10 10:12:30",false,"---\ndescription: Analyze and fix failure of tests in GitHub CI\nmodel: haiku\n---\n\n# Goal\n\n- Given a run of the GitHub CI analyze the failures and fix the failing tests\n\n# Workflow\n\n- Read `.claude\u002Fskills\u002Fpytest.rules.md`\n\n## Parse Logs From CI\n\n- Parse the output of `invoke gh_workflow_list` which contains information on the\n  failing tests\n- The log of the failing tests on the CI is stored in a file `\u003CCI_LOG>` like:\n\n  ```bash\n  # Log is in 'tmp.failure.check_if_the_linter_was_run.gp_scratch_19.txt'\n  ```\n\n- The list of failing tests `\u003CFAILING_TESTS>` is in a file `\u003CREPRO_SCRIPT>` like:\n\n  ```bash\n  ... # To run the tests:\n  ... > .\u002Ftmp.pytest_repro.fast_tests.sh\n  ```\n\n## Check Whether the Failure Reproduces Locally\n\n- Parse `\u003CCI_LOG>`\n- Run the script `\u003CREPRO_SCRIPT>` locally to check whether `\u003CFAILING_TESTS>` fail\n  there too\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` in\n    `.claude\u002Fskills\u002Fpytest.rules.md`\n- Note any difference in behavior between CI and local: e.g., environment\n  variables, secrets, container build, or flakiness. `\u002Fpytest.fix_local_tests`\n  cannot see this CI-specific context, so capture it here\n\n## Diagnose and Fix\n\n- Use `\u002Fpytest.fix_local_tests` passing `\u003CREPRO_SCRIPT>` as `\u003CFAILURE_INFO>` to\n  diagnose the root cause and fix the failing tests\n  - If a failure only reproduces on CI (not locally), diagnose the CI-specific\n    cause directly instead (env, secrets, container build, flakiness) and fix it\n- Report a table with the information of what tests are passing in the CI, locally,\n  and why they are failing in the CI and locally, in the file\n  `plan-pytest.fix_ci_tests.md` in the current dir\n- Verify the fixes work correctly as per `# Verification of the Fix` from\n  `.claude\u002Fskills\u002Fpytest.rules.md`\n\n## Ask the User to Commit\n- Ask the user to review and commit the changes\n- Wait for the CI to pick up the changes and run the tests, and repeat the workflow\n\n# Verification\n\n- [ ] `plan-pytest.fix_ci_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 both on the CI and locally after the fix\n","# Goal\n\n- Given a run of the GitHub CI analyze the failures and fix the failing tests\n\n# Workflow\n\n- Read `.claude\u002Fskills\u002Fpytest.rules.md`\n\n## Parse Logs From CI\n\n- Parse the output of `invoke gh_workflow_list` which contains information on the\n  failing tests\n- The log of the failing tests on the CI is stored in a file `\u003CCI_LOG>` like:\n\n  ```bash\n  # Log is in 'tmp.failure.check_if_the_linter_was_run.gp_scratch_19.txt'\n  ```\n\n- The list of failing tests `\u003CFAILING_TESTS>` is in a file `\u003CREPRO_SCRIPT>` like:\n\n  ```bash\n  ... # To run the tests:\n  ... > .\u002Ftmp.pytest_repro.fast_tests.sh\n  ```\n\n## Check Whether the Failure Reproduces Locally\n\n- Parse `\u003CCI_LOG>`\n- Run the script `\u003CREPRO_SCRIPT>` locally to check whether `\u003CFAILING_TESTS>` fail\n  there too\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` in\n    `.claude\u002Fskills\u002Fpytest.rules.md`\n- Note any difference in behavior between CI and local: e.g., environment\n  variables, secrets, container build, or flakiness. `\u002Fpytest.fix_local_tests`\n  cannot see this CI-specific context, so capture it here\n\n## Diagnose and Fix\n\n- Use `\u002Fpytest.fix_local_tests` passing `\u003CREPRO_SCRIPT>` as `\u003CFAILURE_INFO>` to\n  diagnose the root cause and fix the failing tests\n  - If a failure only reproduces on CI (not locally), diagnose the CI-specific\n    cause directly instead (env, secrets, container build, flakiness) and fix it\n- Report a table with the information of what tests are passing in the CI, locally,\n  and why they are failing in the CI and locally, in the file\n  `plan-pytest.fix_ci_tests.md` in the current dir\n- Verify the fixes work correctly as per `# Verification of the Fix` from\n  `.claude\u002Fskills\u002Fpytest.rules.md`\n\n## Ask the User to Commit\n- Ask the user to review and commit the changes\n- Wait for the CI to pick up the changes and run the tests, and repeat the workflow\n\n# Verification\n\n- [ ] `plan-pytest.fix_ci_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 both on the CI and locally after the fix\n",{"model":36,"description":7},"master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Fpytest.fix_ci_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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add causify-ai\u002Fhelpers --skill pytest.fix_ci_tests",{"tool":56,"command":57},"bunx","bunx skills add causify-ai\u002Fhelpers --skill pytest.fix_ci_tests",{"tool":59,"command":60},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill pytest.fix_ci_tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fpytest.fix_ci_tests\u002FSKILL.md",true,[],[65,86,106,123,136,145],{"skillNo":66,"name":67,"nameZh":68,"description":69,"descriptionZh":70,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":71,"categories":72,"keywords":79,"publishedAt":37},"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",[73,76],{"categoryNo":74,"categoryName":75,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":77,"categoryName":78,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[80,81,82,83,36,84,85],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","template","sync",{"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":98,"publishedAt":37},"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",[94,97],{"categoryNo":95,"categoryName":96,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TK1MPB82068236GSXDE","文档处理",{"categoryNo":77,"categoryName":78,"taxonomyType":23,"taxonomyTypeDesc":24},[99,100,81,101,102,36,103,104,105],"merge","tutorial in 60 mins merge markdown","markdown","jupyter","file","content","jupyter notebook",{"skillNo":107,"name":108,"nameZh":109,"description":110,"descriptionZh":111,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":118,"publishedAt":37},"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",[114,115],{"categoryNo":77,"categoryName":78,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[119,81,120,121,122,36],"tutorial in 60 mins format","format","directory","learn",{"skillNo":124,"name":125,"nameZh":126,"description":127,"descriptionZh":128,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":133,"publishedAt":37},"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",[131,132],{"categoryNo":77,"categoryName":78,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},[134,81,135,121,122],"tutorial in 60 mins create","create",{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":37},"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",[],[143,144],"todo reorg in progress","tasks",{"skillNo":146,"name":147,"nameZh":17,"description":148,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":37},"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",[],[152],"todo reorg headers"]