Skip to main content
skill CX Codex

terraform-service-scaffold — Claude Code skill: how to install

Generates service-level Terraform infrastructure with AWS modules, environment configurations, and ArgoCD GitOps templates.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add c0x12c/ai-toolkit --skill terraform-service-scaffold -a claude-code
Open on GitHub

What terraform-service-scaffold does

The skill asks for the target service name, compute runtime (ECS or EKS), and supporting cloud resources such as RDS Postgres, Redis cache, S3 buckets, or SQS queues. Rather than crafting HCL from scratch, it relies on the spartan-stratos/spartan-sre-wiki repository as the primary template origin. It stamps out single-root or multiple-root layouts using templates/scaffold.sh.

When the wiki repo is unreachable, the skill uses an internal HCL blueprint as a fallback. It organizes live orchestration inside terraform/live/ with provider blocks, common tags, and remote state lookups reading shared VPC subnets from S3. Resource definitions split cleanly into separate files within terraform/modules/{service}/.

GitOps onboarding requires cloning spartan-sre-wiki beforehand to execute the monorepo scaffold and wire up ArgoCD manifests.

What it helps with

  • Scaffold service-level Terraform code for a new microservice
  • Configure AWS modules for RDS, Redis, S3, and ECR repositories
  • Link service stacks to shared VPC state via S3 remote backends
  • Generate data-driven ArgoCD manifests for EKS deployments

Example prompts for the agent

  • Generate Terraform infrastructure for a new billing service on ECS with RDS Postgres and an SQS queue.
  • Scaffold a single-root Terraform layout for an EKS service using the spartan-sre-wiki templates.
  • Create service modules for auth-api with Redis caching and an S3 bucket.

How to install terraform-service-scaffold

1Skills CLI (Vercel)

npx skills add c0x12c/ai-toolkit --skill terraform-service-scaffold -a claude-code

2Manually: put the files in place

~/.claude/skills/terraform-service-scaffold/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/terraform-service-scaffold/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about terraform-service-scaffold

How to install terraform-service-scaffold in Claude Code?

Run npx skills add c0x12c/ai-toolkit --skill terraform-service-scaffold -a claude-code. The skill file is placed in ~/.claude/skills/terraform-service-scaffold/SKILL.md.

What does terraform-service-scaffold do?

It bootstraps Terraform projects for microservices, setting up live environment state, AWS provider tags, resource modules, and GitOps pipelines.

Can the skill work without cloning the spartan-sre-wiki repository?

Yes, it contains a fallback HCL blueprint for common AWS resources when the wiki repository cannot be reached locally.

Similar skills

All skills for DevOps and infrastructure →

From the same set33

web-to-prd Inspects live web applications using Playwright, drafts PRD documents with user stories, and syncs the backlog into Notion. CX Codex +1 ★ 109repo stars testing-strategies Gives your coding agent ready test patterns for a Micronaut and Kotlin backend: integration tests, repository tests, test data builders. CX Codex +1 ★ 109repo stars terraform-security-audit Reviews Terraform files for security issues across six areas and returns a pass-or-fail report. Run it before a deployment or when reviewing a new service. CX Codex +1 ★ 109repo stars terraform-review Walks Terraform changes through an 8-category checklist and returns a verdict: Approved, Needs Changes or Blocked. Useful before merging an infrastructure PR. CX Codex +1 ★ 109repo stars terraform-module-creator Builds clean Terraform modules with separate resource files, strict variable validation, and outputs. Ideal for turning messy root configurations into shared infrastructure blocks. CX Codex +1 ★ 109repo stars terraform-best-practices This skill guides Terraform code reviews and authoring, covering file layout, modules, state, and security. Use it when shaping infrastructure configuration. CX Codex +1 ★ 109repo stars startup-pipeline Moves a startup idea through four stages: brainstorm, validation, market research and pitch materials. Gates between stages stop weak ideas early. CX Codex +1 ★ 109repo stars service-debugging A structured backend troubleshooting runbook that guides the agent from symptom gathering and log analysis to root-cause isolation. CX Codex +1 ★ 109repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor