Generate Terraform Provider
CheckedHelps with API, code generation, Terraform as part of deploying and managing cloud infrastructure workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add speakeasy-api/sdk-generation-skills --skill generate-terraform-provider -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
speakeasy-api
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned speakeasy-api/agent-skills at d2eab5991e.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- d2eab5991e
- Scanned
- 2 files, 815 lines
About this skill
What it does
This skill generates Terraform provider code based on a given API specification. It automates the creation of boilerplate and initial configuration, significantly reducing the time required to build custom Terraform providers for interacting with APIs. The generated code includes resource schemas, data source definitions, and basic authentication handling.
When to use it
- You need to manage infrastructure related to an API using Terraform but don't want to write a provider from scratch.
- Your team is adopting Infrastructure as Code (IaC) practices and needs to automate the creation of Terraform providers for your APIs.
- You are building a new API and want to provide Terraform support for it early in the development lifecycle.
- You have an existing API that you want to integrate with Terraform for easier management.
Key capabilities
- Generates Terraform provider code from API specifications.
- Includes resource schemas based on API definitions.
- Provides data source definitions for retrieving information.
- Supports basic authentication handling.
Example prompts
- "Generate a Terraform provider for the Stripe API."
- "Create a Terraform provider for my internal payment processing API, using OpenAPI specification [link to spec]."
- “Build a terraform provider with resource schema and data source definitions from this JSON file: [file content]"
Tips & gotchas
- The quality of the generated code depends heavily on the accuracy and completeness of the input API specification. Ensure your API definition is well-formed.