RuleMembers
gcp Best Practices
gcp Best Practices is a rule file for Cursor, from the Cursor rules (mdc) collection by sanjeed5. The full text is about 1,014 words in 18 sections, with 16 code blocks. A rule file tells the editor's AI how code in this stack should be written, so its suggestions follow the same conventions.
It is most useful for people working in DevOps and infrastructure and IT and security who use Cursor.
What it covers
- Code Organization and Structure
- 1. Adhere to Google's Language Style Guides
- 2. Infrastructure as Code IaC is Mandatory
- Common Patterns and Anti-patterns
- 1. Write Idempotent Functions and Services
- 2. Ensure HTTP Functions Send a Response
- 3. Least Privilege for Service Accounts
- 4. Firestore Document IDs: Avoid Sequential Values
- Performance Considerations
- 1. Minimize Cold Start Latency for Serverless
The full text is in the members library
Book a call and we will give you access to the full Cursor library: every entry in full, search by meaning, copy and download.
Source: https://github.com/sanjeed5/awesome-cursor-rules-mdc/blob/main/rules-mdc/gcp.mdc
Author: sanjeed5, Cursor rules (mdc). License: CC0-1.0.