Javascript Testing Patterns
Skill Verifiziert AktivImplement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.
Implement robust testing strategies using Jest, Vitest, and Testing Library for JavaScript/TypeScript projects, ensuring code quality and reliability.
Funktionen
- Comprehensive Jest setup and patterns
- Fast Vitest setup and patterns
- Unit, integration, and E2E testing examples
- Mocking techniques for modules and dependencies
- Frontend component testing with Testing Library
- Test fixtures and factories using Faker.js
- Snapshot testing guidance
Anwendungsfälle
- Setting up test infrastructure for new projects
- Writing unit tests for functions and classes
- Implementing integration tests for APIs and services
- Creating end-to-end tests for user flows
- Mocking external dependencies and APIs
- Testing React components and hooks
- Implementing TDD/BDD workflows
Nicht-Ziele
- Testing specific backend frameworks (beyond generic API integration)
- Advanced CI/CD pipeline configuration
- Tooling for languages other than JavaScript/TypeScript
Installation
Zuerst Marketplace hinzufügen
/plugin marketplace add wshobson/agents/plugin install javascript-typescript@claude-code-workflowsQualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
Deepinit
100Deep codebase initialization with hierarchical AGENTS.md documentation
Cleanup Cycles
100Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".
Netlify Identity
100Verwenden Sie dies, wenn die Aufgabe Authentifizierung, Benutzerregistrierungen, Anmeldungen, Passwortwiederherstellung, OAuth-Anbieter, rollenbasierte Zugriffskontrolle oder den Schutz von Routen und Funktionen beinhaltet. Verwenden Sie immer `@netlify/identity`. Verwenden Sie niemals `netlify-identity-widget` oder `gotrue-js` – diese sind veraltet.
Vue Router Best Practices
100Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
Develop Web Game
100Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.
Sentry React Router Framework Sdk
100Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.