framework/deno/skills/flowai-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/flowai flowai-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
development
Use when the user asks to add TypeScript strict-mode code-style rules to AGENTS.md for a TypeScript project using strict mode. Do NOT trigger for Deno projects (use setup-agent-code-style-deno) or non-strict TS configurations.
development
Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup when code-style guidelines need to be established. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.
testing
Use when the user provides a source (URL, file path, or free text) to save into the project's memex — a long-term knowledge bank for AI agents. Stores the raw source, extracts entities into cross-linked pages, runs a backlink audit, and updates the index and activity log. Do NOT trigger on casual reads; only when the intent is to persist a source into the memex.
development
Use when the user asks to audit a memex (long-term knowledge bank for AI agents) for orphans, dead SALP REFs, missing sections, contradictions, or index drift. Runs a deterministic structural check, layers LLM-judgement findings, optionally auto-fixes trivial issues with `--fix`. Do NOT trigger on general code linting.