Antipattern Prevention
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
Use at session start for Ruby projects (Gemfile, .ruby-version, or .tool-versions present).
$ npx skills add st0012/ruby-skills --skill ruby-version-manager -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install st0012/ruby-skills ruby-version-manager --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/st0012/ruby-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruby-skills/skills/ruby-version-manager .claude/skills/ruby-version-manager && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ruby-version-manager" agent skill from https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-manager into .claude/skills/ruby-version-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ruby-version-manager", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-managerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add st0012/ruby-skills --skill ruby-version-manager -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install st0012/ruby-skills ruby-version-manager --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/st0012/ruby-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/ruby-skills/skills/ruby-version-manager .agents/skills/ruby-version-manager && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ruby-version-manager" agent skill from https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-manager into .agents/skills/ruby-version-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ruby-version-manager", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add st0012/ruby-skills --skill ruby-version-manager -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install st0012/ruby-skills ruby-version-manager --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/st0012/ruby-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/ruby-skills/skills/ruby-version-manager .cursor/skills/ruby-version-manager && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ruby-version-manager" agent skill from https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-manager into .cursor/skills/ruby-version-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ruby-version-manager", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/st0012/ruby-skills.git --path plugins/ruby-skills/skills/ruby-version-manager--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add st0012/ruby-skills --skill ruby-version-manager -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install st0012/ruby-skills ruby-version-manager --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/st0012/ruby-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/ruby-skills/skills/ruby-version-manager .gemini/skills/ruby-version-manager && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ruby-version-manager" agent skill from https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-manager into .gemini/skills/ruby-version-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ruby-version-manager", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install st0012/ruby-skills ruby-version-managerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add st0012/ruby-skills --skill ruby-version-manager -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/st0012/ruby-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/ruby-skills/skills/ruby-version-manager .github/skills/ruby-version-manager && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ruby-version-manager" agent skill from https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-manager into .github/skills/ruby-version-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ruby-version-manager", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add st0012/ruby-skills --skill ruby-version-manager -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install st0012/ruby-skills ruby-version-manager --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/st0012/ruby-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/ruby-skills/skills/ruby-version-manager .opencode/skills/ruby-version-manager && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ruby-version-manager" agent skill from https://github.com/st0012/ruby-skills/tree/master/plugins/ruby-skills/skills/ruby-version-manager into .opencode/skills/ruby-version-manager/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ruby-version-manager", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ruby-version-managerUse at session start for Ruby projects (Gemfile, .ruby-version, or .tool-versions present).
Ruby Version Manager is an agent skill from st0012/ruby-skills. Use at session start for Ruby projects (Gemfile, .ruby-version, or .tool-versions present). Detect version manager BEFORE running ruby, bundle, gem, rake, rails, rspec, or any Ruby command.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `README.md`, `detect-all-managers.sh` and `detect.sh`).
It sits in Backend & APIs, covering Backend development. It works with Ruby. The repository describes itself as: Claude Code plugins for Ruby development. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b1ea8b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Shell), which the agent can run.
Shell commands in SKILL.md call:
rbenvasdfbundlemiserubygemFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ruby Version Manager loads about 1.3k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 489 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from st0012/ruby-skills at commit b1ea8b5, republished under its MIT licence (© st0012). 489 words, ~1,293 tokens.
.claude/skills/ruby-version-manager/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Detects and configures Ruby version managers for proper environment setup.
Run detect.sh IMMEDIATELY when:
Gemfile, .ruby-version, or .tool-versionsruby, bundle, gem, rake, rails, rspec, etc.)Do NOT wait for commands to fail or user requests. Proactive detection prevents version mismatch errors.
Always chain activation with commands: ACTIVATION_COMMAND && ruby_command
Run detect.sh from this skill's directory (path provided by session-start hook).
The script outputs key=value pairs:
VERSION_MANAGER=rbenv
PROJECT_RUBY_VERSION=3.2.0
VERSION_AVAILABLE=true
ACTIVATION_COMMAND=eval "$(rbenv init -)"Chain ACTIVATION_COMMAND with your Ruby command:
eval "$(rbenv init -)" && bundle install
eval "$(rbenv init -)" && bundle exec rspecRun detect.sh once per project session; reuse ACTIVATION_COMMAND for subsequent commands.
| Variable | Description |
|---|---|
VERSION_MANAGER | Detected: shadowenv, chruby, rbenv, rvm, asdf, rv, mise, or none |
VERSION_MANAGER_PATH | Installation path |
PROJECT_RUBY_VERSION | Version required by project |
PROJECT_VERSION_SOURCE | Source file (.ruby-version, .tool-versions, .mise.toml, Gemfile) |
RUBY_ENGINE | Implementation (ruby, truffleruby, jruby) |
INSTALLED_RUBIES | Comma-separated available versions |
VERSION_AVAILABLE | true/false - whether requested version is installed |
ACTIVATION_COMMAND | Shell command to activate the manager |
SYSTEM_RUBY_VERSION | System Ruby (when VERSION_MANAGER=none) |
WARNING | Environment warnings |
NEEDS_USER_CHOICE | true when multiple managers detected without preference |
AVAILABLE_MANAGERS | List of detected managers (when NEEDS_USER_CHOICE=true) |
NEEDS_VERSION_CONFIRM | true when no version specifier found |
SUGGESTED_VERSION | Latest installed Ruby (when NEEDS_VERSION_CONFIRM=true) |
| Manager | Activation Command | Notes |
|---|---|---|
| rbenv | eval "$(rbenv init -)" | Or use rbenv exec ruby ... |
| chruby | source .../chruby.sh && chruby <version> | detect.sh provides full command |
| rvm | source "$HOME/.rvm/scripts/rvm" | Or use ~/.rvm/bin/rvm-auto-ruby |
| asdf (v0.16+) | None | asdf exec ruby ... |
| asdf (<v0.16) | source "$HOME/.asdf/asdf.sh" | Then asdf exec ruby ... |
| mise | None | mise x -- ruby ... |
| rv | None | rv ruby run -- ... |
| shadowenv | None | shadowenv exec -- ruby ... |
| none | None | ruby ... (uses PATH) |
| Category | Commands |
|---|---|
| Core | ruby, irb, gem, bundle, bundler |
| Build/Task | rake, rails, thor |
| Testing | rspec, minitest, cucumber |
| Linting | rubocop, standardrb, reek |
| LSP/IDE | ruby-lsp, solargraph, steep |
| Debug | pry, byebug, debug |
| Gem binaries | Any executable from gem install or Gemfile |
Ask the user which manager to use, then store preference:
/path/to/set-preference.sh chruby # Saves to ~/.config/ruby-skills/preference.jsonDetection priority: shadowenv > chruby > rbenv > rvm > asdf > rv > mise > none
Ask: "No .ruby-version found. Use Ruby [SUGGESTED_VERSION] for this session?" If declined, show options from INSTALLED_RUBIES.
Inform user and offer installation:
Ruby {PROJECT_RUBY_VERSION} is not installed. Install with:
- rbenv:
rbenv install {VERSION}- rvm:
rvm install {VERSION}- asdf:
asdf install ruby {VERSION}- mise:
mise install ruby@{VERSION}- chruby:
ruby-install ruby {VERSION}
Always ask before installing. For chruby, check INSTALLED_RUBIES for compatible versions (same major.minor).
If "untrusted shadowenv program" error appears, user must run shadowenv trust in the project directory.
Supported formats: 3.3.0, ruby-3.3.0, truffleruby-21.3.0, 3.3.0-rc1, 3.3 (matches any patch)
When VERSION_MANAGER=none, use system Ruby directly.
If Ruby commands fail after activation:
VERSION_AVAILABLE - install if falseVERSION_MANAGER_PATH~/.rubies or /opt/rubies for installations~/.rvm and /usr/local/rvm© st0012, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in plugins/ruby-skills/skills/ruby-version-manager of st0012/ruby-skills.
Open the folder on GitHubat commit b1ea8b5
Ruby Version Manager next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ruby Version Manager this skillst0012/ruby-skills | 125 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Antipattern Preventiondoorkeeper-gem/doorkeeper | 5.5k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Backfill Event Datarubyevents/rubyevents | 569 | — | ~2.8k | Automated safety check: Pass | None | |
| Upgrade RailsRailsEventStore/ecommerce | 507 | — | ~976 | Automated safety check: Pass | MIT | |
| Rails ExpertJeffallan/claude-skills | 12k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Production Log Inspectionbikeindex/bike_index | 308 | — | ~3.6k | Automated safety check: Pass | AGPL-3.0 |
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
rubyevents/rubyevents
Add or backfill RubyEvents conference data for an event from its website — involvements (organizers/MCs), sponsors, venue + hotels, schedule, talk running order, and speaker GitHub/Twitter handles.
RailsEventStore/ecommerce
Upgrade Rails framework to a newer version following the smooth upgrade methodology
Jeffallan/claude-skills
Builds Rails 7+ apps with Hotwire Turbo Frames and Streams, Active Record tuning, Action Cable, Sidekiq jobs and RSpec specs, with migration and N+1 checks.
bikeindex/bike_index
Inspect the Bike Index production Rails logs downloaded by binxlogs and streamed with binxcat web / binxcat worker — JSON-per-request (Lograge) on web plus free-form background-job lines on worker…
getsentry/sentry-for-ai
Full Sentry SDK setup for Ruby. An agent skill from getsentry/sentry-for-ai.
st0012/ruby-skills
A skill your agent uses when writing or running tests in a Ruby project that uses minitest or test-unit.
st0012/ruby-skills
A skill your agent uses when working in a Ruby project - provides authoritative sources for documentation, typing, and tooling
Works with
Categories
Use at session start for Ruby projects (Gemfile, .ruby-version, or .tool-versions present). Ruby Version Manager is an agent skill from st0012/ruby-skills.tool-versions present).
Ruby Version Manager fits situations like: tasks that involve Backend development.
Run `npx skills add st0012/ruby-skills --skill ruby-version-manager -a claude-code`. Or copy the skill folder (plugins/ruby-skills/skills/ruby-version-manager in st0012/ruby-skills) into .claude/skills/ruby-version-manager in your project. Claude Code loads it when a task matches its description.
Run `npx skills add st0012/ruby-skills --skill ruby-version-manager -a codex`. Or copy the skill folder (plugins/ruby-skills/skills/ruby-version-manager in st0012/ruby-skills) into .agents/skills/ruby-version-manager in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add st0012/ruby-skills --skill ruby-version-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ruby-version-manager, .gemini/skills/ruby-version-manager, .github/skills/ruby-version-manager and .opencode/skills/ruby-version-manager in your project.
Going by SKILL.md and its folder, Ruby Version Manager needs a shell for the scripts in its folder and the command-line tools its instructions call (rbenv, asdf, bundle, mise, ruby and gem). Our summary lists: A Bash shell; Docker.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ruby Version Manager is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ruby Version Manager: Antipattern Prevention (doorkeeper-gem/doorkeeper, 5.5k stars), Backfill Event Data (rubyevents/rubyevents, 569 stars), Upgrade Rails (RailsEventStore/ecommerce, 507 stars) and Rails Expert (Jeffallan/claude-skills, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
st0012 (a GitHub user) maintains it in st0012/ruby-skills, which has 125 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on June 13, 2026.
Source: st0012/ruby-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.