用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/instructure/canvas-lms --skill update-gems命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| 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.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 职业分类