promptdriven/pdd

pdd-setup

Set up a repo for PDD.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/promptdriven/pdd --skill pdd-setup

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

PDD setup

Add one short PDD block to the file that this repo's agents read, and keep .pdd/ out of Git. This skill installs nothing: if you can read it, the PDD skills are already installed. The pdd setup command checks for a ready agent, does the same in the current folder, installs missing skills and updates eligible marked copies, then previews MCP changes for approval.

The bundled skills also include pdd-product, pdd-graph and pdd-setup. Bundled workflow names also include product.

  1. Pick the file: CLAUDE.md if it exists, else AGENTS.md. If neither exists, create AGENTS.md. Use the repo root.
  2. Write this block exactly. Leave out the RUNBOOK.md line if the pdd-prompting skill has no RUNBOOK.md.
  3. If the file already has a <!-- pdd:start --> … <!-- pdd:end --> block, replace only that block. Otherwise add the block at the end, after one empty line. Keep all other text.
  4. If the block is already the same, change nothing. If only one marker is there, stop and ask the person.
  5. In a Git repo, add the line .pdd/ at the end of the root .gitignore if no line there is .pdd, .pdd/, /.pdd or /.pdd/ (no space at the start). Create the file if needed. Keep all other bytes. If the last such line starts with !, or there is no such line but a line starts with !.pdd or !/.pdd (for example !.pdd/config.json), change nothing and tell the person. pdd test keeps its local cache in .pdd/.
markdown
<!-- pdd:start -->
## PDD
This project uses PDD. Change the prompt that owns a file before the file. New code starts with its prompt. Files that no prompt owns change directly, with a test when behavior changes.
Skills: pdd-prompting (the Prompting guide), pdd-feature, pdd-bug, pdd-small-change, pdd-product, pdd-setup and pdd-graph. Call one with `$pdd-feature` in Codex or `/pdd-feature` in Claude Code, or just ask for it by name.
Full run with PRs: `pdd workflow run NAME ISSUE` (NAME: feature, bug, small-change, product or your own workflow).
Before you write prompts or tests, read RUNBOOK.md in the pdd-prompting skill.
<!-- pdd:end -->

Never paste the guide or a workflow into the file. Show the person the diff.

aus demselben Repository

Weitere Skills

Alle Skills