General checklist¶
Copy this list into a pull request, design review or project kickoff and tick what applies. Rules are grouped by level and sorted by score (criteria). Each links to the file that explains it and cites its sources. Automatable names tools that can check the rule in CI (see the file's "How to enforce" section).
This file is generated by python3 scripts/rank.py fix from the guidelines. Don't edit it by hand.
Strongly recommended (9–10)¶
-
SEC-1(10) Deny by default, enforce least privilege, and check authorisation server-side on every request. (general/security) -
SEC-2(10) Keep secrets out of code and repositories. (general/security) Automatable: GitHub secret scanning push protection, Gitleaks. -
A11Y-1(9) Use WCAG 2.2 Level AA as the accessibility baseline for every user interface, not only websites: apply it to native apps, desktop software and documents through WCAG2ICT, and through EN 301 549 where EU law applies. (general/accessibility) Automatable: axe-core rules. -
A11Y-9(9) Expose every control's name, role, state and value to assistive technologies through the platform's accessibility API: use the standard controls of the platform or UI toolkit, which do this for you, and implement the API yourself for custom-drawn UI, such as a canvas or a game engine's UI. (general/accessibility) -
AI-1(9) Treat model inputs and outputs as untrusted. (general/ai-systems) -
API-1(9) Make operations safe to retry, using idempotency keys where the method isn't naturally idempotent. (general/api-design) -
API-2(9) Evolve APIs in backward-compatible ways. (general/api-design) Automatable: buf breaking, oasdiff, breaking changes. -
STYLE-6(9) Keep the domain independent of UI, frameworks and databases, so that dependencies point inwards. (general/architecture-styles) -
AUTH-1(9) In browser apps, keep tokens out of reach of JavaScript: use a server-side session in a cookie, or a Backend for Frontend (BFF) that holds the OAuth tokens. (general/authentication) -
AUTH-2(9) Use the authorization code flow with PKCE for every OAuth client. Don't use the implicit grant, and never use the resource owner password credentials grant. (general/authentication) -
AUTH-5(9) Set session cookies withSecure,HttpOnlyandSameSite=StrictorLax, and prefer the__Host-name prefix. (general/authentication) Automatable: CodeQL, Sensitive server cookie exposed to the client, ZAP baseline scan. -
AUTH-6(9) Issue a new session ID when a user signs in, re-authenticates or changes privilege level, and invalidate the old one. (general/authentication) -
AUTH-10(9) Store passwords only as salted hashes from a slow password-hashing function: Argon2id, scrypt, bcrypt or PBKDF2. (general/authentication) Automatable: CodeQL, Use of password hash with insufficient computational effort. -
AUTH-11(9) Follow NIST's password rules: require at least 15 characters for passwords used alone (8 with MFA), allow at least 64, and reject passwords on a blocklist of common and breached ones. (general/authentication) -
AUTH-12(9) Offer multi-factor authentication to all users, and require it for administrators and other privileged accounts. (general/authentication) -
DATA-1(9) Give each service or module exclusive ownership of its data. (general/data) -
DATA-2(9) Evolve database schemas through small, versioned migrations kept in source control. (general/data) -
DATA-8(9) Set recovery point and recovery time objectives for each data store, back up to meet them with copies kept outside the primary system, and test restores regularly. (general/data) -
I18N-6(9) Use Unicode, encoded as UTF-8, wherever text is stored or exchanged: source and resource files, databases, files, APIs and protocols. (general/localization) -
OPS-3(9) Put a timeout on every remote call, and retry only with capped exponential backoff and jitter. (general/operations-reliability) -
PRIN-4(9) Separate concerns and encapsulate decisions behind interfaces. (general/principles) -
PRIV-1(9) Collect only the personal data that a feature needs for a purpose you have stated, and don't reuse it for a new purpose that isn't compatible with that one. (general/privacy) -
PRIV-5(9) Make the privacy-protective setting the default: run only the processing each purpose strictly needs, and don't make profiles or user content visible to everyone until the user chooses to. (general/privacy) -
REL-4(9) Never change a published release: its version, tag and artifacts stay as they are, and every fix ships as a new version. (general/releases) Automatable: GitHub immutable releases. -
SEC-3(9) Threat model early and revisit it as the design changes. (general/security) -
SEC-10(9) Validate all input that crosses a trust boundary on the server, against a schema or an allowlist, before using it, and never deserialize untrusted data with a mechanism that can create arbitrary objects or run code. (general/security) -
SEC-11(9) Treat everything you ship to a client as public, including browser bundles, page payloads, mobile apps and game builds, and never build secrets into it. (general/security) -
SEC-19(9) On users' devices, keep tokens, passwords and keys only in the operating system's secure storage, such as the Keychain on Apple platforms or the Android Keystore, or encrypted with a key kept there or derived from a passphrase the user enters, never in plain files, preferences or other unencrypted app storage. (general/security) -
SEC-12(9) Never keep one user's or one request's data in state that a server process shares between requests, such as module-level variables or singletons: scope it to the request, or keep it in a backing service. (general/security) -
SEC-18(9) Never build SQL by concatenating or formatting values into the statement: define the statement's structure in code, bind every value as a query parameter, and map choices of table, column or sort direction to a fixed allowlist of values in code. (general/security) -
SEC-20(9) Never expose databases, caches, message brokers or telemetry collectors to the internet: bind them to private interfaces or networks, let only the hosts that need them through a firewall or security group, and require authentication even inside the network. (general/security) Automatable: Atlas Resource Policies.
Recommended (6–8)¶
-
A11Y-10(8) Make every function work through a keyboard interface, without precise timing, because switch devices, alternative keyboards and other input that emulates a keyboard depend on it. (general/accessibility) -
A11Y-13(8) Don't show anything that flashes more than three times in any one second, unless the flashes stay below the general flash and red flash thresholds. (general/accessibility) -
API-11(8) Limit what each client can consume: cap the size of request bodies, strings, arrays and uploads, the number of records (API-6) and operations one request can ask for, and the execution time of every request, and rate-limit each client or user, with stricter limits on costly or sensitive operations. (general/api-design) -
API-3(8) Use HTTP methods and status codes as their specification defines them. (general/api-design) Automatable: Spectral OpenAPI rules. -
STYLE-1(8) Start with a well-structured monolith and split it once the boundaries are understood. (general/architecture-styles) -
STYLE-3(8) Organise services around business capabilities and let each service own its data. (general/architecture-styles) -
AUTH-3(8) Use an established identity provider, or your framework's built-in authentication and session management, instead of writing your own. (general/authentication) -
AUTH-4(8) Sign users in through an external identity provider with OpenID Connect, not plain OAuth, and identify each federated user by issuer and subject (issandsub). (general/authentication) -
AUTH-7(8) Enforce idle and absolute session timeouts on the server, and invalidate the session on the server when the user logs out. (general/authentication) -
AUTH-17(8) Protect every state-changing request that browsers send with credentials they attach automatically, such as session cookies or HTTP Basic authentication, against cross-site request forgery (CSRF), and keepGET,HEADandOPTIONSrequests free of side effects. (general/authentication) -
AUTH-15(8) Protect account recovery as strongly as sign-in: use random, single-use, short-lived reset tokens, answer the same whether or not the account exists, and notify the user after every recovery. (general/authentication) -
DATA-9(8) Assume every message can arrive more than once: acknowledge it only after processing it, and make consumers idempotent, for example by recording the IDs of processed messages. (general/data) -
I18N-8(8) Store and exchange points in time as UTC timestamps, and convert them to the user's time zone only for display. For future and recurring events, such as meetings, also store the IANA time zone ID. (general/localization) -
OPS-2(8) Monitor the four golden signals for every user-facing service: latency, traffic, errors and saturation. (general/operations-reliability) -
OPS-4(8) Design to prevent cascading failures, for example with load shedding and by avoiding retry storms. (general/operations-reliability) -
OPS-13(8) Run production across at least two independent failure domains, such as availability zones, with enough spare capacity to lose one without scaling up. (general/operations-reliability) -
OPS-9(8) Keep config in the environment, treat backing services as attached resources, and run stateless processes. (general/operations-reliability) -
OPS-14(8) Define infrastructure and platform configuration as code in version control, and change it only through a reviewed pipeline, not by hand in a console or dashboard. (general/operations-reliability) -
PRIN-1(8) Spend architecture effort on the decisions that are hard to change. (general/principles) -
PRIN-2(8) Treat internal quality as a speed investment, not a cost. (general/principles) -
PRIV-2(8) Keep an inventory of the personal data each system processes: what data, about whom, for which purpose and on which lawful basis, where it is stored, which services and third parties receive it, and how long it is kept. (general/privacy) Automatable: Bearer CLI privacy report, Privado. -
PRIV-8(8) Set a retention period for each kind of personal data, including the copies in logs, backups, analytics and caches, and enforce it automatically: delete or anonymise the data when its period ends. (general/privacy) -
PRIV-9(8) Design erasure so that one request removes a user's personal data everywhere it is kept: in every service and replica, search indexes, caches, analytics and data warehouses, and at the processors and other recipients you shared it with. (general/privacy) -
PRIV-11(8) Before adding a third-party SDK or service that receives personal data, such as analytics, advertising, crash reporting or customer support, find out what it collects, switch off what you don't need, and add it to the inventory (PRIV-2). (general/privacy) Automatable: Bearer CLI privacy report, Privado. -
PRIV-12(8) Be able to detect a personal data breach and notify the supervisory authority within 72 hours of becoming aware of it, unless it is unlikely to put people at risk: alert on unusual access to personal data (SEC-4), keep a runbook that names who assesses and notifies, and require processors to report breaches to you. (general/privacy) -
REL-1(8) Version libraries, SDKs and other packages that others depend on with Semantic Versioning, and declare what their public API is. (general/releases) Automatable: API Extractor API report, cargo-semver-checks. -
REPO-5(8) Protect the default branch: merge only through pull requests with passing status checks, block force pushes and deletion, and don't let administrators bypass the rules. (general/repositories) Automatable: OpenSSF Scorecard checks. -
SEC-4(8) Log security-relevant events, and keep secrets and sensitive personal data out of logs by removing, masking, hashing or encrypting them. (general/security) Automatable: CodeQL, clear-text logging of sensitive data. -
SEC-5(8) Give each application and service its own identity, with only the permissions it needs, on every system it connects to, and never let it use a shared, default or administrator account. (general/security) -
SEC-6(8) Ship secure defaults so customers don't have to harden the product themselves. (general/security) -
SEC-13(8) Encrypt every network connection with TLS, including internal connections to databases, caches, message brokers and telemetry collectors, and make clients verify the server's certificate. (general/security) -
SEC-14(8) Authenticate workloads and pipelines with short-lived credentials issued for their identity, such as cloud managed identities or OpenID Connect workload identity federation, instead of long-lived keys or stored secrets. (general/security) -
SEC-15(8) Pin every dependency, including packages, base images, CI actions and infrastructure modules, to an immutable version, such as a lock file with hashes, an image digest or a commit SHA, install exactly what is pinned, and let a bot propose updates. (general/security) -
SEC-16(8) Separate production from non-production, and workloads from each other, with their own accounts or projects, credentials and data stores. (general/security) -
SEC-17(8) Run only releases of runtimes, frameworks, databases and other platform software that still receive security fixes, apply their patch releases promptly, and plan each upgrade before the end-of-life date. (general/security) -
TEST-2(8) Keep the software deployable at all times, and prioritise that over new features. (general/testing-delivery) -
A11Y-2(7) If you sell to consumers in the EU, check whether the European Accessibility Act covers your products or services, and if it does, design them to its requirements from the start. (general/accessibility) -
A11Y-3(7) In the US, check which federal accessibility rules apply to what you build: Section 508 for ICT that federal agencies develop, buy or use, the ADA Title II rule for state and local governments' websites and apps, and the CVAA for software with communication features. (general/accessibility) -
A11Y-4(7) Build accessibility into the design system and into the definition of done: make and test the shared components accessible once, and test each new feature for accessibility, automatically and by hand, before it counts as done. (general/accessibility) -
A11Y-5(7) Involve people with disabilities in research, design reviews and testing from the start of a project, with a range of disabilities and assistive technologies. (general/accessibility) -
A11Y-7(7) Test each new feature by hand with the assistive technologies and settings people use, on every platform you ship: at least a screen reader, a keyboard or switch access, and the largest text size. (general/accessibility) -
A11Y-8(7) Don't rely on accessibility overlays or widgets to make a product accessible or compliant: fix the barriers in its own code and content. (general/accessibility) -
A11Y-11(7) Never convey information or instructions by colour alone or by sound alone, or only through shape, size, position or orientation: add text, icons, patterns or captions. (general/accessibility) -
A11Y-12(7) Follow the platform's accessibility settings instead of overriding them, such as text size, bold text, contrast and colour filters, reduced motion and forced colours. (general/accessibility) -
A11Y-14(7) Give people enough time: let them turn off, adjust or extend each time limit, and pause, stop or hide anything that moves, blinks or scrolls on its own for more than five seconds. (general/accessibility) -
AI-2(7) Start with the simplest solution, such as a single model call with retrieval. (general/ai-systems) -
AI-3(7) Build evaluations early and run them on every change to prompts, models or tools. (general/ai-systems) -
AI-4(7) Use workflows (predefined code paths) for well-defined tasks, and agents only where the model must decide the steps itself. (general/ai-systems) -
AI-5(7) Design tools specifically for agents, and put as much effort into the agent interface as you would into a human one: clear, distinct names, focused scope and actionable error messages. (general/ai-systems) -
API-4(7) Design the API contract first and review it before implementing it. (general/api-design) -
API-5(7) Model HTTP APIs around resources and standard methods, not ad-hoc RPC verbs. (general/api-design) Automatable: Google API Linter. -
API-6(7) Paginate list endpoints from day one. (general/api-design) Automatable: Google API Linter. -
STYLE-2(7) Have rapid provisioning, basic monitoring and rapid deployment in place before adopting microservices. (general/architecture-styles) -
STYLE-4(7) Treat microservices as a premium you pay to manage complexity. (general/architecture-styles) -
STYLE-7(7) Layer presentation, domain and data, but in larger systems make domain modules the top-level split. (general/architecture-styles) -
STYLE-8(7) Apply CQRS only to the specific parts of a system that need it. (general/architecture-styles) -
STYLE-9(7) Use event sourcing where a full history of changes is a requirement, not as a default persistence model. (general/architecture-styles) -
AUTH-8(7) Make sessions revocable: end all of a user's sessions when the account is disabled, and offer to end the other sessions after a password or MFA change. (general/authentication) -
AUTH-9(7) Ask for the current credentials again before sensitive changes, such as a new password or email address, and before sensitive transactions. (general/authentication) -
AUTH-13(7) Offer a phishing-resistant authenticator, preferably passkeys. When a passkey counts as a second factor, require user verification and check its flag on the server. (general/authentication) -
AUTH-14(7) Give the same response, in about the same time, whether the account doesn't exist, the password is wrong or the account is locked, and limit failed attempts per account. (general/authentication) -
DATA-3(7) Keep data consistent across services with sagas, not distributed transactions. (general/data) -
DATA-4(7) Publish events atomically with state changes using a transactional outbox. (general/data) -
DATA-5(7) Choose the consistency level per use case and make eventual consistency visible in the design. (general/data) -
DATA-10(7) Load the related data that an operation needs in one query or one batched request, not with a query per item (the N+1 problem), and check how many queries each operation makes when you test or profile it. (general/data) -
ADR-1(7) Write an ADR for every architecturally significant decision. (general/decisions) -
ADR-2(7) Keep ADRs in the repository next to the code as numbered Markdown files, for exampledocs/decisions/0001-use-postgresql.md. (general/decisions) -
ADR-3(7) Record the options you considered and why you rejected them, not just the option you chose. (general/decisions) -
DOC-1(7) Start with a system context diagram and a container diagram. (general/documentation) -
DOC-2(7) Store, version and review documentation alongside the code. (general/documentation) -
DDD-1(7) Build a ubiquitous language with domain experts and use it everywhere: in conversations, documents and code. (general/domain-driven-design) -
DDD-2(7) Split large domains into bounded contexts, each with its own model, and make the relationships between them explicit. (general/domain-driven-design) -
DDD-3(7) Spend modelling effort on the core domain; buy or simplify generic subdomains. (general/domain-driven-design) -
DDD-4(7) Use aggregates as consistency boundaries. (general/domain-driven-design) -
I18N-1(7) Keep every user-visible string, including error messages and console output, in resource files outside the code, so that it can be translated without changing the code, from the first release. (general/localization) Automatable: Android Lint, SetTextI18n, eslint-plugin-i18next, no-literal-string, FormatJS ESLint plugin. -
I18N-2(7) Never build a sentence by joining strings or fragments in code: put each complete message in one string, with named placeholders that translators can move. (general/localization) Automatable: Android Lint, SetTextI18n. -
I18N-3(7) Choose plural and gender forms with a message format that applies each language's CLDR plural rules, such as ICU MessageFormat, instead of testingcount == 1in code. (general/localization) -
I18N-4(7) Give translators context: a comment on every short or ambiguous string and on every placeholder that says where the text appears and what the placeholder will contain, plus screenshots or a test build where you can. (general/localization) Automatable: FormatJS ESLint plugin. -
I18N-7(7) Format and parse dates, times, numbers, currencies and units, and sort text, with locale-aware APIs that use CLDR data, such as ICU, JavaScriptIntlor your platform's globalization API, never with hand-written patterns or rules. (general/localization) Automatable: Android Lint, SetTextI18n. -
I18N-9(7) Treat the user-interface language, the regional formats and the user's country or region as separate settings: start from the operating system's or browser's preferences, let users change each one in the app, and be wary of guessing the language from the user's location or IP address. (general/localization) -
I18N-10(7) Design layouts that adapt to the length and height of the text: let text wrap and controls grow, avoid fixed-width containers and text fitted tightly into graphics, and expect short strings to become two to three times as long as in English. (general/localization) -
I18N-14(7) Test with pseudo-localization from early in development: an automatic fake translation that accents each string, makes it about 40% longer and puts markers around it, plus a pseudo locale for formats. (general/localization) -
OPS-1(7) Define SLOs from user-facing SLIs, and use the error budget to balance reliability against release speed. (general/operations-reliability) -
OPS-5(7) Stop calling a failing dependency with a circuit breaker, and isolate resources with bulkheads. (general/operations-reliability) -
OPS-10(7) Expose health endpoints that load balancers and orchestrators can probe. (general/operations-reliability) -
OPS-11(7) Instrument with OpenTelemetry and follow its semantic conventions, so telemetry is portable and correlated. (general/operations-reliability) Automatable: Weaver live check. -
OPS-12(7) Run blameless postmortems and track their action items. (general/operations-reliability) -
OPS-15(7) Make processes disposable: onSIGTERM, stop taking new work, finish or hand back the work in flight, and exit within the platform's grace period. (general/operations-reliability) -
OPS-16(7) Write structured logs that carry the trace context, to stdout or through a log appender, and ship them to a central store with the retention you need. (general/operations-reliability) -
OPS-17(7) Set a spending limit on every cloud account, project and paid third-party service, and where the provider offers no hard limit, billing alerts that reach the owners, so that an attack can't run up unlimited charges. (general/operations-reliability) -
PRIN-3(7) Reduce irreversibility where you can. (general/principles) -
PRIN-5(7) Gather together the things that change for the same reasons; separate those that change for different reasons. (general/principles) -
PRIN-6(7) Point dependencies at abstractions and make them explicit. (general/principles) -
PRIN-7(7) Decompose by design decisions likely to change, not by processing steps. (general/principles) -
PRIN-8(7) Keep each piece of knowledge in one place (DRY). (general/principles) -
PRIN-9(7) Don't build capabilities for presumed future needs (YAGNI), but do keep the code easy to change. (general/principles) -
PRIN-10(7) Prefer the simplest design that passes the tests, reveals intention, has no duplication and has the fewest elements. (general/principles) -
PRIN-16(7) Start every concurrent task in a scope, such as a task group, that waits for it to finish or cancels it before the scope ends (structured concurrency), so that no task outlives the code that owns it. (general/principles) Automatable: Ruff flake8-async (ASYNC) rules, typescript-eslintno-floating-promises. -
PRIN-12(7) Expect system structure to mirror communication structure (Conway's law). (general/principles) -
PRIN-13(7) Aim for an architecture where teams can test and deploy independently. (general/principles) -
PRIV-3(7) Pseudonymise personal data that analytics and other secondary uses need to link but not to identify: replace direct identifiers with the output of a keyed one-way function or a random lookup table, and keep the key or table separate, with tighter access (SEC-2). (general/privacy) -
PRIV-4(7) Use made-up test data in development, test and demo environments, not copies of production personal data. (general/privacy) Automatable: Presidio. -
PRIV-6(7) Record each consent with who gave it, when, for which purposes and what they were shown, and make withdrawing it as easy as giving it, in the same interface. (general/privacy) -
PRIV-10(7) Let users get a copy of their personal data, and download the data they gave you in a structured, commonly used, machine-readable format, such as JSON or CSV, preferably through a self-service tool. (general/privacy) -
PRIV-13(7) Do a data protection impact assessment before building processing that is likely to be high risk, such as large-scale profiling, tracking people's location or behaviour, combining datasets, or offering online services directly to children, and update it as the design changes. (general/privacy) -
PRIV-14(7) Know in which countries each service and processor stores or accesses personal data, and cover every transfer out of the EEA or the UK with an adequacy decision or appropriate safeguards, such as standard contractual clauses. (general/privacy) -
QA-1(7) Write quality requirements as concrete, measurable scenarios, not adjectives. (general/quality-attributes) -
QA-2(7) Pick the few (three to five) quality goals that drive the design and make the trade-offs between them explicit. (general/quality-attributes) -
REL-5(7) Build releases with an automated, hermetic build, so that building the same commit again gives the same result, and stamp every artifact with the commit and build it came from. (general/releases) -
REL-6(7) Release from trunk. If you must maintain older versions, cut a release branch from trunk, fix bugs on trunk first and cherry-pick the fixes into the branch, and never merge the branch back. (general/releases) -
REL-9(7) Deprecate before you remove: mark the feature deprecated in a minor release, with a warning in the code and docs that says what to use instead and when it goes away, and remove it only in a later major release. (general/releases) -
REPO-1(7) Keep one version of each dependency across the code you build together (the One-Version Rule), whatever the repository layout. (general/repositories) Automatable: Syncpacklint. -
REPO-2(7) In a monorepo, make each project a package with declared dependencies and a public entry point, and don't import another project's internal files. (general/repositories) Automatable:turbo boundaries, dependency-cruiser, Import Linter independence contracts, Nxenforce-module-boundariesrule. -
SEC-7(7) Don't grant implicit trust based on network location. Authenticate and authorise every access (zero trust). (general/security) -
SEC-8(7) Protect the software supply chain with build provenance and continuous dependency health checks. (general/security) Automatable: Dependabot alerts, GitHub artifact attestations, OpenSSF Scorecard checks. -
TEST-1(7) Write many fast unit tests, fewer integration tests and very few end-to-end tests. (general/testing-delivery) -
TEST-3(7) Integrate small changes into the main branch at least daily. (general/testing-delivery) -
A11Y-6(6) Publish an accessibility statement for each website, app or product, saying how far it meets the standard, which parts don't and why, how to get an accessible alternative, and how to report a problem, and answer the reports you get. (general/accessibility) -
AI-6(6) Treat context as a finite resource and curate what goes into it. (general/ai-systems) -
API-7(6) Return machine-readable errors in the Problem Details format. (general/api-design) -
API-8(6) With enough users, every observable behaviour will be depended on by someone, whether documented or not (Hyrum's law). (general/api-design) -
API-9(6) Verify compatibility between providers and consumers with consumer-driven contract tests. (general/api-design) Automatable: Pact can-i-deploy. -
STYLE-5(6) Consider a modular monolith: one deployable with strictly enforced module boundaries. (general/architecture-styles) -
STYLE-11(6) Replace legacy systems incrementally behind a facade (Strangler Fig) rather than with a big-bang rewrite. (general/architecture-styles) -
STYLE-12(6) Put an anti-corruption layer between your model and legacy or external models. (general/architecture-styles) -
AUTH-16(6) Encourage users to register more than one passkey or authenticator, or to keep single-use recovery codes, so that losing one device doesn't force a weaker recovery. (general/authentication) -
DATA-6(6) Choose storage technology per need, but count the operational cost of every extra datastore. (general/data) -
ADR-4(6) Don't rewrite accepted decisions. Supersede them with a new ADR and link the two. (general/decisions) -
DOC-3(6) Give every diagram a title, a key or legend, and labelled, directed relationships. (general/documentation) -
DOC-4(6) Keep diagrams as text in the repository so they can be reviewed and diffed. (general/documentation) -
DDD-5(6) Put behaviour next to the data it changes and avoid anemic domain models. (general/domain-driven-design) -
DDD-6(6) Model concepts that are defined by their attributes as immutable value objects. (general/domain-driven-design) -
I18N-5(6) Write source text that is easy to translate: full sentences, plain words and consistent terms, without slang, jargon or cultural references, and proofread it before it goes to translators. (general/localization) -
I18N-11(6) Lay out the user interface with start and end instead of left and right, so that it mirrors for right-to-left languages such as Arabic and Hebrew. (general/localization) Automatable: Android Lint, SetTextI18n, Stylelint, property-layout-mappings. -
I18N-12(6) Use fonts that contain the glyphs of every script you ship, set fallback fonts for other scripts, and keep font names out of translatable strings. (general/localization) -
I18N-13(6) Keep text out of images, textures and videos: draw it at run time from string resources, or use images without text. (general/localization) -
OPS-6(6) Avoid fallback paths that are rarely exercised. (general/operations-reliability) -
PRIN-11(6) Take on technical debt deliberately and prudently, and know when you're doing it. (general/principles) -
PRIV-7(6) If children are likely to use the service, give them high-privacy defaults: profiling, geolocation and sharing of their data off unless there is a compelling reason, and only the data that the feature they are using needs. (general/privacy) -
QA-3(6) Protect key characteristics with automated architectural fitness functions that run in the delivery pipeline. (general/quality-attributes) -
REL-2(6) Release 1.0.0 as soon as others use the software in production or depend on its API; stay on 0.y.z only while the API is still unstable. (general/releases) -
REL-7(6) Automate version bumps, changelogs, tags and publishing with a release tool that reads the commit history or change files, such as Release Please, semantic-release or Changesets. (general/releases) -
REL-10(6) Keep a changelog or release notes written for users: one entry per version with its date, newest first, with changes grouped as Added, Changed, Deprecated, Removed, Fixed and Security. (general/releases) Automatable: Changesets, blocking check. -
REL-11(6) If a release breaks users by mistake, publish a new version that restores compatibility and mark the bad one as yanked or deprecated, instead of replacing it. (general/releases) -
REPO-3(6) Choose between one repository and several on purpose, and record the decision in an ADR: a monorepo suits projects that change together and share code, but needs build tooling that scales with it. (general/repositories) -
REPO-4(6) In a monorepo, let CI build and test only the projects a change affects, with a tool that knows the project graph, and cache task results. (general/repositories) -
REPO-6(6) Give every part of the repository an owner in aCODEOWNERSfile, including the file itself, and require review from code owners on the default branch. (general/repositories) Automatable: OpenSSF Scorecard checks. -
REPO-7(6) Keep changes small and respond to review requests within one business day, so that branches stay short-lived. (general/repositories) -
SEC-9(6) Use STRIDE to enumerate threats per component, data flow and trust boundary. (general/security) -
TEST-4(6) Enforce architecture rules such as layering and dependency direction with automated tests. (general/testing-delivery) Automatable: ArchUnit, ArchUnitNET, dependency-cruiser, Import Linter, Konsist. -
TEST-5(6) Test service boundaries with contract tests rather than relying on slow, brittle end-to-end integration suites. (general/testing-delivery) Automatable: Pact can-i-deploy. -
TEST-6(6) Decouple deployment from release with feature toggles, and remove toggles once they've served their purpose. (general/testing-delivery) -
TEST-7(6) Measure software delivery throughput and instability with the DORA metrics, and use them to improve, not to compare teams. (general/testing-delivery)
Conditional (1–5)¶
-
AI-7(5) Budget for the hidden technical debt of ML systems: data dependencies, feedback loops and glue code. (general/ai-systems) -
AI-8(5) Don't be afraid to launch without machine learning. (general/ai-systems) -
API-10(5) For gRPC and Protocol Buffers, follow the official dos and don'ts on field numbering and evolution. (general/api-design) Automatable: buf breaking. -
STYLE-10(5) Say which event-driven pattern you mean: event notification, event-carried state transfer, event sourcing or CQRS. (general/architecture-styles) -
STYLE-13(5) When extracting services, start with a simple, loosely coupled capability and decouple by business capability, not by technical layer. (general/architecture-styles) -
ADR-5(5) Say how compliance will be confirmed, for example with a design or code review, an architecture test such as ArchUnit, or a fitness function. (general/decisions) -
DOC-5(5) Use the C4 abstractions (person, software system, container, component) consistently, whatever the notation. (general/documentation) -
DOC-6(5) Don't mix tutorials, how-to guides, reference and explanation in one document. (general/documentation) -
I18N-15(5) Localize continuously: send new and changed strings to translation as soon as they're written, through an automated connection between the repository and the translation system, in a standard exchange format such as XLIFF. (general/localization) -
OPS-7(5) Buffer bursts of load with queues between producers and consumers. (general/operations-reliability) -
PRIN-14(5) Shape teams to get the architecture you want (Inverse Conway Maneuver). (general/principles) -
PRIN-15(5) Draw team boundaries to manage cognitive load, using clear team types and interaction modes. (general/principles) -
REL-3(5) Consider calendar versioning for applications and products that release on a schedule, have a large or shifting scope, or serve users who shouldn't need to know whether a change is breaking. (general/releases) -
REL-8(5) If releases are derived from commits, write commit messages, or the titles of squash-merged pull requests, in the Conventional Commits format. (general/releases) Automatable: action-semantic-pull-request, commitlint. -
REPO-8(5) When many people merge into one busy branch, use a merge queue, so that each change is tested together with the changes merged ahead of it before it lands. (general/repositories) -
ADR-6(4) Decentralise decisions with an advice process. (general/decisions) -
OPS-8(4) Verify resilience with controlled chaos experiments. (general/operations-reliability) -
QA-4(4) When the architecture is a key business asset, evaluate it with stakeholders against prioritised scenarios early, before committing. (general/quality-attributes) -
DATA-7(3) At organisational scale, treat analytical data as a product owned by domain teams (data mesh). (general/data)