How to build a 3-layer principles system for humans and AI agents

#AI#Marketing


When you build a company alongside AI agents, you eventually have to review high-stakes work in specialties where you are not an expert. The solution is a 3-layer principles system: a curated reference library, 10 to 15 trade-off-bearing principles, and a 1-page human review field guide.

Maybe you are a founder reviewing software architecture, a technical leader reviewing B2B marketing, or a product owner checking enterprise sales deals. Your first instinct is to write a rulebook. That fails because it encodes answers to past problems instead of a way to evaluate new ones (a trap I wrote about in my post on first-principles optimization). Edge cases pile up and rules contradict each other. Humans stop reading the document. AI agents burn half their context window trying to obey 200 rigid instructions.

The 3-layer system works for any specialty, from software and marketing to sales and finance. It serves both the humans reviewing decisions and the people or AI agents executing the work.

Most principles documents fail in one of two ways

  1. Summarizing famous books in general terms creates a document humans ignore and AI agents already know from pretraining. A reference library only works when you filter expert ideas through your actual business, tools, constraints, and failure modes.
  2. Slogans like “keep it simple”, “put customers first”, or “design for scale” are useless in a review because nobody disagrees with them. A real principle names what you consciously accept giving up on a genuine trade-off. This lets you immediately tell whether a proposal honors the principle or breaks it.

A working principles system has three layers

You build the system bottom-up so the principles rest on real evidence. You use it top-down through progressive disclosure. Executors and reviewers load the short principles by default, and they pull deep chapters only when they need them.

The three layers:

Layer 1

Problem-indexed reference library

Deep mental models, expert sources, tool mapping, and failure modes.

Length
8 to 10 chapters, one file per problem domain
Who uses it
Built first from expert books, blogs, and postmortems. Humans read it to build intuition; agents pull one chapter on demand for a hard call.
Layer 2

Distilled principles

A shared decision compass distilled from Layer 1 across 2 to 3 clean scopes.

Length
10 to 15 principles, about 2 to 4 pages total
Who uses it
Always loaded by executors, reviewers, and AI critics. Cited by ID on trade-offs and findings.
Layer 3

1-page review field guide

A fast, jargon-free review lens for real review moments.

Length
1 page
Who uses it
Non-specialist leaders and reviewers checking real outputs in 3 minutes.

Build the reference library from your actual business problems

Do not start by asking an AI to write 10 principles. Principles invented from thin air turn into generic slogans. Build the reference library itself in three steps:

  1. Map the 8 to 10 recurring problem domains for your project. Do not organize by book or author. Organize by the actual categories of decisions that go wrong in your business. For software, that means boundaries, tenancy and auth, data modeling, async and webhooks, concurrency and billing, security and abuse, ops, team evolvability, and reversibility. For B2B marketing, it means positioning, ICP and segmentation, messaging, channel mix, attribution, landing conversion, pricing and packaging, and lifecycle retention.
  2. Curate an expert bookshelf for each domain. Pair classic foundational books with top practitioner essays, engineering or marketing blogs, and real-world postmortems. Every chapter must cite the exact experts and chapters it draws from so a human can go deeper on any topic.
  3. Write one canonical dual-version file per chapter. This keeps human learning and practitioner depth together so they never drift apart. Part A is a plain-English intuition and learning guide for a smart generalist. It explains why the problem matters in real life, introduces the core mental models from the experts, translates them into concrete examples from your business, and ends with 3 to 4 curated reading pointers. Part B is a technical reference for practitioners and agents. It maps those mental models directly to your tools, stack, workflows, and invariants. It includes trigger thresholds for when to keep things simple and when to invest. It ends with a failure modes and anti-patterns table tracking the anti-pattern, how it shows up, the failure mode, and the correction.

An example chapter showing both halves:

Part A · Plain-English intuition, for humans

Sharing one database across multiple products feels simpler on day one, then backfires fast: a change in Product A can break Product B at 2 AM, one customer's traffic spike slows everyone down, and a single bug can leak data across products. Instead, share tested code (like login and billing), but give every product its own database and connect products only through clean APIs.

Part B · Technical reference, for practitioners and agents

Hard invariant: one database instance per product; zero cross-product DB credentials, read replicas, or shared tables. Shared-module tables live in isolated Postgres schemas (accounts, billing, email); product tables live in public and reference shared records only by immutable organization_id. Cross-product features talk exclusively through versioned REST APIs and signed webhooks with N-2 backward compatibility.

Distill the library into 10 to 15 principles

Once the 8 to 10 library chapters exist, distill them down to 10 to 15 principles grouped into 2 to 3 scopes. Your scopes might be company level, cross-functional bridge, and execution level. Give each principle a stable ID like C1, B1, or E1. This allows reviewers and AI critics to cite it cleanly.

