agentleFS
cloudfleetaicloudfleetai/cloudfleet-plugin-claude/skills/best-practices/SKILL.md

best-practices

Skill0 starsChanged 10 days agoApache-2.0View on GitHub

This skill should be used when the user creates deployments, services, or asks about resource requests, load balancers, node placement, GPU workloads, or production readiness on CFKE.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use llm-application-dev, audit-library-health and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pepebot-spaceSkill

    llm-application-dev

    Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.

    Also in 4 projects that use this

  • MoizIbnYousafSkill

    audit-library-health

    Use when checking the overall health of a skills library. Run doctor, validate, check for stale skills, and verify generated docs are in sync.

    Also in 3 projects that use this

  • MoizIbnYousafSkill

    browse-and-evaluate

    Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.

    Also in 3 projects that use this

  • RodrigoTomeESSkill

    web-quality-audit

    Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".

    Also in 7 projects that use this

  • +8 more from MoizIbnYousaf

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 2

    Distinctive

    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
  1. Distinctive:

    Always set CPU and memory requests on ALL containers, including sidecar init containers.

    line 13
  2. Very specific:

    Always use externalTrafficPolicy: Local.

    line 23
  3. Distinctive:

    Security: No privileged containers, versioned image tags, NetworkPolicies, TLS on Ingresses

    line 39
  4. Very specific:

    GPU/ML: Use cfke.io/accelerator-name label, set nvidia.com/gpu requests

    line 40

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “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

CFKE Best Practices

Critical guidance for deploying and operating workloads on Cloudfleet Kubernetes Engine. For detailed examples and YAML snippets, see references/best-practices.md.

1. Resource Requests (CRITICAL)

Always set CPU and memory requests on ALL containers, including sidecar init containers. CFKE's auto-provisioner depends on these for node sizing and scaling.

Do NOT set CPU limits. CPU limits cause unnecessary CFS throttling. Set CPU requests for scheduling only.

CFKE ships a ValidatingAdmissionPolicy named resource-requests-are-not-set that names the containers missing requests. It only warns, so the object is still admitted and the warning is easy to lose in Helm output. Treat it as the signal it is.

Set requests in chart values before the first install of any third-party chart. Upstream charts almost always ship resources: {}.

2. Load Balancer Services (CRITICAL)

Always use externalTrafficPolicy: Local. The default 'Cluster' mode creates LBs in every cloud/region where nodes exist, causing extra costs and inefficient routing.

3. Node Placement Constraints

Without constraints, the auto-provisioner picks the cheapest node from ANY configured provider. Use CFKE node labels to control placement:

  • cfke.io/provider — cloud provider
  • topology.kubernetes.io/zone — availability zone
  • cfke.io/accelerator-name — GPU type

See references/best-practices.md for nodeSelector, affinity, and topologySpreadConstraints examples.

4. Quick Reference

  • PodDisruptionBudgets: Define PDBs for critical workloads
  • Health Checks: Configure liveness/readiness probes on all containers
  • Security: No privileged containers, versioned image tags, NetworkPolicies, TLS on Ingresses
  • GPU/ML: Use cfke.io/accelerator-name label, set nvidia.com/gpu requests
  • Container Registries: CFCR, AWS ECR, and GCP Artifact Registry work without imagePullSecrets

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.