cargo-cdk
Installation
SKILL.md
Cargo CDK — declarative workspace-as-code
Use this skill to define a Cargo workspace in TypeScript (define* builders from
@cargo-ai/cdk) and reconcile it to live infrastructure with cargo-ai cdk deploy.
It is the declarative counterpart to the imperative capability skills: instead
of running one CLI command per resource, you write the whole graph once and deploy
it repeatably, with a committed cargo.state.json linking your code to what Cargo
created.
1) What this skill governs
- Authoring every Cargo resource with a
define*builder that returns a handle; wiring resources by passing handles to each other (the dependency graph is your variable graph). - Deploying the graph:
plan(offline diff) →deploy(create/update, write state) →destroy(tear down). Plus drift (refresh), adoption (import), and recovery (rollback). - Typing the config against your workspace's real integration schemas
(
cargo-ai cdk types).