working-with-runtime-system

Official

Master the kdn runtime system architecture.

Authoropenkaiden
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Clarifies how to understand the kdn runtime system architecture and the runtime registration workflow, guiding developers through the core components and interactions.

Core Features & Use Cases

  • Runtime Interface: The contract all runtimes must implement (pkg/runtime/runtime.go).
  • Registry: Manages runtime registration and discovery.
  • Runtime Implementations: Platform-specific packages (e.g., fake, podman, openshell).
  • Centralized Registration: Automatic registration setup via pkg/runtimesetup.
  • Optional Interfaces & Extensions: StorageAware, AgentLister, FlagProvider, Terminal, HostResolver, ConfigTransformer, Experimental.
  • State Validation & Safety: Manager enforces valid WorkspaceState across runtimes and maps platform states, ensuring safe operation.

Quick Start

Run the provided example to register all runtimes and inspect how the registry exposes available backends.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: working-with-runtime-system
Download link: https://github.com/openkaiden/kdn/archive/main.zip#working-with-runtime-system

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.