Skip to main content
Run any Skill in Manus
with one click

int-test-skill

Stars0
Forks0
UpdatedMay 23, 2026 at 00:12

`@repo/shared`パッケージのVitest統合テスト設計・実装・検証を支援するスキル。 Mockプロバイダーを使ったサービス層の契約テストが主な用途。 インターフェース契約の変更時に既存Mockとの互換性を保証し、不変条件を網羅する。 `apps/api` 配下の D1 binding 依存 repository test / Hono route contract test / `require-admin` authz matrix も対象。 Playwright runtime screenshot(in-process mock server `__test__` seed 経由で element-level PNG 撮影)パターンも canonical 化済み。 Anchors: • Contract Testing / 適用: インターフェース契約検証 / 目的: Mock→実装の互換性保証 • Vitest / 適用: テスト実行環境 / 目的: `pnpm --filter @repo/shared test:run` Trigger: 「統合テスト作成」「integration test」「MockClient」「テスト追加」「契約テスト」 「テストケース追加」「Late Chunking テスト」「IEmbeddingClient テスト」 「runtime screenshot」「Playwright mock control endpoint」「__test__ seed」等が発動条件。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
14 files
SKILL.md
readonly