Improve agent judgement for all contributors of a codebase
See the codeBuild software without depending on developer or agent memory.
Principle Driven Development is a shared decision system for software repositories. It makes current engineering judgment reconstructable for every developer and agent.
Memory is private, incomplete, and difficult to transfer. Each summary or handoff can change the original reasoning.
More memory does not solve this problem. It creates more summaries that the team cannot prove against the current codebase.
PDD removes memory from the correctness of engineering decisions. A new contributor rebuilds the current decision from repository evidence.
A principle file is only one part. PDD connects five repository elements:
AGENTS.md routes each contributor to the applicable rule.If a rule changes meaning, its version changes. The CLI then reports each old pin as a new review item.
Each principle includes:
The PDD skill keeps one decision in one principle. It compares each proposal with every current principle before it adds a token.
Install the skill in a supported coding harness:
npx skills add Principle-Driven/pdd --skill pdd-principles
Then give the harness a principle proposal:
Use $pdd-principles to classify this principle proposal. Implement the correct result.
The package uses the Agent Skills format. Read the skill source for its complete procedure.
Install the enforcement layer as a development dependency:
npm install --save-dev @principle-driven/cli
npx pdd check
This install pins the CLI version in the repository lock file.
Run the scoped package directly for a one-time check:
npx --yes @principle-driven/cli check
Use pdd refs PDD-02 to list every repository site that depends on one rule.
This repository is the public home for the method, website, CLI, starter kit, and agent skill.
The Astro application has its own workspace in apps/site/.
apps/site/ # Astro website workspace
├── public/starter/ # Portable files for adopters
└── src/
├── content/principles/ # Authoritative catalog entries
├── pages/ # Method, setup, and catalog pages
└── components/ # Shared interface components
packages/cli/ # Principle scanner and tests
skills/pdd-principles/ # Portable principle-management skill
Install Node.js 24. Use the npm version in packageManager. Then run:
npm install
npm run dev
The local website opens at http://localhost:4321.
npm run build
Astro writes the static website to apps/site/dist/.
Cloudflare Pages can build and deploy this static site directly from main.
Connect this repository in the Cloudflare dashboard. Use these build values:
mainnpm run buildapps/site/distKeep the root directory empty. The root build checks the website, CLI, and principle system before Astro creates the static files.
The .node-version file selects Node.js 24. The static website does not need Wrangler or the Cloudflare Astro adapter.
Cloudflare creates a production deployment for each push to main. It creates a preview deployment for each pull request.
Open a pull request that adds one Markdown file to apps/site/src/content/principles/.
Explain the benefit, the costly failure, and the evidence that earned the rule.
Do not promote a repeated instruction by default. Show the judgment it preserves and the context where it does not apply.
Set published and updated when you add a catalog entry. Change updated when you change its public content.
Use the structural rules of ASD-STE100 Simplified Technical English. Define a necessary technical term before it carries the explanation.
Catalog principles are starting points. A team must adapt each one before it governs a codebase.
Principle Driven Development is available under the MIT License.
Astro
65.4%
JavaScript
26.3%
CSS
4.2%
TypeScript
2.6%
Shell
1.5%
Improve agent judgement for all contributors of a codebase
See the codeBuild software without depending on developer or agent memory.
Principle Driven Development is a shared decision system for software repositories. It makes current engineering judgment reconstructable for every developer and agent.
Memory is private, incomplete, and difficult to transfer. Each summary or handoff can change the original reasoning.
More memory does not solve this problem. It creates more summaries that the team cannot prove against the current codebase.
PDD removes memory from the correctness of engineering decisions. A new contributor rebuilds the current decision from repository evidence.
A principle file is only one part. PDD connects five repository elements:
AGENTS.md routes each contributor to the applicable rule.If a rule changes meaning, its version changes. The CLI then reports each old pin as a new review item.
Each principle includes:
The PDD skill keeps one decision in one principle. It compares each proposal with every current principle before it adds a token.
Install the skill in a supported coding harness:
npx skills add Principle-Driven/pdd --skill pdd-principles
Then give the harness a principle proposal:
Use $pdd-principles to classify this principle proposal. Implement the correct result.
The package uses the Agent Skills format. Read the skill source for its complete procedure.
Install the enforcement layer as a development dependency:
npm install --save-dev @principle-driven/cli
npx pdd check
This install pins the CLI version in the repository lock file.
Run the scoped package directly for a one-time check:
npx --yes @principle-driven/cli check
Use pdd refs PDD-02 to list every repository site that depends on one rule.
This repository is the public home for the method, website, CLI, starter kit, and agent skill.
The Astro application has its own workspace in apps/site/.
apps/site/ # Astro website workspace
├── public/starter/ # Portable files for adopters
└── src/
├── content/principles/ # Authoritative catalog entries
├── pages/ # Method, setup, and catalog pages
└── components/ # Shared interface components
packages/cli/ # Principle scanner and tests
skills/pdd-principles/ # Portable principle-management skill
Install Node.js 24. Use the npm version in packageManager. Then run:
npm install
npm run dev
The local website opens at http://localhost:4321.
npm run build
Astro writes the static website to apps/site/dist/.
Cloudflare Pages can build and deploy this static site directly from main.
Connect this repository in the Cloudflare dashboard. Use these build values:
mainnpm run buildapps/site/distKeep the root directory empty. The root build checks the website, CLI, and principle system before Astro creates the static files.
The .node-version file selects Node.js 24. The static website does not need Wrangler or the Cloudflare Astro adapter.
Cloudflare creates a production deployment for each push to main. It creates a preview deployment for each pull request.
Open a pull request that adds one Markdown file to apps/site/src/content/principles/.
Explain the benefit, the costly failure, and the evidence that earned the rule.
Do not promote a repeated instruction by default. Show the judgment it preserves and the context where it does not apply.
Set published and updated when you add a catalog entry. Change updated when you change its public content.
Use the structural rules of ASD-STE100 Simplified Technical English. Define a necessary technical term before it carries the explanation.
Catalog principles are starting points. A team must adapt each one before it governs a codebase.
Principle Driven Development is available under the MIT License.
Astro
65.4%
JavaScript
26.3%
CSS
4.2%
TypeScript
2.6%
Shell
1.5%