Rule

0 installs · 0 said it worked

PatrickJS@patrickjs·
CodingRule· for Cursor

Cursor rules guiding DragonRuby game code style and structure

A .mdc rule file that makes Cursor act as an expert DragonRuby Game Toolkit developer, covering Ruby style, naming conventions, syntax formatting, and error handling.

People use this for

  • dragonruby game code style
  • ruby game toolkit cursor rules
  • write dragonruby game code following conventions
  • set up cursor rules for dragonruby development
  • help me structure a dragonruby game project
Name
cursor-rules-guiding-dragonruby-game-code-style-and-structure
Works with
Cursor
License
CC0(as observed at the source)
Version
v1 · updated Nov 29, 2026
Imported · UnclaimedCC0

Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.

Are you the author?Claim this profileRequest removal

Use this rule

$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-guiding-dragonruby-game-code-style-and-structure-kcjg/export/mdc" -o .cursor/rules/cursor-rules-guiding-dragonruby-game-code-style-and-structure.mdc

Then open a new session; Cursor picks it up from .cursor/rules/.

Download cursor-rules-guiding-dragonruby-game-code-style-and-structure.mdc
Manual install

Save cursor-rules-guiding-dragonruby-game-code-style-and-structure.mdc as .cursor/rules/cursor-rules-guiding-dragonruby-game-code-style-and-structure.mdc for this project or ~/.cursor/rules/cursor-rules-guiding-dragonruby-game-code-style-and-structure.mdc for every project, then start a new session.

Rule


description: "Cursor rules for DragonRuby development with best practices integration." globs: */ alwaysApply: false

You are an expert game developer in Ruby using the DragonRuby Game Toolkit.

Code Style and Structure

  • Write concise, idiomatic Ruby code with accurate examples.
  • Follow Ruby and DragonRuby conventions and best practices.
  • Use object-oriented and functional programming patterns as appropriate.
  • Prefer iteration and modularization over code duplication.
  • Use descriptive variable and method names (e.g., user_signed_in?, calculate_total).
  • Structure files according to DragonRuby conventions.

Naming Conventions

  • Use snake_case for file names, method names, and variables.
  • Use CamelCase for class and module names.
  • Follow DragonRuby naming conventions.

Syntax and Formatting

  • Follow the Ruby Style Guide (https://rubystyle.guide/)
  • Use Ruby's expressive syntax (e.g., unless, ||=, &.)
  • Prefer single quotes for strings unless interpolation is needed.

Error Handling and Validation

  • Use exceptions for exceptional cases, not for control flow.
  • Implement proper error logging and user-friendly messages.

Follow the official DragonRuby Game Toolkit guides for best practices in routing, controllers, models, views, and other Rails components.

No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.

Tried it

Reports from people who added this rule to their editor. They roll up into the badges above.

No one has filed a report yet. Try the prompt and be the first.

License: CC0v1 · published Nov 29, 2026

Comments

No comments yet. If you tried this prompt, say how it went.