Capability
- metadata
{
"lifecycle-status": "active"
}
Topics
- Documentation
- terraform
- provider
- registry
- tfplugindocs
- schema
- hashicorp
- hcl
What it does
Generates and validates Terraform provider documentation for the Terraform Registry using tfplugindocs, schema descriptions, and HashiCorp-recommended template patterns. Use this skill when creating or updating provider resources, data sources, ephemeral resources, functions, guides, or validating generated docs against schema behavior.
Generated from the current SKILL.md.
Frequently asked
Does this skill work with Terraform providers that don't use tfplugindocs?
No. The skill is built around tfplugindocs templates and the HashiCorp-recommended documentation workflow. Providers using other doc generation tools are not supported.
Can I use this skill to document custom Terraform modules?
No. This skill is specific to Terraform provider documentation for the Terraform Registry. It does not cover module documentation.
Does this skill validate HCL examples in the documentation?
The skill includes a validation step to verify examples are valid HCL and reflect current argument/attribute names, but does not execute or test the examples.
What happens if I skip writing schema descriptions?
Generated docs will lack field-by-field details since tfplugindocs pulls descriptions from the schema. The skill recommends writing schema descriptions first to keep documentation aligned with actual provider behavior.
Does this skill handle provider releases to the Registry?
No. The skill prepares and validates documentation but does not automate Registry publication. You must create semantic version tags and ensure the manifest file is present in the repository root.
Generated from the current SKILL.md. These answers refresh after source changes.