Tramway Skill
tramway-skill is an AI skill for working with Ruby on Rails projects end to end.
Table of Contents
Installation
Claude Code — recommended
Install tramway-skill through Claude Code's plugin marketplace. This is the recommended installation method: it lets Claude Code track and update the plugin for you instead of relying on a manual copy.
Add the marketplace (this repository doubles as its own marketplace source):
/plugin marketplace add purple-magic/tramway-skill
Install the plugin:
/plugin install tramway-skill@tramway-skill
After installation, restart Claude Code.
Updating
Update the plugin manually at any time:
claude plugin update tramway-skill@tramway-skill
You can also enable automatic updates for the marketplace through Claude Code's /plugin UI (marketplace auto-update), so tramway-skill stays current without a manual update command. This applies only to plugin-marketplace installs — manual installations below never update automatically.
Manual installation
If you'd rather not use the plugin marketplace, you can copy the skill directly into Claude Code's skills directory. This is a fallback path only: manual copies do not receive automatic updates.
rm -rf ~/.claude/skills/tramway-skill
cp -R ./skills/tramway-skill ~/.claude/skills/tramway-skill
To update a manual install, re-clone or git pull this repository, then re-run the same cp -R command to replace the copied directory.
After installation, restart Claude Code.
Codex
Install it through Codex's standard skill-installer flow from this GitHub path:
https://github.com/purple-magic/tramway-skill/tree/main/skills/tramway-skill
The skill lives under skills/tramway-skill/, so Codex can install it as a normal GitHub-hosted skill instead of reading it from an arbitrary local path.
If you want to install it through the Codex CLI itself, start Codex and ask it to use the skill-installer skill with this GitHub path:
codex "Use the skill-installer skill to install https://github.com/purple-magic/tramway-skill/tree/main/skills/tramway-skill"
You can also paste the same instruction into an existing interactive Codex session.
If you are using the low-level installer script directly, the matching repo path is:
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
--repo purple-magic/tramway-skill \
--path skills/tramway-skill
After installation, restart Codex.
Codex installation is manual: there is no marketplace-style auto-update for Codex today. Re-run the skill-installer flow above to pick up updates.
It is built around a simple idea: Rails is still one of the best stacks for shipping useful products, especially now that experienced engineers can use AI to remove routine friction and newcomers can build much more ambitious things with far less pain.
This skill is meant to support both groups:
- Beginners who want a practical "YOLO mode" and need the AI to keep momentum while still following solid Rails conventions.
- Experienced engineers who run many different projects and want to stay focused on product and architecture instead of repeating setup, maintenance, and release chores.
Base Features
- Creating a new Rails project with configured:
- Docker for development (via dip)
- Deployment (via Kamal)
- Production and staging server creation and deletion through the hosting provider's API/CLI (
bin/setup -d, bin/remove_fully -d)
- Authentication (via Rails authorization or Auth0)
- Project structure (via Tramway)
- Background jobs (via SolidQueue)
- TurboRails (via SolidCable)
- Configured css framework (via Tailwind)
- Configured dump and restore feature
- Updating an existing Rails project with all the mentioned and also:
- New Rails features and approaches (if applicable)
- Bug fixes (if they exist)
- Secrets management
- 1Password integration instructions for deployment secrets
- Rails credentials instructions
- Authorization
- Documentation instructions
- Integrations instructions
- Testing instructions
- Tramway instructions
- UI instructions
- Recipes
- Copy Feature
- Lazy Loading for Tramway Chat
- Create Feature without Tramway Entity
What It Does
tramway-skill acts like an operational Rails playbook. It helps an AI agent handle common project work with opinionated defaults and a strong bias toward safe, verifiable changes.
It is designed for tasks such as: