flisk-generated-files
Skill4 starsChanged 33 days agoMITView on GitHub
Understand which files Flisk owns (everything under `.autogenerated/` and `.flisk/.flisk-out/`), check them for drift with `flisk config verify` and `flisk config explain`, and regenerate them with `flisk up` or `flisk config regenerate`. Use when `flisk up` refuses to start because generated files differ from service.json, when a generated Dockerfile, nginx, Vite, tsconfig or env file looks wrong, or when reviewing what the CLI writes. To change what gets generated, edit service.json (see flisk-service-json).
- Reads credentials
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- flisk-agentsSkill
- flisk-benchmarkSkill
- flisk-build-runtimesSkill
- flisk-byoSkill
- flisk-contributingSkill
- flisk-databasesSkill
- flisk-dataSkill
- flisk-demo-bubblesSkill
- flisk-deploy-awsSkill
- flisk-deploy-azureSkill
- flisk-deploy-cloudflareSkill
- flisk-deploy-digitaloceanSkill
- flisk-deploy-flySkill
- flisk-deploy-gcpSkill
- flisk-deploy-herokuSkill
- flisk-deploy-railwaySkill
- flisk-deploy-renderSkill
- flisk-deploy-vercelSkill
- flisk-doctorSkill
- flisk-dry-runSkill
- flisk-frontendSkill
- flisk-helmSkill
- flisk-import-composeSkill
- flisk-import-procfileSkill
- flisk-layoutSkill
- flisk-portsSkill
- flisk-scaffoldSkill
- flisk-secretsSkill
- flisk-service-jsonSkill
- flisk-starlark-perfSkill
- flisk-troubleshootSkill
- flisk-uiSkill
- flisk-unfollowersSkill
- flisk-upgradeSkill
- layer-autoresearchSkill
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
- Very specific: line 27
Run flisk up (or flisk up --dry-run to only check).
- Very specific: line 36
Only when the user asks to start anyway: flisk up --ignore-drift.
- Very specific: line 40
Never commit hand edits to .autogenerated/ files.
- Very specific: line 41
If a generated file is wrong for a valid service.json, the fix belongs in the generator in flisk-sh/flisk, not in the output.
≈ “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.
Files
Generated files and drift
Flisk writes the local runtime files from each service.json. You own the contract; the CLI owns the generated wiring.
Who owns what
| File | Owner |
service.json, .flisk/project.json, the project .env, your app code and package.json | You |
services/<stack>/<name>/.autogenerated/* (Dockerfile, nginx, Vite, tsconfig, env files, service.yaml, api-client.ts) | Flisk |
.autogenerated/.flisk-contract/ (snapshots for drift detection) | Flisk |
.flisk/.flisk-out/ (the Tiltfile and the vendored engine) | Flisk, git-ignored |
Workflow
- Change only the source:
service.json,.flisk/project.json, or your code. - Run
flisk up(orflisk up --dry-runto only check). It regenerates the service files and refuses to start when a generated file was edited by hand, naming the file. - To check without starting anything:
flisk config verify --jsoncompares the project contract, everyservice.jsonand the file snapshots. It reports and never blocks. - To ask about one file:
flisk config explain <path>says whether Flisk generates it, from which input, and whether editing it blocksflisk up. - To rewrite the project-level files from
.flisk/project.json:flisk config regenerate. After a schema change,flisk config migrateupdates oldservice.jsonfiles.
If a hand edit blocks flisk up
- Move the intended change into
service.json, the project config or the generator. - Regenerate with
flisk up(service files) orflisk config regenerate(project files). - Only when the user asks to start anyway:
flisk up --ignore-drift. The edit is lost on the next regeneration.
Guardrails
- Never commit hand edits to
.autogenerated/files. - If a generated file is wrong for a valid
service.json, the fix belongs in the generator in flisk-sh/flisk, not in the output. - Full list of outputs per service type: docs/generated-files.md.
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
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.

