agentleFS
flisk-shflisk-sh/flisk-skills/skills/flisk-deploy-vercel/SKILL.md

flisk-deploy-vercel

Skill4 starsChanged 33 days agoMITView on GitHub

Take a stack that already works under `flisk up` to Vercel with that host's own tooling - a Vercel project for a Flisk frontend (React, Vue, Svelte) or serverless functions. It maps each service.json (ports, health checks, dependencies, env) to production artifacts written for the host, never the local `.autogenerated/` files. Use when the user wants to ship a working Flisk stack to Vercel. Flisk itself stays local; for Helm, Argo CD or Kustomize pipelines use flisk-helm.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create a vercel.json or use the Vercel Git integration pointing at the frontend directory.

    line 20
  2. Very specific:

    Keep the local service.json as the source of truth for the contract.

    line 28
  3. Distinctive:

    Update CORS and API base URLs for production.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deploy to Vercel

Flisk is local-only. This skill covers deploying compatible parts of a Flisk project to Vercel.

Workflow

  1. Confirm the frontend works locally with flisk up.
  2. Identify the frontend service (typically appType: frontend with Vite/React/Vue).
  3. The generated vite.config and build output can be adapted; do not commit .autogenerated/ files.
  4. Create a vercel.json or use the Vercel Git integration pointing at the frontend directory.
  5. Set environment variables in the Vercel dashboard (API base URLs, etc.).
  6. Deploy with vercel or push to the connected Git branch.
  7. Point the production API URL at your backend (which may still be local or deployed elsewhere).

Guardrails

  • Vercel is best for frontends and serverless; full multi-service Docker stacks stay local or go to other hosts.
  • Keep the local service.json as the source of truth for the contract.
  • Update CORS and API base URLs for production.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.