[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C22DGC9MDJWV2HN73T1ZQM":3,"skill-same:01M6C22DGC9MDJWV2HN73T1ZQM":87},{"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":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":68,"ownerHtmlUrl":69,"ownerBlogUrl":70,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M6C22DGC9MDJWV2HN73T1ZQM","vitest-runner","Vitest 测试运行与覆盖率","Execute JavaScript\u002FTypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS\u002FTS test automation.","使用 Vitest 执行 JavaScript\u002FTypeScript 测试，支持覆盖率、监听（watch）模式和并行执行。用于 JS\u002FTS 测试自动化。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fextensions\u002Fjavascript\u002Fskills\u002Fvitest-runner\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,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"runner","vitest","vitest runner","write","for","mode","with","watch","tests","parallel execution","use","execute","coverage","typescript","read","parallel","js","Bash","execution","test automation","test","javascript","automation","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: vitest-runner\ndescription: Execute JavaScript\u002FTypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS\u002FTS test automation.\ntools: Read, Write, Bash\nplatforms: [all]\n\n---\n\n# Vitest Runner Skill\n\n## Purpose\n\nSingle responsibility: Execute and manage Vitest test suites with proper configuration, coverage reporting, and failure analysis. (BP-4)\n\n## Grounding Checkpoint (Archetype 1 Mitigation)\n\nBefore executing, VERIFY:\n\n- [ ] Node.js installed and version appropriate\n- [ ] package.json exists with vitest dependency\n- [ ] Test files exist (*.test.ts, *.spec.ts)\n- [ ] vitest.config.ts or vite.config.ts present (optional)\n\n**DO NOT run tests without verifying node_modules installed.**\n\n## Uncertainty Escalation (Archetype 2 Mitigation)\n\nASK USER instead of guessing when:\n\n- Multiple test configurations detected\n- Coverage threshold unclear\n- Watch mode vs single run\n- Specific test patterns needed\n\n**NEVER modify test configurations without user approval.**\n\n## Context Scope (Archetype 3 Mitigation)\n\n| Context Type | Included | Excluded |\n|--------------|----------|----------|\n| RELEVANT | Test files, vitest config, package.json | Application logic |\n| PERIPHERAL | Coverage reports, test utilities | Build configs |\n| DISTRACTOR | Deployment configs | Other frameworks |\n\n## Workflow Steps\n\n### Step 1: Environment Check (Grounding)\n\n```bash\n# Verify Node.js\nnode --version\nnpm --version\n\n# Check vitest installed\nnpx vitest --version || npm install -D vitest\n\n# List test files\nfind . -name \"*.test.ts\" -o -name \"*.spec.ts\" | grep -v node_modules | head -20\n```\n\n### Step 2: Discover Tests\n\n```bash\n# Show test collection\nnpx vitest --run --reporter=verbose --passWithNoTests 2>&1 | head -50\n\n# List test files\nnpx vitest list\n```\n\n### Step 3: Execute Tests\n\n**Basic execution:**\n```bash\nnpx vitest run\n```\n\n**With coverage:**\n```bash\nnpx vitest run --coverage\n```\n\n**Specific file or pattern:**\n```bash\nnpx vitest run src\u002Futils.test.ts\nnpx vitest run --grep \"authentication\"\n```\n\n**Watch mode:**\n```bash\nnpx vitest --watch\n```\n\n**Parallel execution:**\n```bash\nnpx vitest run --pool threads --poolOptions.threads.maxThreads 4\n```\n\n### Step 4: Analyze Results\n\n```bash\n# Verbose output with failures\nnpx vitest run --reporter=verbose 2>&1 | tee test_results.txt\n\n# Extract failures\ngrep -E \"^FAIL|AssertionError|Error:\" test_results.txt\n\n# Coverage summary\nnpx vitest run --coverage --coverage.reporter=text-summary\n```\n\n## Recovery Protocol (Archetype 4 Mitigation)\n\nOn error:\n\n1. **PAUSE** - Capture test output\n2. **DIAGNOSE** - Check error type:\n   - `Cannot find module` → Check imports, tsconfig paths\n   - `SyntaxError` → Check TypeScript compilation\n   - `Timeout` → Increase timeout or check async handling\n   - `ENOENT` → Check file paths, fixtures\n3. **ADAPT** - Adjust test selection or configuration\n4. **RETRY** - With narrower scope (max 3 attempts)\n5. **ESCALATE** - Report failures with context\n\n## Checkpoint Support\n\nState saved to: `.aiwg\u002Fworking\u002Fcheckpoints\u002Fvitest-runner\u002F`\n\n```\ncheckpoints\u002Fvitest-runner\u002F\n├── test_collection.json     # Discovered tests\n├── test_results.json        # Last run results\n├── coverage_report.json     # Coverage data\n└── failure_analysis.md      # Failure diagnostics\n```\n\n## Common Vitest Options\n\n| Option | Purpose |\n|--------|---------|\n| `--run` | Single run (no watch) |\n| `--watch` | Watch mode |\n| `--coverage` | Generate coverage |\n| `--reporter=verbose` | Detailed output |\n| `--grep \"pattern\"` | Filter tests |\n| `--bail` | Stop on first failure |\n| `--update` | Update snapshots |\n| `--ui` | Open UI |\n\n## Configuration Templates\n\n**vitest.config.ts:**\n```typescript\nimport { defineConfig } from 'vitest\u002Fconfig'\n\nexport default defineConfig({\n  test: {\n    include: ['**\u002F*.{test,spec}.{js,ts}'],\n    exclude: ['node_modules', 'dist'],\n    coverage: {\n      provider: 'v8',\n      reporter: ['text', 'html', 'json'],\n      exclude: ['node_modules\u002F', 'test\u002F']\n    },\n    globals: true,\n    environment: 'node'\n  }\n})\n```\n\n## References\n\n- Vitest documentation: https:\u002F\u002Fvitest.dev\u002F\n- REF-001: Production-Grade Agentic Workflows (BP-4 single responsibility)\n- REF-002: LLM Failure Modes (Archetype 1 grounding)\n","# Vitest Runner Skill\n\n## Purpose\n\nSingle responsibility: Execute and manage Vitest test suites with proper configuration, coverage reporting, and failure analysis. (BP-4)\n\n## Grounding Checkpoint (Archetype 1 Mitigation)\n\nBefore executing, VERIFY:\n\n- [ ] Node.js installed and version appropriate\n- [ ] package.json exists with vitest dependency\n- [ ] Test files exist (*.test.ts, *.spec.ts)\n- [ ] vitest.config.ts or vite.config.ts present (optional)\n\n**DO NOT run tests without verifying node_modules installed.**\n\n## Uncertainty Escalation (Archetype 2 Mitigation)\n\nASK USER instead of guessing when:\n\n- Multiple test configurations detected\n- Coverage threshold unclear\n- Watch mode vs single run\n- Specific test patterns needed\n\n**NEVER modify test configurations without user approval.**\n\n## Context Scope (Archetype 3 Mitigation)\n\n| Context Type | Included | Excluded |\n|--------------|----------|----------|\n| RELEVANT | Test files, vitest config, package.json | Application logic |\n| PERIPHERAL | Coverage reports, test utilities | Build configs |\n| DISTRACTOR | Deployment configs | Other frameworks |\n\n## Workflow Steps\n\n### Step 1: Environment Check (Grounding)\n\n```bash\n# Verify Node.js\nnode --version\nnpm --version\n\n# Check vitest installed\nnpx vitest --version || npm install -D vitest\n\n# List test files\nfind . -name \"*.test.ts\" -o -name \"*.spec.ts\" | grep -v node_modules | head -20\n```\n\n### Step 2: Discover Tests\n\n```bash\n# Show test collection\nnpx vitest --run --reporter=verbose --passWithNoTests 2>&1 | head -50\n\n# List test files\nnpx vitest list\n```\n\n### Step 3: Execute Tests\n\n**Basic execution:**\n```bash\nnpx vitest run\n```\n\n**With coverage:**\n```bash\nnpx vitest run --coverage\n```\n\n**Specific file or pattern:**\n```bash\nnpx vitest run src\u002Futils.test.ts\nnpx vitest run --grep \"authentication\"\n```\n\n**Watch mode:**\n```bash\nnpx vitest --watch\n```\n\n**Parallel execution:**\n```bash\nnpx vitest run --pool threads --poolOptions.threads.maxThreads 4\n```\n\n### Step 4: Analyze Results\n\n```bash\n# Verbose output with failures\nnpx vitest run --reporter=verbose 2>&1 | tee test_results.txt\n\n# Extract failures\ngrep -E \"^FAIL|AssertionError|Error:\" test_results.txt\n\n# Coverage summary\nnpx vitest run --coverage --coverage.reporter=text-summary\n```\n\n## Recovery Protocol (Archetype 4 Mitigation)\n\nOn error:\n\n1. **PAUSE** - Capture test output\n2. **DIAGNOSE** - Check error type:\n   - `Cannot find module` → Check imports, tsconfig paths\n   - `SyntaxError` → Check TypeScript compilation\n   - `Timeout` → Increase timeout or check async handling\n   - `ENOENT` → Check file paths, fixtures\n3. **ADAPT** - Adjust test selection or configuration\n4. **RETRY** - With narrower scope (max 3 attempts)\n5. **ESCALATE** - Report failures with context\n\n## Checkpoint Support\n\nState saved to: `.aiwg\u002Fworking\u002Fcheckpoints\u002Fvitest-runner\u002F`\n\n```\ncheckpoints\u002Fvitest-runner\u002F\n├── test_collection.json     # Discovered tests\n├── test_results.json        # Last run results\n├── coverage_report.json     # Coverage data\n└── failure_analysis.md      # Failure diagnostics\n```\n\n## Common Vitest Options\n\n| Option | Purpose |\n|--------|---------|\n| `--run` | Single run (no watch) |\n| `--watch` | Watch mode |\n| `--coverage` | Generate coverage |\n| `--reporter=verbose` | Detailed output |\n| `--grep \"pattern\"` | Filter tests |\n| `--bail` | Stop on first failure |\n| `--update` | Update snapshots |\n| `--ui` | Open UI |\n\n## Configuration Templates\n\n**vitest.config.ts:**\n```typescript\nimport { defineConfig } from 'vitest\u002Fconfig'\n\nexport default defineConfig({\n  test: {\n    include: ['**\u002F*.{test,spec}.{js,ts}'],\n    exclude: ['node_modules', 'dist'],\n    coverage: {\n      provider: 'v8',\n      reporter: ['text', 'html', 'json'],\n      exclude: ['node_modules\u002F', 'test\u002F']\n    },\n    globals: true,\n    environment: 'node'\n  }\n})\n```\n\n## References\n\n- Vitest documentation: https:\u002F\u002Fvitest.dev\u002F\n- REF-001: Production-Grade Agentic Workflows (BP-4 single responsibility)\n- REF-002: LLM Failure Modes (Archetype 1 grounding)\n",{"name":5,"tools":59,"namespace":60,"platforms":61,"description":7},"Read, Write, Bash","aiwg",[62],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fextensions\u002Fjavascript\u002Fskills\u002Fvitest-runner",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add jmagly\u002Faiwg --skill vitest-runner",{"tool":79,"command":80},"bunx","bunx skills add jmagly\u002Faiwg --skill vitest-runner",{"tool":82,"command":83},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill vitest-runner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fextensions\u002Fjavascript\u002Fskills\u002Fvitest-runner\u002FSKILL.md",true,[],[88,96,101,126,145,150],{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":95},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":97,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":95},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":17,"description":104,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":54},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[108,109,110,111,112,45,113,114,115,116,117,118,119,48,120,121,122,123,124,125],"hardening","host","host hardening","verification","secrets","request","remediation","recommendations","audit","plan","port","bind","access","only","retention","re","never","firewall",{"skillNo":127,"name":128,"nameZh":17,"description":129,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":54},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[133,134,135,136,137,34,45,138,118,124,48,139,109,140,121,141,142,125,143,144],"analysis","exposure analysis","collection","reconstruction","operator","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":146,"name":103,"nameZh":17,"description":104,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":54},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[108,109,110,123,124,125,119,122,115,112,45,113,114,116,117,118,111,48,120,121],{"skillNo":151,"name":128,"nameZh":17,"description":129,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":54},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[133,134,144,143,137,142,141,121,136,34,45,138,118,135,48,139,109,125,124,140]]