You have watched a spec become running software. Now do the work that makes an agent good at your project: author the architectural artefacts it reads — the written-down rules, models, and decisions that describe how your system works. You will not run canned code in these exercises — you will write down how YOUR system thinks, the way a mature codebase writes down how it thinks. This course itself is one enormous worked example of that: every rule, model, and decision that keeps a large platform coherent is written down and indexed (turned into a form an agent can search) so an agent can retrieve it on demand.

This is a first taste of Module 3 — The Knowledge Base: an agent is only as sharp as the knowledge base you hand it.

Study a mature codebase, written down Author yours the same artefact, your project Index it your agent retrieves it on demand
The knowledge-base loop: read how it is done, write your own, make it retrievable.

How each exercise works

  1. Read the brief — one artefact, one page.
  2. Study a mature codebase for ideas — open the linked reference page and study how a mature codebase says the same thing. Steal the shape, not the words.
  3. Create it in your own home — write the artefact as a page in your space, e.g. {yourHome}/Rules. {yourHome} is your personal space on the mesh; swap in your own path.

Your copy of this page — with all four briefs — is installed with the course. Create your artefacts there — {yourHome}/Rules, {yourHome}/DataModel, {yourHome}/TestingStrategy, {yourHome}/Decisions/0001-<slug> — right alongside the briefs, and edit freely.

Exercise 1 — Write your project's lean rules

Every effective agent setup starts with a blunt rules page — the no-X / always-Y list an agent must obey. Not a style guide nobody reads: the five-to-ten invariants that, if broken, break your system. Name each rule, say why in one sentence, and show the one-line right-way and wrong-way.

Exercise 2 — Document your data model

An agent that does not know your entities invents them. Write the core of your domain: the five-to-eight entities that matter, their key fields, and how they relate. A table or a small class diagram is plenty — the goal is a map, not a schema dump.

Exercise 3 — Write your testing strategy

'How do we test this?' is a question you should answer once, on a page, not re-argue on every change someone proposes. Write what a test means here: what you test, what you never mock (never replace with a fake stand-in), how you wait for a result, and how the agent runs the whole set of tests.

Exercise 4 — Capture a design decision

The most valuable artefact is the cheapest to write: a short record of why you chose X. Six months on, nobody remembers the alternatives you rejected — so an agent re-proposes them. One record per decision stops that cold.

Ideas to steal

There is no answer key here — the answer key is a mature codebase's own written-down knowledge. A short shelf of pages worth reading purely as well-written architectural artefacts, then imitating:


← Back to Module 1 · Next: Module 3 — The Knowledge Base →