Jest
Comprehensive Jest testing framework skills for JavaScript and TypeScript projects.
Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-jestOverview
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
License
Licensed under MIT - see repository for details.
Skills
jest-advanced
Use when advanced Jest features including custom matchers, parameterized tests with test.each, coverage configuration, and performance optimization.
jest-configuration
Use when jest configuration, setup files, module resolution, and project organization for optimal testing environments.
jest-testing-patterns
Use when jest testing patterns including unit tests, mocks, spies, snapshots, and assertion techniques for comprehensive test coverage.
Hooks
Stop
Runs when the main Claude Code agent has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with package.json -- npm testSubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with package.json -- npm test