autogen-create-resource
Skill by mongodb
Guides the creation of a new autogenerated (serviceapi) resource in the MongoDB Atlas Terraform provider, from an OpenAPI spec through codegen, registration, tests, examples, docs and changelog. It is for provider maintainers.
Install autogen-create-resource
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mongodb/terraform-provider-mongodbatlas /tmp/terraform-provider-mongodbatlas && mkdir -p ~/.claude/skills && cp -r /tmp/terraform-provider-mongodbatlas/.agents/skills/autogen-create-resource ~/.claude/skills/autogen-create-resourceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install autogen-create-resource in Claude Code
git clone --depth 1 https://github.com/mongodb/terraform-provider-mongodbatlas /tmp/terraform-provider-mongodbatlas && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/terraform-provider-mongodbatlas/.agents/skills/autogen-create-resource ~/.gemini/antigravity-cli/skills/autogen-create-resourceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install autogen-create-resource in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs the full flow for adding a brand-new autogenerated resource to the MongoDB Atlas Terraform provider. It fetches and flattens the OpenAPI spec, guides the config.yml entry, runs code generation, and then handles provider registration and the build. It also covers the complementary artifacts: acceptance tests, CI wiring, examples, docs and a changelog entry.
The skill sequences the commands and points to other skills for schema judgment, test conventions and documentation standards. It ends with a structured run summary listing reasoning and items needing human attention. It is written for developers who maintain the provider. It is not intended for general Terraform users.
Written from the project's SKILL.md and checked against it.
What it can do
- Spec fetchFetches and flattens the OpenAPI spec from prod or from a supplied URL or local file.
- Code generationRuns make autogen-generate-resources for a named resource after the config.yml entry is written.
- Provider registrationGuides adding only the surfaces codegen emitted to internal/provider/provider.go, then runs go build.
- Acceptance testsProduces resource_test.go and main_test.go following the acceptance test patterns skill.
- CI wiringAdds the package to change-detection groups and ACCTEST_PACKAGES in the acceptance test workflow.
- Examples and docsCreates example directories and doc templates, then runs make generate-doc for the resource.
- Changelog entryWrites a .changelog entry with new-resource and new-datasource release note blocks.
- Run summaryEnds each run with a Reasoning section and a Needs human attention section.
What you need
- Node.js (for the spec flattener)
- Go toolchain (for go build ./...)
- make
Try asking
- Autogenerate new terraform resource cloud_backup_schedule
- Create a new autogen resource from this OpenAPI spec URL
- Add acceptance tests and changelog for the new autogen resource
Good to know
- Does not create the pull request; the caller owns that step.
- Non-prod spec sources must be marked DO NOT MERGE in the summary.
- Does not run make enable-internal-autogen, which would also register internal _api packages.
- Custom hooks in resource_custom_hooks.go are flagged for a human, not changed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/autogen-create-resource/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to autogen-create-resource
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
autogen-create-resource: common questions
Does this skill create the Terraform resource code?
It runs the make commands that generate the resource code from the config.yml entry. It also guides the manual provider registration and artifacts.
Which spec does it use by default?
The default is the prod spec. A different URL or local file can be passed as spec_source.
Can it skip parts of the flow?
Yes. The artifact selection input lets a caller deselect items such as acceptance tests.
How do I install autogen-create-resource?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is autogen-create-resource free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is autogen-create-resource safe to use?
It scores 73 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 autogen-create-resource?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
