Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when developing, operating, or deploying Google Apps Script projects with CI/CD automation.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -46% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -56% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 7% | 0% |
此技能規範 Google Apps Script (GAS) 開發的標準流程,結合 clasp 工具與 GitHub Actions 實現自動化部屬與版本控制。
npm install -g @google/clasp)在本地進行開發後,通過 Git 提交代碼。若需從 GAS 網頁工作區同步回本地:
powershellclasp pull
專案應配置 .github/workflows/deploy.yml,在推送到特定分支(如 master 或 main)時自動執行部屬。
clasp 並利用 CLASPRC_JSON_BASE64 秘密金鑰進行授權。clasp push --force僅在 CI/CD 失效且需緊急修復時使用:
powershellclasp push
clasp login 獲取本地 ~/.clasprc.json。powershell [Convert]::ToBase64String([IO.File]::ReadAllBytes("$HOME\.clasprc.json"))
CLASPRC_JSON_BASE64。clasp pull 回本地。git push 觸發 Action 進行部屬,確保部署紀錄與 Git Commit 關聯。clasp push --force 以避免文件版本衝突。Other measured skills in the registry, with their headline benchmark lift.