agentleFS
flisk-shflisk-sh/flisk/.claude/skills/flisk-up/SKILL.md

flisk-up

Skill49 starsChanged 36 days agoMITView on GitHub

Start a Flisk stack with `flisk up`, preview it first with `flisk up <stack> --dry-run`, and confirm the healthy URLs. Use when the user asks to run, start, or bring up their local services, or after changing service.json files. To check a stack that is already running, use flisk-status; when it fails, use flisk-troubleshoot.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 1 is distinctive, and 7 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.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Start local services from service.json manifests.

    line 13
  2. Very specific:

    Run flisk doctor if the machine has not been checked yet.

    line 17
  3. Very specific:

    Start it: flisk up <stack>.

    line 19
  4. Very specific:

    If flisk up refuses to start because generated files differ from service.json, regenerate from the source manifest.

    line 21
  5. Very specific:

    Prefer command services for a simple app (an API, a website, a worker).

    line 27
  6. Distinctive:

    Ask before starting a large stack or one likely to build many images.

    line 34
  7. Very specific:

    Use flisk up -f only when the user agrees to kill the existing Tilt process.

    line 35
  8. Very specific:

    Do not edit .autogenerated/ or other generated output.

    line 36

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

Flisk up

Start local services from service.json manifests. Flisk writes the Docker and Tilt configuration; do not write Dockerfiles, Tiltfiles, or routes by hand.

Workflow

  1. Run flisk doctor if the machine has not been checked yet. Stop on unresolved errors.
  2. Preview the stack: flisk up <stack> --dry-run. Show the user which services and URLs will start.
  3. Start it: flisk up <stack>. Omit <stack> to start every stack.
  4. Confirm health with flisk status --json. Report each service's URL only after it reports healthy.
  5. If flisk up refuses to start because generated files differ from service.json, regenerate from the source manifest. Use --ignore-drift only when the user asks to start anyway.

Services that run without Docker

A service whose service.json declares command (for example "command": "node server.js", with appName, appType, port, dependsOn and an optional healthCheckPath) runs as a local process. When every selected service has one, flisk up needs no Docker and no Tilt: it starts them in dependsOn order, prints http://localhost:<port> for each, prefixes their output, and restarts a service that exits. It stays in the foreground; flisk down stops it from another terminal.

  • Prefer command services for a simple app (an API, a website, a worker). Use Docker services when the app needs a database, one gateway URL, or the container it deploys.
  • 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 up --json reports "runtime": "native" and each service's URL. Read output with flisk logs --service <name>.
  • Guide: docs/run-without-docker.md.

Guardrails

  • Ask before starting a large stack or one likely to build many images; cold builds can take several minutes.
  • Use flisk up -f only when the user agrees to kill the existing Tilt process.
  • Do not edit .autogenerated/ or other generated output. Change service.json instead.
  • Flisk runs locally. Do not use it to deploy to a cluster.

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.