Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Component tests with Storybook 10 and Vitest v1.0.0

Use this resource to write component stories that also serve as tests

New

  • 403 downloads
  • 240 likes
  • 235 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install storybook-component-test-patterns

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes CSF3 stories with play functions for interaction tests, configures Vitest, enables visual regression with Chromatic TurboSnap and accessibility checks, and mocks modules when needed. It also prepares the migration from Storybook 9.

Mostly picked by

Updated November 2, 2026

Card for the “Component tests with Storybook 10 and Vitest” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • rules/: play functions, CSF3 stories, Vitest integration, TurboSnap and accessibility
  • references/storybook-ci-strategy.md: continuous integration strategy
  • references/storybook-migration-guide.md: migration from Storybook 9

Good fit for

  • You write component stories that must also serve as tests
  • You are migrating a project from Storybook 9 to Storybook 10

Not for

    Tags

    • storybook
    • vitest
    • component tests

    About

    You say

    “Write the story and play function for the contact form, with an accessibility test.”

    Card for the “Component tests with Storybook 10 and Vitest” skill

    Skill published by yonatangross under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write component stories that also serve as tests
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/storybook-addon-ecosystem.md3.5 KB
    • references/storybook-ci-strategy.md3.2 KB
    • references/storybook-migration-guide.md3.3 KB
    • rules/_sections.md1.4 KB
    • rules/_template.md0.4 KB
    • rules/storybook-a11y-testing.md3.3 KB
    • rules/storybook-autodocs.md3.5 KB
    • rules/storybook-chromatic-turbosnap.md2.7 KB
    • rules/storybook-csf3-factories.md2.7 KB
    • rules/storybook-play-functions.md3.3 KB
    • rules/storybook-sb-mock.md3.5 KB
    • rules/storybook-vitest-integration.md2.7 KB
    • SKILL.md9.2 KB
    • test-cases.json6.4 KB

    Origin and licence

    Listed unmodified

    Author
    yonatangross
    Source
    github.com/yonatangross/orchestkit/tree/18a6aaa53d9971ef094b0758b08dfc606a1ea4bc/src/skills/storybook-testing
    Licence
    MIT

    Notice

    « storybook-testing » (yonatangross, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.