gen-test
スター1
フォーク0
更新日2026年3月8日 16:56
Generate a vitest test file following project TDD conventions
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Generate a vitest test file following project TDD conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | gen-test |
| description | Generate a vitest test file following project TDD conventions |
| disable-model-invocation | true |
Create a vitest test file for a given source file, following this project's conventions.
/gen-test <path-to-source-file>
__tests__/ (e.g., lib/foo/bar.ts → __tests__/lib/foo/bar.test.ts).import { describe, expect, it } from 'vitest'@/ alias@testing-library/react and @testing-library/user-eventnpx vitest run <test-file-path> to verify tests execute.