ruby

Guide Ruby project workflows with testing, linting, and type checking.

16|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/JCETools-Petra/JCE-Opencode-Tools --skill ruby-jcetools-petra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruby
Source: https://github.com/JCETools-Petra/JCE-Opencode-Tools/tree/main/config/skills/ruby
Command: npx skills add https://github.com/JCETools-Petra/JCE-Opencode-Tools --skill ruby-jcetools-petra

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you handle Ruby development work end-to-end by guiding you toward correct implementations, modern Ruby practices, and reliable testing and verification steps.

Core Features & Use Cases

  • Auto-detection for Ruby projects: Triggers on Ruby and common Ruby tooling files such as .rb, Gemfile, and Rakefile, including Rails and other frameworks.
  • Project-specific decision guidance: Helps choose appropriate Ruby/Rails components and concurrency approaches based on the type of work (web, background jobs, CLI tools, gems).
  • Quality and safety verification checklist: Encourages working Ruby code with testing (RSpec/Minitest), linting (RuboCop), frozen-string literals, and optional type checking (RBS/Steep).

Quick Start

Ask an AI to update your Ruby codebase by adding tests and RuboCop-compliant changes for a failing spec, then verify the fix with evidence by running the relevant test and lint commands and summarizing results.

Frequently Asked Questions about ruby

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Ruby project workflows for testing and linting?

Ruby project workflows guide you through implementing and maintaining correct Ruby code by integrating RSpec or Minitest for testing, RuboCop for linting, and RBS for optional type checking to ensure code quality. This approach applies to Rails, gems, and CLI tools.

What is the best way to debug a failing RSpec spec in a Ruby app?

To debug a failing RSpec spec, update the Ruby codebase with RuboCop-compliant changes, run the relevant test commands, and summarize the results. This verification loop ensures the fix is correct and meets modern Ruby practices for both Rails and non-Rails apps.

Does this Ruby workflow tool work with Rails and non-Rails projects?

Yes, the Ruby workflow tool auto-detects Ruby contexts by triggering on .rb, Gemfile, and Rakefile files. It provides project-specific decision guidance for Rails apps, non-Rails scripts, gems, and CLI tools, ensuring appropriate tooling and patterns are applied.

How do I handle concurrency and Ractors in modern Ruby applications?

Ruby project workflows help choose appropriate concurrency approaches based on your project type, including guidance on using Ractors. It ensures work follows a complete plan-execute-review-verify loop with testing, linting, and optional type checking for safe concurrent code.

Why should I use frozen-string literals and RBS type checking in Ruby?

Frozen-string literals and RBS type checking are encouraged within Ruby workflows to improve safety and prevent mutation errors. The verification checklist integrates these practices alongside RuboCop linting and RSpec testing to maintain correct, modern Ruby code.

Can I manage Bundler and Rakefile tasks for CLI tools and gems?

Yes, Ruby project workflows support managing gems and CLI tools by auto-detecting Gemfile and Rakefile changes. It guides the implementation of appropriate Ruby components and ensures work completes with proper testing, linting, and verification steps.