plugins/devkit/skills/testing-with-vitest/SKILL.md
Vitest 4.x specialized testing guide covering the test runner core: v3 to v4 migration and breaking changes (maxWorkers, test.projects, module runner, coverage overhaul), configuration (environments, coverage v8/istanbul, reporters), CLI and test filtering/tags, parallelism and performance (pools, sharding), Browser Mode (stable in v4, visual regression), fixtures and test context (test.extend), lifecycle hooks (aroundEach/aroundAll, globalSetup), mocking (vi API, modules, timers, MSW), matchers, type testing, and in-source testing. Use when package.json contains vitest or vitest.config.* is present, or when configuring, migrating, or optimizing Vitest. For framework-agnostic test methodology (TDD, AAA, test pyramid, four pillars, anti-patterns), use testing-code. For React Testing Library and React component testing, use lang:developing-react. For Playwright E2E, use testing-e2e-with-playwright.
npx skillsauth add sumik5/sumik-claude-plugin testing-with-vitestInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Vitest 4.x(v4.1.7)の設定・移行・最適化に特化したガイド。 Node.js >= 20、Vite >= 6 を要件とする v4 の全領域を網羅する。
詳細な手順・ガイドラインは INSTRUCTIONS.md を参照してください。
| リファレンス | 内容 | |---|---| | VITEST-V4-MIGRATION.md | v3 → v4 の破壊的変更・移行手順(maxWorkers、test.projects、module runner など) | | VITEST-CONFIG.md | 設定オプション詳細(coverage、environments、reporters、matchers、in-source testing) | | VITEST-CLI.md | CLI フラグ・フィルタリング・デバッグワークフロー | | VITEST-PROJECTS-PERFORMANCE.md | test.projects / モノレポ構成・parallelism・sharding | | VITEST-BROWSER-MODE.md | Browser Mode(v4 で stable)・ビジュアルリグレッション | | VITEST-FIXTURES.md | fixtures と test context(test.extend builder、スコープ、test.override) | | VITEST-LIFECYCLE.md | ライフサイクルフック(aroundEach/aroundAll、globalSetup、provide/inject) | | VITEST-APIS.md | expect / matchers API リファレンス | | MOCKING.md | モック戦略(vi API、モジュール、タイマー、MSW)v4 セマンティクス対応 |
tools
FastAPI (Python) web API development guide covering fundamentals (routing, path/query params, Pydantic models, request/response, error handling), data persistence (SQLAlchemy, SQLModel, async DB, MongoDB, CRUD, Alembic migrations), dependency injection (Depends, dependency_overrides, scopes/lifespan), auth & security (OAuth2, JWT, CORS), async & concurrency (async/await, Starlette, BackgroundTasks, WebSocket, SSE/streaming), testing (TestClient, pytest, httpx, mocking), production deployment & scaling (uvicorn/gunicorn, Docker, optimization), generative-AI services (model serving, streaming, concurrency), and microservice/GraphQL/OpenAPI patterns. MUST load when fastapi is in pyproject.toml/requirements.txt or .py files import fastapi. For Python language/tooling fundamentals (uv/ruff/mypy, packaging, non-FastAPI patterns), use lang:developing-python. For REST/HTTP-spec design, versioning, and API test strategy, use developing-web-apis. For Node.js/Fastify backend services, use building-nodejs-services.
development
studying(スタディング, member.studying.jp)のコースレッスン一覧URLから、配下の「スマート問題集」 「セレクト過去問集(学科試験対策・実技試験対策)」の全問題(問題文・選択肢・正解・解説)を科目単位で 取得し、1科目1JSONファイルに保存する。出力は creating-flashcards スキルへ渡して科目ごとに Anki フラッシュカード化できる。 Use when studying のコースレッスン一覧URL(https://member.studying.jp/course/id/<course_id>/ 形式) を渡され「問題を全部保存したい」「Anki カードにしたい」等と言われたとき。 補足トリガー: studying, スタディング, 資格試験, スマート問題集, セレクト過去問集, 問題集, JSON 保存, Anki 連携。 ブラウザ操作自体の汎用ガイドは web:automating-browser、E2E テストは web:testing-e2e-with-playwright を使う。本スキルは studying 専用の収集ワークフロー + bundled script(scripts/collect-studying.sh) +ログイン認証を提供する。
development
Whizlabs のコース practice test 一覧URLから、配下の全クイズ(Free Test・Practice Test 1〜N 等)を practice mode で巡回し、各問題(問題文・選択肢・正解・解説・参考資料)を取得して 1 クイズ 1 JSON ファイルに 保存する。出力は creating-flashcards スキルへ渡してクイズごとに Anki フラッシュカード化できる。 Use when Whizlabs のコースURL(/learn/course/<slug>/<course-id>/pt 形式)を渡され 「問題を全部保存したい」「Anki カードにしたい」等と言われたとき。 補足トリガー: whizlabs, ホイズラボ, 資格試験, 問題集, practice test, quiz 収集, JSON 保存, Anki 連携。 ブラウザ操作自体の汎用ガイドは web:automating-browser、E2E テストは web:testing-e2e-with-playwright を使う。 本スキルは Whizlabs 専用の収集ワークフロー + bundled script(scripts/collect-whizlabs.sh)+ ログイン認証(agent-browser Auth Vault)を提供する。
development
Guides production Flutter app development with Dart targeting iOS, Android, web, and desktop from a single codebase, including project setup, the widget system (Stateless/Stateful, Material and Cupertino), layout, theming and animation, state management (setState, Provider, Riverpod, BLoC/Cubit, Redux, GetX), navigation and routing (Navigator, go_router, auto_route), networking and backends (http, dio, REST, Firebase, GraphQL), local persistence, responsive multi-platform design, architecture patterns (Clean Architecture, BLoC, MVVM), the pub.dev package ecosystem, widget and integration testing, performance optimization, and build and store release. REQUIRED when creating, implementing, modifying, testing, or shipping a Flutter app, or when pubspec.yaml lists the flutter SDK. For the Dart language itself (types, null safety, OOP, async, collections), use developing-dart. For native iOS/iPadOS apps in Swift/SwiftUI, use developing-ios-apps. For Apple HIG UI/UX decisions, use applying-apple-hig.