Skip to content

Commit 9521dbb

Browse files
authored
feat(plugin): support agent plugin spec (#167)
1 parent 3ce1fe1 commit 9521dbb

5 files changed

Lines changed: 40 additions & 51 deletions

File tree

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -9,55 +9,5 @@
99
"homepage": "https://cloud.google.com/alloydb",
1010
"license": "Apache-2.0",
1111
"repository": "https://github.com/gemini-cli-extensions/alloydb",
12-
"skills": "./skills/",
13-
"userConfig": {
14-
"alloydb_postgres_project": {
15-
"title": "Project ID",
16-
"description": "ID of the Google Cloud project",
17-
"type": "string",
18-
"sensitive": false
19-
},
20-
"alloydb_postgres_region": {
21-
"title": "Location",
22-
"description": "Region of the AlloyDB cluster",
23-
"type": "string",
24-
"sensitive": false
25-
},
26-
"alloydb_postgres_cluster": {
27-
"title": "Cluster ID",
28-
"description": "ID of the AlloyDB cluster",
29-
"type": "string",
30-
"sensitive": false
31-
},
32-
"alloydb_postgres_instance": {
33-
"title": "Instance ID",
34-
"description": "ID of the AlloyDB instance",
35-
"type": "string",
36-
"sensitive": false
37-
},
38-
"alloydb_postgres_database": {
39-
"title": "Database",
40-
"description": "Name of the database",
41-
"type": "string",
42-
"sensitive": false
43-
},
44-
"alloydb_postgres_user": {
45-
"title": "User",
46-
"description": "(Optional) Username of the database user (Default: IAM user)",
47-
"type": "string",
48-
"sensitive": false
49-
},
50-
"alloydb_postgres_password": {
51-
"title": "Password",
52-
"description": "(Optional) Password of the database user (Default: IAM user)",
53-
"type": "string",
54-
"sensitive": false
55-
},
56-
"alloydb_postgres_ip_type": {
57-
"title": "IP Type",
58-
"description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)",
59-
"type": "string",
60-
"sensitive": false
61-
}
62-
}
12+
"skills": "./skills/"
6313
}

‎.lycheeignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
https://github.com/gemini-cli-extensions/alloydb/compare/
22
https://www.npmjs.com/package/skills
3+
https://agent-plugins.org/compatible-clients

‎README.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ This repository provides a set of agent skills to interact with [AlloyDB for Pos
2222
- [Antigravity](#antigravity)
2323
- [Claude Code](#claude-code)
2424
- [Codex](#codex)
25+
- [Installing using open agent skills tool](#installing-using-open-agent-skills-tool)
26+
- [Installing via a compatible Agent Plugins client](#installing-via-a-compatible-agent-plugins-client)
2527
- [Usage Examples](#usage-examples)
2628
- [Supported Skills](#supported-skills)
2729
- [Additional Agent Skills](#additional-agent-skills)
@@ -203,6 +205,19 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa
203205
**2. Set env vars:**
204206
Set your environment vars as described in the [configuration section](#configuration).
205207

208+
## Installing via a compatible Agent Plugins client
209+
210+
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:
211+
212+
```
213+
https://github.com/gemini-cli-extensions/alloydb
214+
```
215+
216+
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.
217+
218+
**Set env vars:**
219+
Set your environment vars as described in the [configuration section](#configuration).
220+
206221
<!-- {x-release-please-end} -->
207222

208223

‎plugin.json‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3+
"name": "alloydb",
4+
"version": "0.2.0",
5+
"description": "Create, connect, and interact with an AlloyDB for PostgreSQL database and data.",
6+
"author": {
7+
"name": "Google LLC",
8+
"email": "data-cloud-ai-integrations@google.com"
9+
},
10+
"homepage": "https://cloud.google.com/alloydb",
11+
"repository": "https://github.com/gemini-cli-extensions/alloydb",
12+
"license": "Apache-2.0",
13+
"keywords": [
14+
"alloydb",
15+
"postgresql",
16+
"database"
17+
]
18+
}

‎release-please-config.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
"type": "json",
4444
"path": ".claude-plugin/plugin.json",
4545
"jsonpath": "$.version"
46+
},
47+
{
48+
"type": "json",
49+
"path": "plugin.json",
50+
"jsonpath": "$.version"
4651
}
4752
]
4853
}

0 commit comments

Comments
 (0)