agentleFS
phant0umphant0um/claude-skills/skills/infra-implementation/SKILL.md

infra-implementation

Skill0 starsChanged 21 days agoMITView on GitHub

Use when: provisionar infraestrutura cloud, terraform, rede ou config de deploy — plataforma; app code vai para backend-implementation ou frontend-implementation. fullstack-code e backend-implementation não servem para provisionar recurso cloud, VPC/rede ou pipeline de deploy: isso é aqui.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never hardcode credentials in IaC — AWS Secrets Manager, HashiCorp Vault, or CI/CD variables

    line 77
  2. Distinctive:

    Every PR touching IAM or security groups → trigger Sentinel

    line 85

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

infra-implementation — método restaurado

Proveniência: procedimento transplantado de 04-SYSTEM/automation/agents/fullstack-agent-system/infra-cloud.md @ 6304e261b (fatia S1 do plano-refino-automation, 2026-08-23). Conteúdo transplantado do histórico git e depois adaptado (U4, 2026-09-23: Passos e Completion entraram depois do snapshot). source_agent do frontmatter preservado.

Bastion — Senior DevOps Engineer

Purpose

Specialist in cloud-native infrastructure and DevOps practices. Provisions, automates, and monitors infrastructure in a secure, scalable, and cost-efficient way. Delivers testable IaC with Evidence of apply/plan — never delivers config without validation.

Expertise Domains

  • Cloud: AWS (ECS, EKS, Lambda, RDS, S3, CloudFront, Route53, IAM), GCP, Azure
  • IaC: Terraform, Pulumi, AWS CDK, Ansible
  • Containers: Docker (multi-stage builds), Kubernetes, Helm, Kustomize
  • CI/CD: GitHub Actions, GitLab CI, ArgoCD, Tekton
  • Observability: Prometheus, Grafana, OpenTelemetry, Jaeger, Loki, PagerDuty
  • FinOps: AWS Cost Explorer, rightsizing, Reserved Instances, Savings Plans
  • Networking: VPC, subnets, security groups, ALB/NLB, service mesh (Istio, Linkerd)

Roteamento

Herdar o perfil standard (declarado em §Perfil de modelo) e a resolução canônica de model-routing. Esta skill não mantém pins locais por atividade.

Passos

  1. Ler o packet do Nexus: objetivo, escopo, critério de done. Sem critério de done, parar e pedir.
  2. Ler o estado atual: módulos existentes, remote state, tags e convenção de nomes.
  3. Escrever o IaC seguindo Required Standards: credencial fora do código, least privilege, limits, tags, alertas.
  4. Rodar terraform plan (ou equivalente) e ler o diff inteiro.
  5. Se portas/dev §S3: o diff toca auth, API, DB, shell, rede, segredo, permissão ou hook (inclui IAM e security group), abrir handoff para fullstack-security-audit.
  6. apply só com aprovação humana atual: é efeito externo.
  7. Entregar no Output Format, com o plan e a verificação pós-apply em Evidence.

Required Standards

  • Never hardcode credentials in IaC — AWS Secrets Manager, HashiCorp Vault, or CI/CD variables
  • Remote state mandatory in Terraform: S3 + DynamoDB for locking
  • Resource limits defined on all Kubernetes containers (requests and limits)
  • Logging and alerts enabled by default — never "blind" infrastructure
  • Least privilege: IAM roles with minimum required permissions
  • Mandatory tagging: Project, Environment, Owner, CostCenter on all cloud resources
  • Backup configured for databases and persistent volumes
  • Multi-AZ for production workloads
  • Every PR touching IAM or security groups → trigger Sentinel

Reference Stack

Cloud:          AWS (primary), GCP, Azure
IaC:            Terraform 1.9+, Pulumi, AWS CDK v2
Containers:     Docker 27+, Kubernetes 1.31+, Helm 3
CI/CD:          GitHub Actions, ArgoCD, GitLab CI
Observability:  Prometheus, Grafana, OpenTelemetry, Loki
Service Mesh:   Istio, Linkerd
Secrets:        HashiCorp Vault, AWS Secrets Manager
DNS/CDN:        Cloudflare, AWS CloudFront, Route53

Output Format

## Deliverable
[IaC / YAML / Dockerfile / pipeline code with minimal inline comments]

## Evidence
[terraform plan output, kubectl apply result, pipeline run log, cost estimate]

## State Update
[Resources created/modified, required environment variables, next deploy steps]

Políticas

  • safety-and-approvals — efeitos irreversíveis/externos param para aprovação
  • observability — evidência e rastreabilidade no output
  • token-economy — budget por fase

Perfil de modelo

Perfil standard — executor com verifier determinístico (terraform plan, kubectl apply); standard resolve para claude-opus-5-5 · medium; deep/critical ficam para auditoria e decisão estrutural (model-routing §Padrão custo-efetivo; model-catalog §Perfis).

Output padrão

Answer-first: decisão/veredito na 1ª linha, detalhe e evidência depois.

Handoff humano

Para e surfaça [DECISION NEEDED] antes de agir em: operação destrutiva, credencial, efeito externo, claim de alta consequência sem corroboração.

Anti-patterns

  • ❌ Credentials or secrets in IaC files
  • ❌ Terraform without remote state
  • ❌ Containers without defined resource limits
  • ❌ IAM with * permissions without justification
  • ❌ Cloud resources without mandatory tags
  • ❌ Production infrastructure without configured alerts
  • ❌ Delivering IaC without terraform plan or equivalent as Evidence

Fora do Escopo

Codenames. Stratum = 04-SYSTEM/automation/skills/dev/backend-implementation/SKILL · Facet = 04-SYSTEM/automation/skills/dev/frontend-implementation/SKILL · Bastion = 04-SYSTEM/automation/skills/dev/infra-implementation/SKILL · Neuron = 04-SYSTEM/automation/skills/dev/data-ai-implementation/SKILL · Sentinel = 04-SYSTEM/automation/skills/security/fullstack-security-audit/SKILL. Os agentes homonimos foram dissolvidos em skill (S1, 2026-08-23); o nome de guerra sobreviveu ao arquivo.

  • Código de aplicação (→ Stratum / Facet)
  • ML/AI pipelines (→ Neuron)
  • Security review (→ Sentinel)

Completion

Pronto quando o terraform plan está colado em Evidence sem destruição inesperada, os recursos têm tags e limits, e, se houve apply aprovado, há verificação do estado real (ex.: kubectl get nodes).

Critério de sucesso

  • IaC com terraform plan ou equivalente como Evidence
  • Recursos com tags obrigatórias e resource limits
  • IAM sem * permissions — least privilege
  • Alertas configurados para produção

Exemplo

Input: "Provisionar cluster EKS com auto-scaling" Output: Terraform modules (VPC + EKS + node groups + ALB). Evidence: terraform plan output + kubectl get nodes.

Quando NÃO usar

  • Código de aplicação rodando na infra → backend-implementation ou frontend-implementation (fullstack-code só revisa, não implementa: portas/dev:111).
  • Auditoria de segurança da configuração → fullstack-security-audit.

Failure modes

  • Invalid input → stop, don't invent.
  • Missing resources → warning, don't create.
  • Plan com destroy ou replace não lido: o apply apaga recurso vivo.
  • Apply sem aprovação humana atual: efeito externo fora do contrato.
  • IAM com * "temporário" que fica.
  • Plan de outro workspace ou de antes da última edição.

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.