Skip to content
SkillCheatSheet Sign in

terraform-policy

An AI agent skill from hashicorp/agent-skills, scored 61 out of 100 by code.

61/ 100C

Code score by group

  • Spec20/20
  • Description10/20
  • Procedure5/15
  • Done criteria4/15
  • Resources8/10
  • Scripts2/8
  • Safety7/7
  • Upkeep5/5

It loses the most points in Done criteria (11), the group that checks whether there is a checklist and a step that verifies the work.

What the author says it does

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

This is the description in the skill's own SKILL.md, written by its author, not by SkillCheatSheet.

Repository
hashicorp/agent-skills
Folder
plugins/terraform/skills/terraform-policy
License
MPL-2.0
GitHub stars
926
SKILL.md lines
54
Other files
54

Add terraform-policy to your agent

npx skills add hashicorp/agent-skills --skill terraform-policy

The command uses the open skills CLI. A skill is instructions and scripts your agent will follow, so read it first: open the folder on GitHub at the commit that was scored.

More skills from hashicorp/agent-skills

  1. provider-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-reso…

    Verified85A
  2. terraform-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…

    78B
  3. provider-configuration

    Implement Terraform provider configuration and authentication with the Plugin Framework: provider schema for credentials (Optional + Sensitive attributes), environment variable fa…

    76B
  4. provider-docs

    Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when…

    75B
  5. new-terraform-provider

    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 Configu…

    69C
  6. provider-actions

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

    69C
  7. run-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 missi…

    69C
  8. terraform-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…

    69C

All skills in hashicorp/agent-skills

Scores come from a snapshot of 300 public GitHub repositories taken on 12 November 2026. Every score is the result of fixed checks run by code; no AI is involved. How scoring works.