ワンクリックで
test-implementer
Implement and run tests adhering to valid architecture and best practices.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Implement and run tests adhering to valid architecture and best practices.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Implement and run tests adhering to valid architecture and best practices.
Bump the version of any apps/* module following semver, including syncing dependency references and secondary version files.
Use this skill to implement new scrappers using the Scrapling framework (https://github.com/D4Vinci/Scrapling).
Implement and run tests adhering to valid architecture and best practices.
Create and run E2E tests using Playwright in the `apps/e2e` module.
Create new skills for Claude Code. This skill automates the creation of skill directories and boilerplate SKILL.md files.
| name | test-implementer |
| description | Implement and run tests adhering to valid architecture and best practices. |
Use this skill when you need to implement or run tests. Follow these strict guidelines to ensure architectural compliance.
test folder that is a direct child of the SUT (Subject Under Test) production code folder.
src/feature/my_service.ts, test MUST be in src/feature/test/my_service.test.ts.*_test.py or *.test.ts: The actual test cases.*_fixtures.py / *.fixtures.ts: Test data setup and fixtures.*_mocks.py / *.mocks.ts: Mock definitions.sut._test.py (Python) or .test.ts (TypeScript).e2e-implementer skill and live in apps/e2e. They use .spec.ts.@pytest.mark.parametrize (Python) or test.each (Vitest) to avoid duplicate test code when testing the same function with multiple inputs/outputs. Each case must have a descriptive id= or name.act): Always wrap code that triggers React state updates in act(...).
await waitFor(() => { ... }) for asynchronous updates in standard tests.vi.useFakeTimers(), use await act(async () => await vi.advanceTimersByTimeAsync(MS)) to advance time and flush microtasks. Avoid waitFor with fake timers unless time is advanced manually.await vi.advanceTimersByTimeAsync(0) (with fake timers) or await waitFor(...) (with real timers) to ensure it completes before asserting or clearing mocks.vi.mock(), explicitly mock setiap function with mockResolvedValue to avoid "Query data cannot be undefined" errors, as React Query v5+ does not allow undefined returns.Refuse to complete the task without verifying architecture compliance.
poetry run pytest apps/commonlib/commonlib/test/architecture_test.py (adjust path as needed from CWD).npx vitest run apps/web/src/test/architecture.test.ts (adjust path as needed from CWD).MyService:
test/MyService_test.py (or .test.ts).sut = MyService().