vercel-services

Configure multi-service Vercel deployments with services, rewrites, and bindings in vercel.json.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/sharad07072007/paras --skill vercel-services-sharad07072007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-services
Source: https://github.com/sharad07072007/paras/tree/main/.agents/plugins/vercel/skills/vercel-services
Command: npx skills add https://github.com/sharad07072007/paras --skill vercel-services-sharad07072007

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deploying a frontend and backend as one Vercel project requires coordinating the services key, ordered rewrites, and private service bindings in vercel.json, and misconfiguration causes routing 404s, unreachable backends, or broken previews. ## Core Features & Use Cases - Service Definition: Define multiple services with root, entrypoint, framework, and container runtime settings in a single vercel.json. - Routing & Ingress: Configure ordered top-level rewrites, host-based subdomain routing, and service-scoped rewrites for prefix stripping and SPA fallbacks. - Private Bindings: Connect services privately with deployment-aware binding environment variables that bypass the public Firewall and CDN. - Use Case: Put a Next.js frontend and a FastAPI backend in one project, route /api to the backend, and let the frontend call it privately through a BACKEND_INTERNAL_URL binding. ## Quick Start Ask the AI to configure a vercel.json that deploys your frontend and backend together as Vercel Services with an /api rewrite and a service binding.

Frequently Asked Questions about vercel-services

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

FAQPage Schema
How do I deploy a frontend and backend together on Vercel?

Define both as services in vercel.json with a root for each, then add top-level rewrites that route public paths like /api to the backend and everything else to the frontend. Both services build independently but ship as one deployment.

How do Vercel service bindings work?

Declare a binding on the caller service naming the target service and an environment variable, then read that variable at runtime to get the internal URL. Bindings are deployment-aware, skip the public Firewall and CDN, and are unavailable during builds or in middleware.

Why does my Vercel backend return 404 for every /api route?

Vercel preserves the original request path, so /api/users reaches the backend as /api/users. Either make the backend handle the prefix, such as FastAPI root_path, or strip it with a service-scoped rewrite inside that service's configuration.

Can a Vercel service stay private with no public route?

Yes, a service without a matching top-level rewrite is unreachable from the public internet and only accessible through bindings. Note that bindings grant network reachability only, so add application-level authorization when the target must verify callers.

When should I use Vercel Services versus separate projects?

Use Services when tightly coupled components like a frontend and backend should deploy and roll back together atomically. Choose separate Vercel projects when teams own services independently and need to deploy or roll back each on its own cadence.

Why does my subdomain routing work in production but not in previews?

Preview deployments get a single generated URL, so host-based rewrite rules never match there. Keep a subpath rewrite to the same service alongside the host rule and point the frontend at a relative path like /api.