Promptdiff banner
HadiFrt20 HadiFrt20

Promptdiff

AI community

Description

Git for prompts. Semantic diff, lint, score & Claude Code hook for LLM prompt files.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

promptdiff — semantic diff, lint, score and auto-fix for LLM prompt files

**ESLint + git diff for LLM prompts.**
Semantic diff, lint, score, auto-fix, A/B test, and Claude Code hook — for `.prompt` files.


[![npm version](https://img.shields.io/npm/v/promptdiff)](https://www.npmjs.com/package/promptdiff) [![tests](https://img.shields.io/badge/tests-217%20passing-brightgreen)](#tests) [![coverage](https://img.shields.io/badge/coverage-94%25-brightgreen)](#tests) [![license](https://img.shields.io/badge/license-MIT-blue)](#license) [![deps](https://img.shields.io/badge/dependencies-3-orange)](#install) [![node](https://img.shields.io/badge/node-%3E%3D18-green)](#install) [![Claude Code](https://img.shields.io/badge/Claude%20Code-hook%20ready-blueviolet)](#claude-code-hook)

[Install](#install) · [Quick Start](#quick-start) · [Commands](#commands) · [Claude Code Hook](#-claude-code-hook) · [MLflow](#-mlflow-integration) · [Contributing](#contributi