Ruby Optimise
Ruby performance rules across 8 categories covering allocation, collections, I/O, strings, and runtime tuning.
- CCM score
- 42 of 100
- skills.sh installs
- 296
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 42 rules ordered by impact, from CRITICAL object allocation and collection work down to LOW-MEDIUM runtime settings
- Includes rule files for ActiveRecord eager loading,
find_eachbatching,Setmembership tests,StructoverOpenStruct, and YJIT configuration - Guides code writing, review, and refactoring toward patterns like frozen string literals,
flat_mapovermap.flatten, and avoiding queries inside loops - Designed for Ruby and Rails teams that want automated refactoring or code generation to follow community performance practices
Install
$ npx -y skills add pproenca/dot-skills --skill ruby-optimise -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Community Ruby Best Practices
Comprehensive performance optimization guide for Ruby applications, maintained by the community. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Writing new Ruby code or gems
- Optimizing ActiveRecord queries and database access patterns
- Processing large collections or building data pipelines
- Reviewing code for memory bloat and GC pressure
- Configuring Ruby runtime settings for production
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Object Allocation | CRITICAL | alloc- |
| 2 | Collection & Enumeration | CRITICAL | enum- |
| 3 | I/O & Database | HIGH | io- |
| 4 | String Handling | HIGH | str- |
| 5 | Method & Dispatch | MEDIUM-HIGH | meth- |
| 6 | Data Structures | MEDIUM | ds- |
| 7 | Concurrency | MEDIUM | conc- |
| 8 | Runtime & Configuration | LOW-MEDIUM | runtime- |
Quick Reference
1. Object Allocation (CRITICAL)
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Code Review & Quality, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the ruby-optimise skill do?
ruby-optimise gives an agent Ruby performance optimization guidelines covering 42 rules across 8 categories, including object allocation, collection processing, ActiveRecord queries, string handling, concurrency and runtime configuration. It is meant for writing, reviewing or refactoring Ruby code so that it follows optimal performance patterns.
How do I install the ruby-optimise skill?
Run npx -y skills add pproenca/dot-skills --skill ruby-optimise -y inside your project to install ruby-optimise. Once installed, the agent can apply its Ruby performance rules when it writes or reviews code in that project.
Which skills does ruby-optimise sit alongside in Code Review & Quality?
ruby-optimise is listed in the Code Review & Quality category on Claude Marketplaces. Its rules focus on performance patterns such as allocation, enumeration and ActiveRecord access, which set it apart from general review skills.
More from pproenca/dot-skills
All 100- Ios Testing293
- Swift Refactor293
- Dev Rfc290
- Ios Taste288
- Swift Ui Architect287
- Ios Storyboard281
- Rails Design System280
- Ios Navigation279
- Swift Data279
- Ios Chaos Monkey278
- Nginx C Module Perf271
- Bug Review269
- React Native Elements269
- Effect Ts267
- Nginx C Module Debug264
- Rust Write Tests262
- Rails Application Ui Blocks261
- Rust Implement260
- Domain Architect254
- Exec Plan243
- Graph Schema243
- Framer Motion Best Practices187
- Rust124
- Vitest8.4K
Similar to Ruby Optimise
More Code Review & Qualityrails-devSkillpproenca/dot-skills303 installsRails performance and maintainability guidelines covering controllers, ActiveRecord, security, caching, views, APIs, and jobs.
ruby-refactorSkillpproenca/dot-skills313 installsRuby refactoring guide covering 45 community rules across design, conditionals, coupling, idioms, and Ruby 3.x features.
performance-optimizerPlugindavila7/claude-code-templates24.2K starsPerformance optimization suite with profiling, bundle analysis, and speed improvement tools
golang-performanceSkillsamber/cc-skills-golang45.1K installsGo performance patterns for allocation reduction, CPU efficiency, GC tuning, pooling, and caching, applied per bottleneck.
karpathy-guidelinesSkillmultica-ai/andrej-karpathy-skills50.2K installsBehavioral guidelines that steer LLM coding toward simpler, surgical, verifiable changes.
laravel-best-practicesSkilllaravel/boost2.8K installsIndex of Laravel best-practice rule files for code writing, review, and refactoring, covering queries, security, and architecture.