# Steep

> Steep is an open-source agent skill for developer tools. Guides writing and fixing Ruby types with rbs-inline annotations checked by Steep. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/sorah/config/tree/master/claude/marketplace/plugins/sorah-guides/skills/steep
- **Repository:** https://github.com/sorah/config
- **GitHub stars:** 31
- **License:** MIT
- **Skill name:** steep
- **Collection:** https://github.com/sorah/config
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/steep)
- [License: MIT](https://github.com/sorah/config/tree/HEAD/claude/marketplace/plugins/sorah-guides/skills/steep)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Steep adoption](https://ai-powered.com/skills/steep-adoption): Steep adoption is an open-source agent skill for developer tools.
- [Sorbet](https://ai-powered.com/skills/sorbet): Sorbet is an open-source agent skill for developer tools.
- [Sorbet adoption](https://ai-powered.com/skills/sorbet-adoption): Sorbet adoption is an open-source agent skill for developer tools.
- [Ruby](https://ai-powered.com/skills/ruby-sorah): Ruby is an open-source agent skill for developer tools.
- [Rails](https://ai-powered.com/skills/rails-sorah): Rails is an open-source agent skill for developer tools.
- [Skmtc lang ruby](https://ai-powered.com/skills/skmtc-lang-ruby): Skmtc lang ruby is an open-source agent skill for developer tools.
- [Readme](https://ai-powered.com/skills/readme-sorah): Readme is an open-source agent skill for developer tools.
- [Codebase design](https://ai-powered.com/skills/codebase-design): Codebase design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/steep-sorah
