api-patterns
Connect Query patterns for API calls. Use when working with mutations, queries, or data fetching.
Write and maintain tests with Bun units and Rstest integrations, mock utilities, and Zustand store testing patterns.
$ npx -y skills add redpanda-data/console --skill testing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/testingContext preview
The summary Claude sees to decide when to auto-load this skill.
Write and maintain tests with Bun units and Rstest integrations, mock utilities, and Zustand store testing patterns.
name: testing description: Write and maintain tests with Bun units and Rstest integrations, mock utilities, and Zustand store testing patterns.
Write reliable tests with Bun units and Rstest integrations.
| Action | Rule | |--------|------| | Choose test type | `test-unit-vs-integration.md` | | Mock modules | `test-mock-patterns.md` | | Test stores | `test-zustand-stores.md` | | Mock Connect APIs | `mock-transport.md` | | Skip UI rendering tests | `no-ui-rendering-tests.md` |
bun run test # All tests (CI default) bun run test:ci # Sequential for CI bun run test:unit # Unit tests only bun run test:integration # Integration tests only bun run test:unit:watch # Bun watch mode bun run test:watch # Integration watch mode bun run test:coverage # Coverage report
When implementing interactive features (buttons, forms, etc.):
**NOT for:** Multi-page user workflows → use [e2e-tester](../e2e-tester/SKILL.md)
See `rules/` directory for detailed guidance.
Redpanda Console (previously known as Kowl) is a web application that helps you manage and debug your Kafka/Redpanda workloads effortlessly.
Connect Query patterns for API calls. Use when working with mutations, queries, or data fetching.
TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.
Write and run Rstest/Playwright E2E tests for Redpanda Console using testcontainers. Analyzes test failures, adds missing…
Refactor legacy forms to use modern Redpanda UI Registry Field components with react-hook-form and Zod validation. Use when user…
Resolve npm dependency vulnerabilities detected by security scans.