一键导入
tgc-run-integration-tests-skill
Run integration tests for TGC. Use when you need to run integration tests for TGC.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run integration tests for TGC. Use when you need to run integration tests for TGC.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Skill for reviewing Magic Modules schemas. Currently covers the Enum vs. String decision via the knowledge base.
Opt resource into MMv1 list-resource generation by setting `generate_list_resource: true`, validate it locally, and open a one-resource PR against GoogleCloudPlatform/magic-modules. Invoke when the user asks to add list-resource support for a specific MMv1 resource or to enable `generate_list_resource` for an eligible resource.
Fallback workflow for general implementation and debugging tasks that do not involve creating a new resource.
Workflow specifically for creating a new resource, supporting both autogen and manual generation.
Create a Pull Request (PR) against GoogleCloudPlatform/magic-modules following repository standards, including branch management, commit formatting, mandatory release notes, pre-PR verification checks, and gh CLI commands.
Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation. Use this skill when the user wants to check for breaking changes, missing tests, or missing documentation, or other problems in the downstream providers.
| name | tgc-run-integration-tests-skill |
| description | Run integration tests for TGC. Use when you need to run integration tests for TGC. |
When you need to run integration tests for TGC, use this skill.
If you added or modified a resource, you must run its corresponding integration tests.
Identify the target test name and its specific service directory.
TestAccAlloydbBackup located in ./test/services/alloydb.Run the test using the script from the scripts file, passing the test path and test name:
.agents/skills/tgc/tgc-run-integration-tests-skill/scripts/run_integration_test.sh <test-path> <test-name>
Example:
.agents/skills/tgc/tgc-run-integration-tests-skill/scripts/run_integration_test.sh ./test/services/alloydb TestAccAlloydbBackup
[!IMPORTANT] You MUST use the
./prefix for the<test-path>(e.g.,./test/services/alloydb) to ensurego testinterprets it as a local directory rather than a standard library package.
Error Reporting
If a failure is detected or provided, you MUST report it using the template specified in TGC_WORKFLOWS.md before proceeding.