本文へスキップ
Skillpedia
APIとサーバー(バックエンド)33k · #8713

alloydb-basics

できること

このスキルにより、AIはGoogle Cloud上のマネージドPostgreSQLデータベースであるAlloyDBを設定・運用できます。AI検索機能を備えた信頼性の高いデータベースが必要な開発者向けです。

使う場面

  • ✓Google CloudでAlloyDBのクラスターまたはプライマリインスタンスを作成する必要があるとき。
  • ✓AlloyDBのデータベースのバックアップを設定したいとき。
  • ✓PostgreSQLデータベースにベクターやAI検索を追加したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/alloydb-basics/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“アプリ用に、us-central1のAlloyDBクラスターを作成して、そのコマンドを見せてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、Google Cloudのgcloudコマンドを使ってクラスターとインスタンスを作成します。より詳しい内容については参考メモを案内します。また、AlloyDBが提供する追加のAI機能についても説明します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

Google Cloudのアカウントは必要ですか?

はい。AlloyDB APIが有効になったGoogle Cloudプロジェクトが必要です。

PostgreSQLと互換性がありますか?

はい。AlloyDBはPostgreSQLと互換性があるため、使い慣れたPostgreSQLのツールやコードを使えます。

ログインにはパスワードが最も安全な方法ですか?

このスキルは、本番環境ではパスワードではなく、IAMのデータベース認証を使うことを勧めています。

詳細

作者による元の説明

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

人気

GitHubのスター
33k
ランキング
#8713
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル