write-unit-tests

Official

Streamline tldraw SDK test coverage.

Authortldraw
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing unit and integration tests for the tldraw SDK can be time-consuming and error-prone. This Skill provides structured guidance and patterns to implement tests effectively, ensuring changes in editor and tldraw packages are reliably validated.

Core Features & Use Cases

  • Vitest-based testing patterns aligned with the tldraw codebase
  • TestEditor usage guidance and examples for common scenarios
  • Test file organization recommendations (unit tests alongside source, integration tests under test directories)

Quick Start

Create tests following the Vitest patterns and TestEditor usage described above and run the repository's standard test commands.

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: write-unit-tests
Download link: https://github.com/tldraw/tldraw/archive/main.zip#write-unit-tests

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 471,000+ vetted skills library on demand.