application-integration-troubleshooting
它能做什么
这项技能帮助诊断 Google Cloud Application Integration 中出现故障或停滞的工作流。适合自动化任务失败、挂起,或显示成功却没有完成工作的人。
适用场景
- ✓当 Application Integration 工作流失败,或显示成功但没有完成工作时。
- ✓当 Google Cloud 上的工作流运行卡住、暂停或不断重试时。
- ✓当你在集成中看到权限、服务账户、连接器或配额错误时。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/application-integration-troubleshooting/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的 Google Cloud 工作流显示成功,但什么都没有发生。请帮我查明原因。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查运行状态、失败的步骤、日志和连接器健康状况,然后逐一排查可能的原因。它会报告发现的内容以及接下来可以尝试的做法。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Application Integration Troubleshooting
Diagnose and recover Google Cloud Application Integration executions that fail, stall, or appear to do nothing. This skill walks through execution state verification, per-task failure inspection, Cloud Logging and Cloud Monitoring checks, Integration Connectors health probes, suspension resolution, and IAM or quota checks.
Attribution
MUST READ: Before executing any gcloud command, REST API call, or Python
discovery-client call, you MUST read
Usage Attribution. For commands executed directly
in the terminal (never in generated scripts, Terraform, ADK agents, or user
code), prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:application-integration-troubleshooting)"
and add agent-skills/1.0 (skill:application-integration-troubleshooting) to
the User-Agent header of curl requests.
Tooling and Scope Boundaries
- REST is the interface. There is no
gcloud integrationscommand group and no Google-managed MCP server for Application Integration. Usecurlwithgcloud auth print-access-token, or the discovery-based Python client (googleapiclient.discovery.build("integrations", "v1")andbuild("connectors", "v1"); install withpip install "google-api-python-client>=2.100.0,<3" "google-auth>=2.20.0,<3") (changes host or credential state; get the user's approval first). - Generic
gcloudcommands apply for authentication (gcloud auth), enabling APIs (gcloud services), IAM checks (gcloud projects get-iam-policy,gcloud iam service-accounts get-iam-policy), and log queries (gcloud logging read). - Regional scope. Integrations, executions, connections, and execution logs live in a single Google Cloud region (
LOCATION), which is theLOCATIONin every REST path; nogclouddefault-region setting applies. Ask the user which region the integration is deployed in. If they don't know, start withus-central1and, ifexecutions.listis empty there, check the other Application Integration locations before concluding nothing ran (Step 2). - Sibling skills:
- Use
application-integration-basicsfor product concepts, enabling APIs, provisioning a region, initial IAM roles, and service limits. - Use
application-integration-authoringfor creating drafts, editing tasks and triggers, config variables, publishing,:executeand:schedulepayloads, and CI/CD export/import.
- Use
Safety and Confirmation Rules
- Read-only checks run freely:
executions.list,suspensions.list,connections.get,connectionSchemaMetadataget calls, runtime v2actions.list/entityTypes.list,gcloud logging read, andv2executions:troubleshoot. - State-changing actions require explicit user confirmation. Before canceling or replaying an execution, lifting or resolving a suspension, refreshing connector schema metadata, repairing connector eventing, publishing or unpublishing a version, or changing IAM bindings, show the exact command and wait for user approval.
- Host changes require approval. Before installing packages (
pip install) or changing global gcloud or credential state (gcloud config set ...such asauth/impersonate_service_account,gcloud auth application-default login/set-quota-project), show the exact command and wait for the user's approval. - Never bundle destructive scripts or delete integrations, versions, connections, or auth profiles during troubleshooting unless the user specifically asks.
Prerequisites and Setup Check
Before querying APIs, confirm the environment has credentials, active APIs, and the right target region:
# Verify active identity and project
gcloud config get-value account
gcloud config get-value project
# Check that required APIs are enabled on PROJECT_ID
gcloud services list --enabled --project="PROJECT_ID" \
--filter="config.name:(integrations.googleapis.com OR connectors.googleapis.com OR secretmanager.googleapis.com)"
- If an API is missing, ask the user before running
gcloud services enable integrations.googleapis.com connectors.googleapis.com secretmanager.googleapis.com --project="PROJECT_ID". - Ensure an active billing account is attached to
PROJECT_ID(required even when usage stays within the monthly free tier; see the [Application Integration pricing page](https://cloud.google.com/application-integ
常见问题
它检查哪些工具?
它使用 REST API、Cloud Logging、Cloud Monitoring 和连接器健康检查。
它涵盖设置新区域吗?
不涵盖。初始设置和区域配置由基础知识技能负责。
它能处理暂停的运行吗?
可以。其中包括解决暂停运行的步骤,以及检查权限和配额问题的步骤。
详情
作者的原始描述
Diagnoses failed, stuck, or silent Google Cloud Application Integration runs and Integration Connectors tasks using the REST API, Cloud Logging, and Cloud Monitoring. Use when an integration fails, returns HTTP 200 without doing the expected work, hangs in a suspended or retry state, or hits IAM, run-as service account, connector health, or quota errors. Do not use for initial region provisioning (use application-integration-basics) or building and deploying versions (use application-integration-authoring).
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10219
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。