autogen-update-resource
Skill by mongodb
Updates an existing autogenerated (serviceapi) resource in the MongoDB repository when an API spec changes. Built for maintainers who regenerate the code and then add the tests, examples, docs and changelog entry it does not produce.
Install autogen-update-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-update-resource ~/.claude/skills/autogen-update-resourceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install autogen-update-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-update-resource ~/.gemini/antigravity-cli/skills/autogen-update-resourceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install autogen-update-resource in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through updating an existing autogenerated (serviceapi) resource when an API spec changes. It is triggered by a bot PR titled "Updates auto-generated production resources (DO NOT MERGE)", a scheduled regeneration diff, or a request to add a new attribute. The skill reads the triggering diff, reviews overrides with the autogen-config skill, runs the spec update and resource generation make targets, and builds the Go code.
It then drafts the complementary artifacts that regeneration does not produce: acceptance tests, examples, docs, and a changelog entry named after the PR number. It ends with a run summary that has Reasoning and Needs human attention sections. The skill never creates the PR itself. It is aimed at maintainers of the MongoDB autogen resources.
Written from the project's SKILL.md and checked against it.
What it can do
- Understand the changeReads the triggering diff and checks the resource and both data sources for the spec change.
- Review overridesChecks computability, sensitive, collection type and descriptions against upstream spec reports before regenerating.
- Regenerate and buildRuns the spec update and resource generation make targets, then go build.
- Acceptance testsExtends the existing consolidated test to assert the new attribute on every surface that gained it.
- ExamplesWires new optional attributes through variables instead of hardcoded values.
- DocsRegenerates the affected resource and data source docs with make generate-doc.
- ChangelogWrites a release-note enhancement block per affected resource or data source in .changelog.
- Run summaryProduces a summary with Reasoning and Needs human attention sections, written to output_file or the session.
What you need
- Make
- Go toolchain (go build ./...)
Try asking
- Update this autogen resource for the new attribute in the latest spec change
- Draft the acceptance tests and examples for this serviceapi resource update
- Summarize the regeneration diff and list items that need human attention
Good to know
- Never creates the pull request itself.
- Flags resource_custom_hooks.go work but does not attempt it.
- Produces no complementary artifacts for a new API version and flags it for review.
- Stops to investigate if the regeneration diff touches more than the target resource's generated files.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/autogen-update-resource/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to autogen-update-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-update-resource: common questions
When should I use this skill?
Use it when a bot PR, a scheduled regeneration diff, or a request asks to incorporate an API spec change into an existing autogen resource.
Does it create the pull request?
No. The source says it never creates the PR itself, and it states DO NOT MERGE prominently when the spec source is not prod.
What happens if the change starts using a new API version?
It produces no complementary artifacts for that version and flags it, because surfacing that breaking change needs product and engineering input.
How do I install autogen-update-resource?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is autogen-update-resource free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is autogen-update-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-update-resource?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
