🔧

Jest

v1.11.0Apache 2.0

Comprehensive Jest testing framework skills for JavaScript and TypeScript projects.

Installation

Install han binary (required for hooks to work):

curl -fsSL https://han.guru/install.sh | bash

Then install this plugin:

han plugin install jest

Overview

Comprehensive Jest testing framework skills for JavaScript and TypeScript projects.

Skills

This plugin provides the following skills:

  • Jest Advanced
  • Jest Configuration
  • Jest Testing Patterns

Usage

Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:

  • Write idiomatic code following best practices
  • Suggest appropriate patterns and architectures
  • Catch common mistakes and anti-patterns
  • Provide framework-specific guidance

Installation

Install with npx (no installation required):

bash
han plugin install jutsu-jest

Skills

Hooks

âš ī¸

Token Usage Notice

Hooks run automatically during Claude Code sessions and their output is sent to the model for processing. This may increase token usage and associated costs. Consider disabling hooks you don't need via han-config.yml.

🛑

Stop

Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.

if [ -f bun.lock ] || [ -f bun.lockb ]; then bun run test
elif [ -f pnpm-lock.yaml ]; then pnpm run test
elif [ -f yarn.lock ]; then yarn test
else npm run test; fi