agentleFS
flisk-shflisk-sh/flisk-skills/skills/flisk-dry-run/SKILL.md

flisk-dry-run

Skill4 starsChanged 34 days agoMITView on GitHub

Preview what a Flisk command would do without changing anything - `flisk up <stack> --dry-run` (services, URLs, host ports, the Tilt command, and the drift and minFliskVersion gates), `flisk up --dry-run --json` for CI, and the dry runs of `flisk down`, `flisk import`, `flisk doctor --fix` and `flisk upgrade --all`. Use before a first or large `flisk up`, in CI checks, or when an agent should show the plan before acting. To actually start and verify a stack, follow up with `flisk up`.

The file

We split this skill into the rules it gives an agent

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

  • 2

    Very specific

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

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

    Every --dry-run below only reads.

    line 13
  2. Very specific:

    Read the gates: a dry run fails (exit 1) for the same reasons a real run would refuse - generated files edited by hand (drift) or a CLI …

    line 22

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

Dry runs

Every --dry-run below only reads; it is safe to run repeatedly.

Workflow

  1. Preview the stack: flisk up <stack> --dry-run (omit <stack> for every stack; add --only <service...> for a subset). It prints:
    • Would start N services from ... and each service name,
    • the frontend and backend URLs, with each backend's health path,
    • the host ports it would use, and a notice when it falls back from port 80,
    • then exits without starting Docker or Tilt.
  2. Read the gates: a dry run fails (exit 1) for the same reasons a real run would refuse - generated files edited by hand (drift) or a CLI older than minFliskVersion. Fix the source and re-run.
  3. For CI or an agent, use flisk up <stack> --dry-run --json: one object with dryRun: true, stack, services, the tilt up command, and with --only also requested and declaredDependencies.
  4. Adjust service.json, the stack or --only, and preview again. Start for real with flisk up <stack> once the plan matches what the user asked for.

Other dry runs

CommandShows
flisk down --dry-runwhat would be stopped
flisk import . --dry-runthe services a root docker-compose.yml would become, and what is dropped
flisk doctor --fix --dry-runthe network and probe repairs, without applying them
flisk upgrade --all --dry-runevery Flisk install on PATH that would be upgraded

Guardrails

  • A dry run still needs a valid project; run flisk doctor first when it fails on configuration.
  • A dry run does not build images, so it cannot catch build or runtime errors. Say so when reporting a clean preview.
  • Show the user the services and URLs from the preview before starting a large stack.

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.