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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
Enable the AlloyDB API:
gcloud services enable alloydb.googleapis.com --quietCreate a Cluster:
gcloud alloydb clusters create my-cluster --region=us-central1 \ --password=my-password --network=my-vpc \ --quietNote: 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.
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
Core Concepts: Architecture, disaggregated storage, and performance features.
CLI Usage: Essential
gcloud alloydbcommands for cluster and instance management.Client Libraries & Connectors: Connecting to AlloyDB using Python, Java, Node.js, and Go.
MCP Usage: Using the AlloyDB remote MCP server and Gemini CLI extension.
Infrastructure as Code: Terraform configuration and deployment examples.
IAM & Security: Predefined roles, service agents, and database authentication.
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.
人気
- GitHubのスター
- 33k
- ランキング
- #8713
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
owasp-security
33kエージェントがWebアプリ、API、モバイル、コンテナ、AIエージェント向けの OWASP のセキュリティ指針を理解し、よくある弱点を見つけて修正案を出せるよう支援します。
agent-management
33kエージェントが、AI Maestro のコマンドラインを使って AI エージェントを作成、一覧表示、休止、再開、名前変更、削除できるよう支援します。各エージェントのライフサイクルを管理します。
agent-messaging
33kエージェントが、主に自分のマシン上で Agent Messaging Protocol を使い、AIエージェント同士の署名付きメッセージを送信、受信、返信できるよう支援します。
docs-search
33kエージェントが、自動生成されたコードのドキュメントから関数の署名、クラスの定義、コメントを検索できるよう支援します。コードを変更する前に、実際のAPIを確認できます。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。