System of record · Simple example

CRM software specification example

A small customer relationship management system for a sales team. The spec defines contacts, deals, searchable records and a useful home view without prescribing unnecessary implementation detail.

CRMcontactsdealssales pipeline

spec.md Requirements and edge cases

Each checkbox is one behaviour that can be implemented and verified.

# CRM — spec

## Requirements

- [ ] A user adds a contact with name, email, phone and company.
- [ ] A user finds contacts by name, email or company.
- [ ] A user creates a deal for a contact with a title, a value and an expected close date.
- [ ] A deal is open, won or lost, and a user can change it.
- [ ] A contact's page lists their deals, newest first.
- [ ] The home page shows the open deals and their total value.

## Edge Cases

- A second contact with the same email → refused, with a link to the first.
- A contact with deals is deleted → ask first; their deals are deleted too.
- A deal value that is negative or not a number → refused.

tasks.md Build order

The tasks translate the product decisions into a small implementation sequence.

# CRM — tasks

## Build order

- [ ] Data model: contacts and deals
- [ ] Contacts: add, edit, delete, search
- [ ] Deals: create, edit, change status
- [ ] Contact page with their deals
- [ ] Home page: open deals and total value