Walks you through the seven-step process to get a React, Next.js, or static site live on Butterbase, from setting environment variables to verifying the deployment. The real value is in the prescriptive details: it includes a complete Node archiver script because the usual zip methods break MIME types on Windows, has a framework reference table for build commands and output directories, and covers the CORS configuration step most guides skip. If you've ever deployed a frontend only to see a blank page or console errors about incorrect content types, this addresses exactly those issues. The workflow is opinionated but that's the point.

GitHub stars
532
last updated
Jun 11, 2026

Install

$ npx -y skills add butterbase-ai/butterbase-skills --skill deploy-frontend --agent claude-code

Installs into .claude/skills of the current project.

Files

Overview

7-step workflow for deploying static frontends to Butterbase. Covers building, CORS, zipping, uploading, and verification.


Framework Reference Table

FrameworkBuild commandOutput dirEnv prefixFramework flag
React (Vite)npm run builddist/VITE_react-vite
Next.js (static)next buildout/NEXT_PUBLIC_nextjs-static
Plain HTML(none)project rootN/Astatic

Note: Next.js requires output: 'export' in next.config.js to produce a static export.


Step 1: Set Environment Variables

Use manage_frontend with action: "set_env" to configure the API URL and app ID before building. These variables are injected at build time by the framework.

{
  "app_id": "app_abc123",
  "action": "set_env",
  "vars": {
    "VITE_API_URL": "https://api.butterbase.ai/v1/app_abc123",
    "VITE_APP_ID": "app_abc123"
  }
}

Sponsors

Details

Repository
github.com/butterbase-ai/butterbase-skills
Categories
Frontend Development, DevOps & CI/CD, Release Management
License
MIT
First seen
Jun 11, 2026

More from butterbase-ai/butterbase-skills

All 39
1composiohq avatarsenior-frontendcomposiohq/awesome-claude-pluginsFrontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, an0skills.sh installs
2daffy0208 avatarFrontend Builderdaffy0208/ai-dev-standardsBuild modern React/Next.js frontends. Use when creating web applications, choosing frontend stack, structuring components, or implementing UI/UX designs. Covers0skills.sh installs
3recomby-ai avatarfrontend-designrecomby-ai/recomby-geoCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, 0skills.sh installs
4syahiidkamil avatarfrontend-designsyahiidkamil/software-engineer-ai-agent-atlasCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, 0skills.sh installs
5telagod avatarapplying-ui-design-systemtelagod/code-abyssFrontend UI design system selector and implementation guide covering Glassmorphism, Liquid Glass (Apple-style), Neubrutalism, and Claymorphism. Use when buildin0skills.sh installs
6thinkinaixyz avatarfrontend-designthinkinaixyz/deepchatCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, 0skills.sh installs