vybel

Vybel Standard v2.3

A method for grading the health of the code of any website or app, whether written by hand, with AI or both; it looks in particular for the gaps that are common when code is written fast.

Principles

How the grade is calculated

  1. Each area starts at 100. Each issue subtracts points according to its severity and its extent, relative to the size of the project.
  2. The overall score combines the areas by importance: Security counts the most, then Production readiness; Docs & AI context and Efficiency count the least.
  3. Some requirements apply regardless of the average. When one isn’t met, the score is brought below the limit gradually, so that every improvement stays visible:
    • A requires automated tests, no important or blocking issues, and no weak area;
    • B requires no important issues in security, structure, or duplication;
    • one blocking issue caps the grade at D, three or more at E.

Scale

GradeScoreMeaning
A — Excellent85–100Healthy project: you’re in control of your code.
B — Good70–84Project in good shape, with a few knots to untangle.
C — Fair55–69The project is starting to get tangled: now’s the time to clean up.
D — Fragile40–54The project is turning into a tangled mess: every change risks breaking something else.
E — Critical0–39Project at risk: deal with the blocking issues before going any further.

What is checked

Each area groups several rules. Their detailed list, thresholds and penalties are not published: they are refined from one version to the next, and knowing them would reward optimizing the grade rather than the code. Every report details the issues found in the project, how serious each one is and what it costs.

Security

Are your data and keys protected? Secrets written in the code or visible from the browser, exposed .env files, databases (Supabase, Firebase) open to everyone, webhooks without signature verification, API routes without access control, dynamically injected code.

Production readiness

Can you ship and maintain it with confidence? Automated tests, strict typing, continuous integration, linter and check scripts, documented environment variables, leftover development traces, committed generated files, error tracking in production; and for personal data, trackers without consent and a privacy policy.

Structure

Is the code split up in a way that’s easy to follow? Files that are too large and functions that are too complex (measured by their logic: markup and fixed data do not count, and a piece split out mechanically still counts with the original function), components defined inside another component, circular dependencies, imports leading to missing files, catch-all folders.

Duplication

Is the same code written more than once? Copy-pasted code, duplicate functions and files, service clients created several times.

Dead code & debt

Is the project weighed down by abandoned code? Files and components never used, old versions and copies, commented-out code, TODOs, disabled checks, bypassed typing.

Stack

Are the tools consistent and up to date? Redundant or unused libraries, abandoned dependencies, mixed package managers or non-reproducible installs.

Docs & AI context

Can a human or an AI agent understand the project? README, documentation and instructions for AI agents: present, up to date and consistent, with no working documents left behind by AI.

Efficiency

Does the code use resources for nothing? Media that is too heavy, requests repeated for no reason or too often, scheduled tasks that run too often, AI calls repeated or without a limit, agent instructions that are too long.

Versions

The standard is versioned. Every report states the version that produced it, and grades only compare within the same version: the same commit analyzed with the same version always gets the same grade.

Vybel improves it regularly: new rules, finer detection, new languages. A new version can move a grade: Vybel Pro’s monitoring doesn’t count that as a regression of the project.

Limitations

Vybel · Quality label