[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PMCGTG3R60TS5ZR5SJ265D":3,"skill-same:01M6PMCGTG3R60TS5ZR5SJ265D":90},{"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":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":14,"repositoryHtmlUrl":62,"repositoryHomepageUrl":6,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":6,"updatedAt":65,"install":66,"resources":79},"01M6PMCGTG3R60TS5ZR5SJ265D","vitest-skill",null,"Generates Vitest tests in JavaScript\u002FTypeScript with Vite-native speed. Jest-compatible API with ESM support and HMR. Use when user mentions \"Vitest\", \"vi.mock\", \"vitest.config\". Triggers on: \"Vitest\", \"vi.mock\", \"vi.fn\", \"Vite test\", \"vitest config\".","headmktlucca-ui\u002Fneuroads-lp","headmktlucca-ui","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F247379838?v=4","01M6PDVAV6M1W96D1SR1PDF8CS","NeuroAds","01M6PDVAZ4P281GNDKD45CYTF5",0,"MIT","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fvitest-skill\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"vitest skill","vitest","speed","with","unit-testing","native","unit","mock","fn","triggers","tests","testing","jest","vite","use","api","config","test","javascript","support","2026-11-10 10:12:30",false,"---\nname: vitest-skill\ndescription: >\n  Generates Vitest tests in JavaScript\u002FTypeScript with Vite-native speed.\n  Jest-compatible API with ESM support and HMR. Use when user mentions \"Vitest\",\n  \"vi.mock\", \"vitest.config\". Triggers on: \"Vitest\", \"vi.mock\", \"vi.fn\",\n  \"Vite test\", \"vitest config\".\nlanguages:\n  - JavaScript\n  - TypeScript\ncategory: unit-testing\nlicense: MIT\nmetadata:\n  author: TestMu AI\n  version: \"1.0\"\n---\n\n# Vitest Testing Skill\n\n## Core Patterns\n\n### Basic Test\n\n```typescript\nimport { describe, it, expect, vi, beforeEach } from 'vitest';\nimport { Calculator } from '.\u002Fcalculator';\n\ndescribe('Calculator', () => {\n  let calc: Calculator;\n  beforeEach(() => { calc = new Calculator(); });\n\n  it('adds two numbers', () => {\n    expect(calc.add(2, 3)).toBe(5);\n  });\n\n  it('throws on divide by zero', () => {\n    expect(() => calc.divide(10, 0)).toThrow();\n  });\n});\n```\n\n### Mocking (vi instead of jest)\n\n```typescript\nimport { vi } from 'vitest';\n\n\u002F\u002F Mock module\nvi.mock('.\u002Fdatabase', () => ({\n  getUser: vi.fn().mockResolvedValue({ name: 'Alice' }),\n  saveUser: vi.fn().mockResolvedValue(true),\n}));\n\n\u002F\u002F Mock function\nconst mockFn = vi.fn();\nmockFn.mockReturnValue(42);\nmockFn.mockResolvedValue({ data: 'test' });\n\n\u002F\u002F Spy\nconst spy = vi.spyOn(console, 'log').mockImplementation(() => {});\nexpect(spy).toHaveBeenCalledWith('message');\nspy.mockRestore();\n\n\u002F\u002F Timers\nvi.useFakeTimers();\nvi.advanceTimersByTime(1000);\nvi.runAllTimers();\nvi.useRealTimers();\n```\n\n### In-Source Testing\n\n```typescript\n\u002F\u002F src\u002Fmath.ts — tests alongside code!\nexport function add(a: number, b: number) { return a + b; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nif (import.meta.vitest) {\n  const { it, expect } = import.meta.vitest;\n  it('adds', () => { expect(add(2, 3)).toBe(5); });\n  it('multiplies', () => { expect(multiply(3, 4)).toBe(12); });\n}\n```\n\n### Snapshot Testing\n\n```typescript\nit('serializes user', () => {\n  expect(serializeUser(user)).toMatchSnapshot();\n});\n\nit('inline snapshot', () => {\n  expect(serializeUser(user)).toMatchInlineSnapshot(`\n    { \"name\": \"Alice\", \"email\": \"alice@test.com\" }\n  `);\n});\n```\n\n### React Component Testing\n\n```typescript\nimport { render, screen } from '@testing-library\u002Freact';\nimport { describe, it, expect } from 'vitest';\nimport Button from '.\u002FButton';\n\ndescribe('Button', () => {\n  it('renders with label', () => {\n    render(\u003CButton label=\"Click me\" \u002F>);\n    expect(screen.getByText('Click me')).toBeDefined();\n  });\n});\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| `jest.fn()` | `vi.fn()` | Vitest uses `vi` |\n| `jest.mock()` | `vi.mock()` | Different namespace |\n| No type safety | TypeScript + strict | Vitest is TS-first |\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Run once | `npx vitest run` |\n| Watch | `npx vitest` (default) |\n| UI | `npx vitest --ui` |\n| Coverage | `npx vitest --coverage` |\n| Specific file | `npx vitest run src\u002Fmath.test.ts` |\n| Filter | `npx vitest run -t \"adds\"` |\n\n## vitest.config.ts\n\n```typescript\nimport { defineConfig } from 'vitest\u002Fconfig';\nexport default defineConfig({\n  test: {\n    globals: true,\n    environment: 'jsdom',\n    coverage: { provider: 'v8', reporter: ['text', 'html'] },\n    include: ['src\u002F**\u002F*.{test,spec}.{js,ts,tsx}'],\n    includeSource: ['src\u002F**\u002F*.{js,ts}'],\n  },\n});\n```\n\n## Deep Patterns → `reference\u002Fplaybook.md`\n\n| § | Section | Lines |\n|---|---------|-------|\n| 1 | Production Configuration | Config, workspace, setup file |\n| 2 | Mocking Patterns | vi.mock, spies, timers, fetch |\n| 3 | React Testing Library | Components, hooks, providers |\n| 4 | Snapshot & Inline Snapshots | File, inline, serializers |\n| 5 | Table-Driven Tests | test.each, describe.each |\n| 6 | In-Source Testing | Co-located tests in source |\n| 7 | API \u002F Integration Testing | Server tests with fetch |\n| 8 | CI\u002FCD Integration | GitHub Actions, scripts |\n| 9 | Debugging Quick-Reference | 10 common problems |\n| 10 | Best Practices Checklist | 13 items |\n","# Vitest Testing Skill\n\n## Core Patterns\n\n### Basic Test\n\n```typescript\nimport { describe, it, expect, vi, beforeEach } from 'vitest';\nimport { Calculator } from '.\u002Fcalculator';\n\ndescribe('Calculator', () => {\n  let calc: Calculator;\n  beforeEach(() => { calc = new Calculator(); });\n\n  it('adds two numbers', () => {\n    expect(calc.add(2, 3)).toBe(5);\n  });\n\n  it('throws on divide by zero', () => {\n    expect(() => calc.divide(10, 0)).toThrow();\n  });\n});\n```\n\n### Mocking (vi instead of jest)\n\n```typescript\nimport { vi } from 'vitest';\n\n\u002F\u002F Mock module\nvi.mock('.\u002Fdatabase', () => ({\n  getUser: vi.fn().mockResolvedValue({ name: 'Alice' }),\n  saveUser: vi.fn().mockResolvedValue(true),\n}));\n\n\u002F\u002F Mock function\nconst mockFn = vi.fn();\nmockFn.mockReturnValue(42);\nmockFn.mockResolvedValue({ data: 'test' });\n\n\u002F\u002F Spy\nconst spy = vi.spyOn(console, 'log').mockImplementation(() => {});\nexpect(spy).toHaveBeenCalledWith('message');\nspy.mockRestore();\n\n\u002F\u002F Timers\nvi.useFakeTimers();\nvi.advanceTimersByTime(1000);\nvi.runAllTimers();\nvi.useRealTimers();\n```\n\n### In-Source Testing\n\n```typescript\n\u002F\u002F src\u002Fmath.ts — tests alongside code!\nexport function add(a: number, b: number) { return a + b; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nif (import.meta.vitest) {\n  const { it, expect } = import.meta.vitest;\n  it('adds', () => { expect(add(2, 3)).toBe(5); });\n  it('multiplies', () => { expect(multiply(3, 4)).toBe(12); });\n}\n```\n\n### Snapshot Testing\n\n```typescript\nit('serializes user', () => {\n  expect(serializeUser(user)).toMatchSnapshot();\n});\n\nit('inline snapshot', () => {\n  expect(serializeUser(user)).toMatchInlineSnapshot(`\n    { \"name\": \"Alice\", \"email\": \"alice@test.com\" }\n  `);\n});\n```\n\n### React Component Testing\n\n```typescript\nimport { render, screen } from '@testing-library\u002Freact';\nimport { describe, it, expect } from 'vitest';\nimport Button from '.\u002FButton';\n\ndescribe('Button', () => {\n  it('renders with label', () => {\n    render(\u003CButton label=\"Click me\" \u002F>);\n    expect(screen.getByText('Click me')).toBeDefined();\n  });\n});\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| `jest.fn()` | `vi.fn()` | Vitest uses `vi` |\n| `jest.mock()` | `vi.mock()` | Different namespace |\n| No type safety | TypeScript + strict | Vitest is TS-first |\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Run once | `npx vitest run` |\n| Watch | `npx vitest` (default) |\n| UI | `npx vitest --ui` |\n| Coverage | `npx vitest --coverage` |\n| Specific file | `npx vitest run src\u002Fmath.test.ts` |\n| Filter | `npx vitest run -t \"adds\"` |\n\n## vitest.config.ts\n\n```typescript\nimport { defineConfig } from 'vitest\u002Fconfig';\nexport default defineConfig({\n  test: {\n    globals: true,\n    environment: 'jsdom',\n    coverage: { provider: 'v8', reporter: ['text', 'html'] },\n    include: ['src\u002F**\u002F*.{test,spec}.{js,ts,tsx}'],\n    includeSource: ['src\u002F**\u002F*.{js,ts}'],\n  },\n});\n```\n\n## Deep Patterns → `reference\u002Fplaybook.md`\n\n| § | Section | Lines |\n|---|---------|-------|\n| 1 | Production Configuration | Config, workspace, setup file |\n| 2 | Mocking Patterns | vi.mock, spies, timers, fetch |\n| 3 | React Testing Library | Components, hooks, providers |\n| 4 | Snapshot & Inline Snapshots | File, inline, serializers |\n| 5 | Table-Driven Tests | test.each, describe.each |\n| 6 | In-Source Testing | Co-located tests in source |\n| 7 | API \u002F Integration Testing | Server tests with fetch |\n| 8 | CI\u002FCD Integration | GitHub Actions, scripts |\n| 9 | Debugging Quick-Reference | 10 common problems |\n| 10 | Best Practices Checklist | 13 items |\n",{"name":5,"license":15,"category":31,"metadata":52,"languages":55,"description":58},{"author":53,"version":54},"TestMu AI","1.0",[56,57],"JavaScript","TypeScript","Generates Vitest tests in JavaScript\u002FTypeScript with Vite-native speed. Jest-compatible API with ESM support and HMR. Use when user mentions \"Vitest\", \"vi.mock\", \"vitest.config\". Triggers on: \"Vitest\", \"vi.mock\", \"vi.fn\", \"Vite test\", \"vitest config\".\n","main","7a940b8e5af16c95e5c190a524421d32fc7445a9",".agent\u002Fskills\u002Fvitest-skill","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui","https:\u002F\u002Fneuroads.com.br","2026-08-12 00:42:44",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add headmktlucca-ui\u002Fneuroads-lp --skill vitest-skill",{"tool":72,"command":73},"bunx","bunx skills add headmktlucca-ui\u002Fneuroads-lp --skill vitest-skill",{"tool":75,"command":76},"pnpm","pnpm dlx skills add headmktlucca-ui\u002Fneuroads-lp --skill vitest-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fvitest-skill\u002FSKILL.md",true,[80,86],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"reference\u002Fadvanced-patterns.md","REFERENCE","参考文档",4600,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fvitest-skill\u002Freference\u002Fadvanced-patterns.md",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"reference\u002Fplaybook.md",11962,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fvitest-skill\u002Freference\u002Fplaybook.md",[91,105,128,154,171,206],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":99,"publishedAt":47},"01M6PTDCZTXTGSTX4RFK901YSZ","xunit-skill","Generates xUnit.net tests in C#. Covers Fact\u002FTheory, constructor injection, IClassFixture, and FluentAssertions. Use when user mentions \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal\", \"C# xUnit\". Triggers on: \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal C#\", \"xUnit.net\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxunit-skill\u002FSKILL.md",[97,98],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[100,101,38,102,103,41,37,36,33,31,104],"xunit","xunit skill","injection","user","C#",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":113,"publishedAt":47},"01M6PTCB59ZTG5FTMWGPYEMMBP","xcuitest-skill","Generates XCUITest UI tests for iOS\u002FiPadOS apps in Swift. Apple's native testing framework for reliable, fast UI automation. Supports local simulators and TestMu AI cloud real devices. Use when user mentions \"XCUITest\", \"XCTest\", \"iOS UI test\", \"Swift test\", \"XCUIApplication\". Triggers on: \"XCUITest\", \"XCTest UI\", \"iOS UI test\", \"Swift UI test\", \"XCUIApplication\", \"TestMu\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxcuitest-skill\u002FSKILL.md",[111,112],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[114,115,38,116,44,117,118,119,41,120,121,122,123,124,37,36,125,32,126,127],"xcuitest","xcuitest skill","automation","testing framework","ios","devices","mobile","mobile-testing","ui test","local","apple","apps","for","objective",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":138,"publishedAt":47},"01M6PTATMNTY9NF4J7KSR76YK6","world-builder","Create and manage generative game zones for Dorothy's Pokemon-style world. Use this skill when creating, updating, or designing game worlds via MCP tools.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fworld-builder\u002FSKILL.md",[134,137],{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[139,140,141,142,143,144,145,146,41,147,148,149,150,151,152,126,153],"builder","world","world builder","MCP","create","mcp tools","Tools","game","pokemon","manage","style","via","theme","zone","generative",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":162,"publishedAt":47},"01M6PT9Z92JTSQEHE1QR0NNW5F","webdriverio-skill","Generates WebdriverIO (WDIO) automation tests in JavaScript or TypeScript. Supports local and TestMu AI cloud. Use when user mentions \"WebdriverIO\", \"WDIO\", \"wdio.conf\", \"browser.url\", \"$\", \"$$\". Triggers on: \"WebdriverIO\", \"WDIO\", \"wdio\", \"browser.$\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwebdriverio-skill\u002FSKILL.md",[160,161],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[163,38,164,116,45,165,166,167,103,41,168,123,37,36,169,170],"webdriverio skill","typescript","browser","cloud","e2e","e2e-testing","URL","conf",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":186,"publishedAt":47},"01M6PT9NVK36ZWCQ69YXK3FR4K","web-design-guidelines","Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fweb\u002FSKILL.md",[177,180,181],{"categoryNo":178,"categoryName":179,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":182,"categoryName":183,"taxonomyType":184,"taxonomyTypeDesc":185},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,36,205],"design","web","guidelines","web design guidelines","web design","css","performance","components","web components","tasks","code","web performance","ui","platform design","html","responsive design","responsive","platform","implementing",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":214,"publishedAt":47},"01M6PT9A3JKRE3X34276F2FW5R","watchos-design-guidelines","Apple Human Interface Guidelines for Apple Watch. Use when building watchOS apps, complications, or workout features. Triggers on tasks involving Watch UI, Digital Crown, glanceable interfaces, or wrist-based interactions.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwatchos\u002FSKILL.md",[212,213],{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":182,"categoryName":183,"taxonomyType":184,"taxonomyTypeDesc":185},[187,189,215,196,199,41,216,217,124,204,218,36,125,219,126,220,221],"watchos design guidelines","workout","human","watch","interface","platform-design","features"]