This is your go-to for modern Ruby and Rails development, covering everything from Ruby 3+ features like pattern matching and endless methods to full-stack Rails 7 applications with Active Record, background jobs, and API controllers. The examples are comprehensive and production-ready, showing real patterns for associations, validations, query optimization, and error handling. What I like here is the focus on modern syntax like numbered block parameters and hash literal value omission that many Ruby developers still aren't using. If you're building Rails APIs or need solid examples of proper model callbacks and scope chains, this has you covered without the usual tutorial fluff.

skills.sh installs
191
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill ruby-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

Ruby Expert

Expert guidance for Ruby development, including Ruby 3+ features, Rails framework, testing with RSpec, and Ruby best practices.

Core Concepts

Ruby 3+ Features

  • Pattern matching
  • Ractors (parallel execution)
  • Fibers (cooperative concurrency)
  • Type signatures (RBS)
  • Endless methods
  • Numbered block parameters
  • Hash literal value omission

Object-Oriented

  • Everything is an object
  • Classes and modules
  • Inheritance and mixins
  • Method visibility (public, private, protected)
  • Singleton methods and eigenclasses
  • Duck typing

Functional Features

  • Blocks, procs, and lambdas
  • Higher-order functions (map, reduce, select)
  • Enumerables
  • Lazy evaluation

Modern Ruby Syntax

Pattern Matching (Ruby 3.0+)

# Case/in pattern matching
def process_response(response)
  case response
  in { status: 200, body: }
    puts "Success: #{body}"
  in { status: 404 }
    puts "Not found"
  in { status: 500..599, error: message }
    puts "Server error: #{message}"
  else
    puts "Unknown response"
  end
end

# Rightward assignment
response = { status: 200, body: "OK" }
response => { status:, body: }
puts status  # 200
puts body    # "OK"

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Category
Testing & QA
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99
1clostaunau avatarjava-best-practicesclostaunau/holiday-cardComprehensive Java development best practices covering SOLID principles, DRY, Clean Code, Java-specific patterns (Optional, immutability, streams, lambdas), exc189skills.sh installs
2charleswiltgen avataraxiom-swiftdata-migrationcharleswiltgen/axiomUse when creating SwiftData custom schema migrations with VersionedSchema and SchemaMigrationPlan - property type changes, relationship preservation (one-to-man187skills.sh installs
3terminaluse avatarterminaluseterminaluse/agent-skillsCreate, edit, deploy, and interact with agents on TerminalUse. Use when user mentions "tu", "terminaluse", "deploy agent", "create agent", "edit agent", "update187skills.sh installs
4hiyeshu avatarcodeck-exporthiyeshu/codeckInternal publisher module for /codeck. Exports deck to PDF or PPTX with post-export QA. User-facing export requests should enter through /codeck; this skill def185skills.sh installs
5hairyf avatararch-tsdown-clihairyf/skillsTypeScript CLI starter using tsdown. Use when scaffolding or maintaining an npm CLI package with tsdown, pnpm, Vitest, and npm Trusted Publisher.180skills.sh installs
6josiahsiegel avatarado-pipeline-best-practicesjosiahsiegel/claude-plugin-marketplaceAzure DevOps pipeline best practices, patterns, and industry standards. PROACTIVELY activate for: (1) authoring or reviewing Azure DevOps YAML pipelines, (2) mu180skills.sh installs