Safe changes in real systems.
PDD is a CLI-first framework for bugfix and feature work in existing codebases.
It standardizes how teams investigate, plan, validate, and document changes.
Language versions: English | Português (Brasil)
- Worktree-first execution for safer parallel development
- Structured change artifacts (
delta-spec,patch-plan,verification-report) - Consistent workflow for Cursor, Claude Code, and GitHub Copilot
- Built-in quality gates (
doctor, validation, baseline CI checks)
Requirements:
- Node.js >= 18
- Git available in PATH
Run without global install (recommended):
npx @pcoliveira90/pdd --versionOptional global install:
npm install -g @pcoliveira90/pdd
pdd --versionDownload PDD (without global install):
npx @pcoliveira90/pdd@latest --versionUpdate global CLI to latest:
npm install -g @pcoliveira90/pdd@latest
pdd --versionUpdate PDD templates/version inside your repository:
pdd init --here --upgrade
pdd doctorIf you maintain this repository locally, update source code too:
git pull origin main# 1) Initialize PDD in the current repository
npx @pcoliveira90/pdd init --here
# 2) Run a fix workflow
npx @pcoliveira90/pdd fix "login not saving incomeStatus"pdd init --here
pdd doctor
pdd status
pdd fix "bug description" [--dry-run] [--no-validate] [--open-pr]
pdd versionAI analysis command:
pdd-ai --provider=openai --task=analysis "bug description"- Understand current behavior and root cause
- Generate change artifacts under
changes/<change-id>/ - Validate tests/lint/build
- Prepare PR artifacts and review in IDE
PDD keeps equivalent intents across tools:
- Cursor:
.cursor/commands/pdd-*.md - Claude Code:
.claude/commands/pdd-*.md - GitHub Copilot:
.github/prompts/pdd-*.prompt.md
docs/getting-started.mddocs/installation-and-setup.mddocs/fix-workflow.mddocs/manifesto.md
Reliable execution engine for safe software changes.