infra-sync
Skill by agentic-community
Compares Terraform and CDK infrastructure in the mcp-gateway-registry layout and reports parity gaps. Generates fixes for the tool that needs updating. Aimed at engineers who maintain both.
Install infra-sync
Built from the published package, never by AI.
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry /tmp/mcp-gateway-registry && mkdir -p ~/.claude/skills && cp -r /tmp/mcp-gateway-registry/.claude/skills/infra-sync ~/.claude/skills/infra-syncRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry /tmp/mcp-gateway-registry && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mcp-gateway-registry/.claude/skills/infra-sync ~/.gemini/antigravity-cli/skills/infra-syncAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Infra-sync keeps Terraform and CDK infrastructure in sync. It compares the Terraform files in terraform/aws-ecs/ with the CDK files in infra/ and checks areas such as ECS services, networking, storage, secrets, IAM, observability and configuration. The skill maps each Terraform file to its CDK counterpart and works through a checklist for each area.
The skill produces a parity report with a summary table, discrepancies and recommendations. It also lists known intentional differences that should not be synced. When asked, it applies fixes to the target tool and runs checks such as npx tsc --noEmit for CDK and terraform validate for Terraform. It is aimed at engineers who change either tool for this stack and want both to match.
Written from the project's SKILL.md and checked against it.
What it can do
- Full sync checkCompares all resources across the Terraform and CDK configurations.
- Targeted syncCompares one area, such as ECS services or networking.
- Propagate changeUpdates the other IaC tool after a change is made to one of them.
- Parity reportProduces a summary table, discrepancies, intentional differences and recommendations.
- Fix generationEdits the target Terraform or CDK files to bring them in line when asked.
- Intentional differences listKeeps known by-design differences, such as the circuit breaker, out of sync warnings.
What you need
- Repository with terraform/aws-ecs/ and infra/ directories
- Terraform CLI for terraform validate and terraform fmt
- Node.js and npx for the CDK TypeScript compile check
Try asking
- Check whether the Terraform and CDK infrastructure are in sync
- Sync the ECS services between Terraform and CDK
- Propagate my Terraform networking change to the CDK stack
Good to know
- File paths and checks are written for the mcp-gateway-registry repository layout
- Fixes are applied only when the user asks for them
- Intentional differences listed in the skill are not meant to be synced
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/infra-sync/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to infra-sync
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
infra-sync: common questions
What does infra-sync compare?
It compares ECS services, networking, storage, secrets, IAM, Keycloak, observability, CloudFront and WAF, secret rotation, CI/CD and configuration between Terraform and CDK.
Does infra-sync change files automatically?
It makes edits to bring the target tool in sync only when the user wants fixes applied. Otherwise it reports the gaps.
Which checks run after a fix?
For CDK it runs npx tsc --noEmit. For Terraform it runs terraform validate if available, and the tips also mention terraform fmt.
How do I install infra-sync?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is infra-sync free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is infra-sync safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to infra-sync?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
