Skip to content

Commit edf5d74

Browse files
authored
chore: add skill gen commands
1 parent d210a15 commit edf5d74

1 file changed

Lines changed: 97 additions & 0 deletions

File tree

.github/scipts/generate-skills.sh

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-admin" --description "Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations." --toolset=admin --license-header "// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the \"License\");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an \"AS IS\" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."
14+
15+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-lifecycle" --description "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." --toolset=lifecycle --license-header "// Copyright 2026 Google LLC
16+
//
17+
// Licensed under the Apache License, Version 2.0 (the \"License\");
18+
// you may not use this file except in compliance with the License.
19+
// You may obtain a copy of the License at
20+
//
21+
// http://www.apache.org/licenses/LICENSE-2.0
22+
//
23+
// Unless required by applicable law or agreed to in writing, software
24+
// distributed under the License is distributed on an \"AS IS\" BASIS,
25+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26+
// See the License for the specific language governing permissions and
27+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."
28+
29+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-data" --description "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." --toolset=data --license-header "// Copyright 2026 Google LLC
30+
//
31+
// Licensed under the Apache License, Version 2.0 (the \"License\");
32+
// you may not use this file except in compliance with the License.
33+
// You may obtain a copy of the License at
34+
//
35+
// http://www.apache.org/licenses/LICENSE-2.0
36+
//
37+
// Unless required by applicable law or agreed to in writing, software
38+
// distributed under the License is distributed on an \"AS IS\" BASIS,
39+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40+
// See the License for the specific language governing permissions and
41+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."
42+
43+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-monitor" --description "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics." --toolset=monitor --license-header "// Copyright 2026 Google LLC
44+
//
45+
// Licensed under the Apache License, Version 2.0 (the \"License\");
46+
// you may not use this file except in compliance with the License.
47+
// You may obtain a copy of the License at
48+
//
49+
// http://www.apache.org/licenses/LICENSE-2.0
50+
//
51+
// Unless required by applicable law or agreed to in writing, software
52+
// distributed under the License is distributed on an \"AS IS\" BASIS,
53+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54+
// See the License for the specific language governing permissions and
55+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."
56+
57+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-health" --description "Use these skills when you need to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." --toolset=monitor --license-header "// Copyright 2026 Google LLC
58+
//
59+
// Licensed under the Apache License, Version 2.0 (the \"License\");
60+
// you may not use this file except in compliance with the License.
61+
// You may obtain a copy of the License at
62+
//
63+
// http://www.apache.org/licenses/LICENSE-2.0
64+
//
65+
// Unless required by applicable law or agreed to in writing, software
66+
// distributed under the License is distributed on an \"AS IS\" BASIS,
67+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
68+
// See the License for the specific language governing permissions and
69+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."
70+
71+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-view-config" --description "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." --toolset=view-config --license-header "// Copyright 2026 Google LLC
72+
//
73+
// Licensed under the Apache License, Version 2.0 (the \"License\");
74+
// you may not use this file except in compliance with the License.
75+
// You may obtain a copy of the License at
76+
//
77+
// http://www.apache.org/licenses/LICENSE-2.0
78+
//
79+
// Unless required by applicable law or agreed to in writing, software
80+
// distributed under the License is distributed on an \"AS IS\" BASIS,
81+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
82+
// See the License for the specific language governing permissions and
83+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."
84+
85+
./toolbox2 --prebuilt cloud-sql-postgres skills-generate --name "cloud-sql-postgres-replication" --description "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." --toolset=replication --license-header "// Copyright 2026 Google LLC
86+
//
87+
// Licensed under the Apache License, Version 2.0 (the \"License\");
88+
// you may not use this file except in compliance with the License.
89+
// You may obtain a copy of the License at
90+
//
91+
// http://www.apache.org/licenses/LICENSE-2.0
92+
//
93+
// Unless required by applicable law or agreed to in writing, software
94+
// distributed under the License is distributed on an \"AS IS\" BASIS,
95+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
96+
// See the License for the specific language governing permissions and
97+
// limitations under the License." --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence."

0 commit comments

Comments
 (0)