Back to Skills

grey-haven-tdd-typescript

greyhaven-ai
Updated 3 days ago
14 views
15
2
15
View on GitHub
Testingreacttesting

About

This Claude Skill provides expert guidance for Test-Driven Development in TypeScript/JavaScript using Vitest. It implements strict red-green-refactor methodology for features, utility functions, and React component testing. Use it when writing tests first, working with Vitest, or developing TypeScript applications with comprehensive TDD patterns.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/greyhaven-ai/claude-code-config
Git CloneAlternative
git clone https://github.com/greyhaven-ai/claude-code-config.git ~/.claude/skills/grey-haven-tdd-typescript

Copy and paste this command in Claude Code to install this skill

Documentation

TDD TypeScript Skill

Expert TypeScript/JavaScript TDD implementation using strict red-green-refactor methodology with Vitest testing framework.

Description

Implement features by writing failing tests first, minimal code to pass, then refactoring. Comprehensive TypeScript/React TDD patterns.

What's Included

  • Examples: TDD cycles, React component TDD, utility function TDD
  • Reference: Red-green-refactor patterns, Vitest best practices
  • Templates: Test templates, implementation workflows

Use When

  • Implementing TypeScript features with TDD
  • React component development
  • Ensuring high test coverage

Related Agents

  • tdd-typescript-implementer

Skill Version: 1.0

GitHub Repository

greyhaven-ai/claude-code-config
Path: grey-haven-plugins/core/skills/tdd-typescript

Related Skills

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill

webapp-testing

Testing

This Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.

View skill