Skip to main content

← All sources

HashiCorp skills

Terraform code generation, module creation, provider development, Packer builders skills-hub.ai mirrors 20 skills from HashiCorp daily, every skill links back to its upstream GitHub source. Install with one command across Claude Code, Cursor, Codex, Windsurf, and any MCP-compatible tool.

Upstream: github.com/hashicorp/agent-skills

Installing a HashiCorp skill

Pick a skill below, then run the install command for your AI coding tool. The skills-hub CLI writes the SKILL.md to the right directory and tracks the install in .skills.json so your team gets reproducible installs.

# Install a HashiCorp skill
npx @skills-hub-ai/cli install <skill-slug>

# Browse all HashiCorp skills via API
curl https://skills-hub.ai/api/v1/skills?source=hashicorp

# Browse all sources
open https://skills-hub.ai/sources

Top HashiCorp skills

See all →

The most-installed skills from HashiCorp, ranked by adoption.

  1. 01new-terraform-provider

    1 installs

    Use this when scaffolding a new Terraform provider with the Plugin Framework: workspace layout, go module setup, provider server main.go, and a provider.go with schema and Configure. Also use when a user wants to start building a provider for a new API or asks how to begin a terraform-provider-* project.

    Buildfrom HashiCorp
  2. 02terraform-style-guide

    1 installs

    Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.

    Buildfrom HashiCorp
  3. 03terraform-stacks

    1 installs

    Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.

    Buildfrom HashiCorp
  4. 04windows-builder

    Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.

    Buildfrom HashiCorp
  5. 05provider-test-patterns

    Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheckFunc, CheckDestroy, ExpectError, import state verification, ephemeral resources, or how to structure test files.

    Buildfrom HashiCorp
  6. 06terraform-search-import

    Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

    Buildfrom HashiCorp
  7. 07terraform-test

    Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.

    Buildfrom HashiCorp
  8. 08provider-docs

    Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when adding or changing provider configuration, resources, data sources, ephemeral resources, list resources, functions, actions, or guides; when validating generated docs; and when troubleshooting missing or incorrect Registry documentation.

    Buildfrom HashiCorp
  9. 09run-acceptance-tests

    Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`, when a test fails with missing environment variables, or when diagnosing a failing or suspiciously passing acceptance test.

    Buildfrom HashiCorp
  10. 10push-to-registry

    Push Packer build metadata to HCP Packer registry for tracking and managing image lifecycle. Use when integrating Packer builds with HCP Packer for version control and governance.

    Buildfrom HashiCorp
  11. 11aws-ami-builder

    Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder. Use when creating custom AMIs for EC2 instances.

    Buildfrom HashiCorp
  12. 12provider-actions

    Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).

    Buildfrom HashiCorp
  13. 13terraform-policy

    Write, test, or convert Terraform Policy files (.policy.hcl, .policytest.hcl, Sentinel→tfpolicy). Triggers: policy.hcl, policytest, convert sentinel, tfpolicy, write a policy.

    Buildfrom HashiCorp
  14. 14provider-framework-migration

    Migrate Terraform provider resources and data sources from Plugin SDKv2 to the Plugin Framework: muxing both plugins in one provider (terraform-plugin-mux, tf5to6server), per-resource migration workflow, SDKv2-to-Framework schema mapping (ForceNew, ValidateFunc, DiffSuppressFunc, Default, Timeouts, blocks), null-vs-zero-value behavioral traps, and state-compatibility verification. Use when converting or translating SDKv2 resources to the Framework, setting up a muxed provider server, deciding whether a resource should be migrated at all, or debugging plan diffs and state errors that appeared after a migration.

    Buildfrom HashiCorp
  15. 15provider-configuration

    Implement Terraform provider configuration and authentication with the Plugin Framework: provider schema for credentials (Optional + Sensitive attributes), environment variable fallbacks, credential provider chains (static config, then environment variables, shared credentials file, and platform identity), unknown-value guards in Configure(), secret redaction, configure-time credential validation, and diagnostics that name every source tried. Use when implementing or reviewing a provider's Configure method or provider schema, adding authentication options (API keys, tokens, profiles, credentials files, assume-role), deciding how a provider should resolve credentials, debugging "no valid credential sources" or missing-credentials errors, or unit testing credential resolution.

    Buildfrom HashiCorp
  16. 16azure-image-builder

    Build Azure managed images and Azure Compute Gallery images with Packer. Use when creating custom images for Azure VMs.

    Buildfrom HashiCorp
  17. 17azure-verified-modules

    Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.

    Buildfrom HashiCorp
  18. 18provider-ephemeral-resources

    Implement Terraform provider ephemeral resources with the Plugin Framework: the Open/Renew/Close lifecycle, ephemeral schema design, registration via EphemeralResources, renewal for expiring credentials, and how ephemeral values flow into write-only attributes and provider configuration. Use when adding an ephemeral resource, exposing secrets/tokens/certificates that must never persist in state or plan, deciding between an ephemeral resource and a data source, or wiring short-lived credentials from one provider into another.

    Buildfrom HashiCorp
  19. 19provider-resources

    Implement Terraform Provider resources and data sources using the Plugin Framework: CRUD operations, schema design, plan modifiers and validators, not-found handling, waiters for eventually consistent APIs, import support, resource design principles, and required acceptance test coverage. Use when adding or changing a resource or data source, deciding whether an API concept should be a resource, wiring a resource to the provider's configured client, handling drift or resource-not-found, or reviewing a resource implementation before submission.

    Buildfrom HashiCorp
  20. 20refactor-module

    Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.

    Buildfrom HashiCorp

About this source

skills-hub.ai mirrors skills from 90+ official GitHub repositories every day. Each imported skill is parsed from a SKILL.md file in the source repo, gets a security scan and quality score on import, and links back to its upstream source of truth.

Last sync: Sep 13, 2026, 4:32 PM (success).

HashiCorp skills, frequently asked

What are HashiCorp skills?

HashiCorp skills are AI coding skills published by HashiCorp (Terraform code generation, module creation, provider development, Packer builders) and mirrored daily on skills-hub.ai. They are SKILL.md files that follow the open Agent Skills standard, so they work in Claude Code, Cursor, Codex CLI, Windsurf, Copilot, and any MCP-compatible tool.

How many HashiCorp skills are available?

skills-hub.ai indexes 20 skills from HashiCorp, synced daily from the upstream GitHub repository (https://github.com/hashicorp/agent-skills).

How do I install a HashiCorp skill?

Run `npx @skills-hub-ai/cli install <skill-slug>` in your project. The CLI writes the SKILL.md to the right directory for your AI tool and adds it to your `.skills.json` lockfile so your team gets the same skills at the same versions.

Are these official HashiCorp skills?

Yes. Every skill from this source is mirrored from HashiCorp's own GitHub repository (https://github.com/hashicorp/agent-skills). Each skill page links back to the upstream source of truth, so you can verify the original.