apps-script-update

shiiman's avatarfrom shiiman

Google Apps Script のコードを更新する。「GAS 更新」「Apps Script 更新」「スクリプト編集」「コードを更新」などで起動。

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 8, 2026⬇️2downloads

When & Why to Use This Skill

This Claude skill enables the direct modification and management of Google Apps Script (GAS) projects. It streamlines the development lifecycle by allowing users to update server-side JavaScript (.gs), HTML templates, and manifest files (appsscript.json) programmatically, eliminating the need for manual copy-pasting into the Google Script Editor.

Use Cases

  • Automated Code Deployment: Quickly push bug fixes or logic updates to existing Google Workspace automations by specifying the script ID and filename.
  • Project Expansion: Add new utility files or HTML components to an existing GAS project to extend the functionality of Google Sheets sidebars or Web Apps.
  • Configuration Management: Update the appsscript.json manifest file to manage library dependencies, OAuth scopes, or time-driven triggers.
  • Rapid Prototyping: Seamlessly iterate on AI-generated code by deploying it directly to a GAS environment for immediate testing and validation.
nameapps-script-update
descriptionGoogle Apps Script のコードを更新する。「GAS 更新」「Apps Script 更新」「スクリプト編集」「コードを更新」などで起動。
allowed-tools[Read, Bash]

Apps Script Update

Google Apps Script プロジェクトのコードを更新します。

実行方法

コード更新

python plugins/shiiman-google/skills/apps-script-update/scripts/google_apps_script.py update --script-id "ID" --filename "Code.gs" --code "function myFunc() { Logger.log('Hello'); }"

新しいファイル追加

python plugins/shiiman-google/skills/apps-script-update/scripts/google_apps_script.py update --script-id "ID" --filename "Utils.gs" --code "function helper() {}"

ファイルタイプ

  • .gs: サーバーサイド JavaScript
  • .html: HTML ファイル
  • .json: JSON ファイル(appsscript.json など)

ユーザー入力の解釈

  • スクリプトIDを聞き出すか、事前に apps-script-list で検索
  • 更新するファイル名を確認
  • コード内容を確認

出力項目

  • id: スクリプトID
  • status: 更新ステータス
  • filename: 更新したファイル名
  • url: 編集URL