Skip to content
Skill

Steep

Guides writing and fixing Ruby types with rbs-inline annotations checked by Steep

Steep is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
31
Last commit
License
MIT
Listing updated

Similar skills

About Steep

This skill covers typing a Ruby gem checked by Steep, using inline #: and # @rbs comments that rbs-inline turns into committed RBS files. It describes the project layout (Steepfile, rbs_collection.yaml, sig/generated, sig/manual, sig-stub), the required magic comment at the top of lib files, and the rule that every method needs a signature so untyped defaults do not pass silently.

It also gives patterns for mixins and concerns, Data.define classes, handling third-party gem signatures through the rbs collection, and narrowing nilable values. Escape hatches such as untyped casts and steep:ignore blocks are allowed only with a one-line reason. The guide defers to a project's own DESIGN.md or docs folder when they conflict.

The workflow centres on running the project's steep rake task after each annotation change, which regenerates, validates and checks the signatures. Work is done in Ruby with Steep and rbs-inline, and Rails applications are pointed to a separate Sorbet guide.

When your agent uses it

This skill should be used when writing, reviewing, or fixing types in a Ruby library or gem typechecked by Steep, or when adding a Ruby file to such a project. Signs include a `Steepfile`, `rbs_collection.yaml`, a `sig/` directory (`sig/generated`, `sig/manual`, `sig-stub`), `# rbs_inline: enabled` magic comments, `#:` or `# @rbs` annotations, `# steep:ignore`, or the user mentioning "Steep", "steep check", "RBS", "rbs-inline", "rbs collection", "gem_rbs_collection", or a `Ruby::` diagnostic ID. Provides the file layout, rbs-inline annotation syntax, what belongs in hand-written signatures, concern and Data.define patterns, third-party signature handling, nil handling and escape hatches. Project-specific conventions (DESIGN.md, docs/) always take priority.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (10 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the sorah-guides plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add sorah/config
/plugin install sorah-guides@sorah-marketplace

Or copy only this skill to ~/.claude/skills/steep:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/steep &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/steep" ~/.claude/skills/steep &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/steep inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/steep to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/steep &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/steep" ~/.agents/skills/steep &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/steep inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/steep to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/steep &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/steep" ~/.cursor/skills/steep &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/steep inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/sorah/config.git --path claude/marketplace/plugins/sorah-guides/skills/steep

Or copy the folder to ~/.gemini/skills/steep yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/steep:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/sorah/config.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/steep &&
cp -R "$tmp/claude/marketplace/plugins/sorah-guides/skills/steep" ~/.copilot/skills/steep &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/steep inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/sorah/config.git

Then copy config/claude/marketplace/plugins/sorah-guides/skills/steep into your agent's skills folder as steep. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Inline signature annotations
Explains where #: method signatures, constant types and instance variable declarations go in Ruby files.
Project file layout
Describes the Steepfile, collection files and which signature directories are committed or shipped.
Mixin and concern typing
Covers module-self interfaces, ActiveSupport concerns and wrapping unsupported DSL blocks.
Data.define patterns
Shows how to annotate Data.define members and override initialize with manual signatures.
Third-party signature handling
Explains using the gem RBS collection, local sources and narrow stubs for gems lacking correct types.
Nil narrowing guidance
Ranks techniques for handling nilable values without unchecked casts.

Good for

  • Add type annotations to a Ruby gem's methods
  • Fix a Steep check failure caused by a missing gem signature
  • Type a class that uses a concern or mixin
  • Annotate a Data.define value object
  • Regenerate and validate RBS signatures after a change

Steep FAQ

When does Steep trigger?

When writing, reviewing or fixing types in a Ruby library or gem typechecked by Steep, or when a Steepfile, rbs_collection.yaml, sig directory or rbs-inline magic comment is present.

Does Steep apply to Rails applications?

No. The guide says Rails apps use Sorbet instead and points to the sorbet skill.

What command runs the checks?

Running bundle exec rake steep, which regenerates, validates and checks the project.

Which project rules take priority?

The project's DESIGN.md or docs folder takes priority over this guide.

How do I install Steep in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/steep to use it in all your projects, or to .claude/skills/steep in one project. Or install the sorah-guides plugin, which includes it: /plugin marketplace add sorah/config, then /plugin install sorah-guides@sorah-marketplace.

Does Steep run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Steep?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Steep?

The closest alternatives to Steep are Steep adoption, Sorbet, Sorbet adoption, Ruby and Rails.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from sorah/config

  1. Guides an agent through maintaining sorah's aptly-managed APT repositories and their

    • Open source
    • 31 GitHub stars
    • Cloud and infrastructure
  2. Runs a chief-of-staff session that watches your coding agents and keeps work on track

    • Open source
    • 31 GitHub stars
    • Developer tools
  3. Applies language-agnostic coding conventions to code writing and review

    • Open source
    • 31 GitHub stars
    • Developer tools
  4. Guides the agent to write git commit messages and PR titles in a concise house style

    • Open source
    • 31 GitHub stars
    • Developer tools
  5. Guides an agent through building and testing Rails apps on Aurora DSQL

    • Open source
    • 31 GitHub stars
    • Developer tools
  6. Writes English text in the author's terse, direct technical voice for GitHub and email

    • Open source
    • 31 GitHub stars
    • Developer tools