pmpt
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**Record and share your AI-driven product development journey.**
Plan with 5 questions. Build with AI. Save every version. Share and reproduce.
Quick Start · Commands · MCP Server · Explore Projects
---
Demo
> Answer 5 questions → AI prompt auto-generated & copied to clipboard → Paste into Claude Code / Codex / Cursor → Start building!
---
Install
> Requires Node.js 18+
---
Quick Start
---
Why pmpt?
| | Without pmpt | With pmpt |
|---|---|---|
| **Planning** | Stare at blank screen, write vague prompts | Answer 5 guided questions, get structured AI prompt |
| **Tracking** | Lose track of what you built and how | Every version auto-saved with full history |
| **Sharing** | Share finished code only | Share the entire journey — others can reproduce it |
---
The 5 Questions
pmpt plan asks just 5 questions to generate a complete AI prompt:
| # | Question | Example |
|---|----------|---------|
| 1 | **Project name** | my-budget-app |
| 2 | **What to build** | A budget tracking app for freelancers |
| 3 | **Additional context** *(optional)* | Simple UI, mobile-friendly |
| 4 | **Key features** | Expense tracking; Monthly reports; CSV export |
| 5 | **Tech stack** *(optional)* | React, Node.js — or let AI decide |
The generated prompt is **automatically copied to your clipboard**. Just paste it into your favorite AI tool.
---
Commands
Local
| Command | Description |
|---------|-------------|
| pmpt init | Initialize project and start tracking |
| pmpt plan | 5 questions → AI prompt (auto-copied to clipboard) |
| pmpt save | Save current state as a snapshot |
| pmpt watch | Auto-detect file changes and save versions |
| pmpt status | Check project status, tracked files, and quality score |
| pmpt history | View version history |
| pmpt diff v1 v2 | Compare two versions (unified diff) |
| pmpt diff v3 | Compare version vs working copy |
| pmpt squash v2 v5 | Merge versions v2–v5 into one |
| pmpt export | Export project as .pmpt file |
| pmpt import | Import from .pmpt file |
| pmpt recover | Recover damaged pmpt.md via AI-generated prompt |
| pmpt mcp-setup | Auto-configure MCP server for your AI tool |
| pmpt -v | Show current CLI version |
Platform
| Command | Description |
|---------|-------------|
| pmpt login | Authenticate via GitHub (one-time) |
| pmpt publish | Publish your project (requires quality score ≥ 40) |
| pmpt update | Quick re-publish: update content without changing metadata |
| pmpt edit | Edit published project metadata (description, tags, category, visibility, related projects, product URL) |
| pmpt unpublish | Remove a published project from pmptwiki |
| pmpt graduate | Graduate a project — archive with badge, move to Hall of Fame |
| pmpt clone | Clone and reproduce someone's project |
| pmpt explore | Open pmptwiki.com/explore in your browser |
> Quality score below 40? pmpt copies an **AI improvement prompt** to your clipboard — paste it into your AI tool to get help improving your project.
> See the full documentation at pmptwiki.com/docs
---
MCP Server
pmpt includes a built-in MCP server so AI tools can interact with pmpt directly. This means Claude Code, Cursor, and other MCP-compatible tools can save snapshots, check status, and review history without you typing commands.