AcademyRulesDevelopment

TypeScript and clasp Cursor Rules

Operations and development teams who automate Google Workspace tasks with Apps Script and want tidy TypeScript.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-clasp-cursorrules-prompt-file.mdc -o .cursor/rules/typescript-clasp.mdc
typescript-clasp.mdc

Loading the file...

What it does

A Cursor rules file for writing TypeScript for Google Apps Script with clasp. It asks the assistant to plan in pseudocode and confirm before coding, then follow naming conventions, prefer interfaces, use enums for script constants and structure files with exports, helpers, types and constants.

Use cases

  1. 01Plan a script in pseudocode before writing it
  2. 02Write typed Apps Script functions with clear names
  3. 03Organize script files with helpers, types and constants

Questions about
TypeScript and clasp Cursor Rules.

What is TypeScript and clasp Cursor Rules used for?

Operations and development teams who automate Google Workspace tasks with Apps Script and want tidy TypeScript. A Cursor rules file for writing TypeScript for Google Apps Script with clasp. It asks the assistant to plan in pseudocode and confirm before coding, then follow naming conventions, prefer interfaces, use enums for script constants and structure files with exports, helpers, types and constants.

How do I install TypeScript and clasp Cursor Rules?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-clasp-cursorrules-prompt-file.mdc -o .cursor/rules/typescript-clasp.mdc

Is TypeScript and clasp Cursor Rules open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is TypeScript and clasp Cursor Rules safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.