Skip to content
Skill

Ruby

Adds Ruby-specific checklists to spec interviews and spec implementation

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

This skill gives the agent a Ruby-focused checklist for reviewing a spec before and during implementation. It covers architecture questions such as service object names and signatures, module and file layout, when to use Struct, Data or plain classes, and include versus extend. It also prompts for keyword argument design, error handling, nil handling at interface boundaries, and RSpec coverage including factories and edge cases.

The checklist includes a security section that asks for the password hashing algorithm and cost factor, hashed rather than plaintext token storage, and constant-time secret comparison. It points to a separate general Ruby conventions skill for underlying style guidance and states that project-specific conventions take priority.

The skill is a single SKILL.md file with no scripts. It is written for Claude Code and is distributed through a Claude Code plugin marketplace, and it assumes a spec document exists to interview against.

When your agent uses it

This skill should be used when conducting spec interviews or implementing specs for Ruby projects, or when the spec mentions "Ruby", "RSpec", "service objects", "Struct", or Ruby class/module patterns. Provides Ruby-specific interview and implementation checklist items.

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 (1 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-spec 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-spec@sorah-marketplace

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

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ruby 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/ruby &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/ruby" ~/.agents/skills/ruby &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ruby 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/ruby &&
cp -R "$tmp/claude/marketplace/plugins/sorah-spec/skills/ruby" ~/.cursor/skills/ruby &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/ruby 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-spec/skills/ruby

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/ruby 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-spec/skills/ruby into your agent's skills folder as ruby. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Architecture review prompts
Questions about service object signatures, namespaces, file layout and value object choices.
Method signature checks
Guidance on keyword arguments, required versus optional parameters and return types.
Error and nil handling
Prompts to decide which exceptions are rescued and how nil is handled at boundaries.
RSpec coverage planning
Checks on unit and integration spec structure, factories and edge case expectations.
Credential security checklist
Items covering password hashing cost, hashed token storage and constant-time comparison.

Good for

  • Review a Ruby feature spec for missing service object details before coding
  • Plan RSpec structure and factories for a new Ruby module
  • Check whether a Ruby spec specifies error handling and nil behavior
  • Verify a spec covers password hashing and token storage safely

Ruby FAQ

When does Ruby trigger?

It is meant to be used when conducting spec interviews or implementing specs for Ruby projects, or when a spec mentions Ruby, RSpec, service objects, Struct or Ruby class and module patterns.

Does Ruby run any scripts or tools?

No. The skill folder contains only SKILL.md and no scripts.

Does it replace general Ruby conventions?

No. It refers to a separate sorah-guides Ruby skill for underlying conventions, and project-specific conventions take priority.

How do I install Ruby in Claude Code?

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

Does Ruby 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 Ruby?

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 Ruby?

The closest alternatives to Ruby are Rails, Rspec skill, Specify, Spec driven development and Validate skills.

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