diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 0cc4bbd..590f4c4 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -9,49 +9,5 @@ "homepage": "https://cloud.google.com/sql", "license": "Apache-2.0", "repository": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql", - "skills": "./skills/", - "userConfig": { - "cloud_sql_postgres_project": { - "title": "Project ID", - "description": "ID of the Google Cloud project", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_region": { - "title": "Region", - "description": "Region of the Cloud SQL instance", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_instance": { - "title": "Instance Name", - "description": "Name of the Cloud SQL instance", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_database": { - "title": "Database Name", - "description": "Name of the database", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_user": { - "title": "Database User", - "description": "(Optional) Username of the database user (Default: IAM user)", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_password": { - "title": "Database Password", - "description": "(Optional) Password of the database user (Default: IAM user)", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_ip_type": { - "title": "IP Type", - "description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)", - "type": "string", - "sensitive": false - } - } + "skills": "./skills/" } diff --git a/.lycheeignore b/.lycheeignore index c3fe010..e867c96 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,2 +1,3 @@ https://github.com/gemini-cli-extensions/cloud-sql-postgresql/compare/ https://www.npmjs.com/package/skills +https://agent-plugins.org/compatible-clients diff --git a/README.md b/README.md index 1ebd5a6..2aea296 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ This repository provides a set of agent skills to interact with [Cloud SQL for P - [Antigravity](#antigravity) - [Claude Code](#claude-code) - [Codex](#codex) +- [Installing using open agent skills tool](#installing-using-open-agent-skills-tool) +- [Installing via a compatible Agent Plugins client](#installing-via-a-compatible-agent-plugins-client) - [Usage Examples](#usage-examples) - [Supported Skills](#supported-skills) - [Additional Agent Skills](#additional-agent-skills) @@ -202,6 +204,19 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa **2. Set env vars:** Set your environment vars as described in the [configuration section](#configuration). +## Installing via a compatible Agent Plugins client + +This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) (v1) plugin. Any [Agent Plugins–compatible client](https://agent-plugins.org/compatible-clients) can install it directly using its own built-in plugin command — no extra tooling required — by pointing at this repository: + +``` +https://github.com/gemini-cli-extensions/cloud-sql-postgresql +``` + +Beyond harnesses covered by the native install above, compatible clients include VS Code, Cursor, GitHub Copilot, and Kiro. See your agent's documentation for its exact install command. + +**Set env vars:** +Set your environment vars as described in the [configuration section](#configuration). + ## Usage Examples diff --git a/plugin.json b/plugin.json new file mode 100644 index 0000000..9b3abc8 --- /dev/null +++ b/plugin.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", + "name": "cloud-sql-postgresql", + "version": "0.4.0", + "description": "Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.", + "author": { + "name": "Google LLC", + "email": "data-cloud-ai-integrations@google.com" + }, + "homepage": "https://cloud.google.com/sql", + "repository": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql", + "license": "Apache-2.0", + "keywords": [ + "cloud-sql", + "postgresql", + "database" + ] +} diff --git a/release-please-config.json b/release-please-config.json index 34dc07b..a9ee30e 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -43,6 +43,11 @@ "type": "json", "path": ".claude-plugin/plugin.json", "jsonpath": "$.version" + }, + { + "type": "json", + "path": "plugin.json", + "jsonpath": "$.version" } ] }