vitest 是做什麼的?
Vitest 測試框架的模式,涵蓋測試設置、非同步測試、使用 vi.* 進行模擬、快照測試以及測試效能(原名 test-vitest)。此技能應在撰寫或除錯 Vitest 測試時使用。此技能不涵蓋 TDD 方法論(請使用 test-tdd 技能)、使用 MSW 的 API 模擬(請使用 test-msw 技能),或 Jest 特定的 API。
Vitest 測試框架的模式,涵蓋測試設置、非同步測試、使用 vi.* 進行模擬、快照測試以及測試效能(原名 test-vitest)。此技能應在撰寫或除錯 Vitest 測試時使用。此技能不涵蓋 TDD 方法論(請使用 test-tdd 技能)、使用 MSW 的 API 模擬(請使用 test-msw 技能),或 Jest 特定的 API。
此技能提供 Vitest 測試框架的全面模式與最佳實踐,專為使用 Vitest 進行現代 JavaScript 與 TypeScript 專案開發的開發者設計。它涵蓋測試設置、非同步測試、使用 vi.* API 進行模擬、快照測試及測試優化等關鍵領域,協助使用者編寫可維護且可靠的測試。此技能跟進 Vitest 的最新功能與慣例,避免涵蓋 TDD 流程、MSW API 模擬或 Jest 專用語法,適合已在 Vitest 生態中運作、需要高效測試的開發者。
npx skills add https://github.com/pproenca/dot-skills/tree/main/skills/vitestInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Vitest 測試框架的模式,涵蓋測試設置、非同步測試、使用 vi.* 進行模擬、快照測試以及測試效能(原名 test-vitest)。此技能應在撰寫或除錯 Vitest 測試時使用。此技能不涵蓋 TDD 方法論(請使用 test-tdd 技能)、使用 MSW 的 API 模擬(請使用 test-msw 技能),或 Jest 特定的 API。
This repo contains 7 individual skills — each has its own dedicated page.
Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.
Code simplification skill for improving clarity, consistency, and maintainability while preserving exact behavior. Use when simplifying code, reducing complexity, cleaning up recent changes, applying refactoring patterns, or improving readability. Triggers on tasks involving code cleanup, simplification, refactoring, or readability improvements.
Emil Kowalski's animation best practices for web interfaces. Use when writing, reviewing, or implementing animations in React, CSS, or Framer Motion. Triggers on tasks involving transitions, easing, gestures, toasts, drawers, or motion.
nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.
React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, and the v7.55+ subscribe() API. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions, useActionState, or server-side form handling (use react-19 skill for those).
TypeScript performance, tsconfig, type errors, async patterns — triggered when the user asks to "optimize TypeScript performance", "speed up tsc compilation", "configure tsconfig.json", "fix type errors", "improve async patterns", or encounters TS errors (TS2322, TS2339, "is not assignable to"). Also triggers on .ts, .tsx, .d.ts file work involving type definitions, module organization, or memory management. Does NOT cover TypeScript basics, framework-specific patterns, or testing.
Zod schema validation best practices for type safety, parsing, and error handling. This skill should be used when defining z.object schemas, using z.string validations, safeParse, or z.infer. This skill does NOT cover React Hook Form integration patterns (use react-hook-form skill) or OpenAPI client generation (use orval skill).
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.