/idp-skills:service-scorecards-and-maturity-model-designfrom idp-skills
Designs service scorecards and maturity models for production-readiness, security posture, and ownership/on-call coverage using Cortex Scorecards, OpsLevel Rubrics, or Backstage tech-insights. Includes weighting, tiering, and anti-gaming strategies.
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 scorecard is a platform team's attempt to answer, at a glance and at
scale, "is this service actually production-ready, secure, and owned by
someone who'll get paged when it breaks" — without a human auditing every
service by hand. Done well, it turns tribal knowledge ("everyone knows
checkout-api doesn't really have an on-call rotation") into a queryable,
enforceable signal. Done poorly, it becomes a number teams learn to
optimize directly instead of the underlying practice it was meant to
proxy — a team adds a stub runbook.md with one sentence in it, the
"has a runbook" check goes green, and the service is exactly as
operationally fragile as before. This skill covers designing the checks,
the weighting/tiering scheme that combines them into a score or maturity
level, and the structural choices that make gaming the score harder than
actually improving the practice it measures — as implemented in
Cortex Scorecards, OpsLevel Rubrics, or a Backstage tech-insights-based
equivalent.
cortex.yaml + Scorecard rules), OpsLevel
(opslevel.yml + Rubric Checks), or Backstage with the
@backstage/plugin-tech-insights-backend fact-retriever/check model —
see
no-code-idp-service-catalog-tools-port-cortex-opslevel
for choosing and standing up one of these.Start from the operational risk each category represents, not from what's easiest to query. Three common categories and the risk each answers:
Prefer machine-verifiable checks over self-attestation wherever a data source exists. A checkbox a team ticks themselves ("we have a runbook: yes/no") is the single easiest thing to game; a check that queries an actual system is not:
# Cortex Scorecard rule — self-attested (weak)
- title: Has a runbook
expression: "entity.hasMetadataField('has_runbook')" # team just sets this true
# Cortex Scorecard rule — machine-verified (strong)
- title: Has a runbook
expression: "entity.hasDocument('runbook') && entity.documents('runbook').last_updated_days_ago() < 180"
The stronger version checks both that a runbook document actually exists in the linked docs system and that it was updated recently enough to be plausibly still accurate — closing the "stub file from two years ago" gap the weaker version leaves open.
Weight checks by blast radius, not equally. A production-readiness scorecard that gives "has a README" the same weight as "has automated rollback on failed health check" produces a score where a team can offset a genuinely dangerous gap with several trivial, easy passes. Weight by consequence of the gap, and keep the weighting visible and justified:
name: Production Readiness
rules:
- title: Has a README with an architecture overview
expression: "entity.hasDocument('readme')"
weight: 1
- title: Has a defined and tracked latency SLO
expression: "entity.hasMetadata('slo.latency_p99_ms')"
weight: 3
- title: Automated rollback wired to a health-check alarm
expression: "entity.hasMetadata('deploy.auto_rollback_enabled') && entity.metadata('deploy.auto_rollback_enabled') == true"
weight: 5
- title: No open critical vulnerabilities older than 30 days
expression: "entity.vulnCount('critical', olderThanDays=30) == 0"
weight: 5
Gate top tiers on specific critical checks, not just a weighted-sum threshold. A blended score lets a team hit "Gold" by acing everything except the one check that actually matters, if enough low-weight checks compensate numerically. Require specific high-consequence checks to independently pass before a tier is awarded at all, on top of the weighted sum:
levels:
- name: Bronze
min_score: 0
- name: Silver
min_score: 40
required_rules: ["Has a defined and tracked latency SLO"]
- name: Gold
min_score: 80
required_rules:
- "Automated rollback wired to a health-check alarm"
- "No open critical vulnerabilities older than 30 days"
This mirrors OpsLevel's Rubric levels and Cortex's rule-level
assignment: a service failing a required_rules entry is capped below
that tier regardless of its total weighted score.
Verify on-call coverage checks depth, not mere existence. "Has a PagerDuty schedule" is true for a schedule with one person who's "always on" and has been on vacation, unreachable, for two weeks — that is not coverage:
- title: On-call rotation has at least 2 rotating members and an escalation policy
expression: >
entity.pagerDutySchedule().rotationMembers().length >= 2 &&
entity.pagerDutySchedule().hasEscalationPolicy()
weight: 4
Implement the same scorecard concept in OpsLevel via a Rubric of Checks with category weighting, if OpsLevel is the chosen tool instead of Cortex:
resource "opslevel_rubric_check_has_service_config" "slo_defined" {
name = "Latency SLO defined and tracked"
enabled = true
category = opslevel_rubric_category.production_readiness.id
level = opslevel_level.silver.id
filter = opslevel_filter.production_services.id
}
resource "opslevel_rubric_check_alert_source_usage" "no_critical_vulns" {
name = "No open critical vulnerabilities > 30 days"
enabled = true
category = opslevel_rubric_category.security.id
level = opslevel_level.gold.id
}
Keep category weighting and level assignment identical in intent to the Cortex version in step 4 — same required-check-per-level gating, different vendor syntax.
Build in anti-gaming detection, not just anti-gaming intent. Track score volatility and timing as its own signal: a service that jumps from Bronze to Gold in the week before a quarterly business review, or whose score consistently spikes right before a reporting deadline and drifts back down after, is a service worth a manual spot-check, not necessarily a genuine improvement. Periodically (e.g. quarterly) manually audit a random sample of high-scoring services against the actual practice a check claims to verify (open the linked runbook and read it, not just confirm the link resolves).
Review and version the rubric itself like code, with an owner per category and a change-review process — a scorecard whose rules never change as practices mature calcifies into either an unattainable bar nobody clears or a rubber-stamp everyone clears trivially. Re-baseline entry-level requirements to reality on rollout (see the phased rollout pattern in no-code-idp-service-catalog-tools-port-cortex-opslevel), then raise the bar incrementally on a published cadence.
Symptom: A team's "has a runbook" check goes green the same day a
one-line stub file (# Runbook\nTODO) is committed, and the check
never verifies content or freshness again.
Fix: Replace existence-only checks with the machine-verified
pattern from step 2 (freshness threshold, minimum content signal like a
linked doc's word count or required section headings) — a check that
only confirms a file exists is trivially gameable and should be treated
as a placeholder, not a finished check.
Symptom: A service scores "Gold" overall on the production-
readiness scorecard, then has a multi-hour outage because it had no
automated rollback and the on-call engineer paged had left the company
two months earlier — both gaps the rubric nominally covered.
Fix: This is the blended-weighted-sum failure mode from step 4 — the
service likely offset those two high-consequence gaps with enough
low-weight passes (README, tags, naming convention) to clear the
threshold anyway. Add both failed checks to required_rules for the
tier the service was awarded, so a critical gap caps the tier
regardless of the weighted total, and audit other "Gold" services for
the same blind spot.
Symptom: Scorecard compliance across the org climbs from 40% to 95% in the two weeks before a leadership review, then quietly drifts back down to 60% the following month. Fix: This spike-and-decay pattern is a strong gaming signal, not a genuine improvement — cross-reference with developer-experience-measurement-and-platform-adoption's guidance on treating a metric the team started optimizing directly as compromised; spot-audit a sample of the newly-passing services against the actual underlying practice, and consider tracking score volatility itself as a dashboard metric so a future spike is visible in real time rather than only in hindsight.
Symptom: An "on-call coverage" check passes because a PagerDuty schedule technically exists, but it has exactly one person on it who has been unreachable (long leave, left the team) for weeks. Fix: Check rotation depth and escalation policy presence (step 5), not mere schedule existence — a schedule with one permanent member is functionally the same as no coverage the moment that person is unavailable.
Symptom: Two years after launch, every service in the catalog still shows Bronze because the entry bar (SLOs defined, on-call rotation live) was set at "fully mature" from day one, and teams stopped checking the scorecard because it never moves regardless of real improvement. Fix: Re-baseline the entry tier to what's realistically true today for most services, and raise the bar incrementally per step 8 as each prior tier's adoption becomes routine — an unattainable rubric produces the same disengagement as no rubric at all, just with extra dashboard real estate.
Scenario: A platform team is rolling out a Cortex Production Readiness scorecard across 80 services. An earlier, informal spreadsheet- based audit found: most services have a README, about a third have any kind of SLO defined, on-call rotations exist for high-tier services but several are single-person, and two services had a runbook stub with no real content that nobody had opened in over a year.
Design decisions applied from this skill:
automated rollback and
no aged criticals as required_rules, not just a high weighted sum.Rollout: Bronze entry bar set to "README + any on-call schedule at all" (what ~90% of services already clear), avoiding the unattainable- bar pitfall. Silver requires the SLO check and 2-person rotation depth, targeted for month three once teams have had time to define SLOs. Gold (requiring both hard-gated checks) is explicitly framed as a 6-month target, not a launch-day expectation.
Quarter-two review: Score volatility tracking (step 7) flags one service whose score jumped from 45 to 92 in the ten days before a leadership all-hands. A spot-audit finds its "runbook" doc passed the freshness check because a script had been auto-touching the file's timestamp weekly without changing its content — a gaming pattern the freshness check alone didn't catch. The check is tightened to also require a minimum meaningful diff (not just a touched mtime) between audits, closing that specific loophole for the next cycle.
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."
/complete-idp-deployment-on-azure-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on Azure: landing zone → AKS cluster → Helm-deployed Backstage backed by Azure Database for PostgreSQL Flexible Server → golden-path scaffolding template → self-service API wired to Azure provisioning (Azure AD Workload Identity federated credentials, Flexible Server instances) → scorecards. This is the integration runbook that orders the individual Azure/AKS/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on Azure from scratch," "stand up Backstage on AKS end-to-end," "build our internal developer platform on Azure," "wire self-service database/identity provisioning into Backstage on AKS," or "sequence an Azure platform rollout from subscription vending to golden-path templates."
/complete-idp-deployment-on-gcp-from-scratchSequences a complete, from-scratch Internal Developer Platform deployment on GCP: landing zone → GKE cluster → Helm-deployed Backstage backed by Cloud SQL for PostgreSQL → golden-path scaffolding template → self-service API wired to GCP provisioning (Workload Identity Federation bindings, Cloud SQL instances) → scorecards. This is the integration runbook that orders the individual GCP/GKE/Backstage skills correctly and flags the handoffs between them. Use when a user asks to "deploy an IDP on GCP from scratch," "stand up Backstage on GKE end-to-end," "build our internal developer platform on Google Cloud," "wire self-service database/identity provisioning into Backstage on GKE," or "sequence a GCP platform rollout from project vending to golden-path templates."
/complete-idp-deployment-on-k3s-from-scratchSequences a lightweight Internal Developer Platform deployment on K3s for edge, on-prem, and development contexts where a full Backstage footprint isn't justified: K3s install → a resource-right-sized IDP choice (slimmed single-replica Backstage vs. a hosted no-code catalog tool) → a thin golden-path template → minimal-governance self-service → lightweight scorecards, all explicitly scoped to small teams and constrained hardware rather than restating the full cloud/enterprise build. Use when a user asks to "set up a lightweight internal developer platform," "run Backstage or a service catalog on K3s," "build a dev-team-sized IDP without enterprise overhead," "stand up a platform for an edge or small on-prem deployment," or "decide whether a full Backstage is overkill for our team size."
/complete-idp-deployment-on-kubernetes-from-scratchSequences a complete, cloud-agnostic Internal Developer Platform deployment on any CNCF-conformant Kubernetes cluster: cluster conformance validation → cluster add-ons (ingress, TLS, in-cluster storage) → Helm-deployed Backstage backed by an in-cluster PostgreSQL instance → golden-path scaffolding template → self-service scaffolder actions calling generic Kubernetes/Crossplane APIs, deliberately not tied to one cloud's IAM or managed-database provisioning APIs → scorecards. Use when a user asks to "deploy an IDP on Kubernetes without tying it to one cloud," "build a portable/cloud-agnostic internal developer platform," "stand up Backstage on any conformant cluster," "design self-service provisioning that doesn't assume AWS/Azure/GCP," or "sequence a vendor-neutral platform rollout on Kubernetes."
Other plugins' skills for the same job