Skip to content

chore: Add a library generation skill#12689

Draft
lqiu96 wants to merge 6 commits intomainfrom
library-generation-skill
Draft

chore: Add a library generation skill#12689
lqiu96 wants to merge 6 commits intomainfrom
library-generation-skill

Conversation

@lqiu96
Copy link
Copy Markdown
Member

@lqiu96 lqiu96 commented Apr 6, 2026

Trying out a new agent skill for new library generation requests. Uses internal MCP tools and skills to pull the relevant information.

Interestingly, this PR uses AI to generate commands to tell AI how to automatically generate a library request

lqiu96 added 5 commits April 6, 2026 16:10
- Fix wrong subcommand: `generate` -> `add-new-library` (confirmed via GitHub workflow)
- Replace Cloud Drop references with Buganizer ticket as the sole input source
- Add conflict-checking step before script execution
- Add special cases table for google/maps/* and google/shopping/* APIs
- Add branch/PR creation step with owlbot:run label guidance
- Expand generation_config_schema.md with all optional fields from the script
- Update cloud_drop_mapping.md framing to remove Cloud Drop terminology
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new skill for generating Google Cloud Java client libraries, including comprehensive documentation on the workflow, configuration schema, and service YAML mapping. The review feedback identifies several inconsistencies across the documentation files regarding script names, directory paths, and CLI flag naming conventions. Additionally, the reviewer pointed out a typo in a Maven group ID and recommended replacing hardcoded user paths in example outputs with generic placeholders.



:warning: **IMPORTANT:**
Not all the `new-client.py` arguments are available in the Github Action.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The script name new-client.py is inconsistent with the actual script name add-new-client-config.py used elsewhere in the documentation.

Suggested change
Not all the `new-client.py` arguments are available in the Github Action.
Not all the add-new-client-config.py arguments are available in the Github Action.

(for local environment)" section).
For the explanation of the available parameters, run:
```
python3 generation/new_client_hermetic_build/add-new-client-config.py add-new-library --help
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The subcommand add-new-library is inconsistent with the generate subcommand used in SKILL.md and service_yaml_mapping.md. Ensure the command assumes the user is in the repository root folder.

Suggested change
python3 generation/new_client_hermetic_build/add-new-client-config.py add-new-library --help
python3 generation/new_client_hermetic_build/add-new-client-config.py generate --help
References
  1. Commands in documentation should assume the user is in the repository root folder, as this is a stated convention in the document.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant