·generate-terraform-provider
</>

generate-terraform-provider

speakeasy-api/agent-skills

使用 Speakeasy 从 OpenAPI 规范生成 Terraform 提供程序时使用。涵盖实体注释、CRUD 映射、类型推断、工作流配置和发布。在“terraform 提供程序”、“生成 terraform”、“创建 terraform 提供程序”、“CRUD 映射”、“x-speakeasy-entity”、“terraform 资源”、“terraform 注册表”上触发。

3安装·0热度·@speakeasy-api

安装

$npx skills add https://github.com/speakeasy-api/agent-skills --skill generate-terraform-provider

SKILL.md

Generate a Terraform provider from an OpenAPI specification using the Speakeasy CLI. This skill covers the full lifecycle: annotating your spec with entity metadata, mapping CRUD operations, generating the provider, configuring workflows, and publishing to the Terraform Registry.

| OpenAPI spec | Yes | OpenAPI 3.0 or 3.1 specification (local file, URL, or registry source) | | Provider name | Yes | PascalCase name for the provider (e.g., Petstore) | | Package name | Yes | Lowercase package identifier (e.g., petstore) | | Entity annotations | Yes | x-speakeasy-entity on schemas, x-speakeasy-entity-operation on operations |

| Workflow config | .speakeasy/workflow.yaml | | Generation config | gen.yaml | | Generated Go provider | Output directory (default: current dir) | | Terraform examples | examples/ directory |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/speakeasy-api/agent-skills --skill generate-terraform-provider
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 generate-terraform-provider?

使用 Speakeasy 从 OpenAPI 规范生成 Terraform 提供程序时使用。涵盖实体注释、CRUD 映射、类型推断、工作流配置和发布。在“terraform 提供程序”、“生成 terraform”、“创建 terraform 提供程序”、“CRUD 映射”、“x-speakeasy-entity”、“terraform 资源”、“terraform 注册表”上触发。 来源:speakeasy-api/agent-skills。

如何安装 generate-terraform-provider?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/speakeasy-api/agent-skills --skill generate-terraform-provider 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/speakeasy-api/agent-skills