RuleMembers

railway Best Practices

railway Best Practices is a rule file for Cursor, from the Cursor rules (mdc) collection by sanjeed5. The full text is about 965 words in 22 sections, with 12 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 who use Cursor.

What it covers

  • 1. Code Organization and Structure
  • ✅ GOOD: Explicit Service Definition Monorepo
  • 2. Common Patterns and Anti-patterns
  • ❌ BAD: Stateful Services
  • ✅ GOOD: Stateless Design
  • ✅ GOOD: Graceful Shutdowns Node.js Example
  • 3. Performance Considerations
  • ✅ GOOD: Private Networking for Internal Services
  • ✅ GOOD: Region Selection
  • 4. Common Pitfalls and Gotchas

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/railway.mdc

Author: sanjeed5, Cursor rules (mdc). License: CC0-1.0.

Related entries