# AGENTS.md instructions for Vercel CLI for preview and production deployments

Use Vercel CLI for preview and production deployments only for: Deploy frontend apps from the terminal with preview-first workflows and team-scoped auth.

## Default behavior

- Prefer non-interactive commands and stable output formats: text, json.
- Start with read-only inspection commands before changing state.
- Show the exact command before destructive or deployment actions.
- Require explicit user approval for commands marked `requires-review` or `destructive`.

## Useful commands

- safe: `vercel pull --yes --environment=preview` — Fetches project settings for local checks.
- requires-review: `vercel deploy --prebuilt` — Creates a preview deployment.
- destructive: `vercel deploy --prod` — Ships to production and should require approval.

## Safety notes

- Agents should run local build checks before any deployment command.
- Preview deployments can still publish externally visible URLs; summarize the URL and logs after creation.
- Production deploys, env changes, domains, and team settings require explicit human approval.