ワンクリックで
gen-contract-test
Generate a contract test skeleton for a backend or frontend service following TDD Article III
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate a contract test skeleton for a backend or frontend service following TDD Article III
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Scan a project, interview the user about unknowns, and generate a complete AI harness (Copilot + Claude + Opencode) with Constitutional Articles I–IX
Scan a project, interview the user about unknowns, and generate a complete AI harness (Copilot + Claude + Opencode) with Constitutional Articles I–IX
Scaffold a {{DB_PROVIDER}} SQL migration compliant with sql-standards.md
Scan E2E tests for no-op assertions and overly permissive checks that provide false confidence
Generate a contract test skeleton for a backend or frontend service following TDD Article III
Triage hardcoded dates, AsyncMock misuse, cross-tier truncates, and envelope assertion bugs in the test suite
| name | gen-contract-test |
| description | Generate a contract test skeleton for a backend or frontend service following TDD Article III |
| user-invocable | true |
| disable-model-invocation | true |
| arguments | [{"name":"target","description":"Service or module to test (e.g., 'analytics-service', 'auth/login')","required":true},{"name":"stack","description":"backend or frontend (default: backend)","required":false}] |
Scaffold a contract test that follows the project's TDD mandate (Article III).
{{BACKEND_PATH}}/src/libs/ and {{BACKEND_PATH}}/app/.{{FRONTEND_PATH}}/src/services/ and {{FRONTEND_PATH}}/src/contracts/.Backend: {{BACKEND_PATH}}/tests/contract/test_{target}_contract.py
Frontend: {{FRONTEND_PATH}}/tests/contract/{target}-contract.test.ts
client from conftest.py).{"error": {"code": ..., "message": ...}}.Run the test to confirm it fails before implementation.