원클릭으로
ruby-gem-update
Standardized Ruby gem update workflow with version checking, breaking change analysis, security advisory detection, and testing
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Standardized Ruby gem update workflow with version checking, breaking change analysis, security advisory detection, and testing
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create, execute, update, and complete implementation plans and trackers following Linkvan API conventions
Controller patterns, service delegation, strong parameters, and HTTP conventions for this Rails codebase
RuboCop metrics, Brakeman security, code style conventions, and quality checks for this Rails codebase
Database migration patterns, reversible migrations, indexes, and conventions for this Rails codebase
ActiveRecord model patterns, validations, scopes, and conventions for this Rails codebase
RSpec testing patterns, conventions, and test commands for this Rails codebase
| name | ruby-gem-update |
| description | Standardized Ruby gem update workflow with version checking, breaking change analysis, security advisory detection, and testing |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","language":"ruby"} |
bin/rspec (per AGENTS.md conventions).ruby-lsp/Gemfile.lock if presentBefore adding or updating a gem explicitly in Gemfile, check Gemfile.lock to see if it's already pulled in as a dependency:
https://rubygems.org/gems/<gem-name>https://github.com/<owner>/<repo>/releaseshttps://rubysec.com/ or search for advisories on the gemhttps://github.com/rubygems/rubygems/tree/master/securityFor each version between current and latest:
on_worker_boot → before_worker_boot)Present to user with:
Wait for user confirmation before proceeding with:
~> X.Y= X.0.0bundle update <gem-name>
bundle exec <gem-name> --version
Or for gems without CLI:
bundle exec ruby -e "require '<gem-name>'; puts <GemName>::VERSION"
bin/rspec
If tests fail:
| Update Type | Constraint Example | Notes |
|---|---|---|
| Patch only | ~> 1.0.0 | Allows 1.0.x |
| Minor | ~> 1.4 | Allows 1.x (x >= 4) |
| Major | = 2.0.0 | Lock to specific version |
| Latest | ~> 3.6 | Allows any 3.x |
User: Update puma
Assistant (using this skill):
1. Finds current: puma ~> 6.4.2
2. Checks RubyGems: latest 7.2.0
3. Checks GitHub releases:
- v7.0.0: Breaking changes (hook renames, Ruby 3.0+)
- v7.1.0: Bugfixes
- v7.2.0: Performance improvements
4. Checks security: None found
5. Checks codebase: config/puma.rb uses no deprecated hooks
6. Presents plan to user
User: proceed
Assistant:
1. Updates Gemfile: puma ~> 7.2
2. bundle update puma
3. Verifies: puma 7.2.0
4. bin/rspec → 1914 examples, 0 failures
5. Reports success
After any gem update, always run:
bin/rspec
This follows the project's AGENTS.md convention for test execution.