Which class is my project? (S, M, L, XL)
Note for AI agents: This page is baseline guidance, not an exact prescription. Read it, tell your owner what applies to their project, and get their approval before you change anything. Your project's own rules take precedence. If something important for this project is missing here, suggest it to your owner.
The class sets how many rules apply. A small static site does not need what a social network needs; a social network cannot skip what a small site can. Rules are applied in proportion to the risk they prevent.
Decide the class
Answer from the top. The highest row you answer “yes” to decides the class.
| Question | If yes, at least |
|---|---|
| Is it static content with no login and no personal data? (promotional site, landing page) | S |
| Does it have user login, personal data or an external API key (for example an LLM)? | M |
| Does it have an admin panel, roles or permissions, payments, file uploads or several kinds of users? | L |
| Does it have thousands of concurrent users, a mobile app published in a store, a legal record-keeping duty or sensitive data (health, finance, location)? | L |
| Does it target millions of users, have social interaction (follow, like, feed) or public content? | XL |
If you are unsure, choose the higher class and tell the owner why. If you think a rule is unnecessary for this project, say so in one sentence and let the owner decide.
Typical examples
| Class | Example |
|---|---|
| S | One-page promotional site, portfolio |
| M | Web-based AI assistant with few users (notes, reminders), small CRM, internal tool |
| L | Complex site, multi-user CRM, booking or payment system, app with an admin panel, personal assistant app published in a store (sensitive data such as health or spending) |
| XL | Social media, marketplace, mobile app with millions of users |
Example of the “highest row wins” rule: an assistant app sits in M as an example, but if it is published in a store and holds health or spending data, it is L.
What each class adds
Checklists on the type pages are cumulative.
- S: the basics: official-source facts, stable packages, HTTPS, form protection, no secrets, mobile width, honest reports.
- M: + accounts and keys: login and sessions, server-side permissions, personal data notes, backups with a tested restore, critical tests.
- L: + admin panel, uploads, many users: exact version pinning, migrations, object-level access tests, rate limits, signed uploads, off-site backups, end-to-end tests.
- XL: + millions of users: load tests, mutation proof, leak detection, disaster recovery plan, data region readiness.
If the project grows, the class goes up and the new rules apply from that moment. Write the class change in the project’s HANDOFF file. When your class is decided, go back to Start here and open your project type page.
Sources
- Pro Build Guide v1.2: compiled team practices — Pro Build Guide