ruby

Scaffold Ruby gems with RSpec, RuboCop, and GitHub Actions CI.

16|2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/maroffo/claude-forge --skill ruby-maroffo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ruby
Source: https://github.com/maroffo/claude-forge/tree/main/skills/ruby
Command: npx skills add https://github.com/maroffo/claude-forge --skill ruby-maroffo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, testing, and publishing modern Ruby gems, ensuring adherence to best practices and leveraging the latest tooling.

Core Features & Use Cases

  • Gem Scaffolding: Quickly generate a new gem project with RSpec, RuboCop, and GitHub Actions CI configured.
  • Testing & Quality: Integrates RSpec for robust testing and RuboCop for code style enforcement.
  • Publishing: Guides through the process of building and publishing gems, including attestation.
  • Use Case: You need to create a new utility gem for internal use. This Skill will set up the project structure, testing framework, and CI pipeline, allowing you to focus on the gem's logic.

Quick Start

Use the ruby skill to create a new gem named 'my_gem' with RSpec and RuboCop.

Frequently Asked Questions about ruby

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

FAQPage Schema
How do I scaffold a new Ruby gem with RSpec and RuboCop configured?

Scaffolding a Ruby gem with RSpec and RuboCop involves generating a project structure integrated with Bundler and GitHub Actions CI. This setup ensures testing and code style enforcement are configured immediately for modern gem development.

What's the best way to publish a Ruby gem with attestation?

Publishing a Ruby gem with attestation requires building the gem package and following a guided publishing workflow. This process integrates with Bundler to ensure the gem is securely built and released to the repository.

Does this Ruby gem development workflow support Ruby 3.3 and above?

Yes, this Ruby gem development workflow explicitly supports Ruby version 3.3 and above. It leverages the latest tooling, integrating with Bundler and GitHub Actions for CI/CD to ensure modern compatibility.

How do I set up GitHub Actions CI for a Ruby gem project?

Setting up GitHub Actions CI for a Ruby gem project is handled during the initial scaffolding phase. The generated structure includes CI pipeline configuration to automate testing with RSpec and linting with RuboCop.

Can I use Bundler for internal utility gem development?

Yes, you can use Bundler for internal utility gem development. This workflow scaffolds the project structure, testing framework, and CI pipeline, allowing you to focus on the gem's internal logic rather than configuration.

Why use RuboCop and RSpec for modern Ruby gem development?

Using RuboCop and RSpec for Ruby gem development enforces code style and ensures robust testing. Integrating these tools during scaffolding maintains best practices and quality standards throughout the project lifecycle.