OpenParable
Skip to content
← Back to skills

ruby-resource-map

Research

Use when working in a Ruby project - provides authoritative sources for documentation, typing, and tooling

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/st0012/ruby-skills/blob/HEAD/plugins/ruby-skills/skills/ruby-resource-map/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ruby-resource-map, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ruby Knowledge

Authoritative resource map for Ruby development. Use these sources rather than searching broadly.

Never use these sources:

  • ruby-doc.org
  • apidock.com

Official Documentation

Primary source: https://docs.ruby-lang.org/en/

Other Useful Resources

Core & Standard Library

TermMeaning
Default gemShips with Ruby, cannot uninstall
Bundled gemShips with Ruby, can uninstall/replace
Standard libraryPart of Ruby itself, not a gem

To check which gem versions ship with each Ruby release: https://stdgems.org/

Testing Frameworks

Typing Ecosystem

Two type definition formats exist in Ruby:

  • RBI - Sorbet's format. Uses Ruby DSL syntax (sig { ... }) in .rb and .rbi files.
  • RBS - Official Ruby format (Ruby 3.0+). Dedicated syntax in .rbs files or inline as comments.

Sorbet Ecosystem

Sorbet is a static and runtime type checker for Ruby, maintained by Stripe. Key companion tools:

  • Tapioca - Generates RBI files for gems and DSLs (Rails, ActiveRecord, etc.)
  • Spoom - Coverage analysis, strictness bumping, dead code detection, signature migration

RBS Ecosystem

  • rbs - Official CLI for working with RBS files (prototype, list, methods)
  • Steep - Type checker that uses RBS

RBS Inline Comments

Sorbet supports RBS-style inline type annotations using #: comment syntax. This eliminates the need for separate .rbi files or verbose sig blocks.

Docs: https://sorbet.org/docs/rbs-comments