Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

first-plan-lens-terraform

Skill by vynazevedo

Adds a Terraform and infrastructure-as-code lens to the first-plan Discovery phase. It covers module layout, state backends, environments, providers, and naming and tagging. Intended for projects that contain Terraform, OpenTofu, or similar IaC files.

  • Score 50
  • 24 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install first-plan-lens-terraform

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vynazevedo/first-plan /tmp/first-plan && mkdir -p ~/.claude/skills && cp -r /tmp/first-plan/skills/lens-terraform ~/.claude/skills/first-plan-lens-terraform

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install first-plan-lens-terraform in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

first-plan-lens-terraform is a stack lens for Terraform and similar infrastructure-as-code tools such as OpenTofu and Pulumi. It is meant to run during the Discovery step of first-plan when files like *.tf, *.tofu, Pulumi.yaml, cdk.json, or serverless.yml are detected.

The lens gives the assistant a checklist to inspect the repository. It looks at the root module, the modules directory, environment separation, providers, state backend, version pinning, naming and tagging, variables and outputs, security patterns, CI/CD, and testing. Findings are written to files under a .first-plan/ directory, and confidence rules raise or lower the rating based on consistency and pinning. It is aimed at engineers who want an assistant to map and review an existing IaC codebase.

Written from the project's SKILL.md and checked against it.

What it can do

  • Stack detectionIdentifies IaC files such as *.tf, *.tofu, Pulumi.yaml, cdk.json, and serverless.yml.
  • Module and environment reviewChecks the root module, reusable modules, and per-environment layout.
  • State backend checkLooks at the backend type, locking, and whether local state is used for prod.
  • Version pinning checkChecks Terraform, provider, and tool version pinning.
  • Naming and tagging reviewReviews resource naming and required tags such as Environment, Project, Owner, CostCenter.
  • Security pattern reviewLooks for hardcoded secrets, secret manager use, IAM least privilege, and encryption at rest.
  • CI/CD and testing reviewChecks plan-on-PR setups and tools such as tflint, tfsec, checkov, and terratest.
  • Anti-pattern flagsFlags committed tfstate files, untagged resources, and null_resource with local-exec.

What you need

  • A project containing *.tf, *.tofu, Pulumi.yaml, cdk.json, or serverless.yml files
  • The first-plan Discovery workflow

Try asking

  • Review the Terraform modules in this repo and map their dependencies.
  • Check our Terraform state backend and version pinning for risks.
  • Audit our Terraform naming and tagging conventions and list gaps.

Good to know

  • Version 0.1.0.
  • Pulumi is listed as an alternative, but the lens is written for Terraform.
  • Detection is based on file patterns and the listed checks.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/lens-terraform/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to first-plan-lens-terraform

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

first-plan-lens-terraform: common questions

Which IaC tools does this lens cover?

The source says it covers Terraform and similar IaC such as OpenTofu and Pulumi, and also detects cdk.json and serverless.yml files.

When does the lens run?

The description says it is used during Discovery when *.tf files are detected.

Where does the output go?

The source says results are written to files under a .first-plan/ directory, grouped into topology, conventions, and reuse categories.

How do I install first-plan-lens-terraform?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is first-plan-lens-terraform free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is first-plan-lens-terraform safe to use?

It scores 50 of 100. Grades: maintenance A, licence A, quality C. 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 first-plan-lens-terraform?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

first-plan-lens-terraform Install

Add to stack

Loading.