adding-framework-support
Installation
SKILL.md
Adding Framework Support
Architecture Overview
Every framework integration is a single FrameworkConfig object. The wizard has no switch statements or per-framework routing — everything is data-driven through:
FrameworkConfig(src/lib/framework-config.ts) — the interface each framework implementsFRAMEWORK_REGISTRY(src/lib/registry.ts) — mapsIntegrationenum values to configsIntegrationenum (src/lib/constants.ts) — enum order determines detection priority and menu display order
The universal runner (src/lib/agent-runner.ts) handles all shared behavior: debug logging, version checking, welcome message, beta notices, AI consent, credential flow, agent execution, error handling, and outro messaging.
Steps to Add a New Framework
1. Add to the Integration enum and labels
In src/lib/constants.ts, add the new value to Integration. Enum order matters — it controls both the detection priority (first match wins) and the display order in the CLI select menu. The display label comes from metadata.name in your FrameworkConfig.