Quick start
यह काम अपने agent से करवाएँ
इसे Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot या Cline में paste करें:
text
Install Rails Anything with npm i -g rails-anything, then run rails-anything setup. Run rails-anything go -- <command that starts this app> and finish the port until rails-anything gate --app passes.
Agent Rails Anything skill load करता है, port जिन फ़ैसलों पर टिका है वे आपसे पूछता है, और आपके चुने checkpoints पर रुकता है।
या खुद करें
sh
npm install -g rails-anything
rails-anything setup # adds it to Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot and Cline
rails-anything doctor # checks Ruby, Rails and the runtimes your original needs
चेतावनी। Recording के दौरान original का असली code चलता है। एक copy पर काम करें, test database के साथ (
--db-reset "<command>")। इसे कभी production data पर न चलाएँ।
एक ही command: go
sh
rails-anything go # 1st run: analyze -> rails/port/PLAN.md + TASK.md
rails-anything go -- python3 app.py # once DECISIONS.md has ADRs: record, build the front door, replay
rails-anything go # every later run: replay, fallback rate, next route -> TASK.md
हर run migration को उसके अगले stage पर ले जाता है और rails/port/TASK.md लिखता है। उसमें जो लिखा है वह करें
(या अपने agent से करवाएँ), फिर go दोबारा चलाएँ। देखें Loop।