Skip to content
项目

关于

提示驱动开发(PDD):最后一种编程语言™。提示文件是源代码,生成的代码是输出。

开发工具

这些数字如何统计

实测星标增长

24小时
+45
7天
+249
15天
+361
1个月
+367

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Prompt Driven: The Last Programming Language

Run your prompts before code exists.
PDD runs inside Claude Code, Codex, and Antigravity — program and verify behavior in plain English prompts before generating code.

npm version PyPI version CI status MIT license Discord

Why Prompt-Driven Development

Animated timeline: ship 4 times faster with about 80 percent less AI spend

Model of one task with five prompt mistakes. Not a benchmark — your numbers will differ.

  • Catch mistakes before coding: Preview your app, CLI, or API directly from your prompts.
  • Skip hours of rework: Fix wrong ideas in prompts instead of looping through full code-and-review rounds.
  • Prove the real code: Prompts stay the source of truth, and automated checks verify your code matches the prompts.

How it works

Step 1: ask your agent. Step 2: try a working preview before coding. Step 3: ship verified code.

  • Runs inside your coding agent: Keep working in Claude Code or Codex — no new harness or CLI workflow to memorize.
  • Test behavior before writing code: Click through the live preview and adjust your prompts until it feels right.
  • Ship verified code: Once your prompts feel right, your agent builds the code, verifies it against your prompts, and can open a PR when you're ready.

Quick start

  1. Paste this into Claude Code or Codex:

    Install and set up pdd-cli
    

    Or run in your terminal: npm install -g @promptdriven/pdd && pdd setup · Python/PyPI: uv tool install pdd-cli && pdd setup (or pip install pdd-cli && pdd setup). Requires Node.js 22.16+.

  2. Sign in for live previews (optional): Sign in at promptdriven.ai/login with the same GitHub account as gh auth login. Approved accounts connect within 1 minute. Local PDD needs no account.

  3. Open a new chat in any repo and run:

    /pdd Build a Tic-Tac-Toe game with turn tracking, win highlighting, and a New Game button
    

    In Codex, type $pdd instead of /pdd.

Docs

  • Usage guide — From install to pull request in five steps.
  • Prompting guide — Real examples of prompts and Stories, and how to review them.
  • CLI reference — A 7-command cheat sheet, then every command.
  • Autopilot — Let PDD work on your GitHub issues automatically.
  • Troubleshooting — Run pdd doctor, then find your fix.
  • Contributing — Set up in 2 minutes, run the tests, and open a pull request.

Discord · Releases · promptdriven.ai · MIT license

Contributors

Contributors to promptdriven/pdd

探索相关项目

加载中…