infra-sync
Keep Terraform and CDK infrastructure in sync. Compares terraform/aws-ecs/ and infra/ to identify discrepancies in ECS services, networking, storage, secrets, IAM, and configuration. Reports parity gaps and generates fixes for the target IaC tool. Use when changes are made to either Terraform or CDK infrastructure.
npx skills add agentic-community/mcp-gateway-registry --skill infra-sync --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Infrastructure Sync Skill Use this skill when changes are made to either the Terraform (`terraform/aws-ecs/`) or CDK (`infra/`) infrastructure and the other needs to be updated to maintain parity. ## When to Use - After modifying Terraform files in `terraform/aws-ecs/` - After modifying CDK files in `infra/lib/registry/` - When asked to check if Terraform and CDK are in sync - Before deploying to verify both IaC tools produce equivalent infrastructure ## Input Modes 1. **Full Sync Check** - Compare all resources across both IaC tools 2. **Targeted Sync** - Compare a specific area (e.g., "sync ECS services" or "sync networking") 3. **Propagate Change** - User made changes to one tool and wants the other updated ## Workflow ### Step 1: Identify the Source of Truth Ask the user (or determine from context): - Which IaC tool was just modified? (Terraform or CDK) - Is this a full sync check or targeted to a specific area? ### Step 2: Read Both Configurations Read the relevant files from both Terraform and CDK based on the comparison area. #### File Mapping (Terraform to CDK) | Comparison Area | Terraform Files | CDK Files | |----------------|-----------------|-----------| | **ECS Servi
- When to Use
- Input Modes
- Workflow
- Step 1: Identify the Source of Truth
- Step 2: Read Both Configurations
- Step 3: Compare Resource by Resource
- Step 4: Generate Parity Report
- Step 5: Apply Fixes
- Comparison Details by Area
- ECS Services - Environment Variables Deep Comparison
- ECS Services - Secrets Deep Comparison
- EFS Mounts Deep Comparison
- ALB Listeners and Target Groups
- Known Intentional Differences
What does the infra-sync skill do?
Keep Terraform and CDK infrastructure in sync. Compares terraform/aws-ecs/ and infra/ to identify discrepancies in ECS services, networking, storage, secrets, IAM, and configuration. Reports parity gaps and generates fixes for the target IaC tool. Use when changes are made to either Terraform or CDK infrastructure.
How do I install it?
Run `npx skills add agentic-community/mcp-gateway-registry --skill infra-sync --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From agentic-community/mcp-gateway-registry, a repository with 845 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
