gas-clasp-ops

Solid

Google Apps Script (GAS) プロジェクトを clasp 経由で操作するスキル。 「GASをデプロイして」「claspでpush」「GAS関数をテスト」等のリクエストで発動。 push / deploy / run を一括または個別に実行。複数プロジェクト管理に対応。

AI & Automation 347 stars 12 forks Updated 1 weeks ago

Install

View on GitHub

Quality Score: 81/100

Stars 20%
85
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
0
Description 5%
100

Skill Content

# GAS clasp 操作スキル Google Apps Script プロジェクトを clasp CLI で一括操作するためのスキル。 ## 前提条件 ```bash # clasp は npx 経由で実行(インストール不要) # Google アカウントでログイン(初回のみ) npx -y @google/clasp login ``` ## クイックスタート ```bash # 全プロジェクトを push python skills/gas-clasp-ops/scripts/clasp_ops.py push # 特定プロジェクトを push → deploy python skills/gas-clasp-ops/scripts/clasp_ops.py push deploy --project work/10.X-Calendar-GAS # 関数を実行(テスト) python skills/gas-clasp-ops/scripts/clasp_ops.py run --project work/10.X-Calendar-GAS --function myFunction # dry-run で確認 python skills/gas-clasp-ops/scripts/clasp_ops.py push --dry-run ``` ## コマンド | コマンド | 説明 | |---------|------| | `push` | ローカルコードを GAS に反映 | | `deploy` | 新しいバージョンをデプロイ | | `run` | 指定した関数を実行(`--function` 必須) | | `status` | デプロイ一覧を表示 | | `open` | GAS エディタをブラウザで開く | ## オプション | オプション | 説明 | デフォルト | |-----------|------|-----------| | `--project PATH` | 対象プロジェクト(複数指定可) | 全プロジェクト | | `--function NAME` | 実行する関数名(run 時必須) | - | | `--dry-run` | 実行せず確認のみ | false | | `--base-dir PATH` | 検索ベースディレクトリ | ワークスペースルート | ## 検出対象 `.clasp.json` を含むディレクトリを自動検出: - `work/10.X-Calendar-GAS/` - `work/03.AiTutor/session_workshop/03.gas/samples/clasp-slides-generator/` - `work/03.AiTutor/session_workshop/03.gas/samples/clasp-weather-recorder/` ## 実行例 ### プロジェクト一覧を確認 ```bash python skills/gas-clasp-ops/scripts/clasp_ops.py --list ``` 出力例: ``` 📂 検出されたプロジェクト (3 件): - work/03.AiTutor/.../clasp-slides-generator (scriptId: 1uIfFp1vuV...) - work/03.AiTutor/.../clasp-weather-recorde...

Details

Author
minicoohei
Repository
minicoohei/ai-agent-camp
Created
5 months ago
Last Updated
1 weeks ago
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

gslides-parser

Google Slides の構造を GAS 経由でパースし、YAML マッピングを出力するスキル。 「スライドをパースして」「スライドの構造を解析」「YAMLマッピング作成」等のリクエストで発動。 pptx-converter 互換のセマンティック解析 + プレースホルダー付与。

347 Updated 1 weeks ago
minicoohei
Code & Development Solid

gslides-creator

テンプレートから Google Slides を作成するスキル。 「Google Slidesを作って」「スライド生成」「プレゼン作成」等のリクエストで発動。 GAS + clasp CLI でテンプレートコピー・コンテンツ書き換え・ゼロからのデッキ生成を行う。

347 Updated 1 weeks ago
minicoohei
Data & Documents Listed

gas-best-practices

Google Apps Script best practices for production web apps and automation — project layout with clasp, Spreadsheet/Drive ops, LockService for concurrency, ScriptCache, web app RPC pattern with Thai error messages, PDF generation with placeholders, schema migrations, OAuth scopes, time-driven triggers, onFormSubmit, UrlFetchApp / LINE Messaging API, email quotas, deployment versioning (/dev vs /exec), and 6-minute limit workarounds. Use whenever working with .gs/.js files in clasp projects, when appsscript.json or .clasp.json exists, when code uses SpreadsheetApp / DriveApp / HtmlService / UrlFetchApp / doGet / doPost / onEdit / google.script.run, or when the user mentions Google Apps Script, GAS, clasp, Apps Script — including Thai phrasing such as "แอปสคริปต์", "สคริปต์ชีต", "ทำระบบด้วย Google Sheet", "ส่งเมลจากชีต", "แจ้งเตือน LINE จากชีต", or automating Google Sheets/Forms/Drive in any way.

4 Updated 4 weeks ago
kpcrmv4