All skills
davila7 avatar

/cloud-sql-basics

@82b0fb3

Creates and manages Cloud SQL instances for MySQL, PostgreSQL, and SQL Server. Handles backups, high availability, and secure connectivity for relational database workloads on Google Cloud.

Use this Skill: https://skilld.dev/gh/davila7/claude-code-templates/cloud-sql-basics

This session only. Nothing lands on disk.

referencescli-usage.md

≈375 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cloud SQL CLI Usage

The gcloud sql command group is used to manage Cloud SQL instances and related resources.

Basic Syntax

gcloud sql [GROUP] [COMMAND] [FLAGS]

Essential Commands

Instance Management

  • Create an instance:

    gcloud sql instances create my-instance --database-version=MYSQL_8_0 \
        --tier=db-f1-micro --region=us-central1 \
        --quiet
  • List instances:

    gcloud sql instances list --quiet
  • Describe an instance:

    gcloud sql instances describe my-instance --quiet
  • Restart an instance:

    gcloud sql instances restart my-instance --quiet

Database and User Management

  • Create a database:

    gcloud sql databases create my-db --instance=my-instance --quiet
  • Create a user:

    gcloud sql users create my-user --instance=my-instance \
        --password=my-password \
        --quiet

Operations and Backups

  • List operations:

    gcloud sql operations list --instance=my-instance --quiet
  • Create a backup:

    gcloud sql backups create --instance=my-instance --quiet
  • Restore from a backup:

    gcloud sql backups restore backup_id --restore-instance=my-instance --quiet

Common Flags

  • --project: Specifies the project ID.

  • --region: The region where the instance is located.

  • --format: Changes output format (e.g., json, yaml).

Source: SKILL.md on GitHub

1 alert2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides educational documentation and reference materials for managing Google Cloud SQL instances. It uses official Google Cloud SDK commands and client libraries from trusted sources. No malicious patterns or security risks were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: HIGH · 1 issue

Signed by skilld at 82b0fb3. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 hours ago.

Activeupdated 5 months ago
source
google/skills (Apache 2.0)

README badge

README badge for davila7/claude-code-templates/cloud-sql-basics