Rule
0 installs · 0 said it worked
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 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.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
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.
Related rules
- Find silent exception-handling smells in Python code
Scans Python files offline with ast to flag bare or swallowed excepts, silent fallbacks, lost causes, and other error-hiding patterns, returning file:line findings with severity and fix recipes.
Coding · @f
- Cursor rules enforcing clean, readable, maintainable code practices
A Cursor .mdc rule file that guides the assistant toward clean code: named constants, meaningful names, sparing comments, single-purpose functions, DRY, language style standards, extracted conditionals, continuous refactoring, and version control.
Coding · @patrickjs
- Match new code to a project's existing style and conventions
A Cursor rules prompt that makes the model analyze existing codebase patterns (naming, formatting, architecture, testing) and adapt new code to fit the established style.
Coding · @patrickjs
- Python docstring coverage and drift checker for code review
A skill-style system prompt that makes the assistant measure Python docstring coverage via AST analysis, flag stale or missing docstrings, and plan a CI-gated documentation fix.
Coding · @f
- Explain, test, and harden a Python regular expression
Explains a Python regex token by token, tests it against must-match and must-not-match samples, flags risky patterns like catastrophic backtracking, and returns a safer rewrite with a test table.
Coding · @f
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.