infrastructure
Skill8 starsChanged 19 days agoMITView on GitHub
Terraform, Kubernetes, and Helm conventions. Use when editing infrastructure modules, manifests, charts, or deployment config.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- BermanRoman/promt-seo-geotheir own version, first seen Nov 8, 2026
- xiaoyangtx996/Searching-skilltheir own version, first seen Nov 8, 2026
- theopenco/llmgatewaytheir own version, first seen Nov 6, 2026
- microsoft/physical-ai-toolchaintheir own version, first seen Oct 29, 2026
- grafana/skillstheir own version, first seen Oct 27, 2026
- rcelebrone/DotAgentstheir own version, first seen Oct 14, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- theopenco/llmgateway★ 1.7ksame name
- grafana/skills★ 302same name
- microsoft/physical-ai-toolchain★ 138same name
- rcelebrone/DotAgents★ 15same name
- Kur1sulab/blackbox★ 3same name
- ieuanign/skills★ 2same name
- cwklurks/ship-score★ 1same name
- manastalukdar/ai-devstudio★ 1same name
- mgoericke/claude-skills-devcontainer★ 1same name
- xiaoyangtx996/Searching-skill★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- home/CLAUDE.mdCLAUDE.md
- run-claude-code-configSkill
- adrSkill
- api-designSkill
- commitSkill
- django-patternsSkill
- docker-patternsSkill
- eow-reviewSkill
- git-workflowSkill
- hotfixSkill
- laterSkill
- mkdocs-styleSkill
- project-setupSkill
- prSkill
- refinementSkill
- security-patternsSkill
- standupSkill
- statusSkill
- testing-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 7 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use a standard layout: main.tf, variables.tf, outputs.tf, versions.tf
- Distinctive: line 14
Keep modules focused -- one resource group per module
- Very specific: line 15
Use terraform-docs to auto-generate module documentation
- Distinctive: line 19
Always use remote state (S3, GCS, or Terraform Cloud)
- Distinctive: line 21
Use separate state files per environment
- Very specific: line 22
Never commit .tfstate files to version control
- Very specific: line 23
Use terraform import for existing resources, never recreate
- Very specific: line 28
Use terraform fmt and terraform validate in CI
- Very specific: line 29
Run terraform plan in CI, apply only from CD pipeline
- Very specific: line 31
Use data sources to reference existing infrastructure
- Very specific: line 32
Use locals for computed values, variables for inputs
- Very specific: line 38
Always set requests and limits for CPU and memory
- Distinctive: line 40
Start conservative and tune based on metrics
- Very specific: line 41
Use LimitRange and ResourceQuota for namespace defaults
- Distinctive: line 48
Use HTTP probes for web services, TCP for databases, exec for custom checks
- Very specific: line 53
Use Deployment for stateless, StatefulSet for stateful workloads
- Very specific: line 55
Use ConfigMap for config, Secret for sensitive data
- Distinctive: line 57
Use namespaces to isolate environments and teams
- Very specific: line 63
Use values.yaml for defaults, override per environment
- Distinctive: line 68
Use subcharts for shared infrastructure (databases, caches)
“Common” is measured: kept by at least 6 in 10 of the 8 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.
Files
Infrastructure Patterns
Terraform
Module Structure
- Use a standard layout:
main.tf,variables.tf,outputs.tf,versions.tf - Extract reusable patterns into modules under
modules/ - Keep modules focused -- one resource group per module
- Use
terraform-docsto auto-generate module documentation
State Management
- Always use remote state (S3, GCS, or Terraform Cloud)
- Enable state locking (DynamoDB for S3 backend)
- Use separate state files per environment
- Never commit
.tfstatefiles to version control - Use
terraform importfor existing resources, never recreate
Best Practices
- Pin provider versions in
versions.tf - Use
terraform fmtandterraform validatein CI - Run
terraform planin CI, apply only from CD pipeline - Tag all resources with
environment,team, andmanaged_by - Use
datasources to reference existing infrastructure - Use
localsfor computed values,variablesfor inputs
Kubernetes
Resource Limits
- Always set
requestsandlimitsfor CPU and memory requests= guaranteed minimum,limits= hard ceiling- Start conservative and tune based on metrics
- Use
LimitRangeandResourceQuotafor namespace defaults
Probes
livenessProbe: restart if unhealthy (checks process is alive)readinessProbe: remove from service if not ready (checks dependencies)startupProbe: allow slow-starting containers before liveness kicks in- Use HTTP probes for web services, TCP for databases, exec for custom checks
- Set
initialDelaySecondsbased on actual startup time
Best Practices
- Use
Deploymentfor stateless,StatefulSetfor stateful workloads - Define
PodDisruptionBudgetfor high-availability services - Use
ConfigMapfor config,Secretfor sensitive data - Set
imagePullPolicy: IfNotPresentand use specific image tags - Use namespaces to isolate environments and teams
Helm
Chart Best Practices
- Use
values.yamlfor defaults, override per environment - Template helpers go in
_helpers.tpl - Include
NOTES.txtfor post-install instructions - Use
helm lintandhelm templatein CI - Pin chart versions in
Chart.lock - Use subcharts for shared infrastructure (databases, caches)
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.

