[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75WS4JERM6ECWDNP5QTP07Y":3,"skill-same:01M75WS4JERM6ECWDNP5QTP07Y":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M75WS4JERM6ECWDNP5QTP07Y","ruby-rails-ci-matrix",null,"Maintain the Ruby and Rails version matrix tested in CI for a Ruby gem. Use this when you need to remove EOL versions, add the latest supported versions, and update gemfiles and gemspec accordingly. Always use this for requests like 'remove unsupported Ruby\u002FRails versions', 'add the latest Rails', or 'update the CI matrix'.","aki77\u002Fbundler-skills","aki77","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F163168?v=4","01M75WS245F9V23K0RACEBM5EM","01M75WS24V6Z3TW9X0GQMMX6G1",0,"MIT","https:\u002F\u002Fgithub.com\u002Faki77\u002Fbundler-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fruby-rails-ci-matrix\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\ndescription: Maintain the Ruby and Rails version matrix tested in CI for a Ruby gem. Use this when you need to remove EOL versions, add the latest supported versions, and update gemfiles and gemspec accordingly. Always use this for requests like 'remove unsupported Ruby\u002FRails versions', 'add the latest Rails', or 'update the CI matrix'.\nlicense: MIT\nmetadata:\n    github-path: skills\u002Fruby\u002Fruby-rails-ci-matrix\n    github-ref: refs\u002Fheads\u002Fmain\n    github-repo: https:\u002F\u002Fgithub.com\u002Faki77\u002Fskills\n    github-tree-sha: 59898557bcf3dd4e734ae3f25c8ab025a43341be\nname: ruby-rails-ci-matrix\n---\n# ruby-rails-ci-matrix\n\nMaintain the Ruby and Rails versions tested in CI for a Ruby gem that uses GitHub Actions matrix strategy with `gemfiles\u002FrailsXX.gemfile` and a gemspec. This skill keeps the test matrix aligned with the current support status.\n\nRemove EOL (End of Life) versions and add currently supported and latest stable versions. The gemfile, gemspec, and workflow YAML must be updated **in sync** — updating only one will break CI.\n\n## 1. Assess the Current State\n\nBefore making any changes, read all three types of files involved.\n\n| File | What to check |\n| --- | --- |\n| `.github\u002Fworkflows\u002F*.yml` | `strategy.matrix.include` entries (`{ ruby:, gemfile: }`), `ruby\u002Fsetup-ruby` version |\n| `gemfiles\u002F*.gemfile` | Per-Rails-version gemfiles — `source` URL and `gem 'rails', '~> X.Y.0'` |\n| `*.gemspec` | `required_ruby_version` and the lower bound of `add_dependency \"rails\", ...` |\n\nNote that the `gemfile:` values in the matrix correspond 1:1 with `gemfiles\u002F\u003Cvalue>.gemfile`.\n\n## 2. Research EOL Status\n\n**Use today's date as the reference** and fetch the latest support information — do not rely on memory.\n\n- Ruby: \u003Chttps:\u002F\u002Fendoflife.date\u002Fruby>\n- Rails: \u003Chttps:\u002F\u002Fendoflife.date\u002Frails>\n\nIf endoflife.date is unreachable, use WebSearch as a fallback. Confirm the following three things:\n\n1. EOL date for each version (including security support end date) — has it passed as of today?\n2. Full list of currently supported versions\n3. Latest stable releases (check whether a new major like Ruby 4.0 or Rails 8.1 has been released)\n\n> Ruby releases a new version every December with ~3 years 3 months of support. Rails 7.2+ receives 1 year of standard support and 2 years of security support.\n\n## 3. Decide What to Add and Remove\n\n- **Remove**: Ruby \u002F Rails versions that are EOL (security support also ended) as of today.\n- **Add**: Supported versions not yet in the matrix, plus the latest stable releases.\n- **Keep**: Versions still under security support. For versions expiring within a few months, ask the user whether to keep them.\n- Build the matrix as **each Rails version × the compatible Ruby versions**. Pay attention to compatibility — older Rails versions may not support the newest Ruby.\n\n## 4. Update Files\n\nKeep all three files consistent. **If you remove a gemfile, remove the matrix entry too** (and vice versa).\n\n### Workflow YAML Matrix\n\nUpdate the `include:` entries. Use short-form Ruby version strings (`\"4.0\"`) so `ruby\u002Fsetup-ruby` automatically picks the latest patch.\n\n```yaml\nstrategy:\n  matrix:\n    include:\n      - { ruby: \"3.3\", gemfile: \"rails72\" }\n      - { ruby: \"3.4\", gemfile: \"rails72\" }\n      - { ruby: \"4.0\", gemfile: \"rails72\" }\n      - { ruby: \"3.3\", gemfile: \"rails80\" }\n      - { ruby: \"3.4\", gemfile: \"rails80\" }\n      - { ruby: \"4.0\", gemfile: \"rails80\" }\n      - { ruby: \"3.3\", gemfile: \"rails81\" }\n      - { ruby: \"3.4\", gemfile: \"rails81\" }\n      - { ruby: \"4.0\", gemfile: \"rails81\" }\n```\n\n### Create \u002F Delete Gemfiles\n\nFor a new Rails version, copy an existing gemfile and change only the `~> X.Y.0` constraint.\n\n```ruby\nsource \"https:\u002F\u002Frubygems.org\"\n\ngem 'rails', '~> 8.1.0'\ngem 'sqlite3'\n\ngemspec path: '..\u002F'\n```\n\nDelete the gemfile for any Rails version being dropped.\n\n### Update gemspec Lower Bounds\n\nUpdate two lines to match the minimum supported versions.\n\n```ruby\nspec.required_ruby_version = '>= 3.3.0'      # minimum supported Ruby\nspec.add_dependency \"rails\", \">= 7.2.0\"      # minimum supported Rails\n```\n\n## Notes\n\n- **Always use `https:\u002F\u002Frubygems.org`** as the `source` — fix any `http:\u002F\u002F` occurrences.\n- **`ruby\u002Fsetup-ruby@v1` and new majors**: For brand-new majors like Ruby 4.0, verify that setup-ruby already supports it (it usually does very quickly).\n- **Raising `required_ruby_version` is a breaking change**. Users on the old Ruby version will no longer be able to install the gem, so a minor or major gem version bump is required at release time. Handle this in a separate PR \u002F commit, not as part of this matrix update.\n\n## Pitfalls\n\n- **Forgetting to update the gemspec lower bounds** means the old Ruby\u002FRails version you removed from CI can still be `gem install`-ed, creating a mismatch between stated and actual support.\n- **Updating only the gemfile or only the matrix** breaks CI — either a missing gemfile is referenced, or an unused gemfile is left behind. Always update both together.\n- **Mixing unrelated changes** (e.g., fixing `http:\u002F\u002F` → `https:\u002F\u002F` sources) into the same commit as version removals obscures intent. Commit each logical unit separately.\n","# ruby-rails-ci-matrix\n\nMaintain the Ruby and Rails versions tested in CI for a Ruby gem that uses GitHub Actions matrix strategy with `gemfiles\u002FrailsXX.gemfile` and a gemspec. This skill keeps the test matrix aligned with the current support status.\n\nRemove EOL (End of Life) versions and add currently supported and latest stable versions. The gemfile, gemspec, and workflow YAML must be updated **in sync** — updating only one will break CI.\n\n## 1. Assess the Current State\n\nBefore making any changes, read all three types of files involved.\n\n| File | What to check |\n| --- | --- |\n| `.github\u002Fworkflows\u002F*.yml` | `strategy.matrix.include` entries (`{ ruby:, gemfile: }`), `ruby\u002Fsetup-ruby` version |\n| `gemfiles\u002F*.gemfile` | Per-Rails-version gemfiles — `source` URL and `gem 'rails', '~> X.Y.0'` |\n| `*.gemspec` | `required_ruby_version` and the lower bound of `add_dependency \"rails\", ...` |\n\nNote that the `gemfile:` values in the matrix correspond 1:1 with `gemfiles\u002F\u003Cvalue>.gemfile`.\n\n## 2. Research EOL Status\n\n**Use today's date as the reference** and fetch the latest support information — do not rely on memory.\n\n- Ruby: \u003Chttps:\u002F\u002Fendoflife.date\u002Fruby>\n- Rails: \u003Chttps:\u002F\u002Fendoflife.date\u002Frails>\n\nIf endoflife.date is unreachable, use WebSearch as a fallback. Confirm the following three things:\n\n1. EOL date for each version (including security support end date) — has it passed as of today?\n2. Full list of currently supported versions\n3. Latest stable releases (check whether a new major like Ruby 4.0 or Rails 8.1 has been released)\n\n> Ruby releases a new version every December with ~3 years 3 months of support. Rails 7.2+ receives 1 year of standard support and 2 years of security support.\n\n## 3. Decide What to Add and Remove\n\n- **Remove**: Ruby \u002F Rails versions that are EOL (security support also ended) as of today.\n- **Add**: Supported versions not yet in the matrix, plus the latest stable releases.\n- **Keep**: Versions still under security support. For versions expiring within a few months, ask the user whether to keep them.\n- Build the matrix as **each Rails version × the compatible Ruby versions**. Pay attention to compatibility — older Rails versions may not support the newest Ruby.\n\n## 4. Update Files\n\nKeep all three files consistent. **If you remove a gemfile, remove the matrix entry too** (and vice versa).\n\n### Workflow YAML Matrix\n\nUpdate the `include:` entries. Use short-form Ruby version strings (`\"4.0\"`) so `ruby\u002Fsetup-ruby` automatically picks the latest patch.\n\n```yaml\nstrategy:\n  matrix:\n    include:\n      - { ruby: \"3.3\", gemfile: \"rails72\" }\n      - { ruby: \"3.4\", gemfile: \"rails72\" }\n      - { ruby: \"4.0\", gemfile: \"rails72\" }\n      - { ruby: \"3.3\", gemfile: \"rails80\" }\n      - { ruby: \"3.4\", gemfile: \"rails80\" }\n      - { ruby: \"4.0\", gemfile: \"rails80\" }\n      - { ruby: \"3.3\", gemfile: \"rails81\" }\n      - { ruby: \"3.4\", gemfile: \"rails81\" }\n      - { ruby: \"4.0\", gemfile: \"rails81\" }\n```\n\n### Create \u002F Delete Gemfiles\n\nFor a new Rails version, copy an existing gemfile and change only the `~> X.Y.0` constraint.\n\n```ruby\nsource \"https:\u002F\u002Frubygems.org\"\n\ngem 'rails', '~> 8.1.0'\ngem 'sqlite3'\n\ngemspec path: '..\u002F'\n```\n\nDelete the gemfile for any Rails version being dropped.\n\n### Update gemspec Lower Bounds\n\nUpdate two lines to match the minimum supported versions.\n\n```ruby\nspec.required_ruby_version = '>= 3.3.0'      # minimum supported Ruby\nspec.add_dependency \"rails\", \">= 7.2.0\"      # minimum supported Rails\n```\n\n## Notes\n\n- **Always use `https:\u002F\u002Frubygems.org`** as the `source` — fix any `http:\u002F\u002F` occurrences.\n- **`ruby\u002Fsetup-ruby@v1` and new majors**: For brand-new majors like Ruby 4.0, verify that setup-ruby already supports it (it usually does very quickly).\n- **Raising `required_ruby_version` is a breaking change**. Users on the old Ruby version will no longer be able to install the gem, so a minor or major gem version bump is required at release time. Handle this in a separate PR \u002F commit, not as part of this matrix update.\n\n## Pitfalls\n\n- **Forgetting to update the gemspec lower bounds** means the old Ruby\u002FRails version you removed from CI can still be `gem install`-ed, creating a mismatch between stated and actual support.\n- **Updating only the gemfile or only the matrix** breaks CI — either a missing gemfile is referenced, or an unused gemfile is left behind. Always update both together.\n- **Mixing unrelated changes** (e.g., fixing `http:\u002F\u002F` → `https:\u002F\u002F` sources) into the same commit as version removals obscures intent. Commit each logical unit separately.\n",{"name":5,"license":14,"metadata":23,"description":7},{"github-ref":24,"github-path":25,"github-repo":26,"github-tree-sha":27},"refs\u002Fheads\u002Fmain","skills\u002Fruby\u002Fruby-rails-ci-matrix","https:\u002F\u002Fgithub.com\u002Faki77\u002Fskills","59898557bcf3dd4e734ae3f25c8ab025a43341be","main","1847ad2a87f16398f2a15e4a7695d3c489815c98",".claude\u002Fskills\u002Fruby-rails-ci-matrix","https:\u002F\u002Fgithub.com\u002Faki77\u002Fbundler-skills","https:\u002F\u002Fgithub.com\u002Faki77","2026-07-06 12:19:44",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add aki77\u002Fbundler-skills --skill ruby-rails-ci-matrix",{"tool":40,"command":41},"bunx","bunx skills add aki77\u002Fbundler-skills --skill ruby-rails-ci-matrix",{"tool":43,"command":44},"pnpm","pnpm dlx skills add aki77\u002Fbundler-skills --skill ruby-rails-ci-matrix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faki77\u002Fbundler-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fruby-rails-ci-matrix\u002FSKILL.md",true,[],[49,56],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M75WS8QQ0BCCZZZARE0JGCJJ","other","Another skill","https:\u002F\u002Fgithub.com\u002Faki77\u002Fbundler-skills\u002Fblob\u002Fmain\u002Ftest\u002Fintegration\u002Ffixtures\u002Ffixture-skill-gem\u002Fskills\u002Fother\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M75WS7N8WXZFS1MQD1KQM5Q6","demo","A demo skill","https:\u002F\u002Fgithub.com\u002Faki77\u002Fbundler-skills\u002Fblob\u002Fmain\u002Ftest\u002Fintegration\u002Ffixtures\u002Ffixture-skill-gem\u002Fskills\u002Fdemo\u002FSKILL.md",[],[]]