agentleFS
jimmypocockjimmypocock/cursor-rules/.cursor/rules/aws-vpc.mdc

cursor-rules / rules

Cursor rule8 starsChanged 19 months agoMITView on GitHub

AWS VPC Network Development Standards

The file

Show its rules and text

We split this aws-vpc.mdc into the rules it gives an agent

38 rules. About 0 are common, 38 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈38

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create appropriate public/private subnet allocation

    line 18
  2. Distinctive:

    Create appropriate network ACLs

    line 21
  3. Distinctive:

    Create appropriate subnet tagging

    line 27
  4. Distinctive:

    Create effective subnet association with route tables

    line 30
  5. Distinctive:

    Create appropriate subnet documentation

    line 33
  6. Distinctive:

    Create appropriate security group rules

    line 37
  7. Distinctive:

    Create effective security group referencing

    line 40
  8. Distinctive:

    Create proper IAM policies for network resources

    line 43
  9. Distinctive:

    Create appropriate NAT Gateway deployment

    line 47
  10. Distinctive:

    Create appropriate public subnet routing

    line 50
  11. Distinctive:

    Create appropriate route table entries

    line 53
  12. Distinctive:

    Create appropriate Transit Gateway configuration

    line 57
  13. Distinctive:

    Create appropriate Direct Connect integration

    line 60
  14. Distinctive:

    Create proper transitive routing solutions

    line 63
  15. Distinctive:

    Create appropriate private hosted zones

    line 67
  16. Distinctive:

    Create appropriate forward and reverse DNS lookups

    line 70
  17. Distinctive:

    Create appropriate domain name management

    line 73
  18. Distinctive:

    Create proper gateway endpoints

    line 77
  19. Distinctive:

    Create proper endpoint security groups

    line 80
  20. Distinctive:

    Create appropriate endpoint documentation

    line 83
  21. Distinctive:

    Create appropriate CloudWatch metrics

    line 87
  22. Distinctive:

    Create appropriate alerting for network issues

    line 90
  23. Distinctive:

    Create appropriate network performance baselines

    line 93
  24. Distinctive:

    Create appropriate placement groups

    line 97
  25. Distinctive:

    Create appropriate bandwidth allocation

    line 100
  26. Distinctive:

    Create appropriate throughput monitoring

    line 103
  27. Distinctive:

    Create appropriate security groups for load balancers

    line 107
  28. Distinctive:

    Create appropriate SSL/TLS termination

    line 110
  29. Distinctive:

    Create appropriate cross-zone load balancing

    line 113
  30. Distinctive:

    Create appropriate VPC Endpoint usage

    line 117
  31. Distinctive:

    Create appropriate monitoring for network costs

    line 120
  32. Distinctive:

    Create appropriate network service quotas

    line 123
  33. Distinctive:

    Create appropriate modularity for network components

    line 127
  34. Distinctive:

    Create appropriate stack outputs

    line 130
  35. Distinctive:

    Create appropriate documentation in code

    line 133
  36. Distinctive:

    Create appropriate testing for network configurations

    line 137
  37. Distinctive:

    Create appropriate rollback procedures

    line 140
  38. Distinctive:

    Create appropriate network compliance checking

    line 143

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
aws-vpc.mdc
---
description: AWS VPC Network Development Standards
globs: 
alwaysApply: false
---
---
Description: AWS VPC Network Development Standards
Globs: **/vpc/**/*, **/network/**/*, **/infra/**/*, **/cloudformation/**/*.yaml, **/terraform/**/*, **/*.yaml
---

# AWS VPC Development Standards
@base.mdc
@typescript.mdc

## VPC Architecture
- Design appropriate VPC CIDR blocks for scalability
- Implement proper subnet segmentation
- Create appropriate public/private subnet allocation
- Design proper availability zone distribution
- Implement efficient routing tables
- Create appropriate network ACLs
- Design effective security groups
- Implement proper VPC endpoints for AWS services

## Subnet Design
- Implement proper CIDR allocation for subnets
- Create appropriate subnet tagging
- Design proper subnet routing
- Implement appropriate subnet groups
- Create effective subnet association with route tables
- Design subnet allocation for different resource types
- Implement proper IPv6 support when needed
- Create appropriate subnet documentation

## Security Configuration
- Implement defense-in-depth security model
- Create appropriate security group rules
- Design proper network ACL rules
- Implement proper ingress/egress filtering
- Create effective security group referencing
- Design proper flow logging
- Implement appropriate VPC endpoint policies
- Create proper IAM policies for network resources

## Internet Connectivity
- Implement proper Internet Gateway configuration
- Create appropriate NAT Gateway deployment
- Design effective Egress-Only Internet Gateway for IPv6
- Implement proper elastic IP management
- Create appropriate public subnet routing
- Design effective public-facing resources
- Implement proper elastic load balancer placement
- Create appropriate route table entries

## VPC Connectivity
- Implement proper VPC peering when appropriate
- Create appropriate Transit Gateway configuration
- Design effective AWS PrivateLink connections
- Implement proper VPN connectivity
- Create appropriate Direct Connect integration
- Design effective hybrid networking
- Implement proper route propagation
- Create proper transitive routing solutions

## DNS Configuration
- Implement proper Route 53 integration
- Create appropriate private hosted zones
- Design effective DNS resolution configuration
- Implement proper DHCP options sets
- Create appropriate forward and reverse DNS lookups
- Design effective hybrid DNS solutions
- Implement proper DNS security
- Create appropriate domain name management

## VPC Endpoints
- Implement appropriate interface endpoints
- Create proper gateway endpoints
- Design effective endpoint routing
- Implement appropriate endpoint policies
- Create proper endpoint security groups
- Design effective service access patterns
- Implement proper endpoint monitoring
- Create appropriate endpoint documentation

## Network Monitoring
- Implement proper VPC Flow Logs
- Create appropriate CloudWatch metrics
- Design effective network monitoring dashboards
- Implement proper network traffic analysis
- Create appropriate alerting for network issues
- Design effective network troubleshooting procedures
- Implement proper packet capture mechanisms
- Create appropriate network performance baselines

## Network Performance
- Implement proper Enhanced Networking
- Create appropriate placement groups
- Design effective network throughput optimization
- Implement proper Jumbo Frames when appropriate
- Create appropriate bandwidth allocation
- Design effective network quality of service
- Implement proper connection tracking
- Create appropriate throughput monitoring

## Load Balancing
- Implement proper load balancer subnet placement
- Create appropriate security groups for load balancers
- Design effective target groups
- Implement proper health checks
- Create appropriate SSL/TLS termination
- Design effective load balancing algorithms
- Implement proper sticky sessions when needed
- Create appropriate cross-zone load balancing

## Cost Optimization
- Implement efficient NAT Gateway placement
- Create appropriate VPC Endpoint usage
- Design cost-effective Transit Gateway connections
- Implement proper bandwidth optimization
- Create appropriate monitoring for network costs
- Design effective data transfer paths
- Implement proper resource tagging for cost allocation
- Create appropriate network service quotas

## Infrastructure as Code
- Implement proper VPC definition in CloudFormation/CDK/Terraform
- Create appropriate modularity for network components
- Design effective parameter configuration
- Implement proper network stack organization
- Create appropriate stack outputs
- Design effective resource naming
- Implement proper tagging standards
- Create appropriate documentation in code

## Network Automation
- Implement proper CI/CD for network changes
- Create appropriate testing for network configurations
- Design effective network change management
- Implement proper validation for network changes
- Create appropriate rollback procedures
- Design effective network documentation automation
- Implement proper network configuration backups
- Create appropriate network compliance checking

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.