[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2M4MH88AH04VMB032XSNJ":3,"skill-same:01M6C2M4MH88AH04VMB032XSNJ":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6C2M4MH88AH04VMB032XSNJ","coverage-analysis",null,"Code coverage analysis using coverage.sh script and pytest-cov","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX","01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-08-27-historical-zero-use\u002Fcoverage-analysis\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26],"coverage analysis","analysis","coverage","code","pytest","project","code coverage","script","usage","2026-11-10 10:12:30",false,"---\ndescription: Code coverage analysis using coverage.sh script and pytest-cov\ntype: usage\nscope: project\n---\n\n# Coverage Analysis Guide\n\n## Purpose\n\nProvide Claude with a comprehensive reference for running code coverage analysis in Your Project. This skill covers the coverage.sh script usage, interpreting results, and best practices.\n\n## Activation Cues\n\n- Running coverage analysis\n- Checking test coverage before PRs\n- Investigating which code paths need more tests\n- Generating coverage reports\n\n## Quick Reference\n\n```bash\n# Run coverage with HTML report (default)\n.\u002Fcoverage.sh\n\n# Run coverage with text report only (faster)\n.\u002Fcoverage.sh --no-html\n\n# Include integration tests\n.\u002Fcoverage.sh --integration\n\n# Include integration tests, text only\n.\u002Fcoverage.sh --integration --no-html\n```\n\n## Output Locations\n\n| Output | Location |\n|--------|----------|\n| Text report | `\u002Ftmp\u002F$PROJECT_NAME\u002Fcoverage\u002Fcoverage_report.txt` |\n| HTML report | `\u002Ftmp\u002F$PROJECT_NAME\u002Fcoverage\u002Findex.html` |\n| Quick link | `file:\u002F\u002F\u002Ftmp\u002Fcoverage.html` (symlink) |\n\n## Understanding Results\n\n### Test Summary\n```\nTest Summary:\n  Total tests: 232\n  Passed: 204\n  Failed: 28\n```\n\n### Coverage Summary\n```\nOverall Coverage: 69%\n\nKey Files Coverage:\nmain.py                    44%\nllm_service.py            74%\ngame_state.py             57%\nfirestore_service.py      53%\n```\n\n## Coverage Thresholds\n\n### CI Workflow Thresholds\n| Coverage | CI Result | Badge Color |\n|----------|-----------|-------------|\n| ≥80% | Pass | Green (MINIMUM_GREEN: 80) |\n| 60-79% | Pass (warning) | Orange (MINIMUM_ORANGE: 60) |\n| \u003C60% | **Fail** | Red |\n\n### Quality Guidelines\n| Coverage | Status | Action | CI Threshold |\n|----------|--------|--------|--------------|\n| 80%+ | Excellent | Maintain | Green (MINIMUM_GREEN: 80) |\n| 60-79% | Good | Minor improvements | Orange (MINIMUM_ORANGE: 60) |\n| 40-59% | Fair | Add targeted tests | Warning |\n| \u003C40% | Poor | Prioritize testing | Error |\n\n## Key Files to Monitor\n\nPriority coverage targets for Your Project:\n\n1. **narrative_response_schema.py** - LLM response parsing\n2. **llm_service.py** - AI integration\n3. **world_logic.py** - Core game mechanics\n4. **firestore_service.py** - Data persistence\n5. **game_state.py** - State management\n6. **main.py** - API endpoints\n\n## Running Single Test Files\n\nFor focused development, run individual test files:\n\n```bash\n# Using venv with proper PYTHONPATH\nsource venv\u002Fbin\u002Factivate\nPYTHONPATH=\"$PWD:$PYTHONPATH\" TESTING=true python $PROJECT_ROOT\u002Ftests\u002Ftest_specific.py\n```\n\n## Common Issues\n\n### ModuleNotFoundError: No module named 'mvp_site'\n\n**Cause**: PYTHONPATH doesn't include project root.\n\n**Fix**: The coverage.sh script sets `PYTHONPATH=\"$PROJECT_ROOT:$PYTHONPATH\"` automatically. For manual runs:\n\n```bash\nexport PYTHONPATH=\"$PWD:$PYTHONPATH\"\n```\n\n### Test Fails with Missing Dependencies\n\n**Fix**: Install test dependencies:\n```bash\npip install numpy fastembed onnxruntime\n```\n\n### Browser\u002FIntegration Tests Failing\n\nSome tests require additional setup:\n- Browser tests need Playwright: `playwright install`\n- Integration tests may need running services\n\n## GitHub Actions Integration\n\nFor CI coverage reporting, use `py-cov-action\u002Fpython-coverage-comment-action@v3.32` (SHA-pinned in workflow):\n\n```yaml\n- name: Coverage comment\n  uses: py-cov-action\u002Fpython-coverage-comment-action@fb02115d6115e7b3325dc3295fe1dcfb1919248a  # v3.32\n  with:\n    GITHUB_TOKEN: ${{ github.token }}\n    MINIMUM_GREEN: 80\n    MINIMUM_ORANGE: 60\n```\n\nSee `.github\u002Fworkflows\u002Fcoverage.yml` for the full workflow with threshold checks.\n\n## Best Practices\n\n1. **Run before PRs**: Check coverage impact before submitting\n2. **Focus on critical paths**: Prioritize business logic coverage\n3. **Don't chase 100%**: Focus on meaningful test coverage\n4. **Review uncovered lines**: Use HTML report for line-by-line analysis\n5. **Mock external services**: Use `TESTING=true` for isolated testing\n\n## Related Skills\n\n- `end2end-testing.md` - E2E test patterns\n- `evidence-standards.md` - Test evidence collection\n","# Coverage Analysis Guide\n\n## Purpose\n\nProvide Claude with a comprehensive reference for running code coverage analysis in Your Project. This skill covers the coverage.sh script usage, interpreting results, and best practices.\n\n## Activation Cues\n\n- Running coverage analysis\n- Checking test coverage before PRs\n- Investigating which code paths need more tests\n- Generating coverage reports\n\n## Quick Reference\n\n```bash\n# Run coverage with HTML report (default)\n.\u002Fcoverage.sh\n\n# Run coverage with text report only (faster)\n.\u002Fcoverage.sh --no-html\n\n# Include integration tests\n.\u002Fcoverage.sh --integration\n\n# Include integration tests, text only\n.\u002Fcoverage.sh --integration --no-html\n```\n\n## Output Locations\n\n| Output | Location |\n|--------|----------|\n| Text report | `\u002Ftmp\u002F$PROJECT_NAME\u002Fcoverage\u002Fcoverage_report.txt` |\n| HTML report | `\u002Ftmp\u002F$PROJECT_NAME\u002Fcoverage\u002Findex.html` |\n| Quick link | `file:\u002F\u002F\u002Ftmp\u002Fcoverage.html` (symlink) |\n\n## Understanding Results\n\n### Test Summary\n```\nTest Summary:\n  Total tests: 232\n  Passed: 204\n  Failed: 28\n```\n\n### Coverage Summary\n```\nOverall Coverage: 69%\n\nKey Files Coverage:\nmain.py                    44%\nllm_service.py            74%\ngame_state.py             57%\nfirestore_service.py      53%\n```\n\n## Coverage Thresholds\n\n### CI Workflow Thresholds\n| Coverage | CI Result | Badge Color |\n|----------|-----------|-------------|\n| ≥80% | Pass | Green (MINIMUM_GREEN: 80) |\n| 60-79% | Pass (warning) | Orange (MINIMUM_ORANGE: 60) |\n| \u003C60% | **Fail** | Red |\n\n### Quality Guidelines\n| Coverage | Status | Action | CI Threshold |\n|----------|--------|--------|--------------|\n| 80%+ | Excellent | Maintain | Green (MINIMUM_GREEN: 80) |\n| 60-79% | Good | Minor improvements | Orange (MINIMUM_ORANGE: 60) |\n| 40-59% | Fair | Add targeted tests | Warning |\n| \u003C40% | Poor | Prioritize testing | Error |\n\n## Key Files to Monitor\n\nPriority coverage targets for Your Project:\n\n1. **narrative_response_schema.py** - LLM response parsing\n2. **llm_service.py** - AI integration\n3. **world_logic.py** - Core game mechanics\n4. **firestore_service.py** - Data persistence\n5. **game_state.py** - State management\n6. **main.py** - API endpoints\n\n## Running Single Test Files\n\nFor focused development, run individual test files:\n\n```bash\n# Using venv with proper PYTHONPATH\nsource venv\u002Fbin\u002Factivate\nPYTHONPATH=\"$PWD:$PYTHONPATH\" TESTING=true python $PROJECT_ROOT\u002Ftests\u002Ftest_specific.py\n```\n\n## Common Issues\n\n### ModuleNotFoundError: No module named 'mvp_site'\n\n**Cause**: PYTHONPATH doesn't include project root.\n\n**Fix**: The coverage.sh script sets `PYTHONPATH=\"$PROJECT_ROOT:$PYTHONPATH\"` automatically. For manual runs:\n\n```bash\nexport PYTHONPATH=\"$PWD:$PYTHONPATH\"\n```\n\n### Test Fails with Missing Dependencies\n\n**Fix**: Install test dependencies:\n```bash\npip install numpy fastembed onnxruntime\n```\n\n### Browser\u002FIntegration Tests Failing\n\nSome tests require additional setup:\n- Browser tests need Playwright: `playwright install`\n- Integration tests may need running services\n\n## GitHub Actions Integration\n\nFor CI coverage reporting, use `py-cov-action\u002Fpython-coverage-comment-action@v3.32` (SHA-pinned in workflow):\n\n```yaml\n- name: Coverage comment\n  uses: py-cov-action\u002Fpython-coverage-comment-action@fb02115d6115e7b3325dc3295fe1dcfb1919248a  # v3.32\n  with:\n    GITHUB_TOKEN: ${{ github.token }}\n    MINIMUM_GREEN: 80\n    MINIMUM_ORANGE: 60\n```\n\nSee `.github\u002Fworkflows\u002Fcoverage.yml` for the full workflow with threshold checks.\n\n## Best Practices\n\n1. **Run before PRs**: Check coverage impact before submitting\n2. **Focus on critical paths**: Prioritize business logic coverage\n3. **Don't chase 100%**: Focus on meaningful test coverage\n4. **Review uncovered lines**: Use HTML report for line-by-line analysis\n5. **Mock external services**: Use `TESTING=true` for isolated testing\n\n## Related Skills\n\n- `end2end-testing.md` - E2E test patterns\n- `evidence-standards.md` - Test evidence collection\n",{"type":26,"scope":23,"description":7},"main","42ccd02cbf5e8e47839dc3eab6fc754dc6b339cf",".claude\u002Fskills_archive\u002F2026-08-27-historical-zero-use\u002Fcoverage-analysis",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 03:18:13",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill coverage-analysis",{"tool":45,"command":46},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill coverage-analysis",{"tool":48,"command":49},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill coverage-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-08-27-historical-zero-use\u002Fcoverage-analysis\u002FSKILL.md",true,[],[54,72,94,107,121,137],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":27},"01M716Y5MTJ6GYJZ2ATXCJK8G4","instinct","Use when the user invokes \u002Finstinct or \u002Fin, or asks to \"message Instinct\", \"ask Instinct\", \"tell Instinct\", \"check Instinct\", or read replies from the configured peer assistant. iMessage first, WhatsApp Web as fallback.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Finstinct\u002FSKILL.md",[],[56,61,62,63,64,65,66,67,68,69,70,71],"user","when","replies","check","use","identity","whatsapp","gmail","read","message","ask",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":83,"publishedAt":27},"01M716Y4HF7FVVMJSA2CCVN5VF","hr","Compatibility alias for history-resume; produce the same fresh-state, provenance-aware resume briefing.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhr\u002FSKILL.md",[78],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000038","人力资源","PROFESSION","适用职业",[74,84,85,86,87,88,89,90,91,92,93],"resume","compatibility","provenance","for","history","produce","alias","briefing","state","fresh",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":101,"publishedAt":27},"01M716Y1FFNFKFJYYKF8HQA6T8","history-resume","Resume briefing for the current repository branch or worktree using fresh state and admitted history sources.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhistory-resume\u002FSKILL.md",[100],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[88,84,102,103,61,19,91,104,87,105,106,92,93],"history resume","branch","repository","worktree","sources",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":27},"01M716XWXJ8EPHK4RH9T14TR85","grok","Alias for the canonical grokbot browser conversation workflow; \u002Fgrok talks to the Grok bot the same way \u002Fdot talks to Dot.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgrok\u002FSKILL.md",[],[109,114,115,116,87,117,90,118,119,120],"dot","bot","workflow","canonical","conversation","browser","grokbot",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":27},"01M70N9Q07DTE0EW5KFXMMMSJ0","codexa-bench","Compare `codexa` and normal `codex` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcodexa-bench\u002FSKILL.md",[],[128,129,130,65,131,87,132,133,134,135,136],"codexa bench","work","split","default","duplicate","task","compare","normal","codex",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":141,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":156,"publishedAt":27},"01M6C24S2X60SP8BBFGAEKPEGW","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[145,150,153],{"categoryNo":146,"categoryName":147,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":151,"categoryName":152,"taxonomyType":148,"taxonomyTypeDesc":149},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":154,"categoryName":155,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000032","设计师",[157,158,159,65,160,161,162,61,163,164,21,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,62,180],"frontend","design","frontend design","generic","ui design","react","html","components","artifacts","ui","aesthetics","Production","web components","landing","applications","quality","web","css","create","examples","with","react components","web ui","pages"]