application-integration-authoring
Skill này làm gì
Skill này giúp lập trình viên viết và quản lý các quy trình tự động trong Google Cloud Application Integration. Skill dành cho các đội muốn quản lý quy trình bằng mã và kiểm soát phiên bản.
Khi nào nên dùng
- ✓Khi bạn muốn tạo hoặc cập nhật một quy trình Application Integration trên Google Cloud bằng mã.
- ✓Khi bạn cần xuất bản một phiên bản quy trình hoặc chuyển nó giữa các môi trường như dev và prod.
- ✓Khi bạn muốn thiết lập trigger API hoặc chạy một quy trình để kiểm thử.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/application-integration-authoring/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
“Xuất bản phiên bản quy trình Google Cloud của tôi và chạy thử nghiệm nhanh trên nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill dùng REST API hoặc Python client của Application Integration để tải xuống, tải lên, xuất bản và chạy các phiên bản quy trình. Các lệnh gcloud thông thường chỉ dùng cho đăng nhập và quyền.
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 Authoring
Google Cloud Application Integration workflows are authored, versioned, published, and executed programmatically through the REST API (https://integrations.googleapis.com/v1/...) or the discovery-based Google API Python client (googleapiclient.discovery.build("integrations", "v1")).
There is no gcloud integrations command group, no Google-managed MCP server for Application Integration, and no documented Terraform resource for integrations or versions. Use gcloud only for authentication, enabling APIs, and IAM bindings. Use Terraform only for region provisioning (google_integrations_client), authentication profiles (google_integrations_auth_config), and Integration Connectors (google_integration_connectors_connection).
For initial project setup, region provisioning, and IAM role definitions, use the application-integration-basics skill. For diagnosing failed or stuck runs, execution logs, and quota errors, use the application-integration-troubleshooting skill.
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-authoring)"
and add agent-skills/1.0 (skill:application-integration-authoring) to the
User-Agent header of curl requests.
Safety and Confirmation Rules
- Read-only operations run freely:
integrations.list,integrations:search,versions.list,versions.get,versions:download,authConfigs.list, andexecutions.list. - Confirm before any state change or execution: Before creating, uploading, patching, publishing, unpublishing, testing, executing, scheduling, or deleting an integration or version, or modifying IAM or auth configs, show the exact command and payload to the user and get explicit confirmation.
- 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 store secrets in config variables: Config variables (
CONFIG_*) are stored and exported in plain text. Always use authentication profiles (projects.locations.authConfigs) or the Secret Manager access task for credentials.
Prerequisites Checklist
- Install Google Cloud SDK: Follow Install the gcloud CLI if
gcloudis not installed. - Billing and project: Ensure the Google Cloud project has an active billing account attached (required even when usage stays within the free tier), then set the target project (changes global gcloud state; get the user's approval first):
gcloud config set project PROJECT_ID - Enable required APIs:
gcloud services enable integrations.googleapis.com connectors.googleapis.com secretmanager.googleapis.com - Provision the region: Application Integration is regional: confirm the target region is supported on Application Integration locations and use
us-central1as a well-supported default when the user has no preference. The region is theLOCATIONin every REST path; nogclouddefault-region setting applies to Application Integration. The targetLOCATIONmust be provisioned via the Cloud console orPOST .../clients:provisionbefore authoring integrations (seeapplication-integration-basics). - Authenticate:
- For
curl: rungcloud auth login(changes host or credential state; get the user's approval first) and pass-H "Authorization: Bearer $(gcloud auth print-access-token)". - For the Python client (install with
pip install "google-api-python-client>=2.100.0,<3" "google-auth>=2.20.0,<3"): rungcloud auth application-default loginandgcloud auth application-default set-quota-project PROJECT_ID(or setGOOGLE_APPLICATION_CREDENTIALSfor a service account) (changes host or credential state; get the user's approval first). - For service account impersonation: run `gcloud config set auth/imperso
- For
Câu hỏi thường gặp
Có lệnh gcloud cho quy trình không?
Không. Skill dùng REST API hoặc Python client, vì không có nhóm lệnh gcloud nào cho việc này.
Skill có giúp chuyển quy trình giữa các môi trường không?
Có. Skill bao gồm việc đẩy các phiên bản qua các môi trường như một phần của quy trình CI/CD.
Skill có sửa các lần chạy quy trình bị lỗi không?
Không. Việc chẩn đoán các lần chạy lỗi hoặc bị treo do skill xử lý sự cố riêng đảm nhiệm.
Chi tiết
Mô tả gốc của tác giả
Builds, versions, publishes, tests, and executes Google Cloud Application Integration workflows through the REST API and Python discovery client, and promotes versions across environments. Use when listing integrations, downloading or uploading integration versions as JSON, configuring API triggers or config variables, publishing drafts, invoking integrations, or automating CI/CD promotion. Do not use for initial region provisioning and IAM setup (use application-integration-basics) or diagnosing failed runs and logs (use application-integration-troubleshooting).
repo: google/skills
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10217
- 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ự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.