commit
無料Write a Conventional Commits message for the staged changes, show it for review, and commit only after the user approves it.
日本語の概要は準備中です。原文の説明を表示しています。
Use this skill when writing, reviewing, or deciding where to place tests in the Next.js frontend package. Covers which project (unit / integration / storybook) to use for a given scenario, what NOT to duplicate across projects, and file placement conventions for this package.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
See guidelines.md for the full decision rules and examples.
| Project | Pattern | Environment | Purpose |
|---|---|---|---|
| unit | *.unit.test.ts(x) | happy-dom | Pure logic: utils, hooks, data transforms |
| integration | *.integration.test.tsx | happy-dom | User flows across components with MSW |
| storybook | *.stories.tsx | browser | Visual states, a11y, interaction per component |
"If this test fails, do I tell the designer or the engineer?"
- Designer → storybook
- Engineer → unit or integration
src/components/Button/Button.unit.test.tsxsrc/components/Button/Button.stories.tsxsrc/mocks/handlers/apps/nextjs/.storybook/vitest.config.ts → monorepo root (not in this package)For the full decision guide, do-not-duplicate rules, and code examples,
read guidelines.md in this directory.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Write a Conventional Commits message for the staged changes, show it for review, and commit only after the user approves it.
日本語の概要は準備中です。原文の説明を表示しています。
Push the current branch and open a GitHub pull request whose description follows .github/PULL_REQUEST_TEMPLATE.md.
日本語の概要は準備中です。原文の説明を表示しています。