一键导入
ruby-debugging
Diagnose Ruby load, Bundler resolution, RuboCop, and RSpec failures. Use when gem installation, requires, linting, or Ruby tests fail or hang.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose Ruby load, Bundler resolution, RuboCop, and RSpec failures. Use when gem installation, requires, linting, or Ruby tests fail or hang.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Diagnose Go build, vet, test, race, and module-resolution failures. Use when Go commands fail, hang, or report dependency and checksum drift.
Diagnose Java compile, Maven, Gradle, dependency, JDK-version, and test failures. Use when JVM project builds fail, hang, or resolve incompatible artifacts.
Diagnose Python import, environment, type-check, lint, collection, and test failures. Use when pytest, mypy, ruff, or module loading fails or hangs.
Diagnose Rust compile, borrow-checker, trait, Clippy, formatting, and test failures. Use when Cargo commands fail or report lifetime, bound, lint, or test errors.
Diagnose TypeScript and Next.js type, build, module, React Server Component, test, and hydration failures. Use when Next.js or pnpm gates fail or runtime boundaries break.
Diagnose TypeScript compile, module-resolution, declaration, isolated-module, build, and type-check failures. Use when npm or TypeScript gates fail in a Node project.
基于 SOC 职业分类
| name | ruby-debugging |
| description | Diagnose Ruby load, Bundler resolution, RuboCop, and RSpec failures. Use when gem installation, requires, linting, or Ruby tests fail or hang. |
| license | MIT |
| metadata | {"author":"donmai","version":"1.0.0"} |
Debugging Ruby load errors, Bundler resolution problems, rubocop offenses, and spec failures. Systematic diagnosis for the most common Ruby/Bundler failure modes.
Use this skill when:
bundle install fails to resolve gemsbundle exec rspec fails, errors on load, or hangsbundle exec rubocop reports offenses that block validateLoadError / cannot load such file at require timebundle install 2>&1 | head -40
Common root causes:
bundle update <gem> for the conflicting
dependency, or relax the constraint in the Gemfile.ruby-version vs the active rbenv version
(rbenv version)ruby -e "require './lib/<file>'" 2>&1 | head -20
Common root causes:
require vs require_relative mismatchbundle exec so the gem's lib/ is loadedbundle installbundle exec rubocop 2>&1 | tail -30
Most offenses are auto-correctable: bundle exec rubocop -A (safe) /
-a (autocorrect). Prefer fixing over inline # rubocop:disable.
bundle exec rspec 2>&1 | grep -E "Failure|Error|examples" | head -30
Common root causes:
before/after hooks--order random surfaces these)~/.rbenv/shims. If ruby/bundle are not found, run
eval "$(rbenv init - bash)" first (the installer set rbenv up there).bundle exec to use the locked gem versions.