[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71MG7CCMJGY3R0N8T8WARF0":3,"skill-same:01M71MG7CCMJGY3R0N8T8WARF0":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M71MG7CCMJGY3R0N8T8WARF0","deno-deploy",null,"Use when deploying Deno apps to production, asking about Deno Deploy, or working with `deno deploy` CLI commands. Covers deployment workflows, environment variables, KV database access, custom domains, the --tunnel flag for local development, and the `deno deploy` command reference.","iDorgham\u002FWorkspace-Factory","iDorgham","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F136521493?v=4","01M6CNGBDAHE4ARW3YJEF4X2FD","Dorgham","01M71E8H3CXZ7DJX59MTM9JEB2",1,"MIT","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_denoland_deno_deploy\u002Fskill.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"deno deploy","deploy","deno","for","development","local development","custom domains","environment variables","tunnel","commands","command","cli","Variables","when","workflows","database","apps","access","local","domains","2026-11-10 10:56:23",false,"---\nname: deno-deploy\ndescription: Use when deploying Deno apps to production, asking about Deno Deploy, or working with `deno deploy` CLI commands. Covers deployment workflows, environment variables, KV database access, custom domains, the --tunnel flag for local development, and the `deno deploy` command reference.\nlicense: MIT\nmetadata:\n  author: denoland\n  version: \"1.5\"\n---\n\n# Deno Deploy\n\nThis skill provides guidance for deploying applications to Deno Deploy.\n\n## Scope Boundaries\n\nThis skill applies **only** to Deno Deploy questions. Follow these rules:\n\n- If the user asks about **AWS Lambda, Vercel, Netlify, Google Cloud Run, Docker, Kubernetes, or any other deployment platform**, answer using that platform directly. Do not mention Deno Deploy at all — not as an alternative, not as a comparison, not as a suggestion.\n- If the user asks about **running a local Deno script** (not deploying), answer the local question directly. Do not mention Deno Deploy, deployment, or the `--tunnel` flag.\n- Do not include `deno deploy` commands, Deno KV, or Deno Deploy environment variable configuration in responses about other platforms or local-only scripts.\n- Only discuss Deno Deploy when the user explicitly asks about Deno Deploy or deploying a Deno application to production.\n\n## Important: Use `deno deploy`, NOT `deployctl`\n\n**Always use the `deno deploy` command.** Do NOT use `deployctl`.\n\n- `deployctl` is for Deno Deploy Classic (deprecated)\n- `deno deploy` is the modern, integrated command built into the Deno CLI\n- **Requires Deno >= 2.4.2** - the `deno deploy` subcommand was introduced in Deno 2.4\n\n## When Unsure About CLI Flags\n\n**Always run `--help` before guessing at flags.** The `deno deploy` subcommand has many flags, and they change between versions. When you're unsure what a command accepts:\n\n```bash\n# See all subcommands\ndeno deploy --help\n\n# See flags for a specific subcommand\ndeno deploy create --help\ndeno deploy env --help\ndeno deploy database --help\n```\n\nThis takes seconds and prevents repeated trial-and-error failures. Never assume a flag exists — check first.\n\n## Deployment Workflow\n\n**Always show the core deploy command first** — then explain diagnostic steps. When a user asks \"how do I deploy?\", lead with the actual command (`deno deploy --prod`) before covering pre-flight checks and configuration.\n\n### Step 1: Locate the App Directory\n\nBefore running any deploy commands, find where the Deno app is located:\n\n```bash\n# Check if deno.json exists in current directory\nif [ -f \"deno.json\" ] || [ -f \"deno.jsonc\" ]; then\n  echo \"APP_DIR: $(pwd)\"\nelse\n  # Look for deno.json in immediate subdirectories\n  find . -maxdepth 2 -name \"deno.json\" -o -name \"deno.jsonc\" 2>\u002Fdev\u002Fnull | head -5\nfi\n```\n\nAll deploy commands must run from the app directory.\n\n### Step 2: Pre-Flight Checks\n\nCheck Deno version and existing configuration:\n\n```bash\n# Check Deno version (must be >= 2.4.2)\ndeno --version | head -1\n\n# Check for existing deploy config\ngrep -E '\"org\"|\"app\"' deno.json deno.jsonc 2>\u002Fdev\u002Fnull || echo \"NO_DEPLOY_CONFIG\"\n```\n\n### Step 3: Check for Startup Dependencies\n\nBefore deploying, check if the app connects to a database or external service at startup (e.g., top-level `await initDb()` in `main.ts`). If it does, the deploy will fail during warmup because the database doesn't exist yet.\n\n**If the app has startup database dependencies, follow this order:**\n\n1. **Create the app with `--no-wait`** so a warmup failure doesn't block you:\n   ```bash\n   deno deploy create \\\n     --org \u003CORG_NAME> --app \u003CAPP_NAME> \\\n     --source local --runtime-mode dynamic --entrypoint main.ts \\\n     --build-timeout 5 --build-memory-limit 1024 --region us \\\n     --no-wait\n   ```\n\n2. **Provision and assign the database:**\n   ```bash\n   deno deploy database provision my-db --kind prisma --region us-east-1\n   deno deploy database assign my-db --app \u003CAPP_NAME>\n   ```\n\n3. **Redeploy** (now the database exists, warmup will succeed):\n   ```bash\n   deno deploy --prod\n   ```\n\nIf the app has no startup dependencies, skip this step and deploy normally below.\n\n### Step 4: Deploy Based on Configuration\n\n**If `deploy.org` AND `deploy.app` exist in deno.json:**\n```bash\n# Build if needed (Fresh, Astro, etc.)\ndeno task build\n\n# Deploy to production\ndeno deploy --prod\n```\n\n**If NO deploy config exists:**\n\n**Apps must be created before they can be deployed to.** You cannot run `deno deploy --prod` until an app exists.\n\n**IMPORTANT: Ask the user first** - Do they have an existing app on Deno Deploy, or do they need to create a new one?\n\n**If they have an existing app**, add the config directly to deno.json:\n```json\n{\n  \"deploy\": {\n    \"org\": \"\u003CORG_NAME>\",\n    \"app\": \"\u003CAPP_NAME>\"\n  }\n}\n```\nThe org name is in the Deno Deploy console URL (e.g., `console.deno.com\u002Fyour-org-name`). Once this config is in place, subsequent deploys just need `deno deploy --prod`.\n\n**If they need to create a new app:**\n\nThe CLI needs an organization name. Find it at https:\u002F\u002Fconsole.deno.com - the org is in the URL path (e.g., `console.deno.com\u002Fyour-org-name`).\n\n**Interactive creation** (opens a browser — only works when a human is at the keyboard):\n```bash\ndeno deploy create --org \u003CORG_NAME>\n# A browser window opens - complete the app creation there\n```\n\n**Non-interactive creation** (use when an AI agent is performing the deploy, or in CI\u002FCD):\n```bash\ndeno deploy create \\\n  --org \u003CORG_NAME> \\\n  --app \u003CAPP_NAME> \\\n  --source local \\\n  --runtime-mode dynamic \\\n  --entrypoint main.ts \\\n  --build-timeout 5 \\\n  --build-memory-limit 1024 \\\n  --region us\n```\n\nThe create command also does the initial deploy. After it completes, `deno.json` is updated with `deploy.org` and `deploy.app` automatically. From that point on, subsequent deploys only need:\n```bash\ndeno deploy --prod\n```\n\nAfter completion, verify the config was saved:\n```bash\ngrep -E '\"org\"|\"app\"' deno.json\n```\n\n**When an AI agent is performing the deployment**, always use the non-interactive flow with explicit flags. The interactive flow requires browser windows and terminal prompts that agents cannot navigate.\n\n## Core Commands\n\n### Production Deployment\n\n```bash\ndeno deploy --prod\n```\n\n### Preview Deployment\n\n```bash\ndeno deploy\n```\n\nPreview deployments create a unique URL for testing without affecting production.\n\n### Targeting Specific Apps\n\n```bash\ndeno deploy --org my-org --app my-app --prod\n```\n\n### Configuring an Entrypoint\n\nSet the entrypoint in your `deno.json` (this is used by `deno deploy create` during app creation):\n\n```json\n{\n  \"deploy\": {\n    \"entrypoint\": \"main.ts\"\n  }\n}\n```\n\nNote: `--entrypoint` is a flag on `deno deploy create`, not on `deno deploy` itself.\n\n### Additional Flags\n\nThese flags are available on `deno deploy create` (and apply during the initial deploy):\n\n| Flag | Purpose |\n|------|---------|\n| `--allow-node-modules` | Include node_modules directory in upload |\n| `--no-wait` | Skip waiting for the build to complete |\n\n## Creating Apps (Non-Interactive Reference)\n\nWhen any flag beyond `--org` is provided, `deno deploy create` runs in non-interactive mode — all required flags must be specified. This is the recommended approach for AI agents and CI\u002FCD pipelines.\n\n### Required Flags\n\n| Flag | Description |\n|------|-------------|\n| `--org \u003Cname>` | Organization name |\n| `--app \u003Cname>` | Application name (becomes your URL: `\u003Capp>.deno.dev`) |\n| `--source \u003Clocal\\|github>` | Deploy from local files or a GitHub repo |\n| `--build-timeout \u003Cminutes>` | Build timeout: 5, 10, 15, 20, 25, or 30 |\n| `--build-memory-limit \u003CMB>` | Memory limit: 1024, 2048, 3072, or 4096 |\n| `--region \u003Cregion>` | Deployment region: us, eu, or global |\n\n### GitHub Source Flags\n\nWhen using `--source github`, you also need:\n\n| Flag | Description |\n|------|-------------|\n| `--owner \u003Cname>` | GitHub repository owner |\n| `--repo \u003Cname>` | GitHub repository name |\n\n### Build Configuration Flags\n\n| Flag | Description |\n|------|-------------|\n| `--app-directory \u003Cpath>` | Path to app directory (for monorepos) |\n| `--framework-preset \u003Cpreset>` | Framework preset (see Frameworks (`references\u002FFRAMEWORKS.md`)) |\n| `--install-command \u003Ccmd>` | Custom install command |\n| `--build-command \u003Ccmd>` | Custom build command |\n| `--pre-deploy-command \u003Ccmd>` | Command to run before deploy |\n| `--do-not-use-detected-build-config` | Skip auto-detection of framework config |\n\nThe CLI auto-detects your framework and build configuration. If a framework is detected, you can skip `--install-command`, `--build-command`, `--pre-deploy-command`, and `--runtime-mode` — they'll be inferred from the preset. Use `--do-not-use-detected-build-config` to override detection. **When using this flag, all three build commands (`--install-command`, `--build-command`, `--pre-deploy-command`) plus `--runtime-mode` become required** — omitting any of them causes exit code 2.\n\n### Runtime Mode Flags\n\nYou must pick a runtime mode with `--runtime-mode \u003Cdynamic|static>` (unless a framework preset handles it).\n\n**Dynamic mode** (for apps with a server):\n\n| Flag | Description |\n|------|-------------|\n| `--entrypoint \u003Cpath>` | Entry file (required for dynamic mode) |\n| `--arguments \u003Cargs>` | Arguments passed to entrypoint (repeatable) |\n| `--working-directory \u003Ccwd>` | Working directory for the process |\n\n**Static mode** (for static sites):\n\n| Flag | Description |\n|------|-------------|\n| `--static-dir \u003Cdir>` | Directory to serve static files from (required) |\n| `--single-page-app` | Serve index.html for routes that don't match a file |\n\n### Other Flags\n\n| Flag | Description |\n|------|-------------|\n| `--dry-run` | Validate everything without actually creating the app |\n| `--no-wait` | Don't wait for the build to complete |\n| `--allow-node-modules` | Include node_modules in the upload |\n\n### Examples\n\n**Simple Deno server:**\n```bash\ndeno deploy create \\\n  --org my-org --app my-api \\\n  --source local \\\n  --runtime-mode dynamic --entrypoint main.ts \\\n  --build-timeout 5 --build-memory-limit 1024 --region us\n```\n\n**Fresh app (framework auto-detected):**\n```bash\ndeno deploy create \\\n  --org my-org --app my-fresh-app \\\n  --source local \\\n  --build-timeout 5 --build-memory-limit 1024 --region us\n```\n\n**Next.js from GitHub:**\n```bash\ndeno deploy create \\\n  --org my-org --app my-next-app \\\n  --source github --owner my-github-user --repo my-next-repo \\\n  --framework-preset Next \\\n  --build-timeout 15 --build-memory-limit 2048 --region us \\\n  --allow-node-modules\n```\n\n**Static site:**\n```bash\ndeno deploy create \\\n  --org my-org --app my-static-site \\\n  --source local \\\n  --runtime-mode static --static-dir dist --single-page-app \\\n  --build-command \"deno task build\" \\\n  --build-timeout 5 --build-memory-limit 1024 --region us\n```\n\n## Environment Variables\n\n### Contexts\n\nDeno Deploy has three \"contexts\" - logical environments where your code runs, each with its own set of variables:\n\n| Context | Purpose |\n|---------|---------|\n| **Production** | Live traffic on your production URL |\n| **Development** | Preview deployments and branch URLs |\n| **Build** | Only available during the build process |\n\nYou can set different values for the same variable in each context. For example, you might use a test database URL in Development and the real one in Production.\n\n### Predefined Variables\n\nThese are automatically available in your code:\n\n| Variable | Description |\n|----------|-------------|\n| `DENO_DEPLOY` | Always `1` when running on Deno Deploy |\n| `DENO_DEPLOYMENT_ID` | Unique ID for the current deployment |\n| `DENO_DEPLOY_ORG_ID` | Your organization's ID |\n| `DENO_DEPLOY_APP_ID` | Your application's ID |\n| `CI` | Set to `1` during builds only |\n\n### Accessing Variables in Code\n\n```typescript\nconst dbUrl = Deno.env.get(\"DATABASE_URL\");\nconst isDenoDeploy = Deno.env.get(\"DENO_DEPLOY\") === \"1\";\n```\n\n### Managing Variables via CLI\n\n```bash\n# Add a plain text variable\ndeno deploy env add DATABASE_URL \"postgres:\u002F\u002F...\"\n\n# Add a secret variable (hidden after creation, only readable in code)\ndeno deploy env add API_KEY \"sk-...\" --secret\n\n# List all variables\ndeno deploy env list\n\n# Update just the value (keeps contexts and secret status)\ndeno deploy env update-value DATABASE_URL \"postgres:\u002F\u002Fnew-url...\"\n\n# Update which contexts a variable applies to\ndeno deploy env update-contexts DATABASE_URL production development\n\n# Delete a variable\ndeno deploy env delete DATABASE_URL\n\n# Load from .env file (all values treated as secrets by default)\ndeno deploy env load .env.production\n\n# Load from .env file, marking specific keys as non-secrets\ndeno deploy env load .env.production --non-secrets PUBLIC_URL APP_NAME\n```\n\n### Variable Types\n\n- **Plain text** - Visible in the dashboard, good for feature flags and non-sensitive config\n- **Secrets** - Hidden after creation, only readable in your code, use for API keys and credentials\n\n### Limits\n\n- Key names: max 128 bytes\n- Values: max 16 KB\n- Keys cannot start with `DENO_`, `LD_`, or `OTEL_`\n\n## Viewing Logs\n\n```bash\n# Stream live logs\ndeno deploy logs\n\n# Filter by date range\ndeno deploy logs --start 2026-01-15 --end 2026-01-16\n```\n\n## Databases & Storage\n\nDeno Deploy provides built-in database support with **automatic environment isolation**. Each environment (production, preview, branch) gets its own isolated database automatically.\n\n### Available Options\n\n| Engine | Use Case |\n|--------|----------|\n| **Deno KV** | Key-value storage, simple data, counters, sessions |\n| **PostgreSQL** | Relational data, complex queries, existing Postgres apps |\n\n### Deno KV Quick Start\n\nNo configuration needed - just use the built-in API:\n\n```typescript\nconst kv = await Deno.openKv();\n\n\u002F\u002F Store data\nawait kv.set([\"users\", \"alice\"], { name: \"Alice\", role: \"admin\" });\n\n\u002F\u002F Retrieve data\nconst user = await kv.get([\"users\", \"alice\"]);\nconsole.log(user.value); \u002F\u002F { name: \"Alice\", role: \"admin\" }\n\n\u002F\u002F List by prefix\nfor await (const entry of kv.list({ prefix: [\"users\"] })) {\n  console.log(entry.key, entry.value);\n}\n```\n\nDeno Deploy automatically connects to the correct database based on your environment.\n\n### PostgreSQL\n\nFor PostgreSQL, Deno Deploy injects environment variables (`DATABASE_URL`, `PGHOST`, etc.) that most libraries detect automatically:\n\n```typescript\n\u002F\u002F Recommended: npm:pg (best PostgreSQL driver for Deno Deploy)\nimport pg from \"npm:pg\";\nconst pool = new pg.Pool(); \u002F\u002F Reads DATABASE_URL from environment automatically\n```\n\n### Provisioning\n\nUse the `deno deploy database` command to provision and manage databases:\n\n```bash\n# Provision a Deno KV database\ndeno deploy database provision my-database --kind denokv\n\n# Provision a Prisma PostgreSQL database\ndeno deploy database provision my-database --kind prisma --region us-east-1\n\n# Assign to your app\ndeno deploy database assign my-database --app my-app\n```\n\nFor detailed CLI commands, see Databases (`references\u002FDATABASES.md`).\n\n### Local Development\n\nUse `--tunnel` to connect to your hosted development database locally:\n\n```bash\ndeno task --tunnel dev\n```\n\nSee Databases (`references\u002FDATABASES.md`) and Deno KV (`references\u002FDENO_KV.md`) for detailed documentation.\n\n## Local Development Tunnel\n\nThe tunnel feature lets you expose your local development server to the internet. This is useful for:\n\n- **Testing webhooks** - Receive webhook callbacks from external services\n- **Sharing with teammates** - Let others preview your local work\n- **Mobile testing** - Access your local server from other devices\n\n### Basic Usage\n\nAdd the `--tunnel` flag when running your app:\n\n```bash\ndeno run --tunnel -A main.ts\n```\n\nThe first time you run this, it will:\n1. Ask you to authenticate with Deno Deploy (opens a browser)\n2. Ask you to select which app to connect the tunnel to\n3. Generate a public URL that forwards requests to your local server\n\n### Using with Tasks\n\nYou can use `--tunnel` with your existing tasks in `deno.json`:\n\n```bash\ndeno task --tunnel dev\n```\n\nThis runs your `dev` task with the tunnel enabled.\n\n### What the Tunnel Provides\n\nBeyond just forwarding requests, the tunnel also:\n\n- **Syncs environment variables** - Variables set in your Deno Deploy app's \"Local\" context become available to your local process\n- **Sends logs and metrics** - OpenTelemetry data goes to the Deno Deploy dashboard (filter with `context:local`)\n- **Connects to databases** - Automatically connects to your assigned local development databases\n\n### Managing Tunnels\n\n- View active tunnels in the Deno Deploy dashboard under the \"Tunnels\" tab\n- Stop a tunnel by terminating the Deno process (Ctrl+C)\n\n## Command Reference\n\n| Command | Purpose |\n|---------|---------|\n| `deno deploy --prod` | Deploy to production (app must exist first) |\n| `deno deploy` | Preview deployment |\n| `deno deploy create --org \u003Cname>` | Create new app (interactive) |\n| `deno deploy create --org \u003Cname> --app \u003Cname> ...` | Create new app (non-interactive, see full flags above) |\n| `deno deploy create ... --no-wait` | Create app without waiting for build to complete |\n| `deno deploy create ... --allow-node-modules` | Create app including node_modules |\n| `deno deploy env add \u003Cvar> \u003Cvalue>` | Add plain text environment variable |\n| `deno deploy env add \u003Cvar> \u003Cvalue> --secret` | Add secret environment variable |\n| `deno deploy env list` | List environment variables |\n| `deno deploy env update-value \u003Cvar> \u003Cvalue>` | Update variable value (keeps contexts\u002Fsecret status) |\n| `deno deploy env update-contexts \u003Cvar> \u003Ccontexts...>` | Update which contexts a variable applies to |\n| `deno deploy env delete \u003Cvar>` | Delete environment variable |\n| `deno deploy env load \u003Cfile>` | Load variables from .env file (defaults to secret) |\n| `deno deploy env load \u003Cfile> --non-secrets \u003Ckeys...>` | Load .env file, marking specific keys as non-secrets |\n| `deno deploy database provision \u003Cname> --kind \u003Ctype>` | Provision a new database |\n| `deno deploy database assign \u003Cname> --app \u003Capp>` | Assign database to an app |\n| `deno deploy logs` | View deployment logs |\n| `deno run --tunnel -A \u003Cfile>` | Start local tunnel |\n| `deno task --tunnel \u003Ctask>` | Run task with tunnel |\n\n## Edge Runtime Notes\n\nDeno Deploy runs in one or many regions (globally distributed). Keep in mind:\n\n- **Environment variables** - Must be set via `deno deploy env`, not .env files at runtime\n- **Global distribution** - Code runs at the region closest to users\n- **Cold starts** - First request after idle may be slightly slower\n\n## Additional References\n\n- Authentication (`references\u002FAUTHENTICATION.md`) - Interactive and CI\u002FCD authentication\n- Databases (`references\u002FDATABASES.md`) - Database provisioning and connections\n- Deno KV (`references\u002FDENO_KV.md`) - Key-value storage API and examples\n- Domains (`references\u002FDOMAINS.md`) - Custom domains and SSL certificates\n- Frameworks (`references\u002FFRAMEWORKS.md`) - Framework-specific deployment guides\n- Organizations (`references\u002FORGANIZATIONS.md`) - Managing orgs and members\n- Runtime (`references\u002FRUNTIME.md`) - Lifecycle, cold starts, and limitations\n- Troubleshooting (`references\u002FTROUBLESHOOTING.md`) - Common issues and solutions\n\n## Documentation\n\n- Official docs: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002F\n- CLI reference: https:\u002F\u002Fdocs.deno.com\u002Fruntime\u002Freference\u002Fcli\u002Fdeploy\u002F\n- Databases: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fdatabases\u002F\n- Deno KV: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fdeno_kv\u002F\n- Domains: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fdomains\u002F\n- Environment variables & contexts: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fenv_vars_and_contexts\u002F\n- Organizations: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Forganizations\u002F\n- Runtime: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fruntime\u002F\n- Tunnel: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Ftunnel\u002F\n","# Deno Deploy\n\nThis skill provides guidance for deploying applications to Deno Deploy.\n\n## Scope Boundaries\n\nThis skill applies **only** to Deno Deploy questions. Follow these rules:\n\n- If the user asks about **AWS Lambda, Vercel, Netlify, Google Cloud Run, Docker, Kubernetes, or any other deployment platform**, answer using that platform directly. Do not mention Deno Deploy at all — not as an alternative, not as a comparison, not as a suggestion.\n- If the user asks about **running a local Deno script** (not deploying), answer the local question directly. Do not mention Deno Deploy, deployment, or the `--tunnel` flag.\n- Do not include `deno deploy` commands, Deno KV, or Deno Deploy environment variable configuration in responses about other platforms or local-only scripts.\n- Only discuss Deno Deploy when the user explicitly asks about Deno Deploy or deploying a Deno application to production.\n\n## Important: Use `deno deploy`, NOT `deployctl`\n\n**Always use the `deno deploy` command.** Do NOT use `deployctl`.\n\n- `deployctl` is for Deno Deploy Classic (deprecated)\n- `deno deploy` is the modern, integrated command built into the Deno CLI\n- **Requires Deno >= 2.4.2** - the `deno deploy` subcommand was introduced in Deno 2.4\n\n## When Unsure About CLI Flags\n\n**Always run `--help` before guessing at flags.** The `deno deploy` subcommand has many flags, and they change between versions. When you're unsure what a command accepts:\n\n```bash\n# See all subcommands\ndeno deploy --help\n\n# See flags for a specific subcommand\ndeno deploy create --help\ndeno deploy env --help\ndeno deploy database --help\n```\n\nThis takes seconds and prevents repeated trial-and-error failures. Never assume a flag exists — check first.\n\n## Deployment Workflow\n\n**Always show the core deploy command first** — then explain diagnostic steps. When a user asks \"how do I deploy?\", lead with the actual command (`deno deploy --prod`) before covering pre-flight checks and configuration.\n\n### Step 1: Locate the App Directory\n\nBefore running any deploy commands, find where the Deno app is located:\n\n```bash\n# Check if deno.json exists in current directory\nif [ -f \"deno.json\" ] || [ -f \"deno.jsonc\" ]; then\n  echo \"APP_DIR: $(pwd)\"\nelse\n  # Look for deno.json in immediate subdirectories\n  find . -maxdepth 2 -name \"deno.json\" -o -name \"deno.jsonc\" 2>\u002Fdev\u002Fnull | head -5\nfi\n```\n\nAll deploy commands must run from the app directory.\n\n### Step 2: Pre-Flight Checks\n\nCheck Deno version and existing configuration:\n\n```bash\n# Check Deno version (must be >= 2.4.2)\ndeno --version | head -1\n\n# Check for existing deploy config\ngrep -E '\"org\"|\"app\"' deno.json deno.jsonc 2>\u002Fdev\u002Fnull || echo \"NO_DEPLOY_CONFIG\"\n```\n\n### Step 3: Check for Startup Dependencies\n\nBefore deploying, check if the app connects to a database or external service at startup (e.g., top-level `await initDb()` in `main.ts`). If it does, the deploy will fail during warmup because the database doesn't exist yet.\n\n**If the app has startup database dependencies, follow this order:**\n\n1. **Create the app with `--no-wait`** so a warmup failure doesn't block you:\n   ```bash\n   deno deploy create \\\n     --org \u003CORG_NAME> --app \u003CAPP_NAME> \\\n     --source local --runtime-mode dynamic --entrypoint main.ts \\\n     --build-timeout 5 --build-memory-limit 1024 --region us \\\n     --no-wait\n   ```\n\n2. **Provision and assign the database:**\n   ```bash\n   deno deploy database provision my-db --kind prisma --region us-east-1\n   deno deploy database assign my-db --app \u003CAPP_NAME>\n   ```\n\n3. **Redeploy** (now the database exists, warmup will succeed):\n   ```bash\n   deno deploy --prod\n   ```\n\nIf the app has no startup dependencies, skip this step and deploy normally below.\n\n### Step 4: Deploy Based on Configuration\n\n**If `deploy.org` AND `deploy.app` exist in deno.json:**\n```bash\n# Build if needed (Fresh, Astro, etc.)\ndeno task build\n\n# Deploy to production\ndeno deploy --prod\n```\n\n**If NO deploy config exists:**\n\n**Apps must be created before they can be deployed to.** You cannot run `deno deploy --prod` until an app exists.\n\n**IMPORTANT: Ask the user first** - Do they have an existing app on Deno Deploy, or do they need to create a new one?\n\n**If they have an existing app**, add the config directly to deno.json:\n```json\n{\n  \"deploy\": {\n    \"org\": \"\u003CORG_NAME>\",\n    \"app\": \"\u003CAPP_NAME>\"\n  }\n}\n```\nThe org name is in the Deno Deploy console URL (e.g., `console.deno.com\u002Fyour-org-name`). Once this config is in place, subsequent deploys just need `deno deploy --prod`.\n\n**If they need to create a new app:**\n\nThe CLI needs an organization name. Find it at https:\u002F\u002Fconsole.deno.com - the org is in the URL path (e.g., `console.deno.com\u002Fyour-org-name`).\n\n**Interactive creation** (opens a browser — only works when a human is at the keyboard):\n```bash\ndeno deploy create --org \u003CORG_NAME>\n# A browser window opens - complete the app creation there\n```\n\n**Non-interactive creation** (use when an AI agent is performing the deploy, or in CI\u002FCD):\n```bash\ndeno deploy create \\\n  --org \u003CORG_NAME> \\\n  --app \u003CAPP_NAME> \\\n  --source local \\\n  --runtime-mode dynamic \\\n  --entrypoint main.ts \\\n  --build-timeout 5 \\\n  --build-memory-limit 1024 \\\n  --region us\n```\n\nThe create command also does the initial deploy. After it completes, `deno.json` is updated with `deploy.org` and `deploy.app` automatically. From that point on, subsequent deploys only need:\n```bash\ndeno deploy --prod\n```\n\nAfter completion, verify the config was saved:\n```bash\ngrep -E '\"org\"|\"app\"' deno.json\n```\n\n**When an AI agent is performing the deployment**, always use the non-interactive flow with explicit flags. The interactive flow requires browser windows and terminal prompts that agents cannot navigate.\n\n## Core Commands\n\n### Production Deployment\n\n```bash\ndeno deploy --prod\n```\n\n### Preview Deployment\n\n```bash\ndeno deploy\n```\n\nPreview deployments create a unique URL for testing without affecting production.\n\n### Targeting Specific Apps\n\n```bash\ndeno deploy --org my-org --app my-app --prod\n```\n\n### Configuring an Entrypoint\n\nSet the entrypoint in your `deno.json` (this is used by `deno deploy create` during app creation):\n\n```json\n{\n  \"deploy\": {\n    \"entrypoint\": \"main.ts\"\n  }\n}\n```\n\nNote: `--entrypoint` is a flag on `deno deploy create`, not on `deno deploy` itself.\n\n### Additional Flags\n\nThese flags are available on `deno deploy create` (and apply during the initial deploy):\n\n| Flag | Purpose |\n|------|---------|\n| `--allow-node-modules` | Include node_modules directory in upload |\n| `--no-wait` | Skip waiting for the build to complete |\n\n## Creating Apps (Non-Interactive Reference)\n\nWhen any flag beyond `--org` is provided, `deno deploy create` runs in non-interactive mode — all required flags must be specified. This is the recommended approach for AI agents and CI\u002FCD pipelines.\n\n### Required Flags\n\n| Flag | Description |\n|------|-------------|\n| `--org \u003Cname>` | Organization name |\n| `--app \u003Cname>` | Application name (becomes your URL: `\u003Capp>.deno.dev`) |\n| `--source \u003Clocal\\|github>` | Deploy from local files or a GitHub repo |\n| `--build-timeout \u003Cminutes>` | Build timeout: 5, 10, 15, 20, 25, or 30 |\n| `--build-memory-limit \u003CMB>` | Memory limit: 1024, 2048, 3072, or 4096 |\n| `--region \u003Cregion>` | Deployment region: us, eu, or global |\n\n### GitHub Source Flags\n\nWhen using `--source github`, you also need:\n\n| Flag | Description |\n|------|-------------|\n| `--owner \u003Cname>` | GitHub repository owner |\n| `--repo \u003Cname>` | GitHub repository name |\n\n### Build Configuration Flags\n\n| Flag | Description |\n|------|-------------|\n| `--app-directory \u003Cpath>` | Path to app directory (for monorepos) |\n| `--framework-preset \u003Cpreset>` | Framework preset (see Frameworks (`references\u002FFRAMEWORKS.md`)) |\n| `--install-command \u003Ccmd>` | Custom install command |\n| `--build-command \u003Ccmd>` | Custom build command |\n| `--pre-deploy-command \u003Ccmd>` | Command to run before deploy |\n| `--do-not-use-detected-build-config` | Skip auto-detection of framework config |\n\nThe CLI auto-detects your framework and build configuration. If a framework is detected, you can skip `--install-command`, `--build-command`, `--pre-deploy-command`, and `--runtime-mode` — they'll be inferred from the preset. Use `--do-not-use-detected-build-config` to override detection. **When using this flag, all three build commands (`--install-command`, `--build-command`, `--pre-deploy-command`) plus `--runtime-mode` become required** — omitting any of them causes exit code 2.\n\n### Runtime Mode Flags\n\nYou must pick a runtime mode with `--runtime-mode \u003Cdynamic|static>` (unless a framework preset handles it).\n\n**Dynamic mode** (for apps with a server):\n\n| Flag | Description |\n|------|-------------|\n| `--entrypoint \u003Cpath>` | Entry file (required for dynamic mode) |\n| `--arguments \u003Cargs>` | Arguments passed to entrypoint (repeatable) |\n| `--working-directory \u003Ccwd>` | Working directory for the process |\n\n**Static mode** (for static sites):\n\n| Flag | Description |\n|------|-------------|\n| `--static-dir \u003Cdir>` | Directory to serve static files from (required) |\n| `--single-page-app` | Serve index.html for routes that don't match a file |\n\n### Other Flags\n\n| Flag | Description |\n|------|-------------|\n| `--dry-run` | Validate everything without actually creating the app |\n| `--no-wait` | Don't wait for the build to complete |\n| `--allow-node-modules` | Include node_modules in the upload |\n\n### Examples\n\n**Simple Deno server:**\n```bash\ndeno deploy create \\\n  --org my-org --app my-api \\\n  --source local \\\n  --runtime-mode dynamic --entrypoint main.ts \\\n  --build-timeout 5 --build-memory-limit 1024 --region us\n```\n\n**Fresh app (framework auto-detected):**\n```bash\ndeno deploy create \\\n  --org my-org --app my-fresh-app \\\n  --source local \\\n  --build-timeout 5 --build-memory-limit 1024 --region us\n```\n\n**Next.js from GitHub:**\n```bash\ndeno deploy create \\\n  --org my-org --app my-next-app \\\n  --source github --owner my-github-user --repo my-next-repo \\\n  --framework-preset Next \\\n  --build-timeout 15 --build-memory-limit 2048 --region us \\\n  --allow-node-modules\n```\n\n**Static site:**\n```bash\ndeno deploy create \\\n  --org my-org --app my-static-site \\\n  --source local \\\n  --runtime-mode static --static-dir dist --single-page-app \\\n  --build-command \"deno task build\" \\\n  --build-timeout 5 --build-memory-limit 1024 --region us\n```\n\n## Environment Variables\n\n### Contexts\n\nDeno Deploy has three \"contexts\" - logical environments where your code runs, each with its own set of variables:\n\n| Context | Purpose |\n|---------|---------|\n| **Production** | Live traffic on your production URL |\n| **Development** | Preview deployments and branch URLs |\n| **Build** | Only available during the build process |\n\nYou can set different values for the same variable in each context. For example, you might use a test database URL in Development and the real one in Production.\n\n### Predefined Variables\n\nThese are automatically available in your code:\n\n| Variable | Description |\n|----------|-------------|\n| `DENO_DEPLOY` | Always `1` when running on Deno Deploy |\n| `DENO_DEPLOYMENT_ID` | Unique ID for the current deployment |\n| `DENO_DEPLOY_ORG_ID` | Your organization's ID |\n| `DENO_DEPLOY_APP_ID` | Your application's ID |\n| `CI` | Set to `1` during builds only |\n\n### Accessing Variables in Code\n\n```typescript\nconst dbUrl = Deno.env.get(\"DATABASE_URL\");\nconst isDenoDeploy = Deno.env.get(\"DENO_DEPLOY\") === \"1\";\n```\n\n### Managing Variables via CLI\n\n```bash\n# Add a plain text variable\ndeno deploy env add DATABASE_URL \"postgres:\u002F\u002F...\"\n\n# Add a secret variable (hidden after creation, only readable in code)\ndeno deploy env add API_KEY \"sk-...\" --secret\n\n# List all variables\ndeno deploy env list\n\n# Update just the value (keeps contexts and secret status)\ndeno deploy env update-value DATABASE_URL \"postgres:\u002F\u002Fnew-url...\"\n\n# Update which contexts a variable applies to\ndeno deploy env update-contexts DATABASE_URL production development\n\n# Delete a variable\ndeno deploy env delete DATABASE_URL\n\n# Load from .env file (all values treated as secrets by default)\ndeno deploy env load .env.production\n\n# Load from .env file, marking specific keys as non-secrets\ndeno deploy env load .env.production --non-secrets PUBLIC_URL APP_NAME\n```\n\n### Variable Types\n\n- **Plain text** - Visible in the dashboard, good for feature flags and non-sensitive config\n- **Secrets** - Hidden after creation, only readable in your code, use for API keys and credentials\n\n### Limits\n\n- Key names: max 128 bytes\n- Values: max 16 KB\n- Keys cannot start with `DENO_`, `LD_`, or `OTEL_`\n\n## Viewing Logs\n\n```bash\n# Stream live logs\ndeno deploy logs\n\n# Filter by date range\ndeno deploy logs --start 2026-01-15 --end 2026-01-16\n```\n\n## Databases & Storage\n\nDeno Deploy provides built-in database support with **automatic environment isolation**. Each environment (production, preview, branch) gets its own isolated database automatically.\n\n### Available Options\n\n| Engine | Use Case |\n|--------|----------|\n| **Deno KV** | Key-value storage, simple data, counters, sessions |\n| **PostgreSQL** | Relational data, complex queries, existing Postgres apps |\n\n### Deno KV Quick Start\n\nNo configuration needed - just use the built-in API:\n\n```typescript\nconst kv = await Deno.openKv();\n\n\u002F\u002F Store data\nawait kv.set([\"users\", \"alice\"], { name: \"Alice\", role: \"admin\" });\n\n\u002F\u002F Retrieve data\nconst user = await kv.get([\"users\", \"alice\"]);\nconsole.log(user.value); \u002F\u002F { name: \"Alice\", role: \"admin\" }\n\n\u002F\u002F List by prefix\nfor await (const entry of kv.list({ prefix: [\"users\"] })) {\n  console.log(entry.key, entry.value);\n}\n```\n\nDeno Deploy automatically connects to the correct database based on your environment.\n\n### PostgreSQL\n\nFor PostgreSQL, Deno Deploy injects environment variables (`DATABASE_URL`, `PGHOST`, etc.) that most libraries detect automatically:\n\n```typescript\n\u002F\u002F Recommended: npm:pg (best PostgreSQL driver for Deno Deploy)\nimport pg from \"npm:pg\";\nconst pool = new pg.Pool(); \u002F\u002F Reads DATABASE_URL from environment automatically\n```\n\n### Provisioning\n\nUse the `deno deploy database` command to provision and manage databases:\n\n```bash\n# Provision a Deno KV database\ndeno deploy database provision my-database --kind denokv\n\n# Provision a Prisma PostgreSQL database\ndeno deploy database provision my-database --kind prisma --region us-east-1\n\n# Assign to your app\ndeno deploy database assign my-database --app my-app\n```\n\nFor detailed CLI commands, see Databases (`references\u002FDATABASES.md`).\n\n### Local Development\n\nUse `--tunnel` to connect to your hosted development database locally:\n\n```bash\ndeno task --tunnel dev\n```\n\nSee Databases (`references\u002FDATABASES.md`) and Deno KV (`references\u002FDENO_KV.md`) for detailed documentation.\n\n## Local Development Tunnel\n\nThe tunnel feature lets you expose your local development server to the internet. This is useful for:\n\n- **Testing webhooks** - Receive webhook callbacks from external services\n- **Sharing with teammates** - Let others preview your local work\n- **Mobile testing** - Access your local server from other devices\n\n### Basic Usage\n\nAdd the `--tunnel` flag when running your app:\n\n```bash\ndeno run --tunnel -A main.ts\n```\n\nThe first time you run this, it will:\n1. Ask you to authenticate with Deno Deploy (opens a browser)\n2. Ask you to select which app to connect the tunnel to\n3. Generate a public URL that forwards requests to your local server\n\n### Using with Tasks\n\nYou can use `--tunnel` with your existing tasks in `deno.json`:\n\n```bash\ndeno task --tunnel dev\n```\n\nThis runs your `dev` task with the tunnel enabled.\n\n### What the Tunnel Provides\n\nBeyond just forwarding requests, the tunnel also:\n\n- **Syncs environment variables** - Variables set in your Deno Deploy app's \"Local\" context become available to your local process\n- **Sends logs and metrics** - OpenTelemetry data goes to the Deno Deploy dashboard (filter with `context:local`)\n- **Connects to databases** - Automatically connects to your assigned local development databases\n\n### Managing Tunnels\n\n- View active tunnels in the Deno Deploy dashboard under the \"Tunnels\" tab\n- Stop a tunnel by terminating the Deno process (Ctrl+C)\n\n## Command Reference\n\n| Command | Purpose |\n|---------|---------|\n| `deno deploy --prod` | Deploy to production (app must exist first) |\n| `deno deploy` | Preview deployment |\n| `deno deploy create --org \u003Cname>` | Create new app (interactive) |\n| `deno deploy create --org \u003Cname> --app \u003Cname> ...` | Create new app (non-interactive, see full flags above) |\n| `deno deploy create ... --no-wait` | Create app without waiting for build to complete |\n| `deno deploy create ... --allow-node-modules` | Create app including node_modules |\n| `deno deploy env add \u003Cvar> \u003Cvalue>` | Add plain text environment variable |\n| `deno deploy env add \u003Cvar> \u003Cvalue> --secret` | Add secret environment variable |\n| `deno deploy env list` | List environment variables |\n| `deno deploy env update-value \u003Cvar> \u003Cvalue>` | Update variable value (keeps contexts\u002Fsecret status) |\n| `deno deploy env update-contexts \u003Cvar> \u003Ccontexts...>` | Update which contexts a variable applies to |\n| `deno deploy env delete \u003Cvar>` | Delete environment variable |\n| `deno deploy env load \u003Cfile>` | Load variables from .env file (defaults to secret) |\n| `deno deploy env load \u003Cfile> --non-secrets \u003Ckeys...>` | Load .env file, marking specific keys as non-secrets |\n| `deno deploy database provision \u003Cname> --kind \u003Ctype>` | Provision a new database |\n| `deno deploy database assign \u003Cname> --app \u003Capp>` | Assign database to an app |\n| `deno deploy logs` | View deployment logs |\n| `deno run --tunnel -A \u003Cfile>` | Start local tunnel |\n| `deno task --tunnel \u003Ctask>` | Run task with tunnel |\n\n## Edge Runtime Notes\n\nDeno Deploy runs in one or many regions (globally distributed). Keep in mind:\n\n- **Environment variables** - Must be set via `deno deploy env`, not .env files at runtime\n- **Global distribution** - Code runs at the region closest to users\n- **Cold starts** - First request after idle may be slightly slower\n\n## Additional References\n\n- Authentication (`references\u002FAUTHENTICATION.md`) - Interactive and CI\u002FCD authentication\n- Databases (`references\u002FDATABASES.md`) - Database provisioning and connections\n- Deno KV (`references\u002FDENO_KV.md`) - Key-value storage API and examples\n- Domains (`references\u002FDOMAINS.md`) - Custom domains and SSL certificates\n- Frameworks (`references\u002FFRAMEWORKS.md`) - Framework-specific deployment guides\n- Organizations (`references\u002FORGANIZATIONS.md`) - Managing orgs and members\n- Runtime (`references\u002FRUNTIME.md`) - Lifecycle, cold starts, and limitations\n- Troubleshooting (`references\u002FTROUBLESHOOTING.md`) - Common issues and solutions\n\n## Documentation\n\n- Official docs: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002F\n- CLI reference: https:\u002F\u002Fdocs.deno.com\u002Fruntime\u002Freference\u002Fcli\u002Fdeploy\u002F\n- Databases: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fdatabases\u002F\n- Deno KV: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fdeno_kv\u002F\n- Domains: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fdomains\u002F\n- Environment variables & contexts: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fenv_vars_and_contexts\u002F\n- Organizations: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Forganizations\u002F\n- Runtime: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Fruntime\u002F\n- Tunnel: https:\u002F\u002Fdocs.deno.com\u002Fdeploy\u002Freference\u002Ftunnel\u002F\n",{"name":5,"license":15,"metadata":44,"description":7},{"author":45,"version":46},"denoland","1.5","master","c2e410e11df4d80d885e0ecf0583ef3c926df736","factory\u002Flibrary\u002Fskills\u002Fofficial_denoland_deno_deploy",0,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory","https:\u002F\u002Fgithub.com\u002FiDorgham","Dorgham.me","hey I'm Dorgham \r\nI code, I create, and AI codes back. \r\nMaybe we can give AI the chance!! now we begin. 🚀🤖\r\n... . . . git commit -m \"Hello, Future\" ","2026-05-04 18:39:09",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add iDorgham\u002FWorkspace-Factory --skill deno-deploy",{"tool":62,"command":63},"bunx","bunx skills add iDorgham\u002FWorkspace-Factory --skill deno-deploy",{"tool":65,"command":66},"pnpm","pnpm dlx skills add iDorgham\u002FWorkspace-Factory --skill deno-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_denoland_deno_deploy\u002Fskill.md",true,[],[71,98,118,139,158,177],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":97},"01M71P8WVBMB2X3D24R0YT0B0E","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_view_transitions\u002Fskill.md",[],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,32,92,93,94,95,96],"react","vercel react view transitions","view","react view transitions","vercel","transitions","shared","back","Animation","css","types","states","element","implementing","components","api","route","create","libraries","2026-11-10 13:02:02",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":97},"01M71P8TDGHZ289TSAC5VTG2EW","vercel-react-native-skills","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_native_skills\u002Fskill.md",[],[78,105,106,82,107,108,109,110,91,35,32,111,92,112,113,114,115,116,117,22],"react native","native","vercel react native skills","react native skills","modules","performance","tasks","mobile","expo","list","mobile performance","platform","animations",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":97},"01M71P8QK4JF5BYRGYDDGPZQG9","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_best_practices\u002Fskill.md",[],[78,125,126,82,127,110,128,32,129,111,92,130,131,132,133,134,135,136,137,138],"react best practices","vercel react best practices","best practices","writing","code","data fetching","react components","next","refactoring","data","patterns","Optimization","guidelines","triggers",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":97},"01M71P8HVEA70K5N6ZVJCG2ED3","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_composition_patterns\u002Fskill.md",[],[146,82,147,135,148,149,150,151,138,152,153,154,32,155,111,92,156,157,93,78],"Composition","composition patterns","vercel composition patterns","react composition patterns","react 19","render","boolean","component architecture","use","reusable","architecture","react composition",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":97},"01M71P60XXKKP222ZFJRG7R373","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_supabase_supabase_postgres_best_practices\u002Fskill.md",[],[165,166,167,168,127,169,170,171,22,136,110,172,173,128,174,154,175,176,34,32],"postgres best practices","supabase","postgres","supabase postgres best practices","categories","postgres performance","advanced","correct","schema","impact","Rules","critical",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":39},"01M71P2ZCEJD0PKC458YTP1FJW","portable-text-serialization","Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown, extracting plain text from Portable Text, or troubleshooting rendering issues with marks, blocks, lists, or custom types.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_sanity_io_portable_text_serialization\u002Fskill.md",[],[184,185,186,187,188,88,189,151,190,91,191,192,32,78,193,194,195,196,197,198],"text","portable text serialization","portable","serialization","extracting","strings","issues","frontend","svelte","sanity","astro","server","markdown","rendering","vue"]