Antipattern Prevention
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
Upgrade RailsEventStore (RES) gems to a newer version. An agent skill from RailsEventStore/ecommerce.
$ npx skills add RailsEventStore/ecommerce --skill upgrade-res -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install RailsEventStore/ecommerce upgrade-res --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/upgrade-res .claude/skills/upgrade-res && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "upgrade-res" agent skill from https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-res into .claude/skills/upgrade-res/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-res", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-resType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add RailsEventStore/ecommerce --skill upgrade-res -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install RailsEventStore/ecommerce upgrade-res --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/upgrade-res .agents/skills/upgrade-res && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "upgrade-res" agent skill from https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-res into .agents/skills/upgrade-res/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-res", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add RailsEventStore/ecommerce --skill upgrade-res -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install RailsEventStore/ecommerce upgrade-res --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/upgrade-res .cursor/skills/upgrade-res && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "upgrade-res" agent skill from https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-res into .cursor/skills/upgrade-res/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-res", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/RailsEventStore/ecommerce.git --path .claude/skills/upgrade-res--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add RailsEventStore/ecommerce --skill upgrade-res -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install RailsEventStore/ecommerce upgrade-res --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/upgrade-res .gemini/skills/upgrade-res && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "upgrade-res" agent skill from https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-res into .gemini/skills/upgrade-res/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-res", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install RailsEventStore/ecommerce upgrade-resInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add RailsEventStore/ecommerce --skill upgrade-res -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/upgrade-res .github/skills/upgrade-res && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "upgrade-res" agent skill from https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-res into .github/skills/upgrade-res/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-res", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add RailsEventStore/ecommerce --skill upgrade-res -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install RailsEventStore/ecommerce upgrade-res --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RailsEventStore/ecommerce.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/upgrade-res .opencode/skills/upgrade-res && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "upgrade-res" agent skill from https://github.com/RailsEventStore/ecommerce/tree/master/.claude/skills/upgrade-res into .opencode/skills/upgrade-res/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "upgrade-res", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
upgrade-resUpgrade RailsEventStore (RES) gems to a newer version. An agent skill from RailsEventStore/ecommerce.
Upgrade Res is an agent skill from RailsEventStore/ecommerce. Upgrade RailsEventStore (RES) gems to a newer version
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs. It works with Ruby. The repository describes itself as: Application with CQRS and Event Sourcing built on Rails and Rails Event Store. The licence is MIT.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 42c6c23. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bundlemakeFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Upgrade Res loads about 1k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 401 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from RailsEventStore/ecommerce at commit 42c6c23, republished under its MIT licence (© RailsEventStore). 401 words, ~1,035 tokens.
.claude/skills/upgrade-res/SKILL.md (or your agent's skills folder).Use this skill when upgrading RES gems (rails_event_store, ruby_event_store, aggregate_root, etc.) to a newer version.
RES is deeply integrated into this project. All gems must be upgraded together since they share a version. The dependency chain is:
rails_event_store (Gemfile in rails_application) — top-level Rails integrationruby_event_store (infra.gemspec) — core event storeaggregate_root (infra.gemspec) — aggregate root patternruby_event_store-active_record — AR repository (transitive)ruby_event_store-browser — event browser UI (transitive)ruby_event_store-transformations — type transformations (infra.gemspec, no version pin)arkency-command_bus — command bus (infra.gemspec, no version pin)apps/rails_application/Gemfile — rails_event_store with range constraintinfra/infra.gemspec — aggregate_root and ruby_event_store with pessimistic constraintBoth must allow the target version or be updated first.
cd apps/rails_application
bundle outdated | grep -iE "event|aggregate"Visit https://github.com/RailsEventStore/rails_event_store/releases and review all versions between current and target. Pay attention to:
If the target version is outside current constraints:
infra/infra.gemspec — change ~> X.Y for aggregate_root and ruby_event_storeapps/rails_application/Gemfile — change range for rails_event_storecd apps/rails_application
bundle update rails_event_store ruby_event_store aggregate_root ruby_event_store-active_record ruby_event_store-browserThis updates both the rails_application Gemfile.lock AND infra's resolved versions (infra is a path gem).
The infra gem has its own Gemfile.lock for isolated testing:
cd infra
bundle update ruby_event_store aggregate_rootmake testIntegration tests are the most important — they exercise the full RES stack including AR persistence, event subscriptions, and process managers.
Look for deprecation warnings in test output. Address them before they become errors in future versions.
If tests pass, these are the areas most likely to break on API changes:
infra/lib/infra/event_store.rb — EventStore wrapper, mapper pipeline, preserve_typesinfra/lib/infra/event.rb — Event base class extending RubyEventStore::Eventinfra/lib/infra/aggregate_root_repository.rb — AggregateRoot::Repository wrapperinfra/lib/infra/process_manager.rb — ProcessManager using event_store.read/linkinfra/lib/infra/process.rb — Simple event-to-command processapps/rails_application/config/initializers/rails_event_store.rb — RES initializationapps/rails_application/lib/configuration.rb — LinkByEventType, LinkByCorrelationId, LinkByCausationIdsubscribes_toInfra::EventStore to isolate changesUse the /commit skill. Good message example: "Upgrade RailsEventStore from 2.17.1 to 2.18.0"
© RailsEventStore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/upgrade-res of RailsEventStore/ecommerce.
Open the folder on GitHubat commit 42c6c23
Upgrade Res next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Upgrade Res this skillRailsEventStore/ecommerce | 507 | — | ~1k | Automated safety check: Pass | MIT | |
| Antipattern Preventiondoorkeeper-gem/doorkeeper | 5.5k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Dependency Safetydoorkeeper-gem/doorkeeper | 5.5k | — | ~931 | Automated safety check: Pass | MIT | |
| Backfill Event Datarubyevents/rubyevents | 569 | — | ~2.8k | Automated safety check: Pass | None | |
| Temporal Developertemporalio/skill-temporal-developer | 230 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Nxvutensils/nxv | 136 | — | ~7.9k | Automated safety check: Notes | MIT |
doorkeeper-gem/doorkeeper
Avoid common Ruby and Rails antipatterns that degrade maintainability and performance.
doorkeeper-gem/doorkeeper
Ensure gems are safe, necessary, and properly constrained when adding, updating, or reviewing dependencies in Doorkeeper.
rubyevents/rubyevents
Add or backfill RubyEvents conference data for an event from its website — involvements (organizers/MCs), sponsors, venue + hotels, schedule, talk running order, and speaker GitHub/Twitter handles.
temporalio/skill-temporal-developer
Develop, debug, and manage Temporal applications across Python, TypeScript, Go, Java, .NET, Ruby, and Rust.
utensils/nxv
Find any version of any Nix package across nixpkgs git history using the nxv CLI or HTTP API.
bibendi/schked
Guide for working with Schked, a Ruby recurring-job scheduler built on top of rufus-scheduler.
RailsEventStore/ecommerce
Create atomic git commits following project conventions. An agent skill from RailsEventStore/ecommerce.
RailsEventStore/ecommerce
Create a controller with commands, read model queries, routes, and integration tests
RailsEventStore/ecommerce
Create a new domain bounded context with aggregates, commands, events, and handlers
RailsEventStore/ecommerce
Scaffold a new Rails app with event sourcing, following project conventions (todomvc as reference)
RailsEventStore/ecommerce
Plan a new feature end-to-end — impact analysis across all layers, start-from-the-middle slicing into deployable steps, then delegating to /domain, /read-model, /controller skills
RailsEventStore/ecommerce
Build a new read model following project conventions (event handlers, tests, migration, configuration)
Works with
Categories
Upgrade RailsEventStore (RES) gems to a newer version. An agent skill from RailsEventStore/ecommerce. Upgrade Res is an agent skill from RailsEventStore/ecommerce.
Upgrade Res fits situations like: backend & APIs work in your project.
Run `npx skills add RailsEventStore/ecommerce --skill upgrade-res -a claude-code`. Or copy the skill folder (.claude/skills/upgrade-res in RailsEventStore/ecommerce) into .claude/skills/upgrade-res in your project. Claude Code loads it when a task matches its description.
Run `npx skills add RailsEventStore/ecommerce --skill upgrade-res -a codex`. Or copy the skill folder (.claude/skills/upgrade-res in RailsEventStore/ecommerce) into .agents/skills/upgrade-res in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RailsEventStore/ecommerce --skill upgrade-res -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upgrade-res, .gemini/skills/upgrade-res, .github/skills/upgrade-res and .opencode/skills/upgrade-res in your project.
Going by SKILL.md and its folder, Upgrade Res needs the command-line tools its instructions call (bundle and make).
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Upgrade Res is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Upgrade Res: Antipattern Prevention (doorkeeper-gem/doorkeeper, 5.5k stars), Dependency Safety (doorkeeper-gem/doorkeeper, 5.5k stars), Backfill Event Data (rubyevents/rubyevents, 569 stars) and Temporal Developer (temporalio/skill-temporal-developer, 230 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
RailsEventStore (a GitHub organization) maintains it in RailsEventStore/ecommerce, which has 507 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 21, 2026.
Source: RailsEventStore/ecommerce on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.