agentleFS
flisk-shflisk-sh/flisk-skills/skills/flisk-build-runtimes/SKILL.md

flisk-build-runtimes

Skill4 starsChanged 35 days agoMITView on GitHub

Pick the language and framework of a new Flisk service - backends in Bun (Hono default, or Express, Elysia, Fastify, NestJS, Koa, h3), Python (FastAPI), Go, Rust or Node via `--language`, and frontends in React (default), Vue, Svelte, Preact, Lit, Solid, Qwik, Vanilla, TanStack Router or Next.js via `--framework`. Use when the user names a language or framework, or asks which ones Flisk supports. For a language Flisk has no provider for, use flisk-byo.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Run flisk doctor, then flisk up <stack>.

    line 34
  2. Very specific:

    Add dependencies to pyproject.toml.

    line 39
  3. Very specific:

    Do not hand-write Dockerfiles for these runtimes.

    line 45
  4. Very specific:

    Keep the health route and the PORT / 0.0.0.0 binding the scaffold gives you.

    line 46

≈ “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

Languages and frameworks

Scaffold with the right flags and let Flisk generate the Dockerfile and runtime for it. Without flags you get Bun + Hono for a backend and React for a frontend.

Workflow

  1. List what this CLI version supports:
    flisk resource --type backend --frameworks
    flisk resource --type frontend --frameworks
  2. Backends:
    flisk resource api --type backend --stack shop --yes                         # Bun + Hono
    flisk resource api --type backend --framework fastify --stack shop --yes     # another Bun framework
    flisk resource api --type backend --language python --stack shop --yes       # Python + FastAPI
    flisk resource api --type backend --language go --stack shop --yes           # Go net/http
    --language accepts bun, python, go, rust and node. A language that owns its runtime (python, go, rust, node) cannot be combined with --framework.
  3. Frontends:
    flisk resource web --type frontend --framework vue --stack shop --yes
  4. Run flisk doctor, then flisk up <stack>.

Python backends

  • The scaffold is FastAPI on Python 3.12: pyproject.toml, src/main.py with GET /health, and tests/. service.json gets "language": "python" and a dev.command that runs uvicorn on $PORT.
  • Add dependencies to pyproject.toml; changing it rebuilds the image. No local Python is needed.
  • The generated image has a test stage that runs pytest. After one flisk up, run it with docker build --target test -f services/<stack>/<name>/.autogenerated/Dockerfile.app.autogenerated .
  • Reference: examples/one-backend-python.

Guardrails

  • Do not hand-write Dockerfiles for these runtimes; Flisk generates them from service.json.
  • Keep the health route and the PORT / 0.0.0.0 binding the scaffold gives you.
  • Provider details: backend languages and frontend frameworks.

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.