xiaohongshu
xiaohongshu
gas-clasp-ops
Google Apps Script (GAS) プロジェクトを clasp 経由で操作するスキル。 push(コード反映)、deploy(デプロイ)、run(関数実行/テスト)を一括または個別に実行。 .clasp.json を持つプロジェクトを自動検出し、複数プロジェクトの管理を効率化する。 トリガー: GAS, clasp, デプロイ, push, テスト実行, Apps Script, スクリプト反映 使用例: 「GASをデプロイして」「claspでpush」「GAS関数をテスト」「全プロジェクトをpush」
Full skill instructions
Google Apps Script プロジェクトを clasp CLI で一括操作するためのスキル。
# clasp のインストール(未インストールの場合)
npm install -g @google/clasp
# Google アカウントでログイン(初回のみ)
clasp login
# 全プロジェクトを push
python .claude/skills/gas-clasp-ops/scripts/clasp_ops.py push
# 特定プロジェクトを push → deploy
python .claude/skills/gas-clasp-ops/scripts/clasp_ops.py push deploy --project work/10.X-Calendar-GAS
# 関数を実行(テスト)
python .claude/skills/gas-clasp-ops/scripts/clasp_ops.py run --project work/10.X-Calendar-GAS --function myFunction
# dry-run で確認
python .claude/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/python .claude/skills/gas-clasp-ops/scripts/clasp_ops.py --list
出力例:
📂 検出されたプロジェクト (3 件):
- work/03.AiTutor/.../clasp-slides-generator (scriptId: 1uIfFp1vuV...)
- work/03.AiTutor/.../clasp-weather-recorder (scriptId: 1O6SBnHgY-...)
- work/10.X-Calendar-GAS (scriptId: 1qLnnrFfzX...)
python .claude/skills/gas-clasp-ops/scripts/clasp_ops.py push deploy
python .claude/skills/gas-clasp-ops/scripts/clasp_ops.py run \
--project work/10.X-Calendar-GAS \
--function processUnreadTweets
| エラー | 原因 | 対処法 |
|---|---|---|
Not logged in | clasp 未ログイン | clasp login を実行 |
Script API disabled | GAS API 無効 | GAS API で有効化 |
Permission denied | OAuth スコープ不足 | appsscript.json に必要なスコープを追加 |
Function not found | 関数名が不正 | GAS エディタで関数名を確認 |
clasp run は GAS API を有効化し、OAuth スコープの設定が必要push でコードを反映することxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience