inline-rbs

Embed Ruby RBS type signatures directly in source files.

19|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/stevegeek/claude-ruby-plugins --skill inline-rbs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inline-rbs
Source: https://github.com/stevegeek/claude-ruby-plugins/tree/main/plugins/ruby-rbs/skills/ruby-rbs/subskills/inline
Command: npx skills add https://github.com/stevegeek/claude-ruby-plugins --skill inline-rbs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ruby projects often struggle with maintaining type safety and readability as they grow. Inline RBS annotations let developers embed type signatures directly in source files, enabling static checks without separate signature files.

Core Features & Use Cases

  • Inline RBS comments in Ruby sources to annotate methods, classes, and modules.
  • Supports multiple style options (primitive, keyword, doc-style) for flexibility.
  • Useful for gradual typing, code reviews, and ensuring compatibility with tools like Steep.

Quick Start

Use the inline-rbs skill to add inline type annotations to a Ruby file using the rbs-inline gem.

Frequently Asked Questions about inline-rbs

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

FAQPage Schema
How do I add inline RBS type annotations to Ruby source files?

To add inline RBS type annotations to Ruby source files, you embed RBS type signatures directly in your code comments. This skill applies the rbs-inline gem to annotate methods, classes, and modules across single files or full codebases.

Can I use inline Ruby typing with Steep for static checks?

Yes, inline Ruby typing ensures compatibility with static checking tools like Steep. By embedding RBS type signatures directly in source files, you enable static checks without needing separate signature files.

What annotation styles does rbs-inline support for Ruby methods?

The rbs-inline approach supports multiple annotation styles for Ruby methods, including primitive, keyword, and doc-style options. This flexibility allows you to integrate inline typing smoothly into existing workflows.

Do I need the rbs-inline gem to annotate Ruby classes and modules?

Yes, you need the rbs-inline gem and a Ruby runtime to use this skill. It enables embedding RBS type signatures directly in source files to annotate Ruby classes, modules, and methods.

Is inline RBS suitable for gradual typing in large Ruby codebases?

Inline RBS is highly useful for gradual typing in large Ruby codebases. It lets developers embed type signatures directly in source files, improving type safety and readability during code reviews as projects grow.