Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)33k · #8713

alloydb-basics

Skill này làm gì

Skill này giúp AI của bạn thiết lập và vận hành AlloyDB, một cơ sở dữ liệu PostgreSQL được quản lý trên Google Cloud. Nó dành cho lập trình viên cần một cơ sở dữ liệu đáng tin cậy có tìm kiếm bằng AI.

Khi nào nên dùng

  • ✓Khi bạn cần tạo một cụm AlloyDB hoặc primary instance trên Google Cloud.
  • ✓Khi bạn muốn thiết lập sao lưu cho cơ sở dữ liệu AlloyDB.
  • ✓Khi bạn muốn thêm tìm kiếm vector hoặc tìm kiếm bằng AI vào cơ sở dữ liệu PostgreSQL.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/alloydb-basics/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/alloydb-basics/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy tạo một cụm AlloyDB ở us-central1 cho ứng dụng của tôi và chỉ cho tôi các lệnh.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent dùng các lệnh gcloud của Google Cloud để tạo cụm và instance, đồng thời chỉ đến các ghi chú tham khảo cho những chủ đề sâu hơn. Nó cũng giải thích các tính năng AI bổ sung mà AlloyDB cung cấp.

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.

AlloyDB Basics

AlloyDB for PostgreSQL is a managed, PostgreSQL-compatible database service designed for enterprise-grade performance and availability. It utilizes a disaggregated compute and storage architecture to scale resources independently. It also provides AlloyDB AI, a collection of features that includes AI-powered search (vector, hybrid search, and AI functions), natural language capabilities, conversational analytics, and inference features like forecasting and model endpoint management to help developers build AI apps faster.

Quick Start

  1. Enable the AlloyDB API:

    gcloud services enable alloydb.googleapis.com --quiet
    
  2. Create a Cluster:

    gcloud alloydb clusters create my-cluster --region=us-central1 \
        --password=my-password --network=my-vpc \
        --quiet
    

    Note: For production, we recommend using IAM database authentication instead of passwords. If passwords must be used, use secure secret management (e.g., Secret Manager) instead of passing passwords in cleartext.

  3. Create a Primary Instance:

    gcloud alloydb instances create my-primary --cluster=my-cluster \
        --region=us-central1 --instance-type=PRIMARY --cpu-count=2 \
        --quiet
    

Reference Directory

If you need product information not found in these references, use the Developer Knowledge MCP server search_documents tool.

Câu hỏi thường gặp

Tôi có cần tài khoản Google Cloud không?

Có. Bạn cần một dự án Google Cloud đã bật API AlloyDB.

Nó có tương thích với PostgreSQL không?

Có. AlloyDB tương thích với PostgreSQL, nên có thể dùng các công cụ và code PostgreSQL quen thuộc.

Mật khẩu có phải là cách đăng nhập an toàn nhất không?

Skill khuyên dùng xác thực cơ sở dữ liệu IAM cho môi trường production thay vì mật khẩu.

Chi tiết

Mô tả gốc của tác giả

Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB MCP tools for automated database operations including AI-powered search and vector capabilities.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8713
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự