Principle catalog

Start with useful examples of judgment that your codebase can earn.

Each page helps you recognize a costly behavior and understand the corrective rule. Install its compact agent file through the CLI or download it.

These are candidates for adoption. They do not govern your repository until you adopt them under its own protocol.

Available principles

14 principles

Adopt a rule

Each principle needs repository evidence and a decision that it changes. Start with the rules that your codebase has earned.

The combined download is a reading copy. Each principle's page has a CLI command and an individual Markdown download.

  1. Read every current principle in your repository.
  2. If a current rule covers the decision, use that rule or advance its version.
  3. Follow your repository's admission protocol before adding a token.
  4. Run the chosen principle's installation command. The CLI assigns its local token and updates your agent index.
  5. Adapt the Rule and its exceptions to your codebase. Record local evidence in a short Rationale.
  6. Cite the pin where code or review decisions depend on the rule.
  7. Run pdd check.
  8. Add the check to CI.

For manual adoption, assign an unused local token and save one definition per file. Update its headers, History, and agent index together.

The setup guide supplies the review rules and explains each part. CLI configuration defines your prefix, principle directory, and agent indexes.