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.

1,052 stars 263 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add agentic-community/mcp-gateway-registry --skill infra-sync
Manual install
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry.git /tmp/mcp-gateway-registry
mkdir -p ~/.claude/skills
cp -r /tmp/mcp-gateway-registry/.claude/skills/infra-sync ~/.claude/skills/infra-sync

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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 Services** | `terraform/aws-ecs/modules/mcp-gateway/ecs-services.tf` | `infra/lib/registry/registry-service-stack.ts` |
Read the full skill on GitHub

Details

Skill name
infra-sync
Path
.claude/skills/infra-sync/SKILL.md
License
Apache-2.0
Repo updated
18 November 2026

FAQ

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 the Infra Sync skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add agentic-community/mcp-gateway-registry --skill infra-sync. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Infra Sync popular?

It lives in agentic-community/mcp-gateway-registry, which has 1,052 GitHub stars and 263 forks.

Related skills

Agentcore Register

1.1k

agentic-community/mcp-gateway-registry

Given an MCP server URL, probe the server via curl to discover its metadata and tools, then generate a markdown file with copy-pasteable content for each field in the Amazon Bedrock AgentCore "Create record" form.

AI, LLMs & Agents263

Benchmark Report

1.1k

agentic-community/mcp-gateway-registry

Generate a benchmark report from stress test results (registration, API performance, search concurrency). Reads JSON result files and produces a markdown report suitable for docs/benchmarks/.

Testing & QA263

Create Milestone

1.1k

agentic-community/mcp-gateway-registry

Create a GitHub milestone for an upcoming release. Suggests the next version based on the latest release, gathers all merged PRs and closed issues since that release, presents a draft with two tables (Issues and PRs) for user approval, then creates the milestone and assigns all approved items.

Git & Code Review263

Terraform Setup

1.1k

agentic-community/mcp-gateway-registry

Install (deploy) MCP Gateway & Registry on AWS using the Terraform aws-ecs stack (ECS Fargate, Aurora, DocumentDB, Keycloak). Asks whether you are running from an EC2 instance or a local laptop, confirms the required AWS IAM permissions are in place, clones the repository, bootstraps the toolchain (uv, AWS CLI, Terraform), configures terraform.tfvars, runs the two-stage terraform apply, and completes post-deployment setup. Does NOT create IAM roles itself — it tells you the permissions you need and offers to guide you through setting them up.

DevOps & Cloud263

Docker Patterns

2k

xu-xiang/everything-claude-code-zh

用于本地开发的Docker和Docker Compose模式,包括容器安全、网络、卷策略和多服务编排。

DevOps & Cloud332

Usage Report

1.1k

agentic-community/mcp-gateway-registry

Generate a usage report for MCP Gateway Registry by SSHing into the telemetry bastion host, exporting telemetry data from DocumentDB, and producing a formatted markdown report with deployment insights.

DevOps & Cloud263

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.