Skip to content

Ranking criteria

Every source and every key rule in this repository has a score from 1 to 10. Scores decide the order of each list (highest first). They group entries into three levels, and they give reviews a severity hint.

Levels

The level names follow the conventions of well-known guideline collections. Android's architecture recommendations use strongly recommended, recommended and optional. Flutter's recommendations use strongly recommend, recommend and conditional.

Score Sources Key rules
9–10 Start here: read these first Strongly recommended: follow unless you have a documented reason not to
6–8 Recommended: read when working on the topic Recommended: follow in most projects
1–5 Further reading: for depth or special cases Conditional: follow when the situation calls for it

Scoring sources

Judge each source on five criteria:

  1. Authority: is it the official source, a standard, or the work of the person who defined the concept?
  2. Coverage: does it cover the whole topic, or one detail of it?
  3. Currency: is it maintained and up to date for current versions?
  4. Access: is the full content freely available online?
  5. Actionability: does it give concrete guidance that changes decisions?

Then pick the score whose description fits best:

Score The source is… Examples
10 The definitive, official, current guide for a whole topic, which this repository adopts as the baseline Android Guide to app architecture, OWASP ASVS, the C4 model
9 An essential primary source: a core standard, or the defining work on a concept, broad and current RFC 9110, The Twelve-Factor App, the Google SRE book
8 A highly authoritative source on an important sub-topic an official documentation page that backs a key rule, a defining article by the originator of a pattern
7 Authoritative but narrower or less current official documentation for one feature, a widely used reference implementation, a respected book that isn't freely available
6 Good supporting material that overlaps with higher-ranked sources a clear explanation, a worked example, a useful template
5 Useful in specific contexts, or a secondary explanation of something covered better elsewhere a tool's home page, a community guide
4 Narrow, tool-specific or community material with limited scope
3 Dated or only partly relevant an article that predates current versions
1–2 Kept for completeness only: archived, superseded or hard to access

A reference entry (in "Adopted references", "Sample projects", "Tutorials and further reading" or the reading list) shows the score of its first link.

Scoring key rules

Judge each rule on four criteria:

  1. Impact if ignored: does breaking it cause incidents, security exposure, data loss or blocked change, or only friction?
  2. Breadth: does it apply to almost every project, or only in some situations?
  3. Consensus: do several authoritative sources agree, or does an official source mark it as strongly recommended?
  4. Cost to fix later: is it cheap to adopt now and expensive to retrofit?
Score The rule…
10 Prevents severe problems (security breaches, data loss, outages), applies to almost every system, and has universal consensus
9 Is a strong default for nearly every project, and official sources mark it as strongly recommended or as a MUST
8 Is important for most projects: ignoring it causes significant problems that are costly to reverse
7 Is recommended for most projects, with a clear benefit at modest cost
6 Improves quality, but ignoring it is easy to recover from
5 Is valuable in common but not universal situations, for example at a certain scale, team size or domain complexity
3–4 Applies only in specific circumstances
1–2 Is niche

Within a topic subsection, rules are sorted by score. Rules with the same score keep their written order.

How scores are used

  • Ordering: every list of ranked entries is sorted by score, highest first.
  • Overview: SOURCES.md lists every source in one place, grouped by level.
  • Reviews: the architecture-review skill uses rule scores as a severity hint. Breaking a 9–10 rule is usually High, 6–8 Medium and 1–5 Low, adjusted for the actual impact.

Calibration

Scores are judgements, so they are checked with blind second opinions. On 2026-10-25, an independent reviewer scored a stratified sample of 50 rules and 50 sources against this file, without seeing the existing scores:

  • 90% of rule scores and 92% of source scores were within one point of each other.
  • Rules scored 8 were systematically about one point higher than the second opinion. All 53 rules at 8 were re-checked against the difference between 8 ("costly to reverse, for most projects") and 7 ("clear benefit at modest cost"). Twenty-two were lowered.
  • The few items two or more points apart were re-scored after reviewing both reasons.

