ark-sdk-development

Convert CRD YAML to OpenAPI schemas and generate Python models.

6|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/remiverdiesen/agents-at-scale --skill ark-sdk-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ark-sdk-development
Source: https://github.com/remiverdiesen/agents-at-scale/tree/main/.claude/skills/ark-sdk-development
Command: npx skills add https://github.com/remiverdiesen/agents-at-scale --skill ark-sdk-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the generation and synchronization of types across the ARK stack (SDK, API, Dashboard), eliminating inconsistencies and reducing type-related bugs during CRD evolution and OpenAPI updates.

Core Features & Use Cases

  • Automated type regeneration: derives Python types from Kubernetes CRD YAML via OpenAPI, then overlays custom utilities.
  • Manual model alignment & overrides: supports overlay files to refine generated code and maintain consistency.
  • End-to-end type pipeline visibility: tracks changes from CRD to TypeScript types on the dashboard, ensuring compatibility.
  • Use Case: when CRD fields change or new API surfaces are added, regenerate and validate types across ark-sdk, ark-api, and ark-dashboard.

Quick Start

Run make ark-sdk-build to regenerate the SDK types, run make ark-api-build to update API models, and npm run generate:api to refresh dashboard types. If needed, copy overlays into lib/ark-sdk/gen_sdk/overlay/python/ark_sdk/.

Frequently Asked Questions about ark-sdk-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I regenerate TypeScript types from Kubernetes CRD YAML changes?

To regenerate TypeScript types from Kubernetes CRD changes, convert the CRD YAML to OpenAPI schemas, generate Python models, and update the dashboard types. This pipeline synchronizes SDK, API, and dashboard type definitions end-to-end.

What is the process for converting CRD YAML to OpenAPI schemas for SDK generation?

Converting CRD YAML to OpenAPI schemas involves using a build pipeline script to parse the Kubernetes Custom Resource Definitions and translate them into standard OpenAPI schema definitions. Python models are then generated from these schemas for SDK use.

How do I apply overlay files to refine generated Python models from OpenAPI?

To apply overlay files to generated Python models, copy the overlay files into the specific generation directory. This manual alignment step refines the automatically generated code and maintains consistency with custom utilities.

What build commands are needed to synchronize types across an SDK, API, and dashboard?

Synchronizing types requires running the SDK build to regenerate SDK types, the API build to update models, and the dashboard generation command to refresh TypeScript types. These steps ensure compatibility across the entire stack.

Can I use this pipeline to validate type compatibility when API surfaces change?

Yes, you can use this pipeline to validate type compatibility when API surfaces change. It tracks changes from CRD to TypeScript types on the dashboard, ensuring compatibility and eliminating inconsistencies during schema evolutions.

Do I need specific build pipeline scripts to execute the CRD to TypeScript type generation?

Yes, you need the specific build pipeline scripts including the CRD to OpenAPI converter, the OpenAPI generator CLI, and the TypeScript generation steps. These components are required to execute the end-to-end type synchronization.