deploy-preview

Deploy Vercel preview environments, check status, view build logs, and run Lighthouse audits — all from chat. Use when: - User wants to deploy a preview or production build - User asks to check a deployment's status or logs - User wants a performance/accessibility audit on a preview URL - User wants to list recent deployments

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "deploy-preview" with this command: npx skills add mikeygonz/skills/mikeygonz-skills-deploy-preview

Deploy Preview

Deploy Vercel previews, check status, view logs, and run Lighthouse audits from your agent.

Setup

Requires VERCEL_TOKEN environment variable. Create one at vercel.com/account/tokens.

Optional: VERCEL_SCOPE for team deployments.

Usage

VERCEL_TOKEN="$VERCEL_TOKEN" ./scripts/deploy-preview.sh <command> [args]

Commands

CommandDescription
deploy [path] [--prod]Deploy preview (or production) and return URL
deploy-branch <path> <branch>Checkout branch and deploy preview
status <url-or-id>Check deployment state (QUEUED/BUILDING/READY/ERROR)
logs <url-or-id>View build logs
audit <preview-url>Run Lighthouse audit (performance, a11y, SEO, best practices)
list [project-id]Recent deployments

Examples

# Deploy a preview from current directory
deploy-preview.sh deploy

# Deploy a specific branch
deploy-preview.sh deploy-branch ./my-app feature/new-ui

# Check if it's ready
deploy-preview.sh status dpl_abc123

# Run a performance audit
deploy-preview.sh audit https://my-app-abc123.vercel.app

# View build logs
deploy-preview.sh logs dpl_abc123

# List recent deploys
deploy-preview.sh list

Audit Output

The audit command uses Google PageSpeed Insights API (free, no extra key needed) and returns:

{
  "performance": 0.94,
  "accessibility": 0.98,
  "bestPractices": 1.0,
  "seo": 0.91,
  "fcp": "1.2 s",
  "lcp": "2.1 s",
  "cls": "0.003",
  "tbt": "120 ms"
}

Configuration

VariableDescriptionRequired
VERCEL_TOKENVercel API tokenYes
VERCEL_SCOPETeam slug for team deploymentsNo

Requirements

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

read-x

No summary provided by upstream source.

Repository SourceNeeds Review
General

watch-youtube

No summary provided by upstream source.

Repository SourceNeeds Review
General

linear

No summary provided by upstream source.

Repository SourceNeeds Review
Security

Skill Safe Install

L0 级技能安全安装流程。触发“安装技能/安全安装/审查权限”时,强制执行 Step0-5(查重→检索→审查→沙箱→正式安装→白名单)。

Registry SourceRecently Updated
3740Profile unavailable