LLM Skills
~/catalog/frontend//dragonruby-best-practices-cursorrules-prompt-filec
FrontendGitHub source

Dragonruby best practices

/dragonruby-best-practices-cursorrules-prompt-filec

Follows the "Cursor" guidelines to ensure consistent and maintainable development using Dragonruby.

PatrickJSPatrickJS
40.7k
May 27, 2026
CC0-1.0
// skill content

--- 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., usersignedin?, calculatetotal). - Structure files according to DragonRuby conventions. Naming Conventions - Use snakecase 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.

// original public source
PatrickJS/awesome-cursorrules
/rules/dragonruby-best-practices-cursorrules-prompt-file.mdc
License: CC0-1.0. Review the repository before reusing it.
Independent project, not affiliated with Anthropic. This skill remains the property of its original author.
// install this skill
Paste this command in your terminal at the root of your project:
mkdir -p .claude/commands && curl -o ".claude/commands/dragonruby-best-practices-cursorrules-prompt-file.mdc" "https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/dragonruby-best-practices-cursorrules-prompt-file.mdc"
Then in Claude Code, type /dragonruby-best-practices-cursorrules-prompt-filec to activate it.
open_in_newOpen original source
// save
Save available after sign in.
loginSign in to save
// information
CreatorPatrickJS
Stars 40.7k
CategoryFrontend
LicenseCC0-1.0
UpdatedMay 27, 2026
Format.md
AccessFree
// similar

Skills Frontend

View allarrow_forward