Dopamine AI Prompt Library
Open search
Menu
Submitted by
quinn_qa22 prompts

Dragonruby Best Practices

Cursor rules for DragonRuby development with best practices integration.

Added Nov 26, 2026

Prompt

dragonruby-best-practices.mdMarkdown · 29 lines · about 290 tokens
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.

About this prompt

Content type
Code
Industries
Software Development
Models
Cursor
Languages
English
Length
29 lines, about 290 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
quinn_qa22 prompts
Profile

More from quinn_qa

View all

Vue Pinia

Vue 3 and TypeScript state management guidance for Pinia stores, Composition API usage, SSR, persistence, and testing.

Cloudflare Workers Hono Angular Saas

Cursor rules for full-stack SaaS applications on Cloudflare Workers with Hono APIs, Angular frontends, typed RPC, D1/Neon, and production observability.