RuleMembers
aws-dynamodb Best Practices
aws-dynamodb Best Practices is a rule file for Cursor, from the Cursor rules (mdc) collection by sanjeed5. The full text is about 663 words in 10 sections, with 6 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 Data and analytics and IT and security who use Cursor.
What it covers
- 1. Data Modeling: Single-Table Design is King
- ✅ GOOD: Single-Table Design with Composite Primary Keys
- ❌ BAD: Multi-Table Design for Related Entities
- 2. Code Organization and Structure
- ✅ GOOD: Dedicated Data Access Layer with Typed Clients
- ❌ BAD: Inline DynamoDB Calls or Generic Clients
- 3. Performance Considerations
- ✅ GOOD: Use On-Demand Capacity or Provisioned with Auto-Scaling
- ❌ BAD: Fixed Provisioned Capacity for Spiky Workloads
- ✅ GOOD: Leverage Query and GetItem with Strong Typing
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/aws-dynamodb.mdc
Author: sanjeed5, Cursor rules (mdc). License: CC0-1.0.