Prompt Version Diff
Compare prompt versions and categorize changed lines, with optional context windows and original physical line numbers.
The problem it solves
Prompt Version Diff Prompt Version Diff compares two local prompt files and groups added and removed nonblank lines into visible categories: constraints, context, examples, and instructions. It uses documented deterministic cues—never an AI model—so every classification is reproducible and reviewable.
Who Prompt Version Diff is for
- Developers and maintainers who need reviewable evidence before changing or releasing software.
- Users working with prompts, diff, prompt engineering who want the documented v1.1.2 behavior.
- People who prefer an open-source release with visible limitations, source, and license terms.
Intended result
Compare prompt versions and categorize changed lines, with optional context windows and original physical line numbers.
This summary is reconciled from the current catalog and repository documentation.
Features in v1.1.2
Capabilities below come from the current project README and release documentation.
Prompt Version Diff compares two local prompt files and groups added and removed nonblank lines into visible categories: constraints, context, examples, and instructions. It uses documented deterministic cues—never an AI model—so every classification is reproducible and reviewable.
Verified examples
Screenshots are shown only when the current README references a local source image. Otherwise, repository example files are linked directly.
Verified release evidence
This project does not currently publish a screenshot or dedicated example folder. The current README, tests, changelog, tagged release, and source repository remain the verified examples of its behavior.
Platforms and implementation
The public release claims only the cataloged platforms and technologies.
Supported platforms
- Windows
- macOS
- Linux
Built with
- Python
Changelog
Release notes from the canonical v1.1.2 source tag.
- Refuse existing, source-alias and duplicate report destinations without changing either input.
- Reserve both report names exclusively and recover unchanged new reports after ordinary write or stdout failures.
- Return actionable status 2 for output errors instead of a traceback; keep lexical comparison behavior unchanged.
- Correct release wording and include dated release history and development notes in source distributions.
- Preserve version 1.1.0 comparison/auditing behavior; update package and runtime version declarations only.
- Add opt-in
--context Nand Python API context windows with original line numbers and categories. - Merge neighboring windows while preserving default output and meaningful-line counts.
- Added deterministic nonblank-line comparison.
- Added constraint, context, example, and instruction categories.
- Added Markdown and JSON reports with original line numbers.
Quick start
The shortest documented path into the current release.
Before running these source commands, download the v1.1.2 source archive, extract it, and open a terminal in the extracted project folder containing README.md. Follow the tagged README for required runtimes and any platform-specific setup.
python -m pip install .
prompt-version-diff prompt-old.md prompt-new.md --markdown changes.md --json changes.jsonThe exit code is 1 when meaningful lines changed, 0 when they match, and 2 for invalid input or report/terminal output errors. Blank-line-only formatting changes are ignored.
Report directories must already exist. Both destinations are checked and exclusively reserved before either report is written. If an ordinary write or terminal-output failure occurs, unchanged reports created by that invocation are removed so you can correct the destination and retry. Existing files are preserved. Recovery checks new reports’ identity and contents and names paths it cannot safely recover. Abrupt process termination and power-loss atomicity across files are not promised, and text already read from stdout cannot be recalled.
Current limitations
These boundaries are part of the product and prevent the page from implying unverified capability.
Files remain local. Reports repeat prompt text and can expose supplied context, so review them before sharing. Categories are lexical review aids, not semantic understanding. The tool does not detect every instruction, resolve conflicts, judge prompt quality, compare model behavior, or send content to an API.
Privacy and licensing
Review the actual data boundary before using a tool with sensitive inputs.
Privacy and safety
Files remain local. Reports repeat prompt text and can expose supplied context, so review them before sharing. Categories are lexical review aids, not semantic understanding. The tool does not detect every instruction, resolve conflicts, judge prompt quality, compare model behavior, or send content to an API.
License and release
Prompt Version Diff is published under MIT. The current cataloged release is v1.1.2, published 2026-10-18.
Related projects
Related projects are selected deterministically from shared catalog tags, category, and implementation technologies—not popularity or paid placement.
Prompt Version Diff v1.1.2
Use the tagged release for downloads and release notes. Use the repository for source, issues, contribution guidance, security reporting, and complete documentation.
Page source: current Forge catalog plus README and CHANGELOG from the canonical GitHub release tag. Fingerprint: 3a56ed1ac0520c6e.