[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1YX7QGZWTPKP5GTXF07EQ":3,"skill-same:01M6F1YX7QGZWTPKP5GTXF07EQ":59},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6F1YX7QGZWTPKP5GTXF07EQ","testing.reach_coverage",null,"Increase unit test coverage toward 100 percent for a function or file","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\u002Ftesting.reach_coverage\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31],"testing","testing reach coverage","coverage","test","file","haiku","test coverage","unit","2026-11-10 10:12:30",false,"---\ndescription: Increase unit test coverage toward 100 percent for a function or file\nmodel: haiku\n---\n\n# Goal\n- Given the passed function, file, or files `\u003CFILES>`, increase unit test\n  coverage from the corresponding files `\u003CTEST_FILES>` to approach 100 percent\n  using a plan-then-implement approach\n\n# Workflow\n\n## Establish Current Coverage\n- Identify the test files corresponding to the target function, file, files\n  `\u003CTEST_FILES>` using the rules\n  - E.g.,\n    ```text\n    helpers\u002Fhllm_cli.py -> helpers\u002Ftest\u002Ftest_hllm_cli.py\n    ```\n- Print the files to test\n  ```text\n  Target files: \u003CFILES>\n  Test files: \u003CTEST_FILES>\n  ```\n- Run the following command and record the results:\n  ```bash\n  # Using invoke (preferred):\n  > i run_coverage --suite fast --generate-html-report\n  # Or directly with pytest inside Docker:\n  > pytest --cov=\u003CPKG> --cov-report=term-missing --cov-report=html \u003CTEST_FILE>\n  ```\n\n- Summarize which lines and branches are not covered\n\n## Design a Testing Plan\n- Analyze uncovered code paths and behaviors\n- Propose a clear testing plan that:\n  - Tests functions modularly before testing interactions\n  - Prioritizes end-to-end and user-visible behavior over incidental\n    implementation details\n  - Avoids testing assertions, defensive checks, or invalid inputs unless they\n    are critical to correctness\n- Explicitly map each uncovered area to one or more proposed tests\n\n## Specify Tests Without Implementation\n- Define test classes and test method names\n- For each proposed test:\n  - Describe the input data\n  - Describe the expected output or observable behavior\n- Do not write executable test code at this stage\n\n## Implement After Approval\n- Wait for user confirmation or feedback on the testing plan\n- After approval:\n  - Implement the tests according to the approved plan\n  - Re-run coverage and verify that coverage for the target function is near\n    100 percent\n  - Report final coverage results and remaining gaps, if any\n\n# Important Rules\n- Do not implement tests before the plan is approved\n- Do not proceed if instructions or requirements are ambiguous\n- Always adhere to the formatting and style guides referenced above\n- Focus on meaningful behavior and correctness rather than superficial coverage\n- All tests and code must strictly follow:\n  - `.claude\u002Fskills\u002Fcoding.rules.md` for any Python code\n  - `.claude\u002Fskills\u002Ftesting.rules.md` for tests\n- If any part of the task is unclear or underspecified, stop and ask for\n  clarification before proceeding\n\n# Verification\n- [ ] Confirm coverage for the target function or file is near 100 percent\n- [ ] Confirm every proposed test was implemented and passes\n- [ ] Confirm no uncovered critical branch remains unexplained\n","# Goal\n- Given the passed function, file, or files `\u003CFILES>`, increase unit test\n  coverage from the corresponding files `\u003CTEST_FILES>` to approach 100 percent\n  using a plan-then-implement approach\n\n# Workflow\n\n## Establish Current Coverage\n- Identify the test files corresponding to the target function, file, files\n  `\u003CTEST_FILES>` using the rules\n  - E.g.,\n    ```text\n    helpers\u002Fhllm_cli.py -> helpers\u002Ftest\u002Ftest_hllm_cli.py\n    ```\n- Print the files to test\n  ```text\n  Target files: \u003CFILES>\n  Test files: \u003CTEST_FILES>\n  ```\n- Run the following command and record the results:\n  ```bash\n  # Using invoke (preferred):\n  > i run_coverage --suite fast --generate-html-report\n  # Or directly with pytest inside Docker:\n  > pytest --cov=\u003CPKG> --cov-report=term-missing --cov-report=html \u003CTEST_FILE>\n  ```\n\n- Summarize which lines and branches are not covered\n\n## Design a Testing Plan\n- Analyze uncovered code paths and behaviors\n- Propose a clear testing plan that:\n  - Tests functions modularly before testing interactions\n  - Prioritizes end-to-end and user-visible behavior over incidental\n    implementation details\n  - Avoids testing assertions, defensive checks, or invalid inputs unless they\n    are critical to correctness\n- Explicitly map each uncovered area to one or more proposed tests\n\n## Specify Tests Without Implementation\n- Define test classes and test method names\n- For each proposed test:\n  - Describe the input data\n  - Describe the expected output or observable behavior\n- Do not write executable test code at this stage\n\n## Implement After Approval\n- Wait for user confirmation or feedback on the testing plan\n- After approval:\n  - Implement the tests according to the approved plan\n  - Re-run coverage and verify that coverage for the target function is near\n    100 percent\n  - Report final coverage results and remaining gaps, if any\n\n# Important Rules\n- Do not implement tests before the plan is approved\n- Do not proceed if instructions or requirements are ambiguous\n- Always adhere to the formatting and style guides referenced above\n- Focus on meaningful behavior and correctness rather than superficial coverage\n- All tests and code must strictly follow:\n  - `.claude\u002Fskills\u002Fcoding.rules.md` for any Python code\n  - `.claude\u002Fskills\u002Ftesting.rules.md` for tests\n- If any part of the task is unclear or underspecified, stop and ask for\n  clarification before proceeding\n\n# Verification\n- [ ] Confirm coverage for the target function or file is near 100 percent\n- [ ] Confirm every proposed test was implemented and passes\n- [ ] Confirm no uncovered critical branch remains unexplained\n",{"model":29,"description":7},"master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Ftesting.reach_coverage",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":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add causify-ai\u002Fhelpers --skill testing.reach_coverage",{"tool":51,"command":52},"bunx","bunx skills add causify-ai\u002Fhelpers --skill testing.reach_coverage",{"tool":54,"command":55},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill testing.reach_coverage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftesting.reach_coverage\u002FSKILL.md",true,[],[60,79,96,108,117,131],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":69,"publishedAt":32},"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",[66],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",[70,71,72,73,74,75,29,76,77,78],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","files","project","match",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":88,"publishedAt":32},"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",[85],{"categoryNo":86,"categoryName":87,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",[89,90,71,91,92,93,29,28,94,95],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","jupyter notebook","content",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":32},"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",[],[103,71,104,105,106,29,107],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":32},"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",[],[115,71,116,106,105,107],"tutorial in 60 mins create","create",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":32},"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",[],[124,125,126,127,128,129,130],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":32},"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",[],[138,125,128,129,130],"todo reorg headers"]