/flisk:flisk-buildfrom Flisk App Builder
Turn a plain request such as "build me a small online shop", "a SaaS with login and billing", "an AI agent with MCP tools and a database" or "a blog with an admin API" into Flisk steps (`flisk project`, `flisk resource ... --type ... --stack ...`, `flisk up`), check that every URL is healthy, and tell the user where the app is. Use when the user asks you to build, scaffold or run a new app on their laptop with Flisk.
Ships in Flisk App Builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user describes an app. Map each part of it to a Flisk resource, let Flisk write the containers, routing and database wiring, write only the app code, and finish with the working URLs.
Pick the path before anything else.
A database or cache can run in Docker next to command services: give it an image (no command, no dockerfile) and flisk up starts it with docker run (a mixed run, docs/run-without-docker.md). Any other mix, such as a service built from a Dockerfile next to a command service, is refused with MIXED_RUNTIME.
flisk project --yes once in the folder if there is no .flisk/project.json. Then run flisk resource <name> --type backend|frontend|worker|mcp|agent --stack <stack> --local --yes for each part, adding --language <id> or --framework <id> when the user names one (the default backend is Bun). It writes starter code and a service.json with a command, and no Dockerfile. --local applies to frontend, backend, worker, mcp and agent only, and not with --feature prisma. Run the install command the CLI prints under Next steps (for example npm install or bun install, or pip install -e ".[dev]" for Python) in each new folder. Use this first in a sandbox with no Docker (Bolt, StackBlitz, Lovable, v0): do not probe for Docker or Tilt, do not install anything globally and do not search the web, because flisk is the npm package @flisk-sh/flisk. The scaffold is only a template: edit its code to build what the user asked for before step 2, and do not report the bare template as the finished app.service.json that names the command that starts it:
{ "schemaVersion": 1, "appName": "api", "appType": "backend", "command": "node server.js", "port": 4000, "healthCheckPath": "/health" }.
The command runs from that folder with PORT set. Add "dependsOn": ["api"] to a part that calls another, and pass URLs through "env": { "API_URL": "http://localhost:4000" }. Use the runtime's own watch mode for reload (node --watch server.js, uvicorn main:app --reload --port $PORT).flisk doctor. It checks only that each command's program is installed and the ports and dependsOn are valid.flisk up --json in the background (&) and wait for its one JSON line: "ok":true, "runtime":"native" and urls with each service's http://localhost:<port>. On the hand-written path (step 1) no flisk project or flisk resource step is needed; the first flisk up writes .flisk/project.json.curl -fsS <url>); each must answer. On a failure read flisk logs --service <name> --tail 100, fix the code, and run flisk up --json again (it restarts a crashed service on its own).flisk down stops it. Guide: docs/run-without-docker.md.flisk doctor. If it reports an error, fix what it names (or tell the user what to start, for example Docker) and run it again. Do not continue past an unresolved error.shop, saas, ai, blog). Use the table below. Tell the user the plan in one or two lines.flisk project --yes. If the request matches a starter app (restaurant, SaaS, store, agent stack, user management), clone that instead: see the flisk-recipe-starters skill. In a folder that already has .flisk/project.json, skip this step.flisk resource <name> --type <type> --stack <stack> --yes. Add --feature drizzle (or --feature prisma) to a backend that stores data. Add --framework <id> or --language <id> only when the user names one.src/. Keep the generated /health route. Do not write Dockerfiles, Compose files, Tiltfiles or proxy config, and do not edit .autogenerated/: change service.json instead and Flisk regenerates.flisk up <stack> --dry-run shows the services and URLs. Then run flisk up <stack> --json in the background (&) and wait for its one JSON line: "ok":true means the stack is ready. A cold first build can take a few minutes.flisk status --json: every resource must be ready. Request each service's health URL (curl -fsS <url or directUrl>/health): url is the routed URL in a Docker project, directUrl the http://localhost:<port> of a local-process one. Every one must answer 200. For a backend with a database, also request <base>/health/db.flisk doctor, then flisk logs -s <resource> --tail 100 for the failing resource. Fix the source (app code or service.json), and the running stack reloads. If a build failed, run flisk up <stack> --json again. Follow the flisk-troubleshoot skill for messages you do not recognise. Stop after three failed attempts at the same error and tell the user what you saw. If Docker says all predefined address pools have been fully subnetted, old projects still hold their networks: run flisk doctor --fix here and flisk down --prune-networks in projects the user no longer runs (ask first), then start again.curl or "open this in your browser"), and that flisk down stops everything.| The user asks for | Resource | Command |
|---|---|---|
| A website, storefront, dashboard, admin page | frontend | flisk resource web --type frontend --stack <stack> --yes |
| An API (orders, posts, users, billing) | backend | flisk resource orders-api --type backend --stack <stack> --yes |
| Something that stores data, "a database" | backend with a database feature | flisk resource notes-api --type backend --stack <stack> --feature drizzle --yes |
| Background jobs, emails, imports | worker | flisk resource jobs --type worker --stack <stack> --yes |
| An AI agent, chatbot, assistant | agent | flisk resource assistant --type agent --stack <stack> --yes |
| Tools for an agent, an MCP server | mcp | flisk resource tools-mcp --type mcp --stack <stack> --yes |
| An admin panel or back office next to the main site | a second frontend | flisk resource admin --type frontend --stack <stack> --yes |
| Several APIs ("3 APIs") | one backend each | flisk resource catalog-api ..., flisk resource orders-api ... (keep it to three or fewer) |
| A cache, Redis | bring-your-own | flisk resource cache --type bring-your-own --image redis:7 --no-proxy --stack <stack> --yes |
| Chat, live updates, websockets | backend | an ordinary backend; write the websocket route in its code |
| An existing image (Mailpit, a vendor's server) | bring-your-own | flisk resource mail --type bring-your-own --image <image> --stack <stack> --yes |
| A third-party API (payments, a shop platform) | backend that holds the key | list the key's name under secrets.required in its service.json, put the value in the project .env, and call the vendor only from that backend |
| Python or Go | backend with a language | flisk resource api --type backend --language python --stack <stack> --yes (or go) |
| A frontend framework by name (Vue, Svelte, Solid...) | frontend with a framework | flisk resource web --type frontend --framework vue --stack <stack> --yes (list them: flisk resource --type frontend --frameworks) |
Web3 apps (a local chain node and contracts) are not covered: no Flisk recipe has run a chain node end to end. Say so instead of improvising one.
Every stack gets the shared Postgres database: you do not add one. A backend created with --feature prisma gets a DATABASE_URL, a Prisma schema, and a <name>-migrator resource that applies migrations before the API starts. A backend created with --feature drizzle gets a DATABASE_URL, a Drizzle client in src/db.ts and a /health/db check, but no migrator.
Name APIs <thing>-api. In a Docker project Flisk drops the -api suffix in the route, so orders-api is served at /api/orders. Backends are served on api.<project>.localhost and frontends on app.<project>.localhost, where <project> is the project name (by default the folder name) and the port is the one flisk up picked. A local-process project has no routes: each service answers on http://localhost:<port>. Either way, read the real URLs from flisk status --json (url or directUrl); do not build them by hand.
The Flisk convention is a separate migrator that creates and changes tables before the APIs start. --feature prisma scaffolds one for you (<name>-migrator); for other tools see one-shot jobs. For a quick prototype, creating tables with CREATE TABLE IF NOT EXISTS when the API starts also works; say which one you used.
Ready-made plans for common requests: flisk-recipe-starters (clone a working starter app), flisk-recipe-shop, flisk-recipe-saas, flisk-recipe-ai-agent and flisk-recipe-blog. More prompts by category (spreadsheets, recruiting, product management, internal tools) are in docs/recipes/build-with-your-agent.md.
flisk <command> --help. Do not guess flags.flisk up -f: it stops a Tilt process that is already running.If a mcp__flisk__* tool is missing, run flisk connect claude in the project folder and restart Claude Code. The CLI commands in this skill work without MCP as well.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flisk-sh/flisk-cli --plugin flisk14 skills in this plugin
/flisk-agent-opsGround rules and the CLI-to-MCP command map for a coding agent (Claude Code, Cursor, Codex) working in a Flisk project - create services with `flisk resource` instead of hand-writing Dockerfiles, Compose files or manifests, keep the agent resource contract, and drive the stack with `--json` commands or the `flisk mcp` tools (`doctor`, `up`, `status`, `logs`, `resource_restart`, `agent_list`, `agent_sessions`, `down`). Use when about to write container config by hand or when you need the MCP tool for a CLI command. For building a whole app from a request, use flisk-build./flisk-convertConvert any existing app (Node, Python, Go, Rust, Bun, a static site, a Docker Compose or Procfile project, a monorepo) to run with Flisk, so `flisk up` starts it locally. Picks the right path (local processes, bring-your-own container, or `flisk import`), writes the `service.json` files with the CLI, and checks every URL. Use when the user says "convert this app to Flisk", "run this with Flisk", "add Flisk to this repo" or "move my Compose setup to Flisk". For a new app from a plain request, use flisk-build.Other plugins' skills for the same job
/flisk-doctorCheck or repair the local Flisk development environment and project configuration using `flisk doctor` (including `--all`, `--json` and `--fix`). Use when setting up a Flisk project, before running `flisk up`, or when Docker, Tilt, Bun, ports, Docker networks, generated files or service manifests may be misconfigured. For a stack that started and then failed, use flisk-troubleshoot instead.