Frontend Testing
Test web UIs at the right level — Vitest or Jest with Testing Library, MSW network mocking, Playwright end-to-end tests, accessibility and visual checks, and how to keep tests fast, stable and behavior-focused.
What it does
Test web UIs at the right level — Vitest or Jest with Testing Library, MSW network mocking, Playwright end-to-end tests, accessibility and visual checks, and how to keep tests fast, stable and behavior-focused.
- Category
- webfrontendtesting
- Platforms
- web
- Frameworks and tools
- reactvitestjestplaywrighttesting-library
- Capabilities
- testingcode-generationreview
Example tasks
- “Write Testing Library tests for a form with async validation and an API call.”
- “Create a Playwright test for the checkout flow that is not flaky.”
- “Diagnose why this test passes locally and fails in CI.”
Works with
Permissions summary
Files
Reads files only
Shell
No shell commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/skills/<id>/SKILL.md |
| OpenAI Codex | Adapter | .codex/skills/<id>/SKILL.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Adapter | .github/instructions/<id>.instructions.md |
| Generic markdown | Adapter | docs/forgekit/skills/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (69 lines in total).
- 01Frontend Testing
- 021. Choosing the level
- 032. Testing Library rules
- 043. Network and time
- 054. Playwright rules
- 065. Keeping the suite healthy
- 07Common mistakes
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Frontend Testing
1.0.0
- Initial release.