A spec that does not keep growing: what it should contain
Nine sections of a spec, examples of features that can be verified, the reasons a spec grows as the work goes on, and how to handle changes. Plus a checklist for when a contractor sends you the spec.
A project rarely grows because of one big mistake. Usually it is inflated by dozens of small ambiguities in the technical specification: “a convenient interface,” “standard reports,” “integration with 1C.” During the work, each of them turns into a question, each question into a new requirement, and a few months later the system that was agreed on and the system people expect turn out to be different.
A spec exists so that everyone involved sees the same system: what it does, who it is for and what is not in it. Below is what a spec should contain, how to write features so they can be verified, why a spec grows as the work goes on and what to do with changes.
What a spec should contain
1. The goal in business terms. What will change once the system is running: which losses it closes, which decisions the manager will be able to make based on data. The goal helps to filter requests: a feature that does not serve it can wait for the next version.
2. Who works in the system. Roles: who enters data, who approves, who views reports, who administers. For each role — what it sees and what it can change.
3. Processes. The path of the main objects — a request, an order, a document — from creation to completion: steps, statuses, who changes them. Along with the exceptions: a cancellation, a return, a change after approval, an urgent case.
4. Tasks, capabilities and features. A list of what the system does, grouped by process and role. Each feature is described so that you can say “done” or “not done” about it.
5. Screens and reports. For screens — what data is visible on them and what actions are available. For reports — which metrics, for what period, with which filters and who views them.
6. Data and connections. Which reference data and records are moved from the old systems. Which systems it exchanges data with, in which direction, how often and which system is the main one for each type of data.
7. Operating requirements. How many users there are, which devices they work from, what the security and access requirements are, where the data must be stored.
8. What is not included. An explicit list of what is not part of this version. It matters as much as the list of features.
9. How the work is accepted. For each group of features — how to check that it is done: on what data and with what expected result.
How to write a feature that can be verified
A vague feature means something different to everyone. A verifiable one means the same thing to everyone. A few examples.
- Vague: “Convenient order search.” Verifiable: “Search for an order by number, customer and phone; the results show the date, status and person responsible.”
- Vague: “Integration with 1C.” Verifiable: “Orders from the system are sent to 1C as a ‘Customer Order’ document every 15 minutes; the system receives the product list from 1C.”
- Vague: “Sales report.” Verifiable: “Sales by manager and branch for a selected period, broken down by day, with export to Excel; visible to branch managers and the director.”
- Vague: “The system must be fast.” Verifiable: “The order list opens in no more than two seconds when 50 users are working in the system at the same time.”
The rule is simple: if you cannot say “done” or “not done” about a feature, it needs to be rewritten.
Words that give away a vague requirement: “convenient,” “fast,” “standard,” “flexible,” “etc.,” “as needed,” “if desired,” “in the future.” Each of them should be replaced with specifics or moved to the “not included” list.
How to describe a process so everyone reads it the same way
It is easiest to describe a process step by step. For each step, five lines:
- who does it — the role: manager, warehouse clerk, accountant;
- what they enter or check — which data appears at this step;
- what comes out — a status, a document, a notification;
- what happens next — which step follows and who is notified of it;
- exceptions — what happens outside the rules and how to handle it.
A description like this can be read by the manager, the employee and the developer, and each finds their own part in it. A process diagram with arrows is useful as a supplement, but without step-by-step text it leaves too much to guesswork.
How detailed a spec should be
Detail is needed where a mistake is costly: in processes, exceptions, data, connections, access rights. Here it is better to write down too much than to miss something.
The placement of buttons and the colors of screens do not have to be described in advance. Screens are easier to refine on the first working version, when users work with them on their own data. In the spec, it is enough to write down which data and actions each screen must have.
Why a spec grows as the work goes on
Exceptions are not described. The ordinary order is described in detail, but a return, a partial payment and a change after approval are not. They come up in the first working version, and each one becomes a new requirement.
The people who will work in the system were not part of the description. Accounting or the warehouse see the system for the first time in the first version and bring their own requirements, which pull in new data and screens.
Reports were left “for later.” A report needs data that has to be entered somewhere. If the report was described at the end, fields and steps have to be added to processes that are already finished.
Connections are described in one word. “Integration with the bank” turns out in practice to be three different exchanges with different formats and rules.
There is no “not included” list. Then every wish voiced in a meeting is considered already promised.
Decisions are made by someone other than the person responsible for the result. Requirements are collected from everyone, but no one is there to choose between them, and everything goes into the spec at once.
What to do with changes
Changes in a project are normal: after the first working version, users always have comments. What matters is that every change goes through the same path:
- the change is recorded separately — who proposed it and why;
- its effect on the scope of work and the project plan is assessed;
- a decision is made: this version, the next one, or not at all;
- the spec is updated so that the document stays true.
If a change is not recorded, a month later no one will remember where a feature came from and why the plan shifted. And a spec that has drifted away from the real system stops helping: the work can no longer be accepted against it.
Who should read the spec
- The manager responsible for the result — checks the goal and the “not included” list.
- The people who will work in the system every day — check the processes, exceptions and screens for their role.
- Accounting and IT, if the system exchanges data with 1C and other systems — check the connections.
- The person who will accept the work — checks that every feature can be verified.
It is better to get everyone’s comments before development starts: on paper a change takes one line, in a finished system it takes work.
If a contractor sent you the spec
Sometimes the contractor writes the spec and the company only approves it. Before approving, it is worth checking a few things:
- it describes your processes, in your words and with your documents;
- for each feature, it is clear how to check that it is done;
- exceptions are described: cancellations, returns, changes after approval;
- connections to 1C and other systems are spelled out by direction, frequency and data;
- there is a list of what is not included in the work;
- it describes how the work is accepted.
If an item is missing, that does not necessarily mean a bad contractor. But it is better to ask the question before signing.
Checklist for a finished spec
- The goal is written in business terms.
- For each role, it is clear what it sees and what it can change.
- Exceptions are described for the main processes.
- Every feature can be verified.
- For each report, the metrics, the period and who views it are specified.
- For each connection, the direction, the frequency and the main system are specified.
- There is a list of what is “not included in this version.”
- It describes how the work is accepted.
- The spec has been read by the people who will work in the system.
How we write a spec
The spec is the second stage, after analysis. In plain words we describe the tasks, capabilities and features of the future system, its screens and reports. You edit the description until it holds everything the business needs.
Tell us on Telegram where your business loses money.