Every principle uses the same 5-part format:

  1. The principle: one opinionated sentence.
  2. The tension: what you consciously accept giving up to honor this principle.
  3. Why here: two sentences tying it directly to your business and tools, and linking back to its backing library chapters.
  4. Smell tests: concrete good signs and red flags you can spot in a plan, document, or review.
  5. Questions for the reviewer: one or two plain-English questions with zero insider jargon. These force the author or agent to prove they thought through the trade-off.

An example principle card:

P3 Product principle · software architecture

Assume every external boundary will fail, duplicate, reorder, or time out.

The tension (what we trade away)

Writing idempotency keys, webhook deduplication, background workflows, and retry backoff takes more upfront design than wiring a quick happy-path API call inside a page request. We accept that cost because real networks and third-party APIs fail constantly, and silent partial failures corrupt customer data and billing.

Why here

Our apps run on serverless functions with strict timeouts and depend on payment, auth, email, and customer webhooks. At-least-once delivery and out-of-order events are normal production events, not edge cases. Backed by Ch. 05 & Ch. 06.

Smell tests: good signs
  • Web requests commit fast and hand slow external work to background jobs.
  • Incoming webhooks deduplicate by event ID and tolerate out-of-order delivery.
  • Outgoing calls enforce strict timeouts and exponential backoff with jitter.
  • UI never traps users in an infinite spinner or a fake $0.00 on degraded loads.
Smell tests: red flags
  • A button click sends bulk email or calls a third-party API synchronously before responding.
  • A webhook updates a counter with +1 without checking whether it already ran.
  • No recovery plan exists if a payment, auth, or email provider goes down for an hour.
Plain-English questions for the reviewer
  1. "If this payment or external integration sends the same event twice, sends events out of order, or goes down for an hour, what breaks and how does the product recover?"
  2. "Is any slow outside work happening while the user's browser is stuck waiting, or is it safely handed to background work?"

Notice how you do not need to be a systems engineer to ask those two questions. If the person or agent gives a vague answer, you immediately expose a real flaw.

The field guide tells you what to ignore

Review anxiety comes from not knowing which decisions are fatal if wrong and which ones are trivial to change next week. The field guide solves that problem. It contains four blocks:

  1. The “stop worrying about this” list. This explicitly names the reversible execution details that specialists, checklists, and AI critics safely own. It gives you permission to stop second-guessing them.
  2. The 4 to 6 one-way doors. These are the hard-to-reverse decisions where your review actually pays off.
  3. 3-minute checklists by review moment. These are tailored to the exact artifacts you review, like a campaign brief, a system architecture document, a quarterly plan, or a deal desk exception.
  4. Quick principle lookup table. This lists the ID, the short principle, and the go-to question.

Use this prompt to build the system

Paste the prompt below into Claude, Gemini, or your AI coding workspace. It assumes nothing exists yet. It walks the AI through researching and building the full reference library first, then distilling it into principles and a review guide. For the best result, run it inside your project repository or attach 2 to 3 real company documents first. A strategy document, a tool stack list, past postmortems, or a sample deliverable you recently reviewed will anchor the output.

I want to build a complete 3-layer `[SPECIALTY]` principles system from scratch for `[PROJECT OR COMPANY]` so that both humans reviewing decisions (even non-specialists) and people/AI agents executing the work can make consistent, high-leverage judgment calls without drowning in a brittle list of rules.

Nothing exists yet. We are going to (1) research and build a deep, expert-backed Reference Library grounded in our actual business, (2) distill that library into 10 to 15 sharp, trade-off-bearing principles, and (3) produce a 1-page Human Review Field Guide.

### Context
- **Specialty:** `[e.g., Software Architecture / B2B Marketing / Enterprise Sales / Engineering Management]`
- **Project / Company:** `[1 to 3 sentences on what we are building, who we serve, and how we operate]`
- **Who reviews decisions:** `[e.g., Founder / CEO / VP / non-specialist owner]`
- **Who executes the work:** `[e.g., AI agents + small team / growth team / account executives / managers]`
- **Our actual tools, stack, or constraints:** `[Optional: list key tools, channels, team structure, or point to repo/docs to inspect first]`

### Core Design Rules (Do Not Skip)
1. **Ground everything in our actual reality, never generic textbook summaries.** Inspect any files or docs in this workspace first (or ask me up to 3 quick questions if you lack context). Filter every expert concept through our actual tools, workflows, and real failure modes.
2. **Build the Reference Library first, then distill.** Do not invent principles out of thin air. Anchor every chapter in named books, practitioner essays, engineering/domain blogs, and real postmortems, then synthesize the principles strictly from that library.
3. **Principles, not rules or platitudes.** Never write vague slogans nobody disagrees with ("keep it simple", "put customers first") and never write a sprawling rulebook. Every single principle must take a clear side on a real trade-off and explicitly name what we accept giving up.
4. **Separate scopes cleanly.** Split the distilled principles into 2 to 3 natural scopes for this specialty (for example: Company/Portfolio level, Cross-Functional Bridge, and Execution/Tactical level) so reviewers never confuse high-level bets with local execution calls.
5. **Progressive disclosure.** Keep the distilled principles short enough to load into every review or agent prompt (~2 to 4 pages), while the deep reference library stays indexed by problem domain and is pulled on demand.

### The 3 Layers We Are Building

**Layer 1: Problem-Indexed Reference Library (`docs/principles/[specialty]-library/`)**
Build 8 to 10 deep chapters from scratch, organized by the *actual recurring problem domains* in our `[SPECIALTY]` (not by book or author). Keep **one canonical file per chapter** with two clearly separated parts so human learning and practitioner depth never drift apart:
- **Part A: Plain-English Intuition & Learning Guide** (written for a smart generalist to build real intuition over time): why this problem matters, proven mental models from named experts/books/practitioners, concrete examples from our project, simple diagrams where helpful, and 3 to 4 curated reading pointers (exact books/chapters/essays).
- **Part B: Practitioner & Agent Technical Reference**: concrete invariants mapped to our exact tools/processes, trigger thresholds (when to keep things simple vs. when to add complexity), and a **Failure Modes & Anti-Patterns table** (`Anti-pattern | How it shows up | Failure mode | Correction`).
- Also write a `README.md` index with a recommended 20-minute starting reading path for the human reviewer and a chapter-to-principle map.

**Layer 2: Distilled Principles (`docs/principles/[SPECIALTY]_PRINCIPLES.md`)**
Distill the entire library into **10 to 15 sharp principles** grouped by scope, each with a stable ID (e.g., `C1`, `B1`, `E1`). Every principle must use the exact same 5-part card format:
1. **The Principle:** One sharp, opinionated sentence.
2. **The Tension:** What we consciously accept giving up to honor this principle.
3. **Why Here:** Two sentences tying it directly to our project, linking back to the backing Library chapter(s).
4. **Smell Tests:** Concrete *Good* signs vs. *Red Flags* you can spot in a plan, doc, campaign, or review.
5. **Questions for the Reviewer:** 1 to 2 plain-English questions (zero insider jargon) that force the author or agent to prove they thought through the trade-off.

**Layer 3: 1-Page Human Review Field Guide (`docs/principles/[SPECIALTY]_REVIEW_GUIDE.md`)**
A practical cheat sheet for reviewing real outputs in minutes:
1. **The "Stop Worrying About This" List:** Reversible Two-Way Doors that executors/checklists can safely own without human hand-wringing.
2. **The 4 to 6 One-Way Doors:** The hard-to-reverse decisions where human review has maximum leverage.
3. **3-Minute Checklists by Review Moment:** Tailored to the exact artifacts/decisions I actually review in this specialty.
4. **Quick Principle Lookup Table:** `ID | Short Principle | Go-To Question`.

### How to Work With Me (Staged Process)
- **Step 1 (Design the Bookshelf & Calibrate With a Sample):** Do NOT write all 10 chapters yet. First inspect our workspace/docs (or ask up to 3 clarifying questions). Then present:
  1. The proposed folder layout, the full 8 to 10 chapter outline (including the exact expert books, blogs, and frameworks each chapter will synthesize), and all 10 to 15 proposed Principle titles.
  2. A **complete sample set** to calibrate tone and depth: 1 full dual-version Library chapter (Part A + Part B), 3 full 5-part Principles (one from each scope), and a short excerpt of the Review Field Guide.
- **Step 2 (Build the Full Library & Distill):** Once I approve the outline, expert bookshelf, and sample tone, write all 8 to 10 Reference Library chapters + index, distill them into `[SPECIALTY]_PRINCIPLES.md`, and write `[SPECIALTY]_REVIEW_GUIDE.md`.
- **Step 3 (Wire Into Our Workflow):** Ask whether (and where) to wire `[SPECIALTY]_PRINCIPLES.md` into our team templates, checklists, or agent prompts so reviews and escalations cite exact principle IDs automatically.

Three rules keep the system useful

  1. Use the tension test. If a proposed principle does not have an honest, painful downside in its tension line, push back. Tell the AI to rewrite it or cut it. That single check keeps the list free of fluff.
  2. Keep it lean over time. When you find a great new article or engineering postmortem later, resist adding a 16th principle. Fold genuinely new insights into existing smell tests or library chapters. Leave out anything that violates your own simplicity defaults. This keeps the system under 15 principles.
  3. Wire the short document, not the library. Point your agents, reviewers, and templates at the principles document. Ask them to cite principle IDs on every trade-off or finding. Let them pull individual library chapters only when they hit a tough call in that domain.