llms.txt Content
# pmptwiki
> pmpt is a CLI tool that records and shares your AI-driven product development journey.
> pmptwiki.com is the platform where pmpt projects are published and discovered.
## Install
```
npm install -g pmpt-cli
```
Current version: 1.12.0
## Quick Start
```
pmpt init # Initialize project and start tracking
pmpt plan # Product planning — 5 questions, generates AI prompt
pmpt save # Save current state as a versioned snapshot
pmpt publish # Publish project to pmptwiki.com
```
## What pmpt tracks
pmpt watches a `docs/` folder (default) for markdown files that describe your product.
Each `pmpt save` creates a versioned snapshot stored in `.pmpt/history.json`.
Key files: `pmpt.ai.md` (AI-ready prompt with project context), `pmpt.md` (progress tracking), `plan.md` (product plan).
## All Commands
### Project Setup
- `pmpt init [path]` — Initialize project folder and start history tracking
- `--repo <url>` — GitHub repository URL
- `pmpt plan [path]` — Quick product planning with 5 questions, auto-generate AI prompt
- `--reset` — Restart plan from scratch
- `--answers-file <file>` — Load plan answers from JSON file (non-interactive)
### Version Management
- `pmpt save [path]` — Save current state of docs folder as snapshot
- `pmpt watch [path]` — Watch for file changes and auto-save versions
- `pmpt status [path]` — Check project status and tracked files
- `pmpt history [path]` — View saved version history
- `--compact` — Show compact history (hide small changes)
- `pmpt diff <v1> [v2] [path]` — Compare two versions (or version vs working copy)
- `--file <name>` — Compare specific file only
- `pmpt squash <from> <to> [path]` — Squash multiple versions into one (e.g., `pmpt squash v2 v5`)
### Import / Export
- `pmpt export [path]` — Export project history as a shareable `.pmpt` file
- `--output <file>` — Output file path
- `pmpt import <file>` — Import project from `.pmpt` file