A second round on 2026-10-25 covered the rules and sources added later that day: 62 rules from the new files (game development, Godot, Unreal, web, Next.js, Node.js, Python, Vue, Svelte, Docker, PostgreSQL, hosting, Terraform, GitHub Actions, authentication, releases and repositories) and 40 of their sources:

  • 98% of rule scores (42 of 62 exactly) and 92% of source scores were within one point. Rules showed no systematic difference, which suggests the first round's correction of the 8s held.
  • One rule and three sources were two points apart and were re-scored: a rule that pays off mainly for large teams, an official page that now recommends against what it documents, a page that is mostly a list of links, and a single section scored like a whole guide.
  • All five sampled sources scored 8 came back as 7. To follow this up, every source added that day with a score of 8 to 10 (252 sources) was re-checked against this table. 146 were lowered: 141 from 8 to 7, four from 9 to 8 or 7, and one from 8 to 6. Most were a single section of a page, or official documentation for one feature, option or command. Official guides covering a whole important sub-topic, standards, and defining articles kept their scores.

When you score a source, two rules of thumb follow from this: a link to one section of a page usually scores at most 7, even when the page is an 8 or higher, and an 8 needs an official guide to a whole important sub-topic, not a page about one feature.

A third round on 2026-10-26 covered the next batch of files (TypeScript, GraphQL, Redis, OpenTelemetry, Kafka, RabbitMQ, GitLab CI/CD, mobile games, Azure and Google Cloud): 56 of their 139 rules and 35 of their sources.

  • 96% of rule scores and 91% of source scores were within one point. Rules ran about 0.4 points high, most among the 9s: five of the eight sampled 9s came back as 8.
  • All 19 rules at 9 in these files were re-checked against "official sources mark it as strongly recommended or as a MUST, for nearly every project". Nine were lowered to 8: zone redundancy, infrastructure as code and workload identity for Azure and Google Cloud, and broker durability and authentication for Kafka and RabbitMQ. The 9s that platforms require or that prevent severe and common risks were kept.
  • Two rules and three tool pages that were two points apart were re-scored.

A fourth round on 2026-11-10 covered the 427 rules and 1,554 sources added since the third (privacy, localization, accessibility, graphics, the engine pages, GameMaker, Angular, Astro, Go, Java and Spring Boot, PHP and Laravel, iOS, React Native, desktop apps, Firebase, Supabase, MongoDB, SQLite, Steam, game servers and web games): 90 rules and 50 sources.

  • 97% of rule scores (43 of 90 exactly) and 90% of source scores were within one point.
  • Rules scored 8 came back lower in 12 of 22 cases and never higher, as in the first round. All 96 new rules at 8 were re-checked, and 34 were lowered: 31 to 7 and three to 6. Most applied only with an optional feature, were cheap to fix later, or did the same job as rules already at 7. Rules stayed at 8 where an older, calibrated rule doing the same job is also at 8.
  • Sources scored 9 and 10 came back lower in 9 of 10 cases, by 1.3 points on average. All 113 new sources at 8 to 10 were re-checked, and 44 were lowered. Most of the 10s were documentation home pages scored as if they were whole-topic guides, and most of the lowered 8s were pages about one feature or product. The same check lowered nine older documentation home pages from 10 to 9.
  • The three rules and five sources that were two points apart were re-scored.

This round adds a third rule of thumb for sources: a documentation home page or index scores at most 9, even when it's a platform's baseline. A 10 is for a guide that itself covers the whole topic, such as Android's Guide to app architecture, the OWASP ASVS or the C4 model.

Repeat the exercise after large additions: sample entries across files and score bands, have someone score them blind, and re-check any band where the difference is systematic.

Changing a score

  • Sources: edit the score column in sources.csv.
  • Key rules: edit the number at the start of the rule.

Then run python3 scripts/rank.py fix. It updates the scores shown in the guideline files, re-sorts the lists and regenerates SOURCES.md. python3 scripts/rank.py check (also run in CI) fails if anything is unscored, unsorted or out of sync.

Scores are judgements. When you change one, explain why in the pull request, citing the criteria above.