tattooinmtl/omni/ruby
Claude Code and agent skill by tattooinmtl/omni
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Production Ruby 3.3+ codebase starter, Bundler, RuboCop, RSpec, Rails/Sinatra patterns, YJIT performance optimization, and harness verification for Ruby engineering.
Install
npx vskill@latest install tattooinmtl/omni/rubySKILL.md
The same SKILL.md was published earlier as tattooinmtl/dariusai/ruby.
Ruby Codebase & Engineering Skill
Comprehensive operational guide, starter architecture, best practices, and harness controls for Ruby and Rails/Sinatra backend engineering.
1. Stack Overview & Dependencies
- Runtime: Ruby 3.3+ (with YJIT enabled
--yjit) - Package & Dependency Manager: Bundler (
Gemfile/Gemfile.lock) - Frameworks: Ruby on Rails 7.1+, Sinatra, or Hanami
- Core Dependencies:
rspec: Behavior-driven testing frameworkrubocop&rubocop-performance: Code style and performance linterpuma: High-concurrency HTTP web serverconcurrent-ruby: Modern concurrency primitiveszeitwerk: Code autoloader
2. Standard Codebase Structure
3. How-To Workflows
Install Dependencies
Dev Mode Execution
Static Analysis & Code Formatting
Testing & Verification
4. Best Practices & Design Patterns
- Ruby 3 Fiber & YJIT Concurrency: Leverage Ruby 3 Fiber scheduler and enable
--yjitin production to achieve 20-40% lower response latencies. - Immutable Frozen String Literals: Declare
# frozen_string_literal: trueat the top of every file to avoid useless string object allocations. - Keyword Arguments: Prefer explicit keyword arguments (
def process(user_id:, score:)) over positional arrays or implicit options hashes. - Enumerable Operations: Leverage Ruby's expressive
Enumerablemodule (select,map,reduce,flat_map,partition). - DRY Class Contracts & Modules: Use Mixins (
include/prepend/extend) cleanly without polluting object ancestor chains.
5. Tips, Tricks & Pitfalls
- N+1 Database Queries: In Rails, always use
.includes(:relation)or.eager_load()to eliminate N+1 queries. - Safe Navigation Operator: Use
&.(user&.name) to preventNoMethodErroronnilobjects. - Mutating Methods (`!`): Methods ending in
!(e.g.strip!,save!) mutate the object or raise an error; use with caution.
6. Harness Hooks & Safety Enforcement
- PreToolUse Guard: Validate Ruby syntax (
ruby -c) before execution. - PostToolUse Verification: Trigger
bundle exec rubocopandrspecautomatically after editing Ruby scripts.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codebase-starters/ruby/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tattooinmtl/omni/ruby)