/idp-skills:golden-path-template-design-for-developer-platformsfrom idp-skills
Designs golden-path scaffolding templates for new services with opinionated defaults (CI, Dockerfile, observability, security) and documented escape hatches. Use when standardizing service creation or balancing platform opinionation with team autonomy.
Ships in idp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A golden path is the platform team's answer to "how do I start a new service" — a scaffolding template that produces a service with a working CI pipeline, a Dockerfile, base observability instrumentation, catalog registration, and a security baseline already wired in, so most teams never have to make those decisions themselves. The operational risk is at either extreme: a template with too many knobs turns into an unmaintainable tangle of conditional logic that nobody fully understands, while a template with no knobs and no sanctioned way to deviate turns into a walled path — the first team with a genuinely different runtime or an unusual compliance requirement either forks around the platform entirely (silently, with no governance) or blocks on the platform team to special-case them. This skill covers the design discipline that keeps a golden path a paved road with clearly marked exits: tiering templates by complexity instead of one monolithic template, making assumptions visible and overridable rather than hardcoded, and documenting how a team deviates so escape hatches are a sanctioned, tracked decision rather than an invisible fork.
if
branches in its scaffolder steps that changing it risks breaking
combinations nobody tests.scaffolder.backstage.io/v1beta3 Template
manifests) or a Score-based workflow (score.dev workload spec plus
score-compose/humctl to materialize platform-specific manifests) are
the two most common substrates; the design principles here apply to
either.USER,
a mandatory SAST/secret-scan CI step, a minimum set of IAM permissions)
that the template can encode as a default rather than each team deciding
independently.Tier templates by complexity instead of building one template with
dozens of conditional parameters. A single golden-path-service
template that tries to handle "no datastore" and "postgres" and
"dynamodb" and "with a queue" and "gRPC vs REST" via nested if
parameters becomes unreadable and untestable. Split into tiers that
compose:
Template manifest and skeleton directory, not a
branch inside one template.Make assumptions visible and overridable, with sensible defaults — never silently hardcoded. Runtime version and base image are the two most common sources of drift; parameterize them with a default so a team that doesn't care gets the platform's current recommendation, and a team that does care can pick a supported alternative:
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: golden-path-service-standard
title: "Standard Service (Golden Path — Tier 2: API + Datastore)"
description: >
CI, Dockerfile, observability, catalog registration, and a
provisioned datastore. Use golden-path-service-minimal if the
service has no persistent state.
tags: [golden-path, tier-2]
spec:
owner: group:platform-team
type: service
parameters:
- title: Service identity
required: [name, owner, runtime]
properties:
name:
type: string
title: Service name
pattern: '^[a-z][a-z0-9-]{2,40}$'
owner:
type: string
title: Owning team (catalog Group)
runtime:
type: string
title: Runtime
enum: [go1.22, node20, python3.12]
default: go1.22
datastore:
type: string
title: Datastore engine
enum: [postgres14, dynamodb]
default: postgres14
steps:
- id: fetch-base
name: Fetch golden-path skeleton (tier 2)
action: fetch:template
input:
url: ./skeleton-standard
values:
name: '${{ parameters.name }}'
owner: '${{ parameters.owner }}'
runtime: '${{ parameters.runtime }}'
datastore: '${{ parameters.datastore }}'
- id: publish
name: Create repository
action: publish:github
input:
repoUrl: 'github.com?owner=acme-corp&repo=${{ parameters.name }}'
- id: register
name: Register in catalog
action: catalog:register
input:
repoContentsUrl: '${{ steps.publish.output.repoContentsUrl }}'
catalogInfoPath: '/catalog-info.yaml'
output:
links:
- title: Repository
url: '${{ steps.publish.output.remoteUrl }}'
runtime and datastore are overridable within a supported set — the
template does not let a team type an arbitrary runtime string, which
would defeat the point of a paved road.
If Score is the templating substrate instead of Backstage, encode
the same tiering as separate score.yaml skeletons with parameterized
metadata.name and resources blocks, materialized per-tier via
score-compose init --file score-standard.yaml or humctl score deploy -f score-standard.yaml; see
humanitec-score-workload-specification
for the workload-spec authoring details this skill doesn't repeat.
Document escape hatches explicitly — never silently block anything
outside the parameter list. Ship a DEVIATIONS.md at the root of
every skeleton that spells out the tradeoff of forking, e.g.:
# Deviating from the golden path
## Different base image / Dockerfile
Edit `Dockerfile` directly after scaffolding. You lose automatic
base-image bumps from `golden-path-service-standard` version updates —
subscribe to #platform-golden-path-changes to track upstream CVE fixes
you'll now need to apply manually.
## Different runtime not in the supported enum
File an RFC (see CONTRIBUTING.md in the templates repo) proposing the
platform team add support. Do not hand-edit the generated CI pipeline
to run an unsupported runtime without the platform team's SLA
coverage — CI infra for unlisted runtimes isn't maintained.
## Unusual compliance requirement (e.g. FedRAMP-scoped service)
Use golden-path-service-advanced's `compliance-fedramp` overlay
(see skeleton-advanced/overlays/) rather than modifying the security
baseline in place — overlays are reviewed by security and stay
upgradable.
This turns "we went off-template" into a tracked, intentional decision with a known cost, instead of an invisible fork the platform team discovers only when the service breaks during a platform-wide upgrade.
Version the template itself and stamp generated services with the version that created them, so a template change doesn't silently affect services already scaffolded:
# in skeleton-standard/catalog-info.yaml.njk, filled at scaffold time
metadata:
annotations:
idp.acme.com/golden-path-template: [email protected]
Tag the templates repo per release (git tag golden-path-service-standard-v2.3.0) and pin fetch:template's url
to a ref when you need a specific tier version to keep tracking a known
good state rather than always main.
Set up governance: a named owner and a change-proposal process.
The platform team owns and merges changes to the templates repo
(CODEOWNERS entry: /templates/ @acme-corp/platform-team), but any
team can open an RFC-style pull request proposing a new tier, a new
parameter, or a new default — reviewed against the same bar as any
platform change (does it stay a paved road, does it add an escape
hatch instead of a special case). Reject PRs that add a one-off
conditional for a single team's need; redirect those to the
DEVIATIONS.md fork path instead.
Publish the template's own metadata into the catalog as a discoverable entity (Backstage templates are themselves catalog entities) so teams can find "which golden path fits my service" instead of asking the platform team directly.
Before making a tier the mandatory default, validate it end-to-end — see golden-path-template-validation-and-testing for the CI pipeline that scaffolds a real instance and proves it builds, deploys, and passes a smoke test before you point new-service creation at it.
runtime: string with no validation
looks flexible but produces services the CI fleet and observability
stack were never built to support.fetch:template skeleton diffed in a
PR is far easier for another engineer to review than branching logic
embedded in scaffolder steps.DEVIATIONS.md buried in a wiki nobody reads produces
the same silent-fork outcome as having no escape hatch at all.Symptom: The golden-path template has grown a useQueue: boolean,
a datastoreType: enum, a authMode: enum, and a dozen nested if
conditions in its scaffolder steps, and nobody is confident which
combinations actually produce a working service.
Fix: Split into explicit tiers (minimal/standard/advanced), each
its own template and skeleton, so every published template is a tested,
known-good combination rather than one of an untested combinatorial
space.
Symptom: A team with a genuinely different compliance requirement
hand-edits the generated Dockerfile and CI pipeline outside the
template's parameters, and the platform team only discovers this months
later during an org-wide base-image CVE remediation.
Fix: Ship a DEVIATIONS.md documenting the sanctioned way to
deviate and its cost (losing auto-upgrades), and require an annotation
or catalog tag marking a service as "deviated from golden path" so the
platform team's upgrade sweeps can find it proactively instead of by
surprise.
Symptom: A template change (e.g. bumping the default Postgres
version) is merged directly to main, and every service scaffolded
starting that day silently gets the new default with no announcement,
breaking a downstream migration assumption for one team.
Fix: Version the template, stamp generated services with the
version, and treat a default-changing update as a minor/major version
bump communicated through the same channel as any platform change — see
golden-path-template-validation-and-testing
for canary-rolling template changes before they become the default.
Symptom: The platform team makes the golden path the only way to create a new service on day one, with no exception process, and teams with legitimate edge cases either quietly stop using the platform or escalate loudly, souring the whole rollout. Fix: This is a specific documented rollout failure mode — pair the template's launch with an explicit, fast exception/RFC path from day one, not an afterthought added after the first blowup; see idp-adoption-rollout-and-change-management-strategy for sequencing a mandatory-golden-path rollout without stifling legitimate edge cases.
Symptom: Two teams independently build near-identical "custom" services because neither knew a tier already covered their case, since the templates aren't discoverable outside the platform team's own memory. Fix: Register each template tier as its own discoverable catalog entity with a clear description of what it covers, rather than leaving template selection as a Slack-thread negotiation with the platform team.
Scenario: acme-corp's platform team has one golden-path template
covering every new service, with 9 boolean/enum parameters and a
scaffolder pipeline full of if: ${{ parameters.useQueue }} branches. A
team building a new fraud-detection service needs Kafka consumption and a
stricter security baseline than the template supports, and is about to
hand-roll their own pipeline outside the platform entirely.
golden-path-service-minimal (stateless, CI, Dockerfile, catalog
registration only), golden-path-service-standard (adds Postgres/
DynamoDB, shown in step 2 above), and golden-path-service-advanced
(adds a Kafka producer/consumer skeleton and a compliance-strict
overlay).Template manifest with its own skeleton
directory (skeleton-minimal/, skeleton-standard/,
skeleton-advanced/), removing all cross-tier conditionals from the
scaffolder steps.golden-path-service-advanced, selecting runtime: go1.22 and
getting the Kafka skeleton and stricter baseline by default — no fork
needed, because the tier now genuinely covers their shape of service.runtime enum)
goes through the RFC process documented in DEVIATIONS.md: they file
a PR against the templates repo proposing rust1.78 be added to
golden-path-service-minimal's enum, which the platform team reviews
and merges as a v3.0.0 bump.idp.acme.com/golden-path-template: [email protected]
annotation, so when a Kafka client library CVE surfaces six months
later, the platform team queries the catalog for that annotation to
find every affected service instead of guessing.[email protected] becomes the default choice
surfaced to all teams, it runs through the scaffold-build-deploy-smoke-
test CI pipeline described in
golden-path-template-validation-and-testing.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin idp-skills20 skills in this plugin
/backstage-plugin-developmentGuides authoring a custom Backstage plugin — scaffolding a frontend or backend plugin package with `yarn new`, wiring a frontend API client via `createApiRef`, building a backend plugin on the new backend system (`createBackendPlugin`), and registering either into the app's routes or an entity page tab. Use when a user asks to "write a custom Backstage plugin," "add a backend plugin to Backstage," "build a Backstage frontend component that talks to a new API," or "create a Backstage plugin that surfaces X" — this goes beyond catalog/TechDocs/template configuration.
/complete-idp-deployment-on-aws-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on AWS: landing zone → EKS cluster → Helm-deployed Backstage backed by RDS PostgreSQL → golden-path scaffolding template → self-service API wired to AWS provisioning (IRSA roles, RDS instances) → scorecards. This is the integration runbook that orders the individual AWS/EKS/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on AWS from scratch," "stand up Backstage on EKS end-to-end," "build our internal developer platform on AWS," "wire self-service database/IAM provisioning into Backstage on AWS," or "sequence an AWS platform rollout from account creation to golden-path templates."
Other plugins' skills for the same job