[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CZTATPVRJ1JKD3HQ6F5K9":3,"skill-same:01M78CZTATPVRJ1JKD3HQ6F5K9":60},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":53},"01M78CZTATPVRJ1JKD3HQ6F5K9","test-coverage",null,"FIND test coverage gaps (read-only) -- map source to test files, flag untested modules by risk. NOT for writing\u002Frunning\u002Fdebugging tests (use testing) or measuring coverage percentages (run --coverage directly).","atretyak1985\u002Fswarmery","atretyak1985","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1436737?v=4","01M78CTSX57YH0EYY9YGH0TWKX","Andrii Tretiak","01M78CTSXRPJPYQ7GNPMP45TYX",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Ftest-coverage\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-coverage\ndescription: \"FIND test coverage gaps (read-only) -- map source to test files, flag untested modules by risk. NOT for writing\u002Frunning\u002Fdebugging tests (use testing) or measuring coverage percentages (run --coverage directly).\"\nversion: \"1.0.0\"\nowner: \"swarmery-core\"\ndisable-model-invocation: true\nallowed-tools: Read, Grep, Glob, Bash\ncolor: teal\ndocs:\n  status: reviewed\n  source_sha: 41a89174d34a\n  updated: 2026-08-06\n---\n\n# Purpose\n\nAnalyze test coverage gaps across the project's repositories (`project.json → repos`) by mapping source files to test files, identifying untested modules and public functions, classifying risk, and suggesting what to test. This skill identifies *what* to test and owns the authoritative coverage-target table; the `testing` skill provides *how* — run this first, then hand off.\n\n# Rules (never violate)\n\n1. Read-only: never create or edit test files during gap analysis.\n2. Exclude generated files, type declarations, build outputs, and test fixtures from the \"untested\" count.\n3. Every untested module gets a risk classification (High\u002FMedium\u002FLow) with rationale.\n4. Label the gap number an estimate — file\u002Ffunction mapping, not tool-measured line coverage.\n5. Never run the full suite (`make test-all`) — gap analysis needs no execution.\n6. Report stays within 200 lines; over 50 gaps → group by directory, detail the top 10 by risk.\n\n# Resources\n\n- Read `resources\u002Fgap-analysis-procedure.md` when running the analysis: the 6-step procedure (scope, inventory, mapping, gaps, suggested cases, target comparison) with checkpoints, the report template, the authoritative coverage-target table, self-check, mistakes, escalation, and failure modes.\n\n# How to use\n\n## What it does\n\nFinds the holes in your test suite without touching a single file: it walks a repository or module, matches every source file to its expected test file, and reports what has no coverage — plus which exports inside tested files still lack cases. Each gap carries a risk level, a suggested test file path following your conventions, and 3–5 cases worth writing.\n\n## When to use it\n\n- \"What's untested?\" needs an answer grounded in the actual file tree.\n- Before a release, confirming high-risk paths (auth, streaming, mutating routes) have tests.\n- After new modules land, checking whether tests landed too; prioritizing limited testing time.\n\nNot for: writing\u002Frunning\u002Fdebugging tests (`testing`), real line\u002Fbranch percentages (run `--coverage` directly), code complexity (`code-quality`\u002F`code-standards`), or CI test jobs (the project's infra pack skills).\n\n## How to invoke\n\n```\nSkill(skill: \"core:test-coverage\")\n```\n\nGive it the scope (repo or module path, required) and optionally a priority filter: `critical`, `api`, or `all` (default). Without a scope it asks before globbing.\n\n## Worked example\n\n```\nSkill(skill: \"core:test-coverage\")\n> Analyze apps\u002F\u003CmainApp>\u002Fsrc\u002Flib, focus on critical modules.\n```\n\nThe skill confirms scope and exclusions, globs source files, maps each to its expected test path, and classifies what's missing. You get a table showing `orders\u002Fline-items\u002F` at 4 source files and 1 test file, then a detail block for the untested reducer: its two exports, a suggested `orders\u002Fline-items\u002F__tests__\u002Ftotals.test.ts`, and cases for the happy path, a rounding edge case, and malformed input — plus the target comparison and excluded-files list.\n\n## Related\n\n`testing` (write the tests this report asks for), `security-audit` (modules deserving higher test priority), `code-quality` (complexity, a separate concern).\n","# Purpose\n\nAnalyze test coverage gaps across the project's repositories (`project.json → repos`) by mapping source files to test files, identifying untested modules and public functions, classifying risk, and suggesting what to test. This skill identifies *what* to test and owns the authoritative coverage-target table; the `testing` skill provides *how* — run this first, then hand off.\n\n# Rules (never violate)\n\n1. Read-only: never create or edit test files during gap analysis.\n2. Exclude generated files, type declarations, build outputs, and test fixtures from the \"untested\" count.\n3. Every untested module gets a risk classification (High\u002FMedium\u002FLow) with rationale.\n4. Label the gap number an estimate — file\u002Ffunction mapping, not tool-measured line coverage.\n5. Never run the full suite (`make test-all`) — gap analysis needs no execution.\n6. Report stays within 200 lines; over 50 gaps → group by directory, detail the top 10 by risk.\n\n# Resources\n\n- Read `resources\u002Fgap-analysis-procedure.md` when running the analysis: the 6-step procedure (scope, inventory, mapping, gaps, suggested cases, target comparison) with checkpoints, the report template, the authoritative coverage-target table, self-check, mistakes, escalation, and failure modes.\n\n# How to use\n\n## What it does\n\nFinds the holes in your test suite without touching a single file: it walks a repository or module, matches every source file to its expected test file, and reports what has no coverage — plus which exports inside tested files still lack cases. Each gap carries a risk level, a suggested test file path following your conventions, and 3–5 cases worth writing.\n\n## When to use it\n\n- \"What's untested?\" needs an answer grounded in the actual file tree.\n- Before a release, confirming high-risk paths (auth, streaming, mutating routes) have tests.\n- After new modules land, checking whether tests landed too; prioritizing limited testing time.\n\nNot for: writing\u002Frunning\u002Fdebugging tests (`testing`), real line\u002Fbranch percentages (run `--coverage` directly), code complexity (`code-quality`\u002F`code-standards`), or CI test jobs (the project's infra pack skills).\n\n## How to invoke\n\n```\nSkill(skill: \"core:test-coverage\")\n```\n\nGive it the scope (repo or module path, required) and optionally a priority filter: `critical`, `api`, or `all` (default). Without a scope it asks before globbing.\n\n## Worked example\n\n```\nSkill(skill: \"core:test-coverage\")\n> Analyze apps\u002F\u003CmainApp>\u002Fsrc\u002Flib, focus on critical modules.\n```\n\nThe skill confirms scope and exclusions, globs source files, maps each to its expected test path, and classifies what's missing. You get a table showing `orders\u002Fline-items\u002F` at 4 source files and 1 test file, then a detail block for the untested reducer: its two exports, a suggested `orders\u002Fline-items\u002F__tests__\u002Ftotals.test.ts`, and cases for the happy path, a rounding edge case, and malformed input — plus the target comparison and excluded-files list.\n\n## Related\n\n`testing` (write the tests this report asks for), `security-audit` (modules deserving higher test priority), `code-quality` (complexity, a separate concern).\n",{"docs":24,"name":5,"color":28,"owner":29,"version":30,"description":7,"allowed-tools":31,"disable-model-invocation":32},{"status":25,"updated":26,"source_sha":27},"reviewed",1785974400000,"41a89174d34a","teal","swarmery-core","1.0.0","Read, Grep, Glob, Bash",true,"main","2d9e918cc79c9b17b59356780ff0a3da38a3e98a","plugins\u002Fcore\u002Fskills\u002Ftest-coverage",5,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery","https:\u002F\u002Fatretyak1985.github.io\u002Fswarmery\u002F","https:\u002F\u002Fgithub.com\u002Fatretyak1985","2026-11-11 04:29:12",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":32},[43,46,49],{"tool":44,"command":45},"npx","npx skills add atretyak1985\u002Fswarmery --skill test-coverage",{"tool":47,"command":48},"bunx","bunx skills add atretyak1985\u002Fswarmery --skill test-coverage",{"tool":50,"command":51},"pnpm","pnpm dlx skills add atretyak1985\u002Fswarmery --skill test-coverage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Ftest-coverage\u002FSKILL.md",[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"resources\u002Fgap-analysis-procedure.md","REFERENCE","参考文档",8256,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Fcore\u002Fskills\u002Ftest-coverage\u002Fresources\u002Fgap-analysis-procedure.md",[61,68,74,81,88,95],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M78D4T1FFWFW19Z44AHH5BSY","short-desc","Too short.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fshort-desc\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M78D4S0TWT42WXFJHC1DBN0R","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78D4Q14P8DJ4W78N62F3EG2","global-skill","Fixture global skill (minimal user-scope shape, format doc §2.3).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fglobal-skill\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M78D4N1JHGQJQ7EZ43KY5SV3","documented-skill","Fixture skill whose usage guide deliberately omits the Worked example subsection.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fdocumented-skill\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M78D4KVNZ03GBKGDFJZWW5FJ","z","NOT auto-discovered — only skills\u002F is scanned for plugins (§2.2).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fworkflow-skills\u002Fz\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M78D4JMBRZWK51HFE5RZJGHC","y","Plugin skill y from toolpack — stored as \"toolpack:y\".","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fskills\u002Fy\u002FSKILL.md",[],[]]