Skip to content
cccskills
FreePublished on GitHub

testing

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.

The English summary is being prepared. Showing the original description.

manakuro/asana-clone-app20 stars(GitHub 20 + cccskills 0)

Run score Not tested

See how to install

Files included (2)

  • SKILL.md1.6 KB
  • guidelines.md5.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Testing skill

See guidelines.md for the full decision rules and examples.

Quick reference

ProjectPatternEnvironmentPurpose
unit*.unit.test.ts(x)happy-domPure logic: utils, hooks, data transforms
integration*.integration.test.tsxhappy-domUser flows across components with MSW
storybook*.stories.tsxbrowserVisual states, a11y, interaction per component

One-line decision rule

"If this test fails, do I tell the designer or the engineer?"

  • Designer → storybook
  • Engineer → unit or integration

File placement in this package

  • Unit / integration tests → co-located with the component: src/components/Button/Button.unit.test.tsx
  • Stories → co-located with the component: src/components/Button/Button.stories.tsx
  • MSW handlers → src/mocks/handlers/
  • Storybook config → 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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

commit

Free

Write a Conventional Commits message for the staged changes, show it for review, and commit only after the user approves it.

The English summary is being prepared. Showing the original description.

manakuro/asana-clone-app20Updated Oct 8, 2026

pr

Free

Push the current branch and open a GitHub pull request whose description follows .github/PULL_REQUEST_TEMPLATE.md.

The English summary is being prepared. Showing the original description.

manakuro/asana-clone-app20Updated Oct 8, 2026

See all skills by manakuro

Report a problem with this skill