apps-script-create
Google Apps Script プロジェクトを新規作成する。「GAS 作成」「Apps Script 作成」「スクリプト作成」「GAS を作って」などで起動。
When & Why to Use This Skill
This Claude skill automates the initialization of Google Apps Script (GAS) projects, enabling users to create standalone scripts or container-bound scripts (e.g., linked to Google Spreadsheets) via simple commands. It significantly enhances developer productivity by bypassing the manual setup process in the Google Cloud Console and providing immediate access to project IDs and editing URLs.
Use Cases
- Quickly bootstrapping a new Google Apps Script project for custom API integrations or webhooks.
- Automatically creating and linking a script to an existing Google Spreadsheet to handle complex data processing or macros.
- Streamlining the development workflow for IT automation tasks by generating project environments through natural language prompts.
| name | apps-script-create |
|---|---|
| description | Google Apps Script プロジェクトを新規作成する。「GAS 作成」「Apps Script 作成」「スクリプト作成」「GAS を作って」などで起動。 |
| allowed-tools | [Read, Bash] |
Apps Script Create
Google Apps Script プロジェクトを新規作成します。
実行方法
スタンドアロンスクリプト作成
python plugins/shiiman-google/skills/apps-script-list/scripts/google_apps_script.py create --name "スクリプト名"
スプレッドシートに紐付けて作成
python plugins/shiiman-google/skills/apps-script-list/scripts/google_apps_script.py create --name "マクロ" --parent-id "スプレッドシートID"
ユーザー入力の解釈
- スクリプト名を聞き出す
- スプレッドシートなどに紐付けるか確認
- 紐付ける場合は --parent-id で指定
出力項目
- id: スクリプトID
- name: スクリプト名
- parentId: 親ドキュメントID(紐付けた場合)
- url: 編集URL