flisk-service-json
Skill4 starsChanged 34 days agoMITView on GitHub
Read, edit and validate a Flisk `service.json`, the per-service contract every generated file comes from - required fields (`schemaVersion`, `appName`, `appType`, `stack`), `port`, `healthCheckPath`, `dependsOn`, `featuresEnabled`, `params`, `secrets`, routing (`apiPath`, `basePath`, `exposeViaProxy`), build fields, and `command` for services that run without Docker. Use when changing an existing service's ports, dependencies, health check, features or routes, or when doctor reports a service.json field. To create a new service, use flisk-scaffold.
- 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-generated-filesSkill
- flisk-helmSkill
- flisk-import-composeSkill
- flisk-import-procfileSkill
- flisk-layoutSkill
- flisk-portsSkill
- flisk-scaffoldSkill
- flisk-secretsSkill
- 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 13
Every resource is one services/<stack>/<name>/service.json.
- Very specific: line 36
Never hand-edit .autogenerated/ files.
- Very specific: line 37
Prefer the CLI for new services: flisk resource writes a manifest that satisfies the schema.
- Very specific: line 39
Do not put secret values or jwtSecret here.
≈ “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
service.json contract
Every resource is one services/<stack>/<name>/service.json. Flisk generates the local runtime from it; you never edit the outputs.
Workflow
- Open the file and keep
"$schema": "https://flisk.sh/schema.service.json"in it for editor completion and inline validation. - Required:
schemaVersion(currently1),appName(kebab-case, matching the directory),appType(backend,frontend,worker,migrator,mcp,agent,bring-your-own,sdk,library) andstack. Change only what the task needs:
Need Field container port, health route port,healthCheckPathstart order dependsOn(for example["postgres", "orders-api-migrator"])Prisma, Drizzle, Playwright and other features featuresEnablednon-secret config / secret names params/secrets.required,secrets.optionalroute apiPath(backends),basePath(frontends),exposeViaProxy: falsefor no routebring-your-own build dockerfile,buildContext,image,restartrun as a local process without Docker command- Validate:
flisk doctor(service fields, duplicates, deprecated names) andflisk config verify(generated files in sync). - Apply:
flisk up <stack>regenerates the service's.autogenerated/files from the new manifest.
Guardrails
- Never hand-edit
.autogenerated/files; they are rebuilt from this file. - Prefer the CLI for new services:
flisk resourcewrites a manifest that satisfies the schema. dependenciesandenvVarsare deprecated names fordependsOnandparams;flisk config migratemoves old manifests (includingtypetoappType) to the current schema.- Do not put secret values or
jwtSecrethere; values go in the project.env. - Schema:
runtime/engine/schemas/service-schema.json. Reference: docs/service-json.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.

