·typescript-hook-writer
</>

typescript-hook-writer

pr-pm/prpm

Expert guidance for developing Claude Code hooks in TypeScript with shared utilities, esbuild compilation, and Vitest testing - distributes compiled JS while maintaining TypeScript development experience

2Installs·0Trend·@pr-pm

Installation

$npx skills add https://github.com/pr-pm/prpm --skill typescript-hook-writer

SKILL.md

Use this skill when developing Claude Code hooks in TypeScript. This skill ensures you maintain type safety, shared utilities, proper build pipeline, and comprehensive testing while distributing single-file JavaScript bundles to users.

Each hook gets its own copy of shared utilities rather than importing from a shared package:

Define TypeScript interfaces for hook input, exit codes, and options:

Expert guidance for developing Claude Code hooks in TypeScript with shared utilities, esbuild compilation, and Vitest testing - distributes compiled JS while maintaining TypeScript development experience Source: pr-pm/prpm.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/pr-pm/prpm --skill typescript-hook-writer
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is typescript-hook-writer?

Expert guidance for developing Claude Code hooks in TypeScript with shared utilities, esbuild compilation, and Vitest testing - distributes compiled JS while maintaining TypeScript development experience Source: pr-pm/prpm.

How do I install typescript-hook-writer?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/pr-pm/prpm --skill typescript-hook-writer Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/pr-pm/prpm