generate-datadog-datasource
Skill by DataDog
Generates a Datadog Terraform provider data source from Datadog v2 OpenAPI operations and opens a review-ready GitHub pull request for it. Built for contributors to the terraform-provider-datadog repository.
Install generate-datadog-datasource
Built from the published package, never by AI.
git clone --depth 1 https://github.com/DataDog/terraform-provider-datadog /tmp/terraform-provider-datadog && mkdir -p ~/.claude/skills && cp -r /tmp/terraform-provider-datadog/.claude/skills/generate-datadog-datasource ~/.claude/skills/generate-datadog-datasourceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install generate-datadog-datasource in Claude Code
git clone --depth 1 https://github.com/DataDog/terraform-provider-datadog /tmp/terraform-provider-datadog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/terraform-provider-datadog/.claude/skills/generate-datadog-datasource ~/.gemini/antigravity-cli/skills/generate-datadog-datasourceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install generate-datadog-datasource in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill generates a Datadog Terraform provider data source from one or more Datadog v2 OpenAPI operations, then opens a review-ready GitHub pull request for it. It runs in three phases. First it collects the read operationIds, artifact name, cardinality, description, and overwrite target. Then it builds an annotated OpenAPI slice with slice_and_annotate.py, runs tfgen, runs make docs and make build, and commits onto a new branch. Finally it scans for runtime risks, drafts the PR body, and opens the PR with gh.
The skill is a thin wrapper around tfgen and does not audit the generated code. If generation, the build, or a CI check fails, it quotes the error and stops rather than editing the spec or code. It only calls runtime behavior verified when a cassette has replayed green. It is aimed at contributors to the terraform-provider-datadog repository who want to add a data source.
Written from the project's SKILL.md and checked against it.
What it can do
- Collect inputsGathers the read operationIds, artifact name, cardinality, description, and overwrite target before generating.
- Build OpenAPI sliceCreates an annotated OpenAPI slice with slice_and_annotate.py.
- Run tfgenGenerates the data source Go code and test with tfgen and reads the RunReport.
- Build and docsRuns make docs and make build to create the docs page and confirm the code compiles.
- Commit to a branchCreates a new branch off master and commits the generated files.
- Scan runtime risksQuickly checks the endpoint for material runtime risks without a line-by-line review.
- Draft PR bodyDrafts the PR body with disclaimers, risk notes, and a testing guide.
- Open pull requestOpens the PR with gh after the user confirms the title, body, and label.
- Check CIReads PR checks with gh and reports output from any failing check.
What you need
- git
- gh, authenticated
- Python 3 with PyYAML
- A checkout of the terraform-provider-datadog repo
- Network access to the Datadog v2 OpenAPI spec
Try asking
- Generate a Datadog data source for the monitors list operation
- Run tfgen on the dashboards read operations and show the RunReport
- Draft the PR body and testing guide for my generated data source
Good to know
- Does not fix failures. It reports errors and stops.
- Runtime behavior is not verified until a cassette replays green.
- Asks the user to confirm before opening a pull request.
- Described as locally runnable and in active development.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/generate-datadog-datasource/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to generate-datadog-datasource
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
generate-datadog-datasource: common questions
Does the skill open the pull request automatically?
No. It drafts the title, body, and label, then asks the user to confirm before running gh pr create.
Does a clean build mean the data source works?
No. The skill says a clean build only shows the code was generated and compiles, not that it works at runtime.
Does the generated data source need manual registration?
Usually not. tfgen rewrites datasources_generated.go, so framework_provider.go is only edited when overwriting a hand-written data source.
How do I install generate-datadog-datasource?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is generate-datadog-datasource free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is generate-datadog-datasource safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to generate-datadog-datasource?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
