agentleFS
flisk-shflisk-sh/flisk-skills/skills/flisk-import-procfile/SKILL.md

flisk-import-procfile

Skill4 starsChanged 34 days agoMITView on GitHub

Turn the processes of a Procfile (web, worker, release) into Flisk bring-your-own resources, one small Dockerfile per process plus `flisk resource --type bring-your-own` (with `--restart no` for one-shot release tasks). Use when a repo has a Procfile (Heroku-style) and the user wants those processes under `flisk up`; `flisk import` does not read Procfiles. For a docker-compose.yml use flisk-import-compose; for any other Dockerfile or image use flisk-byo.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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. Distinctive:

    Add it as a BYO resource:

    line 19
  2. Very specific:

    Run flisk doctor then flisk up <stack>.

    line 28
  3. Very specific:

    Put environment values in the project .env.

    line 33
  4. Distinctive:

    Prefer the official scaffolders when the process is a standard backend or frontend that Flisk can generate.

    line 34

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

Import Procfile processes into Flisk

A Procfile lists process types and their start commands. Flisk does not read Procfiles natively in the current flisk import (it reads root docker-compose.yml). Wrap each process as a BYO resource.

Workflow

  1. List the processes in the Procfile (web, worker, release, etc.).
  2. For each process that should run locally, create a small Dockerfile that runs the same command and listens on $PORT.
  3. Add it as a BYO resource:
flisk resource web --type bring-your-own --stack app \
  --dockerfile ./Dockerfile --health-path /health \
  --path services/app/web --yes
  1. For a one-shot release or migration process, set --restart no.
  2. Run flisk doctor then flisk up <stack>.

Guardrails

  • The container must read PORT and bind to 0.0.0.0.
  • Put environment values in the project .env. Do not hard-code secrets in the Dockerfile.
  • Prefer the official scaffolders when the process is a standard backend or frontend that Flisk can generate.
  • Flisk is local only. The Procfile remains the source for production process management if you still use it.

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.