AWS Sst Development
zxkane/aws-skills
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.
Managing cloud infrastructure using declarative and imperative IaC tools.
$ npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ancoleman/ai-design-components writing-infrastructure-code --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/writing-infrastructure-code .claude/skills/writing-infrastructure-code && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "writing-infrastructure-code" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-code into .claude/skills/writing-infrastructure-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "writing-infrastructure-code", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-codeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ancoleman/ai-design-components writing-infrastructure-code --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/writing-infrastructure-code .agents/skills/writing-infrastructure-code && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "writing-infrastructure-code" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-code into .agents/skills/writing-infrastructure-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "writing-infrastructure-code", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ancoleman/ai-design-components writing-infrastructure-code --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/writing-infrastructure-code .cursor/skills/writing-infrastructure-code && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "writing-infrastructure-code" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-code into .cursor/skills/writing-infrastructure-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "writing-infrastructure-code", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ancoleman/ai-design-components.git --path skills/writing-infrastructure-code--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ancoleman/ai-design-components writing-infrastructure-code --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/writing-infrastructure-code .gemini/skills/writing-infrastructure-code && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "writing-infrastructure-code" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-code into .gemini/skills/writing-infrastructure-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "writing-infrastructure-code", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ancoleman/ai-design-components writing-infrastructure-codeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/writing-infrastructure-code .github/skills/writing-infrastructure-code && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "writing-infrastructure-code" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-code into .github/skills/writing-infrastructure-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "writing-infrastructure-code", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ancoleman/ai-design-components writing-infrastructure-code --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/writing-infrastructure-code .opencode/skills/writing-infrastructure-code && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "writing-infrastructure-code" agent skill from https://github.com/ancoleman/ai-design-components/tree/main/skills/writing-infrastructure-code into .opencode/skills/writing-infrastructure-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "writing-infrastructure-code", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
writing-infrastructure-codeManaging cloud infrastructure using declarative and imperative IaC tools.
Writing Infrastructure Code is an agent skill from ancoleman/ai-design-components. Managing cloud infrastructure using declarative and imperative IaC tools. Use when provisioning cloud resources (Terraform/OpenTofu for multi-cloud, Pulumi for developer-centric workflows, AWS CDK for AWS-native infrastructure), designing reusable modules, implementing state management patterns, or establishing infrastructure deployment workflows.
Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including scripts and reference files (for example `examples/pulumi/typescript/index.ts`, `outputs.yaml` and `references/drift-detection.md`).
It sits in DevOps & Cloud, covering Infrastructure as code. It works with Terraform, Amazon Web Services and Pulumi. The repository describes itself as: Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 76551b7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Shell and TypeScript), which the agent can run.
Shell commands in SKILL.md call:
terraformpulumiawsFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use aws, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Writing Infrastructure Code loads about 3.9k tokens when it runs, and up to ~24k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 1,331 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from ancoleman/ai-design-components at commit 76551b7, republished under its MIT licence (© ancoleman). 1,331 words, ~3,872 tokens.
.claude/skills/writing-infrastructure-code/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.Provision and manage cloud infrastructure using code-based automation tools. This skill covers tool selection, state management, module design, and operational patterns across Terraform/OpenTofu, Pulumi, and AWS CDK.
Use this skill when:
Common requests:
Key Principles:
Benefits:
Choose IaC tools based on team composition and cloud strategy:
Terraform/OpenTofu - Declarative, HCL-based
Pulumi - Imperative, programming language-based
AWS CDK - AWS-native, programming language-based
Decision Tree:
Multi-cloud required?
├─ YES → Team composition?
│ ├─ Ops/SRE focused → Terraform/OpenTofu
│ └─ Developer focused → Pulumi
└─ NO → AWS only?
├─ YES → Language preference?
│ ├─ HCL/declarative → Terraform
│ ├─ TypeScript/Python → AWS CDK
│ └─ YAML/simple → CloudFormation
└─ NO → GCP/Azure only?
└─ Terraform or PulumiRemote state with locking enables team collaboration:
Backend Selection:
| Cloud Provider | Recommended Backend | Locking Mechanism |
|---|---|---|
| AWS | S3 + DynamoDB | DynamoDB table |
| GCP | Google Cloud Storage | Native |
| Azure | Azure Blob Storage | Lease-based |
| Multi-cloud | Terraform Cloud/Enterprise | Built-in |
| Pulumi | Pulumi Service | Built-in |
State Isolation Strategies:
Directory Separation (recommended for most teams)
prod/, staging/, dev/)Workspaces
Layered Architecture
Critical State Management Rules:
sensitive = trueComposable Module Structure:
modules/
├── vpc/ # Network foundation
├── security-group/ # Reusable security group patterns
├── rds/ # Database with backups, encryption
├── ecs-cluster/ # Container orchestration base
├── ecs-service/ # Individual microservice
└── alb/ # Application load balancerModule Versioning:
version = "5.1.0")Module Design Principles:
When to Create a Module:
When to Keep Monolithic:
# Initialize providers and backend
terraform init
# Plan changes (preview)
terraform plan
# Apply changes
terraform apply
# Destroy infrastructure
terraform destroy
# Format HCL files
terraform fmt
# Validate syntax
terraform validate
# Show state
terraform state list
terraform state show <resource>
# Import existing resources
terraform import <resource.name> <id>
# Workspace management
terraform workspace list
terraform workspace new staging
terraform workspace select prod# Initialize new project
pulumi new aws-typescript
# Preview changes
pulumi preview
# Apply changes
pulumi up
# Destroy infrastructure
pulumi destroy
# Show stack outputs
pulumi stack output
# Manage stacks
pulumi stack ls
pulumi stack select prod
# Import existing resources
pulumi import <type> <name> <id>
# Export/import state
pulumi stack export > state.json
pulumi stack import < state.json# Initialize new app
cdk init app --language typescript
# Synthesize CloudFormation
cdk synth
# Preview changes
cdk diff
# Deploy stack
cdk deploy
# Destroy stack
cdk destroy
# Bootstrap account/region
cdk bootstrap
# List stacks
cdk listInfrastructure Provisioning:
Module Development:
Operational Readiness:
For comprehensive patterns and implementation details:
Tool-Specific Patterns:
references/terraform-patterns.md - Terraform/OpenTofu best practices, HCL patternsreferences/pulumi-patterns.md - Pulumi across TypeScript/Python/GoArchitecture and Design:
references/state-management.md - Remote state, locking, isolation strategiesreferences/module-design.md - Composable modules, versioning, registriesOperations:
references/drift-detection.md - Detecting and remediating infrastructure driftPractical implementations demonstrating IaC patterns:
Terraform Examples:
examples/terraform/vpc-module/ - Multi-AZ VPC with public/private subnetsexamples/terraform/ecs-service/ - ECS service with ALB, autoscalingexamples/terraform/rds-cluster/ - Aurora cluster with backups, encryptionexamples/terraform/state-backend/ - S3 + DynamoDB backend setupPulumi Examples:
examples/pulumi/typescript/vpc/ - TypeScript VPC componentexamples/pulumi/python/ecs-service/ - Python ECS serviceexamples/pulumi/go/rds-cluster/ - Go RDS clusterexamples/pulumi/testing/ - Unit tests for Pulumi programsAWS CDK Examples:
examples/cdk/typescript/vpc-stack/ - VPC using L2 constructsexamples/cdk/typescript/ecs-fargate/ - Fargate service with ALBexamples/cdk/typescript/pipeline-stack/ - Self-mutating CDK pipelineexamples/cdk/testing/ - CDK assertions and snapshot testsAutomated validation and operational tools:
scripts/validate-terraform.sh - Terraform fmt, validate, tflintscripts/cost-estimate.sh - Infracost wrapper for cost analysisscripts/drift-check.sh - Scheduled drift detectionscripts/security-scan.sh - Checkov/tfsec security scanningscripts/state-backup.sh - State file backup automationscripts/module-release.sh - Module versioning and publishingDeployment Pipeline:
building-ci-pipelines - Automate terraform plan/apply in CI/CDgitops-workflows - GitOps-based infrastructure deploymentPlatform Engineering:
kubernetes-operations - Provision EKS, GKE, AKS clustersplatform-engineering - Internal developer platform infrastructureSecurity:
secret-management - Provision Vault, External Secrets Operatorsecurity-hardening - Implement infrastructure security controlscompliance-frameworks - Policy-as-code for complianceOperations:
observability - Provision monitoring infrastructure (Prometheus, Grafana)disaster-recovery - Infrastructure rebuild procedurescost-optimization - Implement cost controls via IaCData Platform:
data-architecture - Provision data lakes, warehousesstreaming-data - Provision Kafka, Kinesis infrastructureDevelopment Workflow:
terraform plan / pulumi preview locallyState Management:
Module Development:
examples/ directorySecurity:
sensitive = trueCost Management:
Operational Excellence:
State File Issues:
Module Design:
Operations:
Security:
State Lock Issues:
terraform force-unlock <lock-id> # Use only if certain no other process runningImport Existing Resources:
terraform import aws_vpc.main vpc-12345678
pulumi import aws:ec2/vpc:Vpc main vpc-12345678Drift Detection:
terraform plan -detailed-exitcode # Exit 2 = drift detected
pulumi preview --diffFor detailed drift remediation, see references/drift-detection.md.
State Recovery:
# Terraform: Restore from S3 versioning
aws s3 cp s3://bucket/backup/terraform.tfstate terraform.tfstate
# Pulumi: Restore from checkpoint
pulumi stack export --version <timestamp> | pulumi stack importFor cloud-specific implementations:
aws-patterns - AWS-specific resource patternsgcp-patterns - GCP-specific resource patternsazure-patterns - Azure-specific resource patternsFor infrastructure operations:
kubernetes-operations - Manage Kubernetes clusters provisioned via IaCgitops-workflows - GitOps-based infrastructure deploymentplatform-engineering - Internal developer platformsFor security and compliance:
security-hardening - Infrastructure security controlssecret-management - Secret injection and rotationcompliance-frameworks - Policy-as-code for complianceFor deployment automation:
building-ci-pipelines - CI/CD for infrastructure codedeploying-applications - Application deployment to provisioned infrastructureFor cost and observability:
cost-optimization - FinOps practices for infrastructureobservability - Monitoring infrastructure health© ancoleman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (scripts, references) in skills/writing-infrastructure-code of ancoleman/ai-design-components.
Open the folder on GitHubat commit 76551b7
Writing Infrastructure Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Writing Infrastructure Code this skillancoleman/ai-design-components | 526 | — | ~3.9k | Automated safety check: Pass | MIT | |
| AWS Sst Developmentzxkane/aws-skills | 367 | — | ~2.7k | Automated safety check: Warn | MIT | |
| Infrastructure As Codeseb1n/awesome-ai-agent-skills | 206 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit | 259 | 6 repos | ~1.1k | Automated safety check: Notes | Custom licence | |
| Cloudflarehodgef/apiker | 127 | 7 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Terravision Cloud Diagramspatrickchugh/terravision | 1.6k | — | ~5.6k | Automated safety check: Notes | AGPL-3.0-only |
zxkane/aws-skills
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.
seb1n/awesome-ai-agent-skills
Define, deploy, and manage cloud infrastructure as code using tools like Terraform, Pulumi, CloudFormation, and CDK, ensuring consistency, repeatability, and version control.
maslennikov-ig/claude-code-orchestrator-kit
Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…
hodgef/apiker
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…
patrickchugh/terravision
Draw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision.
dmmulroy/cloudflare-skill
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and…
ancoleman/ai-design-components
Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support.
ancoleman/ai-design-components
Builds form components and data collection interfaces including contact forms, registration flows, checkout processes, surveys, and settings pages.
ancoleman/ai-design-components
Builds tables and data grids for displaying tabular information, from simple HTML tables to complex enterprise data grids.
ancoleman/ai-design-components
Creates comprehensive dashboard and analytics interfaces that combine data visualization, KPI cards, real-time updates, and interactive layouts.
ancoleman/ai-design-components
Designs layout systems and responsive interfaces including grid systems, flexbox patterns, sidebar layouts, and responsive breakpoints.
ancoleman/ai-design-components
Displays chronological events and activity through timelines, activity feeds, Gantt charts, and calendar interfaces.
Works with
Categories
Managing cloud infrastructure using declarative and imperative IaC tools. Writing Infrastructure Code is an agent skill from ancoleman/ai-design-components. Managing cloud infrastructure using declarative and imperative IaC tools.
Writing Infrastructure Code fits situations like: provisioning cloud resources (Terraform/OpenTofu for multi-cloud; pulumi for developer-centric workflows; AWS CDK for AWS-native infrastructure); designing reusable modules.
Run `npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a claude-code`. Or copy the skill folder (skills/writing-infrastructure-code in ancoleman/ai-design-components) into .claude/skills/writing-infrastructure-code in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a codex`. Or copy the skill folder (skills/writing-infrastructure-code in ancoleman/ai-design-components) into .agents/skills/writing-infrastructure-code in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ancoleman/ai-design-components --skill writing-infrastructure-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/writing-infrastructure-code, .gemini/skills/writing-infrastructure-code, .github/skills/writing-infrastructure-code and .opencode/skills/writing-infrastructure-code in your project.
Going by SKILL.md and its folder, Writing Infrastructure Code needs a shell and TypeScript for the scripts in its folder and the command-line tools its instructions call (terraform, pulumi and aws). Our summary lists: Python 3; Node.js; A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Writing Infrastructure Code is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.9k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Writing Infrastructure Code: AWS Sst Development (zxkane/aws-skills, 367 stars), Infrastructure As Code (seb1n/awesome-ai-agent-skills, 206 stars), Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 259 stars) and Cloudflare (hodgef/apiker, 127 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ancoleman (a GitHub user) maintains it in ancoleman/ai-design-components, which has 526 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on December 11, 2025.
Source: ancoleman/ai-design-components on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.