[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DRRPN012BHT50ZBMYQVDNB":3,"skill-same:01M7DRRPN012BHT50ZBMYQVDNB":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7DRRPN012BHT50ZBMYQVDNB","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\".","Hazek-dc\u002FPresensiGuru_FaceNet_EMAR","Hazek-dc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F75208960?v=4","01M7DEQV5B4YGS86A81DYH81DR","Hazek","01M7DEQV5XP4TM0C6NTHXCXCHR",1,"MIT","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvitest-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: vitest-skill\ndescription: '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\".'\nrisk: unknown\nsource: https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Ftree\u002Fmain\u002Fvitest-skill\nsource_repo: LambdaTest\u002Fagent-skills\nsource_type: community\ndate_added: 2026-07-01\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Vitest Testing Skill\n## When to Use\n\nUse this skill when you need 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\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\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream source and local project context.\n- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.\n- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# Vitest Testing Skill\n## When to Use\n\nUse this skill when you need 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\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\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream source and local project context.\n- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.\n- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":24,"source":25,"license":15,"date_added":26,"description":7,"source_repo":27,"source_type":28,"license_source":29},"unknown","https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Ftree\u002Fmain\u002Fvitest-skill",1782864000000,"LambdaTest\u002Fagent-skills","community","https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Fblob\u002Fmain\u002FLICENSE","main","b1e4ffadb4f933bbbcaa03a83f8b9929171ac28b",".agents\u002Fskills\u002Fvitest-skill",0,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR","https:\u002F\u002Fgithub.com\u002FHazek-dc","2026-10-22 08:36:44",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill vitest-skill",{"tool":43,"command":44},"bunx","bunx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill vitest-skill",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill vitest-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvitest-skill\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7DS6GGYRZAYD33PFPS8Z2T3","testing-best-practices","Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftesting-best-practices\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7DS6BC3AW7HTPRHE2TTVKWM","tailwindcss-development","Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex\u002Fgrid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3\u002Fv4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML\u002FCSS component, CSS file audits, build tool configuration, and vanilla CSS.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftailwindcss-development\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DS66GE6B11MYJDVC74HXM4","laravel-best-practices","Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Flaravel-best-practices\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DS5ZW717DMS6P1E90AQCKV","infer-conventions","Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai\u002Frules`, resolve mixed or conflicting patterns (e.g. \"are we using Form Requests or inline validation?\"), or onboard agents and teammates to \"how we do things here\". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai\u002Frules` files by hand.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finfer-conventions\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DS5W12RGCVJTFQJ1N0GB8E","inertia-react-development","Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using \u003CLink>, \u003CForm>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finertia-react-development\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DS5PVDPMPCWSK2RXPDC9BB","deploying-to-cloud","Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Fdeploying-to-cloud\u002FSKILL.md",[],[]]