Write everything down before coding

AI writes code very fast. What limits a project now is how clearly you ask for it.

I build complete systems: a school comparison platform, a voice receptionist, a lead follow-up tool. The code is written with AI. The real work happens before that, in documents the client reads and approves.

What is written before the first line

For School Select, seven documents were approved before any code:

  • the vision: who the product serves, and what for;
  • the framework: 30 criteria in 7 groups, defined one by one;
  • the screens: what each page shows and lets you do;
  • the calculations: every formula, with its edge cases;
  • the architecture: the data, the roles, the services;
  • the build plan, delivery by delivery;
  • the design system: colours, typography, components.

The code comes next. The AI decides nothing: it carries out what is written.

Why this order costs you less

A coding assistant fills gaps. If a rule is missing, it invents a plausible one, and the result looks right. You find the gap later, in a wrong calculation or an inconsistent screen.

Writing first puts each decision where it costs the least. Fixing a sentence in a document takes a minute. Fixing the same decision once it lives in the database, in three screens and in the tests can take a day.

The same rule for a voice on the phone

Otto, the medical voice receptionist, follows the same rule. Every behaviour is written down before it is coded: what Otto says to book an appointment, to cancel it, to hand over to a person. Call scenarios are then tested automatically.

When a test fails, the question is simple: does the code depart from what is written, or is the writing incomplete? Either way, you know where to fix it.

What it changes for you

A mandate therefore starts with written scoping: the target result, the screens, the calculations. You approve the plan before anything is built. You know what you will receive; I know what I have to deliver.

By Ashref Ksouri

I design, build and run custom revenue systems, with AI. Schools, health care, brokerage, commerce, in Quebec and Tunisia.

Read my background

01 Newsletter

The next article, by email.

One article when there is something worth saying, nothing else.

Subscription confirmed by email. Unsubscribe in one click.

02 Mandate

What number are you after?

Describe the result you need to hit. I read every request myself and reply within 48 hours.

Ashref Ksouri Custom revenue systems, built with AI

Before you write

How much does a mandate cost?

Each stage has its own price: scoping, the build, then a monthly fee for operation.

How long does it take?

The deadline is set during scoping, working back from yours: a school year, a season, a launch.

What happens after delivery?

The system moves into operation: it is measured, adjusted and extended, month after month.

Is my information kept confidential?

Your request is used only to reply to you.

Four questions, two minutes.

A date or a quarter.

  • Reply guaranteed within 48 hours
  • You talk to the person who builds
  • 4 mandates a month, no more

132 enrolments 3 months GSING Djerba, IB school

Next: I reply within 48 hours, by email, with the questions that remain.

Your request is used only to reply to you. Privacy

Propose a mandate