FreeSkills
Commits, branches and sync with the but CLI
- 361361 downloads
- 198198 likes
- 103103 saves
- Claude Code
- Codex
- Cursor
- and 3 more
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to write a Studio component test that exercises a React Query hook or mutation
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install msw-component-tests-studioWith 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 loginThe agent writes the test with customRender and addAPIMock: it mocks the network rather than the hooks, then checks what renders and what gets sent. It flags known pitfalls such as :slug path params and unhandled requests. You get a test that checks the rendered output and the requests sent.
Mostly picked by
Updated November 2, 2026
You say
“Write a test for this component that mocks the members route with MSW and checks the list.”

Skill published by supabase under the Apache-2.0 license, delivered in its original version.
Listed unmodified
« studio-mock-api-tests » (supabase, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…