agentleFS
SlimPlanetSlimPlanet/SlimFaas/.agents/skills/slimfaas-local-release/SKILL.md

slimfaas-local-release

Skill453 starsChanged 16 days agoApache-2.0View on GitHub

Validate the SlimFaas native local CLI, process orchestration, Docker and Podman demos, dedicated Kubernetes deployments, and standalone Native AOT demo bundles.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use repeatable -f overlays such as slimfaas.local.dev.yaml and slimfaas.local.debug.yaml.

    line 26
  2. Very specific:

    Use the repository root as the build context for each product Dockerfile.

    line 34
  3. Very specific:

    Keep demo/deployment-*.yml, docker-compose.yml and slimfaas.local*.yaml aligned with code changes affecting ports, annotations, environment …

    line 35
  4. Distinctive:

    Use the host RID. Packaging needs .NET 11, Node 26 and Python 3.11 or newer.

    line 51

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

Validate local runtime and release bundles

Native local mode

The local CLI and manifest orchestration live in src/SlimFaas/Local/. Validate the actual manifest with the .NET SDK declared in global.json. The following paths are relative to the SlimFaas launch profile.

dotnet run --project src/SlimFaas -- local validate -f ../../slimfaas.local.yaml
dotnet run --project src/SlimFaas -- local up -f ../../slimfaas.local.yaml

With the demo running, exercise readiness and a function in another terminal.

curl --fail http://127.0.0.1:30020/status-functions
curl --fail http://127.0.0.1:30020/function/fibonacci1/hello/local

Use repeatable -f overlays such as slimfaas.local.dev.yaml and slimfaas.local.debug.yaml. The latter exercises debugUrl routing to an IDE process. Validate shutdown and persisted state when changing process lifecycle, data or recovery paths. Stop the supervisor after the smoke test and verify that the owned node and function processes exit.

Deployment demos

Use the repository root as the build context for each product Dockerfile. Keep demo/deployment-*.yml, docker-compose.yml and slimfaas.local*.yaml aligned with code changes affecting ports, annotations, environment variables, images and sample workloads.

docker build -t slimfaas:latest .
docker compose up -d
./run-podman-compose.sh up -d

For Kubernetes validation, select the intended kubeconfig and context explicitly and use a dedicated test namespace. Verify readiness and behavior on multiple pods for scaling, routing and consensus changes.

Standalone bundle

Use the host RID. Packaging needs .NET 11, Node 26 and Python 3.11 or newer. The native release workflow builds and exercises all five supported RIDs.

python3 .bin/package-local-demo.py --rid osx-arm64 --version local-check
python3 .bin/test-local-bundle.py artifacts/local-demo/SlimFaas-Local-osx-arm64.zip
python3 .bin/test-local-bundle-helpers.py
python3 .bin/test-install-local-demo.py

Preserve the bundled manifest overlay, guided tour and Bruno fixtures. The smoke test runs the native runtime and packaged workloads with an empty PATH. Readiness can retry temporary startup failures within its deadline. Function and job mutations run once. Cleanup may accept an absent job after observing successful completion. Verify the supervisor's exit code and use a bounded retry when releasing extracted files still held by a stopping node on Windows.

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.