.claude/skills/flow-skill-deno-deploy/SKILL.md
Manage Deno Deploy cloud services using both `deno deploy` and `deployctl`. Use this skill for deploying projects, managing cloud environments (Build/Dev/Prod contexts), monitoring logs, and troubleshooting deployment issues (like private npm dependencies).
npx skillsauth add korchasa/ai-skel-ts flow-skill-deno-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill covers managing Deno Deploy cloud services using the built-in deno deploy command and the advanced deployctl utility.
--allow-all by default, supporting subprocesses, FFI, and full npm compatibility.deno deployThe deno deploy command is integrated into the Deno CLI and is suitable for basic deployment tasks.
deno deploy [OPTIONS] [entrypoint]: Deploy the project. If entrypoint is omitted, it's guessed from deno.json or files.deno deploy create: Create a new application.deno deploy env: Manage environment variables in the cloud (supports contexts).deno deploy logs: Stream live logs from a deployed application.deno deploy switch: Switch between organizations and applications.deno deploy sandbox: Interact with sandboxes.deno deploy setup-aws / setup-gcp: Configure cloud connections (OIDC).deno deploy logout: Revoke the Deno Deploy authentication token.deployctlFor more granular control, including listing deployments and managing projects, use deployctl.
deno install -gArf jsr:@deno/deployctl
deployctl list: List all deployments for the current project.deployctl projects list: List all projects in your account.deployctl deployments show <id>: Show detailed information for a specific deployment/build.deployctl redeploy --deployment=<id>: Roll back or redeploy a specific version.deployctl projects create <name>: Create a new project.deployctl projects delete <name>: Delete a project.ALWAYS test deployment commands locally before updating CI/CD workflows.
IsADirectory errors (often caused by missing .gitignore entries like .playwright-browsers/).If your app uses Deno.openKv() or other unstable APIs:
--unstable-kv.deno deploy command DOES NOT support --unstable-kv or --unstable flags.deno.json:
{
"unstable": ["kv"]
}
Without this, the app will fail with TypeError: Deno.openKv is not a function in the cloud.deno deploy DOES NOT support the --exclude flag..gitignore to exclude files and directories. All files not ignored by git will be uploaded..playwright-browsers/) to avoid IsADirectory errors and slow uploads.Recommended workflow for complex projects:
permissions:
id-token: write
contents: read
deno deploy over deployctl Action if you encounter authorization issues (The bearer token is invalid).- name: Upload to Deno Deploy
run: deno deploy --app=my-app --token=${{ secrets.DENO_DEPLOY_TOKEN }} --prod main.ts
Deployments from local console may fail with Internal Server Error if the project uses private npm packages.
deno deploy --app=my-app --prod main.ts
deno deploy env set MY_VAR=value --context=production
tools
Scaffold a complete AI agent application skeleton with LLM integration, tool calling, observability, cost tracking, session management, and content fetching using @korchasa/ai-skel-ts. Use when the user asks to create an AI agent, add LLM integration, scaffold an AI application, or mentions "ai-skel", "agent skeleton", or "AI scaffold". Works with any programming language.
testing
Create structured specification for large features using phased decomposition. Produces documents/spec-{name}.md with dependency-ordered phases, atomic tasks, explicit boundaries, and per-phase status tracking.
documentation
Guidelines for writing comprehensive Product Requirements Documents (PRD)
development
How to write in informational style