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.

Frontend testing best practices v1.0.0

Use this resource to write frontend tests that check visible behavior

New

  • 454 downloads
  • 126 likes
  • 207 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install behavior-first-frontend-tests

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 or reviews tests following the repository's philosophy: E2E first, few mocks, stable selectors and targeted unit tests. You get a suite that checks what the user sees and breaks less during refactoring.

Mostly picked by

Updated November 2, 2026

Card for the “Frontend testing best practices” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md : testing philosophy and strategy by level
  • rules/e2e-selectors.md and rules/minimize-mocking.md : selectors and limits on mocking

Good fit for

  • A test suite breaks on every refactor without any real bug
  • You want to choose between an E2E test and a unit test for a function

Not for

    Tags

    • tests
    • e2e
    • mocks
    • behavior

    About

    You say

    “Write an E2E test of the signup flow without mocking the API.”

    Card for the “Frontend testing best practices” skill

    Skill published by sergiodxa 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 frontend tests that check visible behavior
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • rules/avoid-component-tests.md4.2 KB
    • rules/e2e-selectors.md3.2 KB
    • rules/e2e-test-structure.md5.3 KB
    • rules/minimize-mocking.md3.3 KB
    • rules/prefer-e2e-tests.md3.4 KB
    • rules/unit-test-structure.md3.5 KB
    • SKILL.md4.8 KB

    Origin and licence

    Listed unmodified

    Author
    sergiodxa
    Source
    github.com/sergiodxa/agent-skills/tree/40e21b46189d5c7de6610b68a25280af863f8775/skills/frontend-testing-best-practices
    Licence
    MIT

    Notice

    « frontend-testing-best-practices » (sergiodxa, 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.