application-integration-troubleshooting
Skill này làm gì
Skill này giúp chẩn đoán các quy trình trong Google Cloud Application Integration bị hỏng hoặc đình trệ. Skill dành cho những người có tự động hóa bị lỗi, treo hoặc báo thành công nhưng không làm xong công việc.
Khi nào nên dùng
- ✓Khi một quy trình Application Integration bị lỗi hoặc báo thành công mà không làm xong việc.
- ✓Khi một lần chạy quy trình bị kẹt, tạm dừng hoặc thử lại trên Google Cloud.
- ✓Khi bạn thấy lỗi về quyền, tài khoản dịch vụ, connector hoặc hạn mức trong một tích hợp.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/application-integration-troubleshooting/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Quy trình Google Cloud của tôi báo đã thành công nhưng không có gì xảy ra. Bạn có thể tìm ra nguyên nhân không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra trạng thái chạy, các bước bị lỗi, nhật ký và tình trạng connector, rồi lần lượt xem xét các nguyên nhân có khả năng. Skill báo cáo những gì đã tìm thấy và việc nên thử tiếp theo.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill kiểm tra những công cụ nào?
Skill dùng REST API, Cloud Logging, Cloud Monitoring và kiểm tra tình trạng connector.
Skill có bao gồm việc thiết lập một region mới không?
Không. Thiết lập ban đầu và cấp phát region do skill basics đảm nhiệm.
Skill có giúp với lần chạy bị tạm dừng không?
Có. Skill có các bước xử lý lần chạy bị tạm dừng và kiểm tra các vấn đề về quyền và hạn mức.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10219
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.