Deploy skill
You can hand your AI coding agent "deploy this to YakCloud". Installing the CLI brings in the deploy skill for Claude Code and the /yakcloud slash command. The agent follows the order and safeguards the skill lays down.
#overview
Rules the agent follows
Runs commands as is
/yakcloud <command> runs yakcloud <command> exactly as if you typed it in a terminal and shows the output. No extra checks or interpretation.
Ask in plain words
Ask in plain words, like "deploy to yakcloud" or "add a database", and the skill works through its set order (local dev → verify → approval request → promote).
Asks before anything hard to undo
Commands that are hard to undo or reach outside — deploy, approval request, promote, domain, create cluster, delete local cluster, add service — get a one-line confirmation first.
Never ships to prod unverified
Prod approval requests go only for versions that passed local verification. If 'prod promotion approval' is on for the cluster, the owner must approve it in the console; the agent can't approve.
Local works like prod
Apps are never started with docker compose or docker run, always with yakcloud project deploy (local kind). Services are declared in yakcloud.yaml rather than started as hand-made containers.
Stays away from secrets
Anything that needs a token typed in, like yakcloud login, the agent doesn't do for you — it asks you to run it in your terminal.
#how
How it works
Install
Installing the CLI also creates
~/.claude/skills/yakcloud-deployand~/.claude/commands/yakcloud.md.Sign in
Save your deploy token with
yakcloud loginin a terminal.New project
Open Claude Code in an empty folder and run
/yakcloud project init my-app. Instead of the terminal wizard, the agent asks for the values it needs (cluster, port, domain and so on) in conversation.Hand it over
Keep going in plain words: "run it locally so I can check it", "if verification is done, request prod approval".
> /yakcloud project init my-app
> build a message-board app and run it locally so I can check it
# agent: run yakcloud project deploy? (y)
> /yakcloud service ls
> if verification is done, request prod approval for v0.2.0#files
What gets installed
- Global deploy skill
~/.claude/skills/yakcloud-deploy/SKILL.md— Claude Code knows the YakCloud deploy flow in any folder.- Slash command
~/.claude/commands/yakcloud.md—/yakcloud <command>.- Project rules
project initadds the skill,CLAUDE.mdrules, and a.claude/settings.jsonthat blocks starting the app with compose.- Getting updates
yakcloud upgradeupdates the global skill and slash command;yakcloud project updateupdates the project's skill.- To skip installing it
curl -fsSL https://get.yakcloud.io | YAKCLOUD_NO_CLAUDE_CMD=1 sh
#notes
Good to know
- Changes reach prod only with a person's approval. The deploy token the agent uses can't approve a promotion to prod.
- The skill calls the CLI as is. The CLI checks its own prerequisites and, if something fails, shows its message unchanged.