Bắt đầu nhanh
Để agent làm thay bạn
Dán đoạn này vào Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot hoặc Cline:
text
Install Ruby Anything with npm i -g ruby-anything, then run ruby-anything setup. Run ruby-anything go -- <command that starts this app> and finish the port until ruby-anything gate --app passes.
Agent sẽ nạp skill Ruby Anything, hỏi bạn các quyết định mà bản port phụ thuộc vào, và dừng lại ở các checkpoint bạn chọn.
Hoặc tự làm
sh
npm install -g ruby-anything
ruby-anything setup # adds it to Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Windsurf, GitHub Copilot and Cline
ruby-anything doctor # checks Ruby, Rails and the runtimes your original needs
Cảnh báo. Việc ghi lại sẽ chạy code thật của bản gốc. Hãy làm việc trên một bản sao, với database test (
--db-reset "<command>"). Đừng bao giờ trỏ nó vào dữ liệu production.
Một lệnh duy nhất: go
sh
ruby-anything go # 1st run: analyze -> rails/port/PLAN.md + TASK.md
ruby-anything go -- python3 app.py # once DECISIONS.md has ADRs: record, build the front door, replay
ruby-anything go # every later run: replay, fallback rate, next route -> TASK.md
Mỗi lần chạy sẽ đưa migration sang giai đoạn tiếp theo và ghi ra rails/port/TASK.md. Làm theo những gì file đó nói
(hoặc để agent làm), rồi chạy go lần nữa. Xem Vòng lặp.