Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    Golden Paths

    The opinionated, fully supported route from nothing to a running service. Optional, but so much easier than the alternatives that teams choose it.

    Growingtended planted 3 min read
    On this page

    A golden path (Spotify’s term; Netflix calls it the “paved road”) is the opinionated, supported default for a common task, such as creating a new service. It bundles the best-practice choices so teams don’t have to make them again.

    What a good one includes

    A good golden path takes a team from nothing to a deployed service in one step: repository, CI pipeline, logging, dashboards, alerts and on-call wiring, all already connected. It’s usually delivered as:

    • Templates: Backstage software templates, cookiecutter, a create-* CLI.
    • Reusable modules the template references: infrastructure modules, Helm charts, shared CI templates.
    • Documentation that explains the choices, so people can make informed exceptions.

    Optional but attractive

    The defining property: teams can go off-road, but then they own the extra work. Adoption is earned by being the easiest option, not mandated. A golden path that has to be enforced is a sign it isn’t golden.

    Keep them thin and versioned

    The most common failure is a template that forks into every service and then rots. Prefer thin templates that reference shared, versioned modules, so improvements flow to existing services instead of only to new ones.

    Anti-patterns

    • A golden path only the platform team understands.
    • Mandating it without measuring whether teams actually find it faster.
    • Templates with no upgrade path once a service has been generated.
    • Paving every road. Golden paths belong to common, supporting work, not to the core of what teams build. See Where Platforms Fit: DDD Subdomains.

    My first one

    The first golden path I built was a Web Accelerator at Elanco: web standards baked into a boilerplate, provisioned through the company’s self-service portal, with shared Storybook components, across a web estate of 80 sites (Building a Web Platform for 80 Sites). Its biggest lesson is the one above: keep the shared parts in versioned packages, because copied templates drift.

    For agents too

    Golden paths matter even more when some of the “developers” are AI agents. An agent on a well-paved road (one template, clear conventions, fast feedback) is far more reliable than one improvising infrastructure. See What Makes an AI Agent.

    Templates, defaults and escape hatches

    A golden path that really goes from intent to production includes repo templates, CI/CD with security scanning, infrastructure-as-code modules, observability defaults, a deployment strategy (Blue-Green Deployment or canary) and rollback. The concrete artefact is a bootstrap template: organisational best practice in executable form, with code, config, infrastructure, docs (README, API spec, runbooks) and test scaffolding (unit, integration, contract).

    The power is in the defaults: safe, observable, compliant and performant by default.

    Onboarding is where this pays most. Every hour saved multiplies across every new joiner, or every first use of a capability, and every mistake a good default prevents saves weeks of clean-up. Worth measuring:

    • Time to first commit: how long until a new developer ships real business logic (hours, not days).
    • Time to first deploy: a new service in production within a day; the best teams manage a couple of hours.
    • Escape rate: how often teams leave the path. High escape rates tell you where the defaults don’t match reality.
    • Satisfaction: ask, regularly.

    Escape hatches are the explicit way off the path. Good ones make the deviation visible (you acknowledge you’re leaving the paved road), keep security and compliance guardrails, let the platform team see and review deviations, and make it easy to come back. The newcomer’s side of the same leverage is First Week in a New Codebase.

    A training parallel

    In calisthenics, a well-designed beginner routine does the same job. It’s not the only way to train, but it bundles sensible choices so you can start immediately and deviate once you know why. The full metaphor is in Golden Paths and the Recommended Routine, and the platform side in Internal Developer Platform.

    • #platform-engineering
    • #golden-paths
    • #developer-experience
    • #templates

    ↪ Links to (8)