PL

platform-engineering

Handles complex container build workflows, optimizing resource usage through local and remote build hybrid approaches.

Install

mkdir -p .claude/skills/platform-engineering && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11400" && unzip -o skill.zip -d .claude/skills/platform-engineering && rm skill.zip

Installs to .claude/skills/platform-engineering

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Expertise on the CI/CD pipeline, remote builds using Argo Workflows, Kaniko, and GitHub Actions in the ARM64 K3s cluster.
121 charsno explicit “when” trigger
Advanced

Key capabilities

  • Orchestrate remote builds via GitHub Actions
  • Synchronize images to a local registry using Skopeo
  • Manage local builds with Kaniko and Argo Workflows
  • Trigger individual or all remote builds via Makefile commands
  • Add new applications to the remote build pipeline

How it works

The skill uses an Ansible role to orchestrate GitHub Actions for remote compilation, then uses Skopeo to download the resulting image into the local registry, appending a `-remote` suffix to the tag.

Inputs & outputs

You give it
Application source code, GitHub Action workflow, bootstrap.yml configuration
You get back
Container images built remotely and synchronized to a local registry

When to use platform-engineering

  • Build heavy docker images
  • Optimize CI pipeline performance
  • Sync remote builds to local cluster

About this skill

Platform Engineering & CI/CD Pipeline

Overview

This skill documents the CI/CD and Remote Build pipelines used in this K3s cluster. Building heavy images (like AI agents and Python ecosystems) on ARM64 nodes (CM4 and RK1) can cause high resource contention (OOMKill) and take a long time. To solve this, the cluster implements a hybrid approach: Local Builds (Kaniko + Argo) by default, and Remote Builds (GitHub Actions + Skopeo Sync) for heavy lifting.

Remote Build Pipeline (Argo + GitHub Actions)

We use a generic Ansible role called run-remote-build that orchestrates the following:

  1. GitHub CLI Auth: The Makefile extracts your gh auth token and injects it into Ansible as GITHUB_PAT.
  2. Argo Workflow: Ansible creates an Argo Workflow (build-{{ remote_app_name }}-remote) in the kaniko namespace.
  3. Trigger: A container inside the workflow runs gh workflow run to trigger the remote compilation on GitHub Actions' powerful servers.
  4. Monitor: It watches the run using gh run watch.
  5. Skopeo Sync: Once the GitHub Action completes and pushes to ghcr.io, the next Argo step uses Skopeo to download the image directly into the local registry (registry.registry:5000).
  6. Tagging: To ensure the local cluster doesn't accidentally use the untested remote image, Skopeo appends the -remote suffix to the image tag (e.g. v2026.5.16-telegram-remote).

Available Makefile Commands

You can build all configured remote images by running:

make build-remote-all

Or trigger individual builds:

make build-remote-hermes
make build-remote-leloir
make build-remote-nas

How to add a new Remote Build

To add a new application to the remote build pipeline:

  1. Create the GitHub Action: Add .github/workflows/build-<app>.yml using workflow_dispatch with inputs git_ref and image_tag.
  2. Update bootstrap.yml: Add a task calling run-remote-build specifying remote_app_name, remote_github_workflow, remote_ghcr_image, etc.
  3. Update Makefile: Add a build-remote-<app> target and include it in build-remote-all.

When not to use it

  • When building light images that do not cause high resource contention
  • When the local cluster should use untested remote images
  • When the user does not have `gh auth token` configured

Limitations

  • Requires `gh auth token` for GitHub CLI authentication
  • Requires specific GitHub Action workflow configuration for each application
  • Skopeo appends `-remote` suffix to image tags to prevent accidental use of untested remote images

How it compares

This skill implements a hybrid build approach, offloading heavy image builds to GitHub Actions and synchronizing them back, which reduces resource contention on the local ARM64 K3s cluster compared to building everything locally.

Compared to similar skills

platform-engineering side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
platform-engineering (this skill)02moReviewAdvanced
deployment-engineer44moNo flagsAdvanced
devops-engineer13moReviewAdvanced
k8s-helm86moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry