runtime-detector
Installation
SKILL.md
Runtime Detector
Purpose
Determines the correct way to execute KrakenD commands by detecting available runtimes and providing ready-to-use commands with the appropriate Docker image or native binary.
When to activate
- User asks to run/start/execute KrakenD: "run krakend", "start the gateway", "execute krakend"
- User mentions Docker commands for KrakenD: "docker run krakend", "which docker image"
- User asks how to run their config: "how do I run this", "start my config"
- User asks about KrakenD versions or images: "which version", "what image to use"
CRITICAL: Always Use Runtime Detection
NEVER invent Docker images or commands. Always follow this process:
- Call
detect_runtime_environmenttool with the config file path - Use the
recommendationsarray from the response (ordered by priority) - Use
command_templatefrom priority=1 recommendation - If Docker needed, use
recommended_imagefield for the image name