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

cursor-rules / rules

Cursor rule8 starsChanged 19 months agoMITView on GitHub

AWS GameLift Development Standards

The file

Show its rules and text

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈29

    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:

    Use proper fleet management strategies

    line 18
  2. Distinctive:

    Create appropriate networking architecture

    line 22
  3. Distinctive:

    Create robust player session validation

    line 30
  4. Distinctive:

    Use GameLift parameters effectively

    line 32
  5. Distinctive:

    Use the GameLift Client SDK correctly

    line 36
  6. Distinctive:

    Create appropriate matchmaking requests

    line 38
  7. Distinctive:

    Create resilient connection management

    line 41
  8. Distinctive:

    Create appropriate instance type selection

    line 48
  9. Distinctive:

    Use spot instances where appropriate

    line 49
  10. Distinctive:

    Create flexible rule sets for different game modes

    line 58
  11. Distinctive:

    Create appropriate backfill strategies

    line 61
  12. Distinctive:

    Create proper matchmaking algorithms

    line 69
  13. Distinctive:

    Create resilient match failure handling

    line 72
  14. Distinctive:

    Create appropriate server group management

    line 78
  15. Distinctive:

    Create appropriate player group management

    line 89
  16. Distinctive:

    Create appropriate server-authoritative logic

    line 92
  17. Distinctive:

    Create appropriate destination selection rules

    line 98
  18. Distinctive:

    Create proper operational dashboards

    line 107
  19. Distinctive:

    Create custom metrics for game-specific events

    line 110
  20. Distinctive:

    Create proper player experience metrics

    line 113
  21. Distinctive:

    Use spot instances appropriately

    line 117
  22. Distinctive:

    Create appropriate multi-location strategies

    line 119
  23. Distinctive:

    Create cost allocation tagging

    line 122
  24. Distinctive:

    Create appropriate IAM roles and policies

    line 127
  25. Distinctive:

    Create secure network configurations

    line 130
  26. Distinctive:

    Create secure deployment pipelines

    line 133
  27. Distinctive:

    Create proper CI/CD pipelines for server builds

    line 136
  28. Distinctive:

    Create proper rollback mechanisms

    line 139
  29. Distinctive:

    Create automated smoke tests for deployments

    line 142

≈ “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-gamelift.mdc
---
description: AWS GameLift Development Standards
globs: 
alwaysApply: false
---
---
Description: AWS GameLift Development Standards
Globs: **/gamelift/**/*, **/game-server/**/*, **/matchmaking/**/*
---

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

## GameLift Architecture
- Design proper separation between game server and client
- Implement appropriate session management
- Use proper fleet management strategies
- Design scalable matchmaking systems
- Implement proper player session tracking
- Structure game server code for reliability
- Create appropriate networking architecture
- Design for multi-region deployment when needed

## Game Server Integration
- Implement the GameLift Server SDK correctly
- Initialize the server process properly
- Handle onStartGameSession callbacks appropriately
- Implement proper onProcessTerminate handling
- Create robust player session validation
- Implement proper game session logging
- Use GameLift parameters effectively
- Configure appropriate server process settings

## Client Integration
- Use the GameLift Client SDK correctly
- Implement proper session placement requests
- Create appropriate matchmaking requests
- Handle session connection correctly
- Implement proper error handling for client operations
- Create resilient connection management
- Design appropriate retry strategies
- Implement proper player authentication

## Fleet Management
- Design appropriate fleet configurations
- Implement proper auto-scaling policies
- Create appropriate instance type selection
- Use spot instances where appropriate
- Implement proper fleet deployment strategies
- Configure appropriate runtime configurations
- Design appropriate multi-location strategy
- Implement proper fleet monitoring

## Matchmaking
- Design appropriate matchmaking configurations
- Implement proper matchmaking rules
- Create flexible rule sets for different game modes
- Design appropriate team structures
- Implement proper matchmaking event handling
- Create appropriate backfill strategies
- Design latency-based matching when appropriate
- Implement timeout handling for matchmaking

## FlexMatch Integration
- Configure appropriate FlexMatch rule sets
- Implement proper player attribute collection
- Design appropriate team formation rules
- Create proper matchmaking algorithms
- Implement proper match acceptance process
- Design appropriate match backfill strategies
- Create resilient match failure handling
- Implement proper match event processing

## GameLift Anywhere
- Configure proper Anywhere fleets
- Implement proper custom compute registration
- Create appropriate server group management
- Design proper hybrid fleet strategies
- Implement proper authentication token handling
- Configure appropriate computation placement
- Design resilient custom compute integration
- Implement proper logging and monitoring

## Realtime Servers
- Configure Realtime script properly
- Implement appropriate message handlers
- Design proper game state synchronization
- Create appropriate player group management
- Implement proper session lifecycle handling
- Design scalable message patterns
- Create appropriate server-authoritative logic
- Implement proper client validation

## Queue Management
- Design appropriate queue configurations
- Implement proper queue prioritization
- Create appropriate destination selection rules
- Design proper multi-region queue strategies
- Implement appropriate placement timeout handling
- Configure proper queue depth monitoring
- Design appropriate queue fallback mechanisms
- Implement proper queue event handling

## Monitoring and Metrics
- Set up appropriate CloudWatch metrics
- Create proper operational dashboards
- Implement proper alerting for critical metrics
- Design appropriate log analysis
- Create custom metrics for game-specific events
- Implement proper performance monitoring
- Design appropriate capacity utilization tracking
- Create proper player experience metrics

## Cost Optimization
- Implement efficient fleet scaling
- Use spot instances appropriately
- Design proper instance type selection
- Create appropriate multi-location strategies
- Implement proper on-demand vs reserved instance balance
- Design appropriate resource cleanup processes
- Create cost allocation tagging
- Implement proper usage monitoring

## Security
- Implement proper player authentication
- Create appropriate IAM roles and policies
- Design secure API access patterns
- Implement proper token validation
- Create secure network configurations
- Design appropriate encryption for sensitive data
- Implement proper fleet access controls
- Create secure deployment pipelines

## Deployment Automation
- Create proper CI/CD pipelines for server builds
- Implement proper fleet deployment strategies
- Design appropriate build version management
- Create proper rollback mechanisms
- Implement blue/green deployment patterns
- Design proper fleet testing strategies
- Create automated smoke tests for deployments
- Implement proper deployment metrics monitoring

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.