Documentation/Jutsu/Typescript
🎯

Typescript

v1.9.0

TypeScript compiler validation and type checking for 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 jutsu-typescript

Overview

TypeScript compiler validation and type checking for TypeScript projects.

Hooks

This plugin provides validation hooks that run TypeScript compiler checks:

Stop & SubagentStop Hooks

Runs tsc --noEmit in all directories with a tsconfig.json file to validate TypeScript compilation without emitting files.

The hooks will:

  • Discover all directories containing tsconfig.json
  • Run tsc --noEmit in each directory
  • Stop on the first failure with --fail-fast
  • Exit with code 2 if any compilation errors are found

Usage

Install this plugin in your Claude Code configuration to automatically validate TypeScript compilation on Stop and SubagentStop events.

Installation

Install with npx (no installation required):

han plugin install jutsu-typescript

License

Licensed under MIT - see repository for details.

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.

🛑

SubagentStop

Runs when a Claude Code subagent (Task tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.