Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ruby-optimise

БесплатноБез исполняемых скриптовНе проверен

Ruby performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Ruby code to ensure optimal performance patterns…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

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)

2. Collection & Enumeration (CRITICAL)

3. I/O & Database (HIGH)

4. String Handling (HIGH)

5. Method & Dispatch (MEDIUM-HIGH)

6. Data Structures (MEDIUM)

Полный SKILL.md на GitHub

Установить ruby-optimise в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdREADME.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/alloc-avoid-implicit-conversions.mdreferences/alloc-avoid-temp-arrays.mdreferences/alloc-avoid-unnecessary-dup.mdreferences/alloc-freeze-constants.mdreferences/alloc-lazy-initialization.mdreferences/alloc-reuse-buffers.mdreferences/conc-avoid-shared-mutable-state.mdreferences/conc-fiber-for-io.mdreferences/conc-ractor-cpu-bound.mdreferences/conc-thread-pool-sizing.mdreferences/ds-array-preallocation.mdreferences/ds-hash-default-value.mdreferences/ds-set-for-membership.mdreferences/ds-sort-by-over-sort.mdreferences/ds-struct-over-openstruct.mdreferences/enum-avoid-count-in-loops.mdreferences/enum-chunk-batch-processing.mdreferences/enum-each-with-object.mdreferences/enum-flat-map.mdreferences/enum-lazy-large-collections.mdreferences/enum-single-pass.mdreferences/io-avoid-queries-in-loops.mdreferences/io-batch-find-each.mdreferences/io-cache-expensive-queries.mdreferences/io-connection-pool-sizing.mdreferences/io-eager-load-associations.mdreferences/io-select-only-needed-columns.mdreferences/io-stream-large-files.mdreferences/meth-avoid-dynamic-send.mdreferences/meth-avoid-method-missing-hot-paths.mdreferences/meth-block-vs-proc.mdreferences/meth-cache-method-references.mdreferences/meth-reduce-method-chain-depth.mdreferences/runtime-enable-yjit.mdreferences/runtime-frozen-string-literal-default.md

FAQ

Что делает скилл ruby-optimise?

Ruby performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Ruby code to ensure optimal performance patterns. Triggers on tasks involving object allocation, collection processing, ActiveRecord queries, string handling, concurrency, or Ruby runtime configuration.

Как установить скилл ruby-optimise?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ruby-optimise запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ruby-optimise с