atelier-typescript-testing

Community

TypeScript testing patterns with Vitest and MSW.

Authormartinffx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing robust TypeScript tests can be verbose and error-prone; this Skill provides structured patterns and practices using Vitest and MSW to improve reliability and speed.

Core Features & Use Cases

  • Typed mocks: Create and use fully typed mocks for dependencies, ensuring type safety across tests.
  • MSW API mocking: Simulate network calls with MSW to build realistic integration tests.
  • Snapshot testing: Apply inline and file-based snapshots to validate complex outputs without brittle assertions.
  • Test organization guidance: Provide patterns for organizing tests, suites, and shared setup.

Quick Start

Ask Claude to generate a ready-to-run Vitest + MSW testing scaffold for a TypeScript module.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: atelier-typescript-testing
Download link: https://github.com/martinffx/claude-code-atelier/archive/main.zip#atelier-typescript-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.