Lesson Free after sign-in #06

Prompt contract: from four to seven elements

Defines what must be explicit before an agent can execute safely.

Aleksei Litvinau · ~12 min read· Route item 34 of 107

Checking access to the full text.

Checking access to the full text.

After reading

Your notes, a self-check, and the next step

Foundations: common language

Maturity level

The transition from random use to conscious use. You connect practical actions to a clear model for working with AI. If you’ve completed Module 0, you already have examples of your own to draw on.

Running example

A single project runs through the whole module — the audit log service. Here it is still at the start: for the first time you frame a task for it like an engineer, instead of going back and forth with the chat.

Assignment

Take a real fragment of your own code and compose one prompt following the seven-element contract, to feel the difference between going back and forth with the chat and an engineering task. The walkthrough is shown on the audit log example.

If you’ve completed Module 0, use the code from your task list. You don’t need to start a new project for this assignment.

What you can now do

You speak the same language as the rest of the program and understand why the feedback loop matters more than the model. Everything that follows is built on this foundation.

Next step

You now have the shared language: you understand the modes of working with AI, the role of the feedback loop, where delegation ends, the difference between prompt and context, and the task-framing contract.

The next problem appears in a real repository: the agent needs more than a single task. Every time it works, it also needs to see the project’s rules, its constraints, and how the result will be checked.

That is where the next module begins. Open Module 2. A single agent with basic rules and continue working with permanent project rules.

Next is the free applied route: a complete lesson, pattern, and methodology after sign-in.

→ Module 2. Single agent with basic rules
Module 1 — companion examples