kpcrmv4

Gas Best Practices — Development skill for Claude Code

Development community

Google Apps Script best practices distilled from production bugs — Claude Code skill for GAS web apps, clasp projects, PDF generation, Drive ops, and HtmlService patterns.

How to install Gas Best Practices

This entry records only its repository, not the path inside it, so there is no exact command to give. Open kpcrmv4/gas-best-practices and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Gas Best Practices does

Google Apps Script best practices distilled from production bugs — Claude Code skill for GAS web apps, clasp projects, PDF generation, Drive ops, and HtmlService patterns.

Alternatives in Development

  • Engage.Crash — Crash → root cause → reachability → empirical exploitability verdict (native bugs) 348 ★
  • Module 18 Drive.En — Module 18 Lesson 4-4 — Assist Google Drive (drive_ops / gog drive) via prompts 347 ★
  • Lab Skills — Skills distilled from the Lab's real work and collaboration practices 309 ★

README

gas-best-practices

Claude Code skill — Google Apps Script best practices distilled from real production bugs.

Claude Code skill รวมแนวปฏิบัติที่ดีสำหรับ Google Apps Script — สังเคราะห์จาก bug จริงใน production

Use with [Claude Code](https://claude.com/claude-code) so that Claude follows production-tested patterns when writing or reviewing GAS code.

ใช้กับ [Claude Code](https://claude.com/claude-code) เพื่อให้ Claude แนะนำ/แก้ไขโค้ด GAS ตาม pattern ที่ผ่านการใช้งานจริงในระบบ production


📦 Installation / วิธีติดตั้ง

English

Option 1 — Mac / Linux (one-liner)

curl -fsSL https://raw.githubusercontent.com/kpcrmv4/gas-best-practices/main/install.sh | bash

Option 2 — Windows PowerShell (one-liner)

iwr -useb https://raw.githubusercontent.com/kpcrmv4/gas-best-practices/main/install.ps1 | iex

Option 3 — Manual git clone (any OS)

git clone https://github.com/kpcrmv4/gas-best-practices ~/.claude/skills/gas-best-practices

For Windows without `~`:

git clone https://github.com/kpcrmv4/gas-best-practices "$HOME\.claude\skills\gas-best-practices"

Verify installation

ls ~/.claude/skills/gas-best-practices
# should show: SKILL.md, rules/, README.md, ...

Then **restart Claude Code**. The skill will auto-trigger when:

  • Your project contains .clasp.json or appsscript.json
  • You edit .gs or .js files in a clasp project
  • You mention "Google Apps Script", "GAS", or "clasp" in a prompt

Check status

bash ~/.claude/skills/gas-best-practices/check.sh

Shows current version, rules count, and whether updates are available.

Update to latest

bash ~/.claude/skills/gas-best-practices/update.sh

Or manually:

cd ~/.claude/skills/gas-best-practices && git pull

Uninstall

rm -rf ~/.claude/skills/gas-best-practices

ภาษาไทย

วิธีที่ 1 — Mac / Linux (คำสั่งเดียวจบ)

เปิด Terminal แล้ววาง: