-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules
More file actions
67 lines (62 loc) · 1.64 KB
/
.cursorrules
File metadata and controls
67 lines (62 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Project Structure Rules
{
"allowedDirectories": {
"GAS": "Google Apps Script files only",
"project-tools": "Helper scripts and tools",
"utils": "Utility functions",
"node_modules": "Node.js dependencies"
},
"GAS": {
"restrictions": [
"*.js files must be pure Google Apps Script compatible",
"No Node.js specific code or imports",
"Must follow google apps script syntax and avoid advanced API features unless necessary"
],
"required": [
"appsscript.json",
".claspignore"
]
},
"project-tools": {
"permissions": [
"Create helper scripts",
"Use Node.js packages",
"Execute scripts with user approval"
]
},
"initialization": {
"questions": [
{
"type": "choice",
"prompt": "Would you like to create a new project or clone an existing one?",
"options": ["create", "clone"]
},
{
"type": "input",
"prompt": "What is your Google Apps Script project ID? (Leave blank for new project)",
"condition": "clone"
},
{
"type": "input",
"prompt": "What would you like to name your project?",
"required": true
}
]
},
"assistanceFlow": {
"steps": [
"Verify Google Apps Script API is enabled",
"Set up necessary credentials",
"Configure project structure",
"Initialize development environment",
"Set up automated workflows"
]
},
"development": {
"enforceRules": [
"Keep all GAS files in /GAS directory",
"Use project-tools for automation scripts",
"Maintain separation between Node.js and GAS code"
]
}
}