agentleFS
flisk-shflisk-sh/flisk/.claude/skills/flisk-resource/SKILL.md

flisk-resource

Skill49 starsChanged 36 days agoMITView on GitHub

Add one service to an existing Flisk project with `flisk resource <name> --type frontend|backend|worker|agent|mcp --stack <stack>`, or wrap an existing Dockerfile or image with `--type bring-your-own`. Use when the user asks to add a service, website, agent, MCP tools server, worker or backend. For a whole new app from a plain request, use flisk-build; to start it, use flisk-up.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Very specific:

    Create services with the CLI so each one gets a valid service.json and the right runtime contract.

    line 13
  2. Very specific:

    Create it: flisk resource <name> --type <type> --stack <stack>.

    line 18
  3. Very specific:

    Check the result with flisk doctor and read the new service.json.

    line 20
  4. Very specific:

    Start it with flisk up <stack> (see the flisk-up skill).

    line 21
  5. Distinctive:

    Ask before creating resources in a stack the user did not name.

    line 27

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

Flisk resource

Create services with the CLI so each one gets a valid service.json and the right runtime contract. Do not hand-write container manifests.

Workflow

  1. Choose the type: frontend (website), backend (HTTP API), worker (background jobs), agent (its own /health, /ready, and x-session-id routing), mcp (tools server), database (the project's Postgres: a service.json only, which services name in dependsOn), or bring-your-own (an existing Dockerfile with --dockerfile, or an image with --image).
  2. Create it: flisk resource <name> --type <type> --stack <stack>. Use --language <id> only when the user names a language (bun is the default).
  3. For an existing service, use --register-existing instead of generating templates.
  4. Check the result with flisk doctor and read the new service.json.
  5. Start it with flisk up <stack> (see the flisk-up skill).

Guardrails

  • Use kebab-case names.
  • A database migration belongs in its own migrator resource, not in an API start script.
  • Ask before creating resources in a stack the user did not name.

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.