[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZKZPQ77RTCGCR4W7JBNS5":3,"skill-same:01M6BZKZPQ77RTCGCR4W7JBNS5":63},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":17,"ownerDescription":17,"updatedAt":48,"install":49,"resources":62},"01M6BZKZPQ77RTCGCR4W7JBNS5","github.get_pr_to_pass_local_tests","PR 本地单元测试修复","Make the local unit tests pass for the current PR","使当前 PR 的本地单元测试全部通过。","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\u002Fgithub.get_pr_to_pass_local_tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34],"github","pr","github get pr to pass local tests","unit tests","2026-11-10 10:12:30",false,"---\ndescription: Make the local unit tests pass for the current PR\nmodel: sonnet\n---\n\n# Goal\n- Run, monitor, and fix the local unit tests for the current PR\n\n# Workflow\n\n## Create and Update a Plan\n- Create a file `plan-github.get_pr_to_pass_local_tests.md` with a plan in the form\n  of a bullet list of actions and maintain it updated, by marking each action\n  - [.] when something is in progress\n  - [x] when something is done\n  - [F] when something failed\n\n## Get the PR Number and Branch Name\n- Get the PR number\n  ```bash\n  > GH_PR_NUM=$(gh pr view --json number -q .number)\n  ```\n\n- Get the branch name\n  ```bash\n  > BRANCH_NAME=$(git branch --show-current)\n  ```\n\n## Run Local Regressions\n- Run full test suite locally:\n  ```bash\n  > pytest_multi_build.py --target . 2>&1 --timeout -1 | tee tmp.auto_task.pytest_multi_build.log\n  ```\n- Wait for the script to terminate\n\n## Check Regressions to Complete\n\n- Check the output of the local regressions with:\n  ```bash\n  > pytest_failed_multi_build.py 2>&1 | tee tmp.auto_task.pytest_failed_multi_build.log\n  ```\n\n## Report Status on the PR\n- If local regressions are passing:\n  ```bash\n  > gh pr comment $GH_PR_NUM --body \"Local tests passing\"\n  ```\n- If any failures, document error and post:\n  ```bash\n  > gh pr comment $GH_PR_NUM --body \"Local test failures found: [error summary]. Investigating...\"\n  ```\n\n## Fix the Failures\n- If failures were found, run `tmp.pytest_failed_multi_build.repro.sh` to understand\n  what failed and use `\u002Fpytest.fix_local_tests` to analyze and fix them\n  - If the fix is simple, just fix it and commit\n  - If the fix is not clear, stop and ask for the user to help\n\n## Never Commit Junk Files\n- Never run `git add -A` or `git add .` to stage a fix: it sweeps in every\n  untracked file sitting in the working tree (logs, `tmp.*` scratch files,\n  test-run artifacts like `.pkl`\u002F`.json` caches, etc.), not just the files you\n  intended to fix\n- Always stage files explicitly by path, e.g. `git add \u003Cfile1> \u003Cfile2>`\n- Before committing, run `git status --short` and review every listed file;\n  drop anything that is not part of the intended fix\n- If junk files were already committed and pushed, fix it by amending the\n  commit to contain only the intended files and force-pushing\n  (`git push --force-with-lease`), rather than leaving the junk in history\n\n## Loop\n- Keep repeating until the PR is passing all the local tests\n\n# Constraints\n- This skill runs both when executed locally on a dev computer and remotely on cloud\n  (e.g., on GitHub or Anthropic infrastructure)\n\n# Verification\n\n- [ ] `pytest_failed_multi_build.py` reports no failing tests\n- [ ] A PR comment reports the final local test status\n- [ ] `git status --short` shows only the intended files staged before commit\n","# Goal\n- Run, monitor, and fix the local unit tests for the current PR\n\n# Workflow\n\n## Create and Update a Plan\n- Create a file `plan-github.get_pr_to_pass_local_tests.md` with a plan in the form\n  of a bullet list of actions and maintain it updated, by marking each action\n  - [.] when something is in progress\n  - [x] when something is done\n  - [F] when something failed\n\n## Get the PR Number and Branch Name\n- Get the PR number\n  ```bash\n  > GH_PR_NUM=$(gh pr view --json number -q .number)\n  ```\n\n- Get the branch name\n  ```bash\n  > BRANCH_NAME=$(git branch --show-current)\n  ```\n\n## Run Local Regressions\n- Run full test suite locally:\n  ```bash\n  > pytest_multi_build.py --target . 2>&1 --timeout -1 | tee tmp.auto_task.pytest_multi_build.log\n  ```\n- Wait for the script to terminate\n\n## Check Regressions to Complete\n\n- Check the output of the local regressions with:\n  ```bash\n  > pytest_failed_multi_build.py 2>&1 | tee tmp.auto_task.pytest_failed_multi_build.log\n  ```\n\n## Report Status on the PR\n- If local regressions are passing:\n  ```bash\n  > gh pr comment $GH_PR_NUM --body \"Local tests passing\"\n  ```\n- If any failures, document error and post:\n  ```bash\n  > gh pr comment $GH_PR_NUM --body \"Local test failures found: [error summary]. Investigating...\"\n  ```\n\n## Fix the Failures\n- If failures were found, run `tmp.pytest_failed_multi_build.repro.sh` to understand\n  what failed and use `\u002Fpytest.fix_local_tests` to analyze and fix them\n  - If the fix is simple, just fix it and commit\n  - If the fix is not clear, stop and ask for the user to help\n\n## Never Commit Junk Files\n- Never run `git add -A` or `git add .` to stage a fix: it sweeps in every\n  untracked file sitting in the working tree (logs, `tmp.*` scratch files,\n  test-run artifacts like `.pkl`\u002F`.json` caches, etc.), not just the files you\n  intended to fix\n- Always stage files explicitly by path, e.g. `git add \u003Cfile1> \u003Cfile2>`\n- Before committing, run `git status --short` and review every listed file;\n  drop anything that is not part of the intended fix\n- If junk files were already committed and pushed, fix it by amending the\n  commit to contain only the intended files and force-pushing\n  (`git push --force-with-lease`), rather than leaving the junk in history\n\n## Loop\n- Keep repeating until the PR is passing all the local tests\n\n# Constraints\n- This skill runs both when executed locally on a dev computer and remotely on cloud\n  (e.g., on GitHub or Anthropic infrastructure)\n\n# Verification\n\n- [ ] `pytest_failed_multi_build.py` reports no failing tests\n- [ ] A PR comment reports the final local test status\n- [ ] `git status --short` shows only the intended files staged before commit\n",{"model":40,"description":7},"sonnet","master","39143a859859181eff7e774457997b5278fd9e99",".claude\u002Fskills\u002Fgithub.get_pr_to_pass_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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add causify-ai\u002Fhelpers --skill github.get_pr_to_pass_local_tests",{"tool":55,"command":56},"bunx","bunx skills add causify-ai\u002Fhelpers --skill github.get_pr_to_pass_local_tests",{"tool":58,"command":59},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill github.get_pr_to_pass_local_tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fgithub.get_pr_to_pass_local_tests\u002FSKILL.md",true,[],[64,86,106,123,136,145],{"skillNo":65,"name":66,"nameZh":67,"description":68,"descriptionZh":69,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":70,"categories":71,"keywords":78,"publishedAt":35},"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",[72,75],{"categoryNo":73,"categoryName":74,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",{"categoryNo":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[79,80,81,82,83,84,85],"tutorial in 60 mins propagate docker changes","tutorial","docker","files","haiku","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":35},"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":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},[99,100,80,101,102,83,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":35},"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":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CFCW1CKQHXFV91HEWYD9W6","课程开发与教学制作",[119,80,120,121,122,83],"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":35},"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":76,"categoryName":77,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":116,"categoryName":117,"taxonomyType":28,"taxonomyTypeDesc":29},[134,80,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":35},"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":35},"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"]