Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/instructure/canvas-lms --skill update-gems명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Guidelines for squashing old Canvas database migrations
MUST use this skill when writing, reviewing, or modifying Ruby RSpec tests (*_spec.rb) in Canvas
Help create a well-formatted git commit message following Canvas LMS conventions
SOC 직업 분류 기준
| name | update-gems |
| description | Update Ruby gem dependencies |
| allowed-tools | Bash(BUNDLE_LOCKFILE=active bundle*), Bash(bundle *), Bash(git add*), Bash(git commit*), Bash(git diff*), Bash(git status*), Read, Grep, Glob, Edit |
Update gems in Canvas LMS following these rules:
Gemfile*.lock files directlyBUNDLE_LOCKFILE=active bundle outdated to find the list of outdated gems.
Keep this list in memory so you don't have to keep running it, since it is a relatively slow command.bundle update --conservative <gem_name> to update individual gemsbundle install one more time to ensure all lockfiles are in syncbundle update <gem_name> (you don't need to include the conservative flag in the commit message).
Be sure to check for changes in Gemfile*.lock, Gemfile.d/*.lock, and gems/*/Gemfile*.lock.Some groups of gems can be updated together:
aws*google*action*, active*, rack*, rails, railties, and zeitwerk -- except active_model_serializersdatadog and its dependencies that aren't shared with other gems, such as libdatadogfaraday*redis*rspec*rubocop* (and their dependencies that aren't shared with other gems, such as ast)ruby-lsp*sentry*All other gems should be updated and committed independently.
The commit message for a group should use the base name without the wildcard, or rails for the Rails group.
Gemfile.lock to determine a gem's dependencies — they're indented one level deeper than the gem that depends on them in each specs section.sorbet-runtime for patch version changes.gems/plugins/*/*.gemspec with an exact pin, it will need to be updated by changing the exact pin in the gemspec, then running BUNDLE_LOCKFILE=active bundle install.
You still need to run a bare bundle install afterwards to ensure the main lockfile and any child lockfiles stay in sync.