cargo-project
Cargo project — a Cargo workspace, declared in a repo
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 project 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 deploy state — held in your workspace, pointed at by a
committed cargo.state.json — linking your code to what Cargo created.
"Project" and "workspace" are two different things — keep them apart. A workspace is the Cargo tenant you sign into: it holds the models, connectors, agents, mailboxes and credits, and it is what
login --workspace-nameselects and whatwhoamireports. A project is the repo that declares resources and deploys them into a workspace: it is whatproject initscaffolds, whatcargo.state.jsonpoints from, and what--dirlocates. One project deploys into one workspace at a time — the workspace guard refuses a deploy when the state's workspace isn't the selected one — and the same project reaches a dev and a prod workspace through a different deploy state each. Say "project" for the repo, and don't name a project directorymy-workspace.