Skip to content

Code Principles

Engineering guidance that adapts to the project

A self-contained, language-agnostic knowledge base and policy system for AI coding agents — presented here as a browsable engineering handbook.

Browse the 72 principles Explore the decision system

Principles

Canonical engineering ideas with explicit applicability, rejected interpretations, trade-offs, conflicts, examples, and AI guidance.

Browse principles →

Core Skills

Decision procedures that combine principles into practical modes for clarity, abstraction, testing, compatibility, reliability, performance, and more.

Explore Core Skills →

Project profiles

Start from what you are building: application, library, service, worker, pipeline, plugin, prototype, CLI, real-time system, infrastructure tool, and more.

Choose a project profile →

Technology refinements

See how generic policy is refined for JavaScript, TypeScript, Python, PHP, Go, C++, React, Next.js, Vue, Nuxt, Angular, Symfony, and Drupal.

Browse languages → · Browse frameworks →

How the policy model works

1Project evidencetask, repository, explicit context
2Project profiledominant artifact and failure model
3Modifiersverified cross-cutting constraints
4Core Skillscontext-sensitive decision modes
5Technology adapterslanguage and framework semantics
6Resolved policyexplainable engineering decisions

The website is a generated view

Canonical YAML and normative Markdown in the repository remain authoritative. This site is rebuilt from those sources and is never an independent source of policy.

Learn by example

The repository includes executable evaluation scenarios that test profile selection, modifiers, language and framework refinements, conflict decisions, and forbidden overengineering. They are useful both as tests and as worked examples of the policy model.

Browse evaluation scenarios

Reference

For the complete system contracts and architecture, continue with the Specification, Architecture, Knowledge Model, and Conflict Resolution.