agentleFS
SlimPlanetSlimPlanet/SlimFaas/.agents/skills/slimfaas-build-test/SKILL.md

slimfaas-build-test

Skill453 starsChanged 16 days agoApache-2.0View on GitHub

Build and test SlimFaas, SlimData, SlimFaasMcp, SlimFaasKafka and official SDKs. Use for Native AOT, analyzer, NuGet, license, CI or regression-test work.

  • Installs packages

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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 the .NET SDK in global.json, Node 26 for embedded dashboards and site builds, and the pnpm version declared by each web package.

    line 8
  2. Very specific:

    Use dotnet test <project> --filter 'FullyQualifiedName~<case>' for targeted feedback.

    line 22
  3. Distinctive:

    Use source generation for JSON and logging, and keep MemoryPack contracts compatible.

    line 29
  4. Distinctive:

    Keep package versions centralized.

    line 33
  5. Distinctive:

    Use isolated HTTP and Kubernetes fixtures and verify both successful and failing paths.

    line 45
  6. Very specific:

    Read the affected workflow under .github/workflows/ for its entry points.

    line 64
  7. Distinctive:

    Check the external SonarCloud quality gate alongside the scanner job, and attribute each CI, FOSSA and DCO result to the exact PR head.

    line 68

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

Build and test SlimFaas

Use the .NET SDK in global.json, Node 26 for embedded dashboards and site builds, and the pnpm version declared by each web package. The Python SDK uses Python 3.10 or newer and uv. Use the host RID for Native AOT publication.

.NET validation

dotnet build
dotnet build -p:SkipClientAppBuild=true
dotnet test
dotnet test --collect 'Code Coverage;Format=cobertura'
dotnet publish src/SlimFaas/SlimFaas.csproj -c Release

Use dotnet test <project> --filter 'FullyQualifiedName~<case>' for targeted feedback. SkipClientAppBuild=true skips the SlimFaas and SlimFaasMcp embedded dashboard builds during backend verification. Run the relevant dashboard or site workflow when editing a client application. The test projects inherit extra analyzer configuration from eng/tests.globalconfig. Coverage outputs live under TestResults/.

  • Use source generation for JSON and logging, and keep MemoryPack contracts compatible. Exercise AOT publication when changing dependencies, reflection usage, native calls or serialization contracts. Verify P/Invoke on the affected platforms.
  • Keep package versions centralized. For NU1901–NU1904, update the affected package or centrally pin the patched transitive dependency. Preserve the audit and analyzer checks and apply scoped exclusions with a justification where required.
  • Check the CNCF allowed license policy and the PR's FOSSA result after changing dependencies. Verify bundled files and transitive licenses. Prefer a compliant replacement. When a version needs a temporary hold, pin the highest version already validated by FOSSA and record the reason and review trigger in the PR. A CNCF Governing Board exception is required for licenses outside the allowlist. Regenerate all affected lockfiles and rerun the relevant tests.
  • Use isolated HTTP and Kubernetes fixtures and verify both successful and failing paths. Prefer explicit readiness and completion signals to fixed delays.

SDK and web checks

dotnet test client/dotnet/SlimFaasClient/tests/SlimFaasClient.Tests/SlimFaasClient.Tests.csproj
(cd client/python/slimfaas-client && uv sync --extra dev && uv run pytest)
(cd src/SlimFaasPlanetSaver && pnpm install --frozen-lockfile && pnpm run coverage)

WebSocket contract changes need matching runtime and SDK checks for registration, callbacks, sync streaming and publish/subscribe. Keep the runtime and both SDKs aligned. Function names must be distinct from Kubernetes Deployment names. Clients sharing a name use identical configuration.

CI review

Read the affected workflow under .github/workflows/ for its entry points. Main CI validates unit tests, Sonar, persistent local restart, AOT builds and release packaging. The dashboard workflow covers documentation and client contracts. Package and container publishing use their dedicated workflows. Check the external SonarCloud quality gate alongside the scanner job, and attribute each CI, FOSSA and DCO result to the exact PR head.

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.