pdd  by promptdriven

Prompt-Driven Development CLI for AI-assisted software creation

Created 7 months ago
328 stars

Top 83.5% on SourcePulse

GitHubView on GitHub
Project Summary

Summary Prompt Driven Development (PDD) CLI streamlines software development by treating natural language prompts as the source of truth. It leverages AI for automated code generation, testing, and prompt management, enhancing developer efficiency through a regenerative workflow.

How It Works PDD adopts a "prompt-first" philosophy, using AI to translate natural language into code, tests, and examples. Core workflows automate development tasks, emphasizing prompt modification over direct code editing. The sync command orchestrates a complete workflow loop with intelligent decision-making and live feedback, managing state and execution order.

Quick Start & Requirements Install via uv (uv tool install pdd-cli) or pip (pip install pdd-cli). Prerequisites include Python 3.8+ and, on macOS, Xcode Command Line Tools and Homebrew. Run pdd setup post-installation to configure shell completion, API keys, and local settings. The quickstart involves cloning the repo, setting an LLM API key, running pdd setup, and executing a sample prompt.

Highlighted Details

  • sync Command: Automates the full PDD workflow loop with intelligent decision-making, live feedback, and state management.
  • Cloud/Local Modes: Cloud mode uses GitHub SSO; local mode requires API keys and LiteLLM integration.
  • Prompt Templates: Reusable prompt files with YAML front matter for metadata and variables, supporting parameterized generation.
  • Cost Tracking: --output-cost option generates a CSV detailing AI model usage and costs.
  • Integrations: VS Code extension for prompt file editing and MCP Server for agentic client invocation.
  • Core Dump Debugging: --core-dump option for reproducible bug reporting.

Maintenance & Community Bug reporting is handled via pdd report-core, creating GitHub issues with diagnostic bundles. Community examples are shared in cloud mode.

Licensing & Compatibility Licensing information is not explicitly provided in the README.

Limitations & Caveats Patent applications covering PDD workflows are pending. Local execution requires API key configuration; cloud execution requires GitHub authentication. Generated code should be reviewed before execution.

Health Check
Last Commit

14 hours ago

Responsiveness

Inactive

Pull Requests (30d)
23
Issues (30d)
79
Star History
94 stars in the last 30 days

Explore Similar Projects

Starred by Patrick von Platen Patrick von Platen(Author of Hugging Face Diffusers; Research Engineer at Mistral), Simon Willison Simon Willison(Coauthor of Django), and
1 more.

mistral-vibe by mistralai

4.1%
3k
Conversational CLI coding agent for project interaction
Created 1 month ago
Updated 3 days ago
Starred by Matt Schrage Matt Schrage(Cofounder of Fig), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
2 more.

amazon-q-developer-cli by aws

0.5%
2k
CLI tool for agentic terminal interactions using natural language
Created 1 year ago
Updated 2 days ago
Feedback? Help us improve.