deploy

Deploy Optimal project apps to Vercel and return the deployment URL.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/clenisa/optimal-cli --skill deploy-clenisa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/clenisa/optimal-cli/tree/main/skills/deploy
Command: npx skills add https://github.com/clenisa/optimal-cli --skill deploy-clenisa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying Optimal project applications to Vercel currently requires manual path resolution, CLI invocation, and waiting for completion; this Skill automates those steps and returns a ready-to-use deployment URL.

Core Features & Use Cases

  • Path resolution: Maps a logical app name to its absolute filesystem path before deploying.
  • Vercel CLI orchestration: Runs the vercel CLI in the app directory and supports preview and production (--prod) deployments.
  • Synchronous deployment handling: Waits for the deployment to finish (up to two minutes) and returns the final URL for verification or sharing.
  • Use Case: Quickly create a preview deployment for QA or push a production release for the portfolio or dashboard projects.

Quick Start

Deploy the portfolio app to a Vercel preview by running optimal deploy portfolio.

Frequently Asked Questions about deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an Optimal project app to Vercel?

To deploy an Optimal project app to Vercel, invoke the deploy command with the app name. The tool resolves the filesystem path, runs the Vercel CLI, waits up to two minutes, and returns the final deployment URL.

Can I create a production deployment to Vercel from a CI pipeline?

Yes, you can create a production deployment to Vercel from a CI pipeline by applying an optional --prod flag. This triggers the Vercel CLI to push a production release and returns the live URL for verification.

Do I need the Vercel CLI installed to automate Vercel deployments?

Yes, you need the Vercel CLI installed and authenticated to automate Vercel deployments. The tool orchestrates the local Vercel CLI within the app directory to execute preview or production deployments and return the URL.

What is the difference between preview and production deployments in continuous deployment workflows?

Preview deployments are default for QA and testing, while production deployments require a specific flag. Both resolve app paths and return a ready-to-use URL, but production pushes publish live releases for Optimal project apps.

Why does my Vercel deployment fail or time out after two minutes?

A Vercel deployment times out if the process exceeds the two-minute wait limit for completion. The deployment tool waits synchronously up to two minutes for the Vercel CLI to finish before returning the final URL.