flisk-layout
Skill4 starsChanged 33 days agoMITView on GitHub
Decide where a Flisk project lives when services span several repositories or teams - one platform repo with bring-your-own services versus one project per service repo - plus name and port clashes between projects, CODEOWNERS for service.json files, and layouts for about 5, 20 and 50 services. Use when planning project structure or onboarding a team. For adding one service, use flisk-scaffold or flisk-byo.
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-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
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
- could be automatic: a setting could enforce it
- Very specific: line 20
Keep every service.json inside the project root.
- Very specific: line 34
Keep service.json the single source of truth.
≈ “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
Layout and ownership
One Flisk project is one repository tree: the CLI finds services by walking the project directory for service.json files.
Workflow
- Pick a layout:
- One platform repo: one
.flisk/project.json, aservice.jsonper service. Code that lives in another repo is wrapped as a bring-your-own resource, from a registryimageor from a sibling checkout viabuildContext. - One project per service repo: the ordinary single-repo flow. Each team keeps its files, at the cost of one Postgres and one Traefik per project on the same default host ports.
- One platform repo: one
- Keep every
service.jsoninside the project root. Aservice.jsonoutside it, or adiscovery.pathsentry pointing into another repo, is not supported (the CLI and Tilt disagree and generation is refused). Symlinked directories are not followed. - Group services into stacks by team or domain, so
flisk up <stack>starts only what one team needs. - Ownership: give
.flisk/project.jsonto the platform team inCODEOWNERS, and each stack'sservices/<stack>/to its team. - Agent guidance:
flisk projectwrites anAGENTS.mdand the Flisk skills into the project. For an existing repo, start from the landscape template and add only repo-specific rules.
Name and port clashes
- Two projects on one Docker daemon need different project names; containers are named
<project>-<stack>-autogenerated-<service>-1. - The same
appNametwice in one project failsflisk doctorwithDuplicate resource names. - Two services with the same
portonly warn, because service ports are not published on the host.
Guardrails
- Install the skills once per machine or project; do not copy the catalog into every service repo.
- Keep
service.jsonthe single source of truth; never edit generated files to make a layout work. - Guide, including the 5, 20 and 50 service layouts: docs/layout.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.

