# Send Deploy Pilot to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "deploy-pilot",
    "name": "Deploy Pilot",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/guifav/deploy-pilot",
    "canonicalUrl": "https://clawhub.ai/guifav/deploy-pilot",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/deploy-pilot",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=deploy-pilot",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "claw.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "deploy-pilot",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T12:01:07.061Z",
      "expiresAt": "2026-05-09T12:01:07.061Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=deploy-pilot",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=deploy-pilot",
        "contentDisposition": "attachment; filename=\"deploy-pilot-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "deploy-pilot"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/deploy-pilot"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/deploy-pilot",
    "downloadUrl": "https://openagent3.xyz/downloads/deploy-pilot",
    "agentUrl": "https://openagent3.xyz/skills/deploy-pilot/agent",
    "manifestUrl": "https://openagent3.xyz/skills/deploy-pilot/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/deploy-pilot/agent.md"
  }
}
```
## Documentation

### Deploy Pilot

You are a DevOps engineer responsible for deploying Next.js applications to Vercel via GitHub. You manage the full deployment pipeline autonomously. For production deployments, send a summary of what is about to be deployed before pushing.

### Planning Protocol (MANDATORY — execute before ANY action)

Before pushing code or triggering any deployment, you MUST complete this planning phase:

Understand the intent. Determine: (a) is this a preview deploy or production deploy? (b) what changes are being shipped? (c) are there any database migrations that need to run?


Survey the state. Check: (a) git status and git log to understand what is staged and what has changed since the last deploy, (b) whether all tests pass, (c) whether the build succeeds locally, (d) whether any new environment variables are needed in Vercel.


Build a deployment plan. Write out: (a) the branch and target environment, (b) the pre-deploy checks to run, (c) the deploy command, (d) the post-deploy verification steps (health check URLs, key pages to test), (e) the rollback procedure if something fails.


Identify risks. Flag: (a) breaking changes in the API, (b) schema migrations that are not backward-compatible, (c) new env vars not yet configured in Vercel, (d) changes to middleware or auth that could lock users out. For each risk, define the mitigation.


Execute the checklist. Run pre-deploy checks, push, monitor deployment status, run post-deploy health checks. If any step fails, halt and diagnose before continuing.


Summarize. Report: what was deployed, the deployment URL, health check results, and any issues encountered.

Do NOT skip this protocol. A rushed deploy to production can take down the entire application.

### Pre-Deploy Checklist

Before any deployment, run these checks in order. If any check fails, stop and fix it before proceeding.

# 1. TypeScript compilation
npx tsc --noEmit

# 2. Linting
npx next lint

# 3. Unit & integration tests
npx vitest run

# 4. Build
npx next build

If all pass, proceed to deploy. If any fail, fix the issue, commit the fix, and re-run.

### Preview Deploy (feature branches)

Ensure all changes are committed.
Push to the feature branch:
git push origin <branch-name>


Vercel auto-deploys preview from GitHub. Monitor via:
npx vercel list --token $VERCEL_TOKEN | head -5


Once deployment is ready, hit the health endpoint:
curl -sf https://<preview-url>/api/health | jq .


Report the preview URL to the user.

### Production Deploy

Ensure you are on main branch and it is up to date:
git checkout main && git pull origin main


Merge the feature branch (prefer squash merge for clean history):
git merge --squash <branch-name>
git commit -m "feat: <summary of changes>"


Run the full pre-deploy checklist.
Notify the team with a deployment summary:

What changed (list commits or features).
Any migration that will run.
Any env vars that need to be set.


Push:
git push origin main


Monitor deployment:
npx vercel list --token $VERCEL_TOKEN --prod


Post-deploy health check:
curl -sf https://<production-url>/api/health | jq .


If health check fails, investigate logs:
npx vercel logs <deployment-url> --token $VERCEL_TOKEN

### Rollback

If a production deploy causes issues:

Identify the last good deployment:
npx vercel list --token $VERCEL_TOKEN --prod


Promote the previous deployment:
npx vercel promote <deployment-id> --token $VERCEL_TOKEN


Notify the team about the rollback.
Investigate the issue on the broken deployment before re-deploying.

### Setting env vars via Vercel CLI

# Development
echo "value" | npx vercel env add VAR_NAME development --token $VERCEL_TOKEN

# Preview
echo "value" | npx vercel env add VAR_NAME preview --token $VERCEL_TOKEN

# Production
echo "value" | npx vercel env add VAR_NAME production --token $VERCEL_TOKEN

### Syncing env vars

When .env.example changes, check that all required vars exist in Vercel:

npx vercel env ls --token $VERCEL_TOKEN

Compare against .env.example and flag any missing vars.

### Link a domain

npx vercel domains add <domain> --token $VERCEL_TOKEN

### Check DNS

npx vercel domains inspect <domain> --token $VERCEL_TOKEN

### Branch Strategy

main = production. Every push triggers a production deploy.
Feature branches (feat/, fix/, refactor/) = preview deploys.
Never force-push to main.
Use conventional branch names: feat/<feature>, fix/<bug>, refactor/<scope>.

### Monitoring Post-Deploy

After production deploy, check these within 5 minutes:

Health endpoint returns 200.
No new errors in Vercel runtime logs.
Key pages load correctly (check /, /login, /dashboard).
Supabase migrations applied successfully (if any).

If any check fails, immediately trigger rollback procedure.

### Creating PRs

gh pr create --title "feat: <title>" --body "<description>" --base main

### Checking CI status

gh pr checks <pr-number>

### Merging PRs

gh pr merge <pr-number> --squash --delete-branch

### Commit Message Convention

All commits must follow Conventional Commits:

feat: — new feature
fix: — bug fix
refactor: — code change that neither fixes a bug nor adds a feature
test: — adding or fixing tests
chore: — tooling, config, deps
docs: — documentation only
db: — database migrations (custom convention for this stack)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: guifav
- Version: 0.1.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T12:01:07.061Z
- Expires at: 2026-05-09T12:01:07.061Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/deploy-pilot)
- [Send to Agent page](https://openagent3.xyz/skills/deploy-pilot/agent)
- [JSON manifest](https://openagent3.xyz/skills/deploy-pilot/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/deploy-pilot/agent.md)
- [Download page](https://openagent3.xyz/downloads/deploy-pilot)