agentsclimarketplace

Entur conventions

Skill entur/ai/skills/entur-conventions

Entur platform conventions for code, infrastructure, deployment, and operations. Activate when editing or asking about: Kotlin/Java/Go/Python services, Spring Boot, Gradle, Helm charts, Dockerfiles, Terraform (Entur modules, IAM roles), Kafka, Pub/Sub, GCP, GKE, Cloud SQL, Memorystore, OAuth/OIDC, Permission Store, observability/logging/metrics, secrets and security scanning, GitHub Actions workflows, self-service `.entur/*.yaml` manifests, code review, or markdown style for an Entur application. Fetches the matching guide from the entur/ai repo on demand instead of bundling content.From its SKILL.md

Install
npx -y skills add entur/ai --skill entur-conventions

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.1 KB, as published. Nobody here has run it

Entur Conventions (Router)

This skill is a thin router. It does not bundle convention content — it fetches the matching guide from the entur/ai repository when activated.

Critical rules (always apply, no fetch needed)

These rules are non-negotiable and apply to every Entur application:

  1. ALWAYS use Google Secret Manager + ExternalSecrets in Helm. Never hardcode secrets.
  2. ALWAYS use IAM roles from the approved list. Never grant roles outside it. Request additions in #talk-utviklerplattform.
  3. ALWAYS use Entur Terraform modules: terraform-google-init, terraform-google-sql-db, terraform-google-memorystore, terraform-google-cloud-storage.
  4. ALWAYS use Entur reusable GitHub Actions workflows. Never write custom CI steps.
  5. ALWAYS use the Entur common Helm chart for K8s deployments.
  6. ALWAYS pin dependencies — Terraform ?ref=TAG, Actions @vN, Docker images by specific tag.
  7. Every service includes health checks, structured logging, Prometheus metrics.
  8. Default region: europe-west1.
  9. Conventional commits — enables automated semver via release-please.
  10. Every PR passes lint, unit tests, security scan (CodeQL + Docker scan), Helm lint.
  11. ALWAYS create GCP projects via self-service YAML manifests in .entur/ (GoogleCloudApplication, GoogleCloudFirebaseApplication, GoogleCloudDataProject). Never use Terraform google_project or gcloud projects create.

How to use this skill

guides/ is split into three layers — pick the right one and fetch:

  • guides/platform/ -- platform-provided capabilities (self-service, common chart, reusable workflows, Terraform modules, Permission Store, Kafka starter).
  • guides/playbooks/ -- end-to-end tasks (bootstrap, add postgres/redis/kafka, set up auth, deploy to prd). Prefer these as the entry point for multi-step work.
  • guides/reference/ -- language and topic standards (Java, Kotlin, Go, Docker, observability, security, etc).

URL pattern:

https://raw.githubusercontent.com/entur/ai/main/guides/<layer>/<file>.md

Cross-language baseline always applies — fetch first when starting a non-trivial task:

https://raw.githubusercontent.com/entur/ai/main/CONVENTIONS.md

Playbook index (prefer these for multi-step tasks)

GoalPath
Bootstrap a new serviceguides/playbooks/bootstrap-service.md
Add managed Postgresguides/playbooks/add-postgres.md
Add Memorystore Redisguides/playbooks/add-redis.md
Produce/consume Kafka eventsguides/playbooks/add-kafka.md
Set up authentication/authorizationguides/playbooks/set-up-auth.md
Promote a service to prdguides/playbooks/deploy-to-prd.md
Deprecate or delete a serviceguides/playbooks/deprecate-service.md
Run the service locallyguides/playbooks/local-dev.md

Platform capability index

TopicPathWhen to fetch
Self-serviceguides/platform/self-service.md.entur/*.yaml, GCP project naming, metadata.id vs metadata.name
Common Helm chartguides/platform/common-helm.mdhelm/<app>/, common chart, ExternalSecrets values
Reusable GHA workflowsguides/platform/gha-workflows.md.github/workflows/*.yml, Entur reusable workflows
Composite GHA actionsguides/platform/gha-actions.mdcustom steps using entur/gha-meta actions
Terraform modulesguides/platform/terraform-modules.md*.tf, Entur Terraform modules (init, SQL, Redis, GCS)
Approved IAM rolesguides/platform/iam-roles.mdgranting any IAM role — only roles on this list are approved
Permission Storeguides/platform/permission-store.mdPermission Client, @PreAuthorize, business capabilities
Entur Kafka starterguides/platform/entur-kafka-starter.mdproducers, consumers, Avro/Protobuf, Aiven clusters

Reference index (language and topic standards)

TopicPathWhen to fetch
Kotlin servicesguides/reference/kotlin.mdediting .kt, build.gradle.kts, designing a Kotlin Spring Boot service
Java servicesguides/reference/java.mdediting .java, JVM patterns shared with Kotlin
Go servicesguides/reference/go.mdediting .go, go.mod
API designguides/reference/api-design.mddesigning REST or gRPC contracts
Architectureguides/reference/architecture.mdservice boundaries, DB conventions, resilience, lifecycle
Dockerguides/reference/docker.mdDockerfile, multi-stage builds, distroless
Loggingguides/reference/logging.mdstructured JSON logs, traceId, requestId
Observabilityguides/reference/observability.mdhealth endpoints, Prometheus metrics, tracing
Securityguides/reference/security.mdsecrets, scanning, allowlists in .entur/security/, headers
Code reviewguides/reference/code-review.mdreviewing or preparing a PR
Markdownguides/reference/markdown.md.md files, markdownlint
Documentationguides/reference/documentation.mdwriting user-facing prose

If the topic is not listed but you suspect a guide exists, try fetching from guides/platform/<topic>.md, guides/playbooks/<topic>.md, or guides/reference/<topic>.md in that order. Contributors add new conventions by adding markdown files under guides/; this skill picks them up automatically.

Fallback

When the user mentions a tool or concept that is not covered by an Entur guide, fall back to general best practices. Do not guess Entur-specific patterns.

Keep looking

Skills are one crate of 626,474. